Freigeben über


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlCheckMigrationNameAvailabilityContent Method

Definition

Initializes a new instance of PostgreSqlCheckMigrationNameAvailabilityContent.

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

Parameters

name
String

The resource name to verify.

resourceType
ResourceType

The type of the resource.

isNameAvailable
Nullable<Boolean>

Indicates whether the resource name is available.

reason
Nullable<PostgreSqlMigrationNameUnavailableReason>

Migration name availability reason.

message
String

Migration name availability message.

Returns

A new PostgreSqlCheckMigrationNameAvailabilityContent instance for mocking.

Applies to