Share via


az site-recovery vmware-site machine

Note

This reference is part of the site-recovery extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az site-recovery vmware-site machine command. Learn more about extensions.

Manage vmware-site machines.

Commands

Name Description Type Status
az site-recovery vmware-site machine list

List to get machine.

Extension GA

az site-recovery vmware-site machine list

List to get machine.

az site-recovery vmware-site machine list --resource-group
                                          --site-name
                                          [--continuation-token]
                                          [--filter]
                                          [--max-items]
                                          [--next-token]
                                          [--top]
                                          [--total-record-count]

Examples

vmware-site machine list for v2arcm

az site-recovery vmware-site machine list -g "rg" --site-name "site_name"

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--site-name

Site name.

Optional Parameters

--continuation-token

Optional parameter for continuation token.

--filter

Filter.

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

--top

List a set number of machines.

--total-record-count

Total count of machines in the given site.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.