Share via


az scvmm vmmserver inventory-item

Note

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

Inventory item resource.

Commands

Name Description Type Status
az scvmm vmmserver inventory-item list

Retrieve a list of inventory items present in a vmmserver.

Extension GA
az scvmm vmmserver inventory-item show

Get details of an inventory item present in a vmmserver.

Extension GA

az scvmm vmmserver inventory-item list

Retrieve a list of inventory items present in a vmmserver.

az scvmm vmmserver inventory-item list --resource-group
                                       --vmmserver

Examples

Retrieve a list of inventory items

az scvmm vmmserver inventory-item list --subscription contoso-sub --resource-group contoso-rg --vmmserver contoso-vmmserver

Required Parameters

--resource-group -g

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

--vmmserver -v

Name or ID of the vmmserver 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 scvmm vmmserver inventory-item show

Get details of an inventory item present in a vmmserver.

az scvmm vmmserver inventory-item show --inventory-item
                                       --resource-group
                                       --vmmserver

Examples

Get details of a inventory item

az scvmm vmmserver inventory-item show --subscription contoso-sub --resource-group contoso-rg --vmmserver contoso-vmmserver --inventory-item 01234567-0123-0123-0123-0123456789ab

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>.

--vmmserver -v

Name or ID of the vmmserver 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.