az scvmm vmmserver
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 command. Learn more about extensions.
Manage Arc for SCVMM VMMServer resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az scvmm vmmserver connect |
Create a vmmserver resource. |
Extension | GA |
az scvmm vmmserver delete |
Delete a vmmserver resource. |
Extension | GA |
az scvmm vmmserver inventory-item |
Inventory item resource. |
Extension | GA |
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 list |
Retrieve a list of vmmservers. |
Extension | GA |
az scvmm vmmserver show |
Get details of a vmmserver. |
Extension | GA |
az scvmm vmmserver update |
Update vmmserver resource. |
Extension | GA |
az scvmm vmmserver wait |
Place the CLI in a waiting state until a condition of the vmmserver is met. |
Extension | GA |
az scvmm vmmserver connect
Create a vmmserver resource.
az scvmm vmmserver connect --custom-location
--location
[--fqdn]
[--ids]
[--name]
[--no-wait]
[--password]
[--port]
[--resource-group]
[--subscription]
[--tags]
[--username]
Examples
Connect to a vmmserver
az scvmm vmmserver connect --subscription contoso-sub --resource-group contoso-rg --location eastus --custom-location contoso-cl --name contoso-vmmserver --fqdn vmm.contoso.com --port 8100 --username contoso-user --password contoso-password
Required Parameters
Name or ID of the custom location that will manage this resource.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Optional Parameters
FQDN/IP address of the vmmserver.
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.
Name of the resource.
Do not wait for the long-running operation to finish.
Username password credentials to use for connecting to the vmmserver.
The port of the vmmserver.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Username to use for connecting to the vmmserver.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az scvmm vmmserver delete
Delete a vmmserver resource.
az scvmm vmmserver delete [--force]
[--ids]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
Examples
Delete a vmmserver resource by Name
az scvmm vmmserver delete --name contoso-vmmserver --resource-group contoso-rg --subscription contoso-sub
Delete a vmmserver resource by ARM ID
az scvmm vmmserver delete --ids /subscriptions/01234567-0123-0123-0123-0123456789ab/resourceGroups/contoso-rg/providers/Microsoft.ScVmm/vmmServers/contoso-vmmserver
Optional Parameters
Force the resource to be deleted from azure.
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.
Name of the resource.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az scvmm vmmserver list
Retrieve a list of vmmservers.
az scvmm vmmserver list [--resource-group]
Examples
Retrieve a list of vmmservers present in a resource group
az scvmm vmmserver list --subscription contoso-sub --resource-group contoso-rg
Retrieve a list of vmmservers present in a subscription
az scvmm vmmserver list --subscription contoso-sub
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az scvmm vmmserver show
Get details of a vmmserver.
az scvmm vmmserver show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Get details of a vmmserver by ARM ID
az scvmm vmmserver show --ids /subscriptions/01234567-0123-0123-0123-0123456789ab/resourceGroups/contoso-rg/providers/Microsoft.ScVmm/vmmServers/contoso-vmmserver
Get details of a vmmserver by name
az scvmm vmmserver show --subscription contoso-sub --resource-group contoso-rg --name contoso-vmmserver
Optional Parameters
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.
Name of the resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az scvmm vmmserver update
Update vmmserver resource.
az scvmm vmmserver update [--ids]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
[--tags]
Examples
Update a vmmserver by ARM ID
az scvmm vmmserver update --ids /subscriptions/01234567-0123-0123-0123-0123456789ab/resourceGroups/contoso-rg/providers/Microsoft.ScVmm/vmmservers/contoso-vmmserver --tags department=Sales
Update a vmmserver by name
az scvmm vmmserver update --subscription contoso-sub --resource-group contoso-rg --name contoso-vmmserver --tags department=Sales
Optional Parameters
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.
Name of the resource.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az scvmm vmmserver wait
Place the CLI in a waiting state until a condition of the vmmserver is met.
az scvmm vmmserver wait --resource-group
--vmm-server-name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the VmmServer.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.