MigrationServices interface

表示 MigrationServices 的介面。

方法

beginCreateOrUpdate(string, string, MigrationService, MigrationServicesCreateOrUpdateOptionalParams)

建立或更新 資料移轉服務。

beginCreateOrUpdateAndWait(string, string, MigrationService, MigrationServicesCreateOrUpdateOptionalParams)

建立或更新 資料移轉服務。

beginDelete(string, string, MigrationServicesDeleteOptionalParams)

刪除資料庫移轉服務。

beginDeleteAndWait(string, string, MigrationServicesDeleteOptionalParams)

刪除資料庫移轉服務。

beginUpdate(string, string, MigrationServiceUpdate, MigrationServicesUpdateOptionalParams)

更新資料庫移轉服務。

beginUpdateAndWait(string, string, MigrationServiceUpdate, MigrationServicesUpdateOptionalParams)

更新資料庫移轉服務。

get(string, string, MigrationServicesGetOptionalParams)

擷取資料庫移轉服務

listByResourceGroup(string, MigrationServicesListByResourceGroupOptionalParams)

檢索資源組中的所有遷移服務。

listBySubscription(MigrationServicesListBySubscriptionOptionalParams)

檢索訂閱中的所有遷移服務。

listMigrations(string, string, MigrationServicesListMigrationsOptionalParams)

擷取附加至服務的資料庫移轉清單。

方法詳細資料

beginCreateOrUpdate(string, string, MigrationService, MigrationServicesCreateOrUpdateOptionalParams)

建立或更新 資料移轉服務。

function beginCreateOrUpdate(resourceGroupName: string, migrationServiceName: string, parameters: MigrationService, options?: MigrationServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MigrationService>, MigrationService>>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

migrationServiceName

string

遷移服務的名稱。

parameters
MigrationService

MigrationService 資源的詳細資訊。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<MigrationService>, MigrationService>>

beginCreateOrUpdateAndWait(string, string, MigrationService, MigrationServicesCreateOrUpdateOptionalParams)

建立或更新 資料移轉服務。

function beginCreateOrUpdateAndWait(resourceGroupName: string, migrationServiceName: string, parameters: MigrationService, options?: MigrationServicesCreateOrUpdateOptionalParams): Promise<MigrationService>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

migrationServiceName

string

遷移服務的名稱。

parameters
MigrationService

MigrationService 資源的詳細資訊。

傳回

Promise<MigrationService>

beginDelete(string, string, MigrationServicesDeleteOptionalParams)

刪除資料庫移轉服務。

function beginDelete(resourceGroupName: string, migrationServiceName: string, options?: MigrationServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MigrationServicesDeleteHeaders>, MigrationServicesDeleteHeaders>>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

migrationServiceName

string

遷移服務的名稱。

options
MigrationServicesDeleteOptionalParams

選項參數。

傳回

beginDeleteAndWait(string, string, MigrationServicesDeleteOptionalParams)

刪除資料庫移轉服務。

function beginDeleteAndWait(resourceGroupName: string, migrationServiceName: string, options?: MigrationServicesDeleteOptionalParams): Promise<MigrationServicesDeleteHeaders>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

migrationServiceName

string

遷移服務的名稱。

options
MigrationServicesDeleteOptionalParams

選項參數。

傳回

beginUpdate(string, string, MigrationServiceUpdate, MigrationServicesUpdateOptionalParams)

更新資料庫移轉服務。

function beginUpdate(resourceGroupName: string, migrationServiceName: string, parameters: MigrationServiceUpdate, options?: MigrationServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MigrationService>, MigrationService>>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

migrationServiceName

string

遷移服務的名稱。

parameters
MigrationServiceUpdate

MigrationService 資源的詳細資訊。

options
MigrationServicesUpdateOptionalParams

選項參數。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<MigrationService>, MigrationService>>

beginUpdateAndWait(string, string, MigrationServiceUpdate, MigrationServicesUpdateOptionalParams)

更新資料庫移轉服務。

function beginUpdateAndWait(resourceGroupName: string, migrationServiceName: string, parameters: MigrationServiceUpdate, options?: MigrationServicesUpdateOptionalParams): Promise<MigrationService>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

migrationServiceName

string

遷移服務的名稱。

parameters
MigrationServiceUpdate

MigrationService 資源的詳細資訊。

options
MigrationServicesUpdateOptionalParams

選項參數。

傳回

Promise<MigrationService>

get(string, string, MigrationServicesGetOptionalParams)

擷取資料庫移轉服務

function get(resourceGroupName: string, migrationServiceName: string, options?: MigrationServicesGetOptionalParams): Promise<MigrationService>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

migrationServiceName

string

遷移服務的名稱。

options
MigrationServicesGetOptionalParams

選項參數。

傳回

Promise<MigrationService>

listByResourceGroup(string, MigrationServicesListByResourceGroupOptionalParams)

檢索資源組中的所有遷移服務。

function listByResourceGroup(resourceGroupName: string, options?: MigrationServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<MigrationService, MigrationService[], PageSettings>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

傳回

listBySubscription(MigrationServicesListBySubscriptionOptionalParams)

檢索訂閱中的所有遷移服務。

function listBySubscription(options?: MigrationServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<MigrationService, MigrationService[], PageSettings>

參數

傳回

listMigrations(string, string, MigrationServicesListMigrationsOptionalParams)

擷取附加至服務的資料庫移轉清單。

function listMigrations(resourceGroupName: string, migrationServiceName: string, options?: MigrationServicesListMigrationsOptionalParams): PagedAsyncIterableIterator<DatabaseMigrationBase, DatabaseMigrationBase[], PageSettings>

參數

resourceGroupName

string

包含資源的資源群組名稱。 您可以從 Azure Resource Manager API 或入口網站取得此值。

migrationServiceName

string

遷移服務的名稱。

傳回