Aracılığıyla paylaş


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerNameAvailabilityResult Method

Definition

Initializes a new instance of PostgreSqlFlexibleServerNameAvailabilityResult.

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

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.

name
String

name of the PostgreSQL server.

resourceType
Nullable<ResourceType>

type of the server.

Returns

A new PostgreSqlFlexibleServerNameAvailabilityResult instance for mocking.

Applies to