WorkspaceCollectionsOperationsExtensions.CheckNameAvailabilityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET