MockableDeviceProvisioningServicesSubscriptionResource.CheckDeviceProvisioningServicesNameAvailability 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. This will validate if the name is syntactically valid and if the name is usable
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability
- Operation Id: IotDpsResource_CheckProvisioningServiceNameAvailability
public virtual Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameAvailabilityResult> CheckDeviceProvisioningServicesNameAvailability (Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckDeviceProvisioningServicesNameAvailability : Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameAvailabilityResult>
override this.CheckDeviceProvisioningServicesNameAvailability : Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameAvailabilityResult>
Public Overridable Function CheckDeviceProvisioningServicesNameAvailability (content As DeviceProvisioningServicesNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeviceProvisioningServicesNameAvailabilityResult)
Parameters
Set the name parameter in the OperationInputs structure to the name of the provisioning service to check.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
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