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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET