Udostępnij za pośrednictwem


ArmDeviceUpdateModelFactory.DeviceUpdateNameAvailabilityResult Method

Definition

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

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<DeviceUpdateNameUnavailableReason>

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.

Applies to