az scvmm cloud
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 cloud command. Learn more about extensions.
Manage Arc for SCVMM Cloud resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az scvmm cloud create |
Create cloud resource. |
Extension | GA |
az scvmm cloud delete |
Delete cloud resource. |
Extension | GA |
az scvmm cloud list |
Retrieve a list of clouds. |
Extension | GA |
az scvmm cloud show |
Get details of a cloud. |
Extension | GA |
az scvmm cloud update |
Update cloud resource. |
Extension | GA |
az scvmm cloud wait |
Place the CLI in a waiting state until a condition of the cloud is met. |
Extension | GA |
az scvmm cloud create
Create cloud resource.
az scvmm cloud create --custom-location
--location
--name
--resource-group
[--inventory-item]
[--no-wait]
[--tags]
[--uuid]
[--vmmserver]
Examples
Create a cloud
az scvmm cloud create --subscription contoso-sub --resource-group contoso-rg --location eastus --custom-location contoso-cl --vmmserver contoso-vmmserver --inventory-item 01234567-0123-0123-0123-0123456789ab --name contoso-cloud
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>
.
Name of the resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name or ID of the inventory item.
Do not wait for the long-running operation to finish.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
The ID of the resource created in the VMM.
Name or ID of the vmmserver that is managing this resource.
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 cloud delete
Delete cloud resource.
az scvmm cloud delete [--force]
[--ids]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete a cloud by ARM ID
az scvmm cloud delete --ids /subscriptions/01234567-0123-0123-0123-0123456789ab/resourceGroups/contoso-rg/providers/Microsoft.ScVmm/clouds/contoso-cloud
Delete a cloud by name
az scvmm cloud delete --subscription contoso-sub --resource-group contoso-rg --name contoso-cloud
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
.
Do not prompt for confirmation.
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 cloud list
Retrieve a list of clouds.
az scvmm cloud list [--resource-group]
Examples
Retrieve a list of clouds present in a resource group
az scvmm cloud list --subscription contoso-sub --resource-group contoso-rg
Retrieve a list of clouds present in a subscription
az scvmm cloud 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 cloud show
Get details of a cloud.
az scvmm cloud show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Get details of a cloud by ARM ID
az scvmm cloud show --ids /subscriptions/01234567-0123-0123-0123-0123456789ab/resourceGroups/contoso-rg/providers/Microsoft.ScVmm/clouds/contoso-cloud
Get details of a cloud by name
az scvmm cloud show --subscription contoso-sub --resource-group contoso-rg --name contoso-cloud
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 cloud update
Update cloud resource.
az scvmm cloud update [--ids]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
[--tags]
Examples
Update a cloud by ARM ID
az scvmm cloud update --ids /subscriptions/01234567-0123-0123-0123-0123456789ab/resourceGroups/contoso-rg/providers/Microsoft.ScVmm/clouds/contoso-cloud --tags department=Sales
Update a cloud by name
az scvmm cloud update --subscription contoso-sub --resource-group contoso-rg --name contoso-cloud --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 cloud wait
Place the CLI in a waiting state until a condition of the cloud is met.
az scvmm cloud wait --cloud-name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
Name of the Cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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.