Partilhar via


ArmPostgreSqlModelFactory.PostgreSqlNameAvailabilityResult Method

Definition

Initializes a new instance of PostgreSqlNameAvailabilityResult.

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

Parameters

message
String

Error Message.

isNameAvailable
Nullable<Boolean>

Indicates whether the resource name is available.

reason
String

Reason for name being unavailable.

Returns

A new PostgreSqlNameAvailabilityResult instance for mocking.

Applies to