ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlMigrationStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PostgreSqlMigrationStatus(Nullable<PostgreSqlMigrationState>, String, PostgreSqlMigrationSubStateDetails)
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.PostgreSqlMigrationSubStateDetails currentSubStateDetails = default);
static member PostgreSqlMigrationStatus : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationState> * string * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationSubStateDetails -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationStatus
Public Shared Function PostgreSqlMigrationStatus (Optional state As Nullable(Of PostgreSqlMigrationState) = Nothing, Optional error As String = Nothing, Optional currentSubStateDetails As PostgreSqlMigrationSubStateDetails = Nothing) As PostgreSqlMigrationStatus
Parameters
- state
- Nullable<PostgreSqlMigrationState>
State of migration.
- error
- String
Error message, if any, for the migration state.
- currentSubStateDetails
- PostgreSqlMigrationSubStateDetails
Current Migration sub state details.
Returns
A new PostgreSqlMigrationStatus instance for mocking.
Applies to
PostgreSqlMigrationStatus(Nullable<PostgreSqlMigrationState>, String, Nullable<PostgreSqlMigrationSubState>)
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
Azure SDK for .NET