你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Migrate Projects - Refresh Migrate Project Summary

刷新迁移项目的摘要。

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/refreshSummary?api-version=2018-09-01-preview

URI 参数

名称 必需 类型 说明
migrateProjectName
path True

string

Azure Migrate 项目的名称。

resourceGroupName
path True

string

迁移项目所属的 Azure 资源组的名称。

subscriptionId
path True

string

在其中创建了迁移项目的 Azure 订阅 ID。

api-version
query True

string

标准请求标头。 由服务用于标识客户端使用的 API 版本。

请求正文

名称 类型 说明
goal enum:
  • Servers
  • Databases

获取或设置需要刷新摘要的目标。

响应

名称 类型 说明
200 OK

RefreshSummaryResult

确定

安全性

azure_auth

Azure Active Directory OAuth2 流

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名称 说明
user_impersonation 模拟用户帐户

示例

MigrateProjects_RefreshSummary

Sample Request

POST https://management.azure.com/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/migrateProjects/project01/refreshSummary?api-version=2018-09-01-preview

{
  "goal": "Servers"
}

Sample Response

{
  "isRefreshed": true
}

定义

名称 说明
RefreshSummaryInput

表示刷新摘要输入的类。

RefreshSummaryResult

表示迁移项目的刷新摘要状态的类。

RefreshSummaryInput

表示刷新摘要输入的类。

名称 类型 说明
goal enum:
  • Databases
  • Servers

获取或设置需要刷新摘要的目标。

RefreshSummaryResult

表示迁移项目的刷新摘要状态的类。

名称 类型 说明
isRefreshed

boolean

获取或设置一个值,该值指示是否刷新迁移项目摘要。