DatasetsOperationsExtensions.PostDatasetAsync Method

Definition

Overloads

PostDatasetAsync(IDatasetsOperations, CreateDatasetRequest, Nullable<DefaultRetentionPolicy>, CancellationToken)
PostDatasetAsync(IDatasetsOperations, Guid, CreateDatasetRequest, Nullable<DefaultRetentionPolicy>, CancellationToken)

PostDatasetAsync(IDatasetsOperations, CreateDatasetRequest, Nullable<DefaultRetentionPolicy>, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Dataset> PostDatasetAsync (this Microsoft.PowerBI.Api.IDatasetsOperations operations, Microsoft.PowerBI.Api.Models.CreateDatasetRequest dataset, Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy? defaultRetentionPolicy = default, System.Threading.CancellationToken cancellationToken = default);
static member PostDatasetAsync : Microsoft.PowerBI.Api.IDatasetsOperations * Microsoft.PowerBI.Api.Models.CreateDatasetRequest * Nullable<Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Dataset>
<Extension()>
Public Function PostDatasetAsync (operations As IDatasetsOperations, dataset As CreateDatasetRequest, Optional defaultRetentionPolicy As Nullable(Of DefaultRetentionPolicy) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Dataset)

Parameters

operations
IDatasetsOperations
defaultRetentionPolicy
Nullable<DefaultRetentionPolicy>
cancellationToken
CancellationToken

Returns

Applies to

PostDatasetAsync(IDatasetsOperations, Guid, CreateDatasetRequest, Nullable<DefaultRetentionPolicy>, CancellationToken)

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Dataset> PostDatasetAsync (this Microsoft.PowerBI.Api.IDatasetsOperations operations, Guid groupId, Microsoft.PowerBI.Api.Models.CreateDatasetRequest dataset, Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy? defaultRetentionPolicy = default, System.Threading.CancellationToken cancellationToken = default);
static member PostDatasetAsync : Microsoft.PowerBI.Api.IDatasetsOperations * Guid * Microsoft.PowerBI.Api.Models.CreateDatasetRequest * Nullable<Microsoft.PowerBI.Api.Models.DefaultRetentionPolicy> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.Dataset>
<Extension()>
Public Function PostDatasetAsync (operations As IDatasetsOperations, groupId As Guid, dataset As CreateDatasetRequest, Optional defaultRetentionPolicy As Nullable(Of DefaultRetentionPolicy) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Dataset)

Parameters

operations
IDatasetsOperations
groupId
Guid
defaultRetentionPolicy
Nullable<DefaultRetentionPolicy>
cancellationToken
CancellationToken

Returns

Applies to