Azure MCP Server tools for Azure Migrate

Azure MCP 伺服器讓你能管理遷移規劃、指引檢索,以及以自然語言提示提交請求。

Azure Migrate 提供了一個集中式的樞紐,用以評估及遷移本地工作負載到 Azure。 更多資訊請參閱 Azure Migrate 文件。

備註

工具參數:Azure MCP 伺服器工具會定義完成工作所需資料的參數。 這些參數中有些是針對每種工具而定,並在此處有詳細說明。 其他參數是全局參數,並由所有工具共用。 如需詳細資訊,請參閱 工具參數。

取得平台登陸區的指引

提供修改現有平台著陸區的指引,包括資源名稱、管理群組、網路設定、區域、安全控制及政策。

範例 CLI 指令

azmcp azuremigrate platformlandingzone getguidance \
  --scenario <scenario> \
  [--policy-name <policy-name>] \
  [--list-policies <list-policies>]
參數 類型 為必填項目 Description
scenario 字串 Yes 修改情境鑰匙。 有效值:resource-names、management-groups、ddos、bastion、dns、gateways、regions、ip-addresses、policy-enforcement、policy-assignment、ama、amba、defender、zero-trust、slz。
policy-name 字串 No 要查詢的原則指定名稱(例如,Enable-DDoS-VNET)。 用於原則強制執行或原則指派情境。
list-policies 字串 No 設為 true,以列出所有依原型分類的可用政策。 這對於查找確切的保單名稱很有幫助。

工具註解提示:

破壞性 冪等 開放世界 唯讀 Secret 本地必修
✅ ✅ ✅ ❌ ❌ ✅

要求平台著陸區

檢查、配置、生成及下載 Azure Migrate 專案的平台登陸區。 它也能建立遷移專案並報告參數狀態。

範例 CLI 指令

azmcp azuremigrate platformlandingzone request \
  --action <action> \
  --migrate-project-name <migrate-project-name> \
  --resource-group <resource-group> \
  [--region-type <region-type>] \
  [--firewall-type <firewall-type>] \
  [--network-architecture <network-architecture>] \
  [--identity-subscription-id <identity-subscription-id>] \
  [--management-subscription-id <management-subscription-id>] \
  [--connectivity-subscription-id <connectivity-subscription-id>] \
  [--regions <regions>] \
  [--environment-name <environment-name>] \
  [--version-control-system <version-control-system>] \
  [--organization-name <organization-name>] \
  [--location <location>]
參數 類型 為必填項目 Description
action 字串 Yes 執行的動作包括:update(設定參數)、check(檢查現有平台登陸區)、generate(產生平台登陸區)、download(取得下載指示)、status(查看參數狀態)、createmigrateproject(建立新遷移專案)。
migrate-project-name 字串 Yes Azure Migrate 專案名稱為平台著陸區產生上下文。
resource-group 字串 Yes Azure 資源群組名稱。
region-type 字串 No 平台著陸區的區域類型。 有效值: single, multi。
firewall-type 字串 No 平台著陸區的防火牆類型。 有效值: azurefirewall, nva。
network-architecture 字串 No 平台著陸區的網路架構。 有效值: hubspoke, vwan。
identity-subscription-id 字串 No Platform Landing Zone (GUID 格式)中身份管理群組的 Azure 訂閱 ID。
management-subscription-id 字串 No Platform Landing Zone (GUID 格式)管理群組的 Azure 訂閱 ID。
connectivity-subscription-id 字串 No Platform Landing Zone (GUID 格式)中連接群組的 Azure 訂閱 ID。
regions 字串 No 用於平台著陸區的 Azure 區域逗號分隔清單(例如,eastus,westus2)。
environment-name 字串 No 平台著陸區的環境名稱。
version-control-system 字串 No 平台降落區的版本控制系統。 有效值: local, github, azuredevops。
organization-name 字串 No 平台著陸區的組織名稱。
location 字串 No 用於建立新資源的 Azure 區域位置(例如 eastus、westus2)。 此操作需要 createmigrateproject。

工具註解提示:

破壞性 冪等 開放世界 唯讀 Secret 本地必修
✅ ✅ ❌ ❌ ❌ ✅