Dela via


ArmDeviceUpdateModelFactory.CheckNameAvailabilityResponse Method

Definition

Initializes a new instance of CheckNameAvailabilityResponse.

public static Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityResponse CheckNameAvailabilityResponse (bool? nameAvailable = default, Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityReason? reason = default, string message = default);
static member CheckNameAvailabilityResponse : Nullable<bool> * Nullable<Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityReason> * string -> Azure.ResourceManager.DeviceUpdate.Models.CheckNameAvailabilityResponse
Public Shared Function CheckNameAvailabilityResponse (Optional nameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of CheckNameAvailabilityReason) = Nothing, Optional message As String = Nothing) As CheckNameAvailabilityResponse

Parameters

nameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<CheckNameAvailabilityReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is available.

Returns

A new CheckNameAvailabilityResponse instance for mocking.

Applies to