Freigeben über


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerNameAvailabilityResponse Method

Definition

Initializes a new instance of PostgreSqlFlexibleServerNameAvailabilityResponse.

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

Parameters

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<PostgreSqlFlexibleServerNameUnavailableReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is available.

Returns

A new PostgreSqlFlexibleServerNameAvailabilityResponse instance for mocking.

Applies to