az migrate local
Note
This reference is part of the migrate extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az migrate local command. Learn more about extensions.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az migrate local get-discovered-server |
Retrieve discovered servers from the Azure Migrate project. |
Extension | GA |
| az migrate local replication | Extension | GA | |
| az migrate local replication init |
Initialize Azure Migrate local replication infrastructure. |
Extension | GA |
| az migrate local replication new |
Create a new replication for an Azure Local server. |
Extension | GA |
az migrate local get-discovered-server
Retrieve discovered servers from the Azure Migrate project.
Args: cmd: The CLI command context project_name (str): Specifies the migrate project name (required) resource_group_name (str): Specifies the resource group name (required) display_name (str, optional): Specifies the source machine display name source_machine_type (str, optional): Specifies the source machine type (VMware, HyperV) subscription_id (str, optional): Specifies the subscription id name (str, optional): Specifies the source machine name (internal name) appliance_name (str, optional): Specifies the appliance name (maps to site) Returns: dict: The discovered server data from the API response Raises: CLIError: If required parameters are missing or the API request fails.
az migrate local get-discovered-server [--appliance-name]
[--display-name]
[--ids]
[--name]
[--project-name]
[--resource-group --resource-group-name]
[--source-machine-type {HyperV, VMware}]
[--subscription]
[--subscription-id]
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of the appliance (site) containing the machines.
Display name of the source machine to filter by.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Internal name of the specific source machine to retrieve.
Name of the Azure Migrate project.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of the resource group containing the Azure Migrate project.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Type of the source machine.
| Property | Value |
|---|---|
| Accepted values: | HyperV, VMware |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Azure subscription ID. Uses the default subscription if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |