DatabaseMigrationPropertiesSqlMi Class
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.
Database Migration Resource properties for SQL Managed Instance.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.DatabaseMigrationPropertiesSqlMiTypeConverter))]
public class DatabaseMigrationPropertiesSqlMi : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationPropertiesSqlMi, Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.DatabaseMigrationPropertiesSqlMiTypeConverter))>]
type DatabaseMigrationPropertiesSqlMi = class
interface IDatabaseMigrationPropertiesSqlMi
interface IJsonSerializable
interface IDatabaseMigrationProperties
interface IDatabaseMigrationBaseProperties
interface IValidates
Public Class DatabaseMigrationPropertiesSqlMi
Implements IDatabaseMigrationPropertiesSqlMi, IValidates
- Inheritance
-
DatabaseMigrationPropertiesSqlMi
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| DatabaseMigrationPropertiesSqlMi() |
Creates an new DatabaseMigrationPropertiesSqlMi instance. |
Properties
| Name | Description |
|---|---|
| AzureBlobAccountKey |
Storage Account Key. |
| AzureBlobAuthType |
Authentication type used for accessing Azure Blob Storage. |
| AzureBlobContainerName |
Blob container name where backups are stored. |
| AzureBlobStorageAccountResourceId |
Resource Id of the storage account where backups are stored. |
| EndedOn |
Database migration end time. |
| FileSharePassword |
Password for username to access file share location. |
| FileSharePath |
Location as SMB share or local drive where backups are placed. |
| FileShareUsername |
Username to access the file share location for backups. |
| IdentityPrincipalId |
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. |
| IdentityTenantId |
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. |
| IdentityType |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
| IdentityUserAssignedIdentity |
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. |
| Kind | |
| MigrationFailureError |
Error details in case of migration failure. |
| MigrationFailureErrorCode |
Error code. |
| MigrationFailureErrorMessage |
Error message. |
| MigrationOperationId |
ID for current migration operation. |
| MigrationService |
Resource Id of the Migration Service. |
| MigrationStatus |
Migration status. |
| MigrationStatusDetail |
Detailed migration status. Not included by default. |
| OfflineConfigurationLastBackupName |
Last backup name for offline migration. This is optional for migrations from file share. If it is not provided, then the service will determine the last backup file name based on latest backup files present in file share. |
| OfflineConfigurationOffline |
Offline migration |
| ProvisioningError |
Error message for migration provisioning failure, if any. |
| ProvisioningState |
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started. |
| Scope |
Resource Id of the target resource. |
| SourceDatabaseName |
Name of the source database. |
| SourceLocationFileStorageType |
Backup storage Type. |
| SourceServerName |
Name of the source sql server. |
| SourceSqlConnection |
Source SQL Server connection details. |
| SourceSqlConnectionAuthentication |
Authentication type. |
| SourceSqlConnectionDataSource |
Data source. |
| SourceSqlConnectionEncryptConnection |
Whether to encrypt connection or not. |
| SourceSqlConnectionPassword |
Password to connect to source SQL. |
| SourceSqlConnectionTrustServerCertificate |
Whether to trust server certificate or not. |
| SourceSqlConnectionUserName |
User name to connect to source SQL. |
| StartedOn |
Database migration start time. |
| TargetDatabaseCollation |
Database collation to be used for the target database. |
| TargetLocationAccountKey |
Storage Account Key. |
| TargetLocationStorageAccountResourceId |
Resource Id of the storage account copying backups. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DatabaseMigrationPropertiesSqlMi. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DatabaseMigrationPropertiesSqlMi. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationPropertiesSqlMi. |
| FromJsonString(String) |
Creates a new instance of DatabaseMigrationPropertiesSqlMi, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of DatabaseMigrationPropertiesSqlMi into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |