ArmDeviceProvisioningServicesModelFactory.DeviceProvisioningServicesNameAvailabilityResult 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.
Initializes a new instance of DeviceProvisioningServicesNameAvailabilityResult.
public static Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameAvailabilityResult DeviceProvisioningServicesNameAvailabilityResult (bool? isNameAvailable = default, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameUnavailableReason? reason = default, string message = default);
static member DeviceProvisioningServicesNameAvailabilityResult : Nullable<bool> * Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameUnavailableReason> * string -> Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesNameAvailabilityResult
Public Shared Function DeviceProvisioningServicesNameAvailabilityResult (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of DeviceProvisioningServicesNameUnavailableReason) = Nothing, Optional message As String = Nothing) As DeviceProvisioningServicesNameAvailabilityResult
Parameters
specifies the reason a name is unavailable.
- message
- String
message containing a detailed reason name is unavailable.
Returns
A new DeviceProvisioningServicesNameAvailabilityResult instance for mocking.