ArmDeviceUpdateModelFactory.DeviceUpdateNameAvailabilityResult 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 DeviceUpdateNameAvailabilityResult.
public static Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateNameAvailabilityResult DeviceUpdateNameAvailabilityResult (bool? isNameAvailable = default, Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateNameUnavailableReason? reason = default, string message = default);
static member DeviceUpdateNameAvailabilityResult : Nullable<bool> * Nullable<Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateNameUnavailableReason> * string -> Azure.ResourceManager.DeviceUpdate.Models.DeviceUpdateNameAvailabilityResult
Public Shared Function DeviceUpdateNameAvailabilityResult (Optional isNameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of DeviceUpdateNameUnavailableReason) = Nothing, Optional message As String = Nothing) As DeviceUpdateNameAvailabilityResult
Parameters
The reason why the given name is not available.
- message
- String
Detailed reason why the given name is available.
Returns
A new DeviceUpdateNameAvailabilityResult instance for mocking.