GatewaysOperationsExtensions.CreateDatasource Method

Definition

public static Microsoft.PowerBI.Api.Models.GatewayDatasource CreateDatasource (this Microsoft.PowerBI.Api.IGatewaysOperations operations, Guid gatewayId, Microsoft.PowerBI.Api.Models.PublishDatasourceToGatewayRequest datasourceToGatewayRequest);
static member CreateDatasource : Microsoft.PowerBI.Api.IGatewaysOperations * Guid * Microsoft.PowerBI.Api.Models.PublishDatasourceToGatewayRequest -> Microsoft.PowerBI.Api.Models.GatewayDatasource
<Extension()>
Public Function CreateDatasource (operations As IGatewaysOperations, gatewayId As Guid, datasourceToGatewayRequest As PublishDatasourceToGatewayRequest) As GatewayDatasource

Parameters

operations
IGatewaysOperations
gatewayId
Guid
datasourceToGatewayRequest
PublishDatasourceToGatewayRequest

Returns

Applies to