DatabaseMigrationSqlVM 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 for SQL Virtual Machine.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.DatabaseMigrationSqlVMTypeConverter))]
public class DatabaseMigrationSqlVM : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationSqlVM, Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.DatabaseMigrationSqlVMTypeConverter))>]
type DatabaseMigrationSqlVM = class
interface IDatabaseMigrationSqlVM
interface IJsonSerializable
interface IProxyResource
interface IValidates
Public Class DatabaseMigrationSqlVM
Implements IDatabaseMigrationSqlVM, IValidates
- Inheritance
-
DatabaseMigrationSqlVM
- Attributes
- Implements
Constructors
| DatabaseMigrationSqlVM() |
Creates an new DatabaseMigrationSqlVM instance. |
Properties
| 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. |
| Id | |
| 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 | |
| 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. |
| Name | |
| 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. |
| 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. |
| SystemData |
Metadata pertaining to creation and last modification of the resource. |
| SystemDataCreatedAt | |
| SystemDataCreatedBy | |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt | |
| SystemDataLastModifiedBy | |
| SystemDataLastModifiedByType |
The type of identity that created the resource. |
| TargetDatabaseCollation |
Database collation to be used for the target database. |
| TargetLocationAccountKey |
Storage Account Key. |
| TargetLocationStorageAccountResourceId |
Resource Id of the storage account copying backups. |
| Type | |
Methods
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DatabaseMigrationSqlVM. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DatabaseMigrationSqlVM. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationSqlVM. |
| FromJsonString(String) |
Creates a new instance of DatabaseMigrationSqlVM, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of DatabaseMigrationSqlVM into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |