C# Class Microsoft.PowerBI.Api.V1.GatewaysExtensions

Extension methods for Gateways.
Show file Open project: Microsoft/PowerBI-CSharp

Public Methods

Method Description
PatchDatasource ( this operations, string collectionName, string workspaceId, string gatewayId, string datasourceId, object datasourceDelta ) : object

Updates the credentials for the specified datasource

PatchDatasourceAsync ( this operations, string collectionName, string workspaceId, string gatewayId, string datasourceId, object datasourceDelta, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Updates the credentials for the specified datasource

Method Details

PatchDatasource() public static method

Updates the credentials for the specified datasource
public static PatchDatasource ( this operations, string collectionName, string workspaceId, string gatewayId, string datasourceId, object datasourceDelta ) : object
operations this /// The operations group for this extension method. ///
collectionName string /// The workspace collection name ///
workspaceId string /// The workspace id ///
gatewayId string /// The gateway id ///
datasourceId string /// The datasource id ///
datasourceDelta object /// The datasource changes ///
return object

PatchDatasourceAsync() public static method

Updates the credentials for the specified datasource
public static PatchDatasourceAsync ( this operations, string collectionName, string workspaceId, string gatewayId, string datasourceId, object datasourceDelta, CancellationToken cancellationToken = default(CancellationToken) ) : Task
operations this /// The operations group for this extension method. ///
collectionName string /// The workspace collection name ///
workspaceId string /// The workspace id ///
gatewayId string /// The gateway id ///
datasourceId string /// The datasource id ///
datasourceDelta object /// The datasource changes ///
cancellationToken System.Threading.CancellationToken /// The cancellation token. ///
return Task