IotDpsResourceOperationsExtensions.CheckProvisioningServiceNameAvailabilityAsync 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.
Check if a provisioning service name is available.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceProvisioningServices.Models.NameAvailabilityInfo> CheckProvisioningServiceNameAvailabilityAsync (this Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations operations, string name, System.Threading.CancellationToken cancellationToken = default);
static member CheckProvisioningServiceNameAvailabilityAsync : Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceProvisioningServices.Models.NameAvailabilityInfo>
<Extension()>
Public Function CheckProvisioningServiceNameAvailabilityAsync (operations As IIotDpsResourceOperations, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NameAvailabilityInfo)
Parameters
- operations
- IIotDpsResourceOperations
The operations group for this extension method.
- name
- String
The name of the Provisioning Service to check.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Check if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable
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