Share via


ArmConfidentialLedgerModelFactory.ConfidentialLedgerNameAvailabilityResult Method

Definition

Initializes a new instance of ConfidentialLedgerNameAvailabilityResult.

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

Parameters

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<ConfidentialLedgerNameUnavailableReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is available.

Returns

A new ConfidentialLedgerNameAvailabilityResult instance for mocking.

Applies to