Sdílet prostřednictvím


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlMigrationStatus Method

Definition

Initializes a new instance of PostgreSqlMigrationStatus.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationStatus PostgreSqlMigrationStatus (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationState? state = default, string error = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationSubState? currentSubState = default);
static member PostgreSqlMigrationStatus : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationState> * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationSubState> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationStatus
Public Shared Function PostgreSqlMigrationStatus (Optional state As Nullable(Of PostgreSqlMigrationState) = Nothing, Optional error As String = Nothing, Optional currentSubState As Nullable(Of PostgreSqlMigrationSubState) = Nothing) As PostgreSqlMigrationStatus

Parameters

state
Nullable<PostgreSqlMigrationState>

State of migration.

error
String

Error message, if any, for the migration state.

currentSubState
Nullable<PostgreSqlMigrationSubState>

Current Migration sub state details.

Returns

A new PostgreSqlMigrationStatus instance for mocking.

Applies to