共用方式為


Migration interface

遷移的屬性。

Extends

屬性

cancel

指示是否必須為整個遷移觸發 cancel。

currentStatus

遷移的當前狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

dbsToCancelMigrationOn

如果要為特定資料庫觸發 cancel,請將 'triggerCutover' 設置為 'True' 並設置此陣列中特定資料庫的名稱。

dbsToMigrate

要遷移的資料庫的名稱。

dbsToTriggerCutoverOn

如果要觸發特定資料庫的直接轉換,請將 『triggerCutover』 設定為 『True』 並設置此陣列中特定資料庫的名稱。

migrateRoles

指示是否必須遷移角色和許可權。

migrationId

遷移的標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

migrationInstanceResourceId

私有終端節點遷移實例的標識碼。

migrationMode

用於執行遷移的模式:連線或離線。

migrationOption

遷移的支援選項。

migrationWindowEndTimeInUtc

遷移時段的結束時間 (UTC)。

migrationWindowStartTimeInUtc

遷移時段的開始時間 (UTC)。

overwriteDbsInTarget

指示目標伺服器上的資料庫在已存在時是否可以被覆蓋。 如果設置為 『False』,則當遷移工作流檢測到目標伺服器上已存在資料庫時,它將等待確認。

secretParameters

移轉秘密參數。

setupLogicalReplicationOnSourceDbIfNeeded

指示是否在源伺服器上設置邏輯複製(如果需要)。

sourceDbServerFullyQualifiedDomainName

源伺服器的完全限定功能變數名稱 (FQDN) 或 IP 位址。 這個屬性為選擇性。 如果提供,遷移服務將始終使用它來連接到源伺服器。

sourceDbServerMetadata

源資料庫伺服器的元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

sourceDbServerResourceId

當 'sourceType' 為 'PostgreSQLSingleServer' 時,源資料庫伺服器資源的標識符。 對於其他源類型,必須將其設置為ipaddress:port@username 或hostname:port@username。

sourceType

用於遷移的源伺服器類型:ApsaraDB_RDS、AWS、AWS_AURORA、AWS_EC2、AWS_RDS、AzureVM、Crunchy_PostgreSQL、Digital_Ocean_Droplets、Digital_Ocean_PostgreSQL、EDB、EDB_Oracle_Server、EDB_PostgreSQL、GCP、GCP_AlloyDB、GCP_CloudSQL、GCP_Compute、Heroku_PostgreSQL、Huawei_Compute、Huawei_RDS、OnPremises、PostgreSQLCosmosDB、PostgreSQLFlexibleServer、PostgreSQLSingleServer 或 Supabase_PostgreSQL

sslMode

遷移使用的 SSL 模式。 “PostgreSQLSingleServer”的預設 SSL 模式為“VerifyFull”。 其他源類型的預設 SSL 模式為 『Prefer』。

startDataMigration

指示是否必須立即開始數據遷移。

targetDbServerFullyQualifiedDomainName

目標伺服器的完全限定功能變數名稱 (FQDN) 或 IP 位址。 這個屬性為選擇性。 提供后,遷移服務將始終使用它來連接到目標伺服器。

targetDbServerMetadata

目標資料庫伺服器的元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

targetDbServerResourceId

目標資料庫伺服器資源的識別碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

triggerCutover

指示是否必須為整個遷移觸發直接轉換。

繼承的屬性

id

資源的完整資源標識碼。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” 附注:此屬性將不會串行化。 它只能由伺服器填入。

location

資源所在的地理位置

name

資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

tags

資源標籤。

type

資源的類型。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。

屬性詳細資料

cancel

指示是否必須為整個遷移觸發 cancel。

cancel?: string

屬性值

string

currentStatus

遷移的當前狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

currentStatus?: MigrationStatus

屬性值

dbsToCancelMigrationOn

如果要為特定資料庫觸發 cancel,請將 'triggerCutover' 設置為 'True' 並設置此陣列中特定資料庫的名稱。

dbsToCancelMigrationOn?: string[]

屬性值

string[]

dbsToMigrate

要遷移的資料庫的名稱。

dbsToMigrate?: string[]

屬性值

string[]

dbsToTriggerCutoverOn

如果要觸發特定資料庫的直接轉換,請將 『triggerCutover』 設定為 『True』 並設置此陣列中特定資料庫的名稱。

dbsToTriggerCutoverOn?: string[]

屬性值

string[]

migrateRoles

指示是否必須遷移角色和許可權。

migrateRoles?: string

屬性值

string

migrationId

遷移的標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

migrationId?: string

屬性值

string

migrationInstanceResourceId

私有終端節點遷移實例的標識碼。

migrationInstanceResourceId?: string

屬性值

string

migrationMode

用於執行遷移的模式:連線或離線。

migrationMode?: string

屬性值

string

migrationOption

遷移的支援選項。

migrationOption?: string

屬性值

string

migrationWindowEndTimeInUtc

遷移時段的結束時間 (UTC)。

migrationWindowEndTimeInUtc?: Date

屬性值

Date

migrationWindowStartTimeInUtc

遷移時段的開始時間 (UTC)。

migrationWindowStartTimeInUtc?: Date

屬性值

Date

overwriteDbsInTarget

指示目標伺服器上的資料庫在已存在時是否可以被覆蓋。 如果設置為 『False』,則當遷移工作流檢測到目標伺服器上已存在資料庫時,它將等待確認。

overwriteDbsInTarget?: string

屬性值

string

secretParameters

移轉秘密參數。

secretParameters?: MigrationSecretParameters

屬性值

setupLogicalReplicationOnSourceDbIfNeeded

指示是否在源伺服器上設置邏輯複製(如果需要)。

setupLogicalReplicationOnSourceDbIfNeeded?: string

屬性值

string

sourceDbServerFullyQualifiedDomainName

源伺服器的完全限定功能變數名稱 (FQDN) 或 IP 位址。 這個屬性為選擇性。 如果提供,遷移服務將始終使用它來連接到源伺服器。

sourceDbServerFullyQualifiedDomainName?: string

屬性值

string

sourceDbServerMetadata

源資料庫伺服器的元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

sourceDbServerMetadata?: DbServerMetadata

屬性值

sourceDbServerResourceId

當 'sourceType' 為 'PostgreSQLSingleServer' 時,源資料庫伺服器資源的標識符。 對於其他源類型,必須將其設置為ipaddress:port@username 或hostname:port@username。

sourceDbServerResourceId?: string

屬性值

string

sourceType

用於遷移的源伺服器類型:ApsaraDB_RDS、AWS、AWS_AURORA、AWS_EC2、AWS_RDS、AzureVM、Crunchy_PostgreSQL、Digital_Ocean_Droplets、Digital_Ocean_PostgreSQL、EDB、EDB_Oracle_Server、EDB_PostgreSQL、GCP、GCP_AlloyDB、GCP_CloudSQL、GCP_Compute、Heroku_PostgreSQL、Huawei_Compute、Huawei_RDS、OnPremises、PostgreSQLCosmosDB、PostgreSQLFlexibleServer、PostgreSQLSingleServer 或 Supabase_PostgreSQL

sourceType?: string

屬性值

string

sslMode

遷移使用的 SSL 模式。 “PostgreSQLSingleServer”的預設 SSL 模式為“VerifyFull”。 其他源類型的預設 SSL 模式為 『Prefer』。

sslMode?: string

屬性值

string

startDataMigration

指示是否必須立即開始數據遷移。

startDataMigration?: string

屬性值

string

targetDbServerFullyQualifiedDomainName

目標伺服器的完全限定功能變數名稱 (FQDN) 或 IP 位址。 這個屬性為選擇性。 提供后,遷移服務將始終使用它來連接到目標伺服器。

targetDbServerFullyQualifiedDomainName?: string

屬性值

string

targetDbServerMetadata

目標資料庫伺服器的元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

targetDbServerMetadata?: DbServerMetadata

屬性值

targetDbServerResourceId

目標資料庫伺服器資源的識別碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

targetDbServerResourceId?: string

屬性值

string

triggerCutover

指示是否必須為整個遷移觸發直接轉換。

triggerCutover?: string

屬性值

string

繼承的屬性詳細資料

id

資源的完整資源標識碼。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” 附注:此屬性將不會串行化。 它只能由伺服器填入。

id?: string

屬性值

string

繼承自TrackedResource.id

location

資源所在的地理位置

location: string

屬性值

string

繼承自TrackedResource.location

name

資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。

name?: string

屬性值

string

繼承自TrackedResource.name

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

systemData?: SystemData

屬性值

繼承自TrackedResource.systemData

tags

資源標籤。

tags?: {[propertyName: string]: string}

屬性值

{[propertyName: string]: string}

繼承自TrackedResource.tags

type

資源的類型。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。

type?: string

屬性值

string

繼承自TrackedResource.type