Sdílet prostřednictvím


WorkspaceCollectionsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Verify the specified Power BI Workspace Collection name is valid and not already in use.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.CheckNameResponse> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations operations, string location, Microsoft.Azure.Management.PowerBIEmbedded.Models.CheckNameRequest body, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations * string * Microsoft.Azure.Management.PowerBIEmbedded.Models.CheckNameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.CheckNameResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IWorkspaceCollectionsOperations, location As String, body As CheckNameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameResponse)

Parameters

operations
IWorkspaceCollectionsOperations

The operations group for this extension method.

location
String

Azure location

body
CheckNameRequest

Check name availability request

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to