Share via


az connectedvmware vcenter inventory-item

Note

This reference is part of the connectedvmware extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az connectedvmware vcenter inventory-item command. Learn more about extensions.

Inventory item resource.

Commands

Name Description Type Status
az connectedvmware vcenter inventory-item list

Retrieve a list of inventory item given by resource group and vcenter name.

Extension GA
az connectedvmware vcenter inventory-item show

Get details of a inventory item by inventory item name or id, resource-group and vcenter name.

Extension GA

az connectedvmware vcenter inventory-item list

Retrieve a list of inventory item given by resource group and vcenter name.

az connectedvmware vcenter inventory-item list --resource-group
                                               --vcenter

Examples

Retrieve a list of inventory item

az connectedvmware vcenter inventory-item list --resource-group "resource group name"                --vcenter "name of the vcenter"

Required Parameters

--resource-group -g

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

--vcenter -v

Name or ID of the vCenter that is managing this resource.

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.

az connectedvmware vcenter inventory-item show

Get details of a inventory item by inventory item name or id, resource-group and vcenter name.

az connectedvmware vcenter inventory-item show --inventory-item
                                               --resource-group
                                               --vcenter

Examples

Get details of a inventory item

az connectedvmware vcenter inventory-item show --inventory-item "inventory item name"                --resource-group "resource group name" --vcenter "name of the vcenter"

Required Parameters

--inventory-item -i

Name or ID of the inventory item.

--resource-group -g

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

--vcenter -v

Name or ID of the vCenter that is managing this resource.

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.