az stack-hci cluster

Commands to manage stack-hci cluster.

Commands

az stack-hci cluster create

Create an HCI cluster.

az stack-hci cluster delete

Delete an HCI cluster.

az stack-hci cluster list

List all HCI clusters in a subscription.

az stack-hci cluster show

Get HCI cluster.

az stack-hci cluster update

Update an HCI cluster.

az stack-hci cluster create

Create an HCI cluster.

az stack-hci cluster create --aad-client-id
                            --name
                            --resource-group
                            [--aad-tenant-id]
                            [--location]
                            [--tags]

Examples

Create an HCI cluster

az stack-hci cluster create --location "East US" --aad-client-id "24a6e53d-04e5-44d2-b7cc-1b732a847dfc" --aad-tenant-id "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94" --name "myCluster" --resource-group "test-rg"

Required Parameters

--aad-client-id

App ID of cluster AAD identity.

--name -n

The name of the cluster.

--resource-group -g

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

Optional Parameters

--aad-tenant-id

Tenant ID of cluster AAD identity. Default is the current tenant ID.

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

az stack-hci cluster delete

Delete an HCI cluster.

az stack-hci cluster delete --name
                            --resource-group
                            [--yes]

Examples

Delete an HCI cluster

az stack-hci cluster delete --name "myCluster" --resource-group "test-rg"

Required Parameters

--name -n

The name of the cluster.

--resource-group -g

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

az stack-hci cluster list

List all HCI clusters in a subscription.

az stack-hci cluster list [--resource-group]

Examples

List all HCI clusters in a resource group

az stack-hci cluster list --resource-group "test-rg"

Optional Parameters

--resource-group -g

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

az stack-hci cluster show

Get HCI cluster.

az stack-hci cluster show --name
                          --resource-group

Examples

Get a HCI cluster

az stack-hci cluster show --name "myCluster" --resource-group "test-rg"

Required Parameters

--name -n

The name of the cluster.

--resource-group -g

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

az stack-hci cluster update

Update an HCI cluster.

az stack-hci cluster update --name
                            --resource-group
                            [--tags]

Examples

Update an HCI cluster

az stack-hci cluster update --tags tag1="value1" tag2="value2" --name "myCluster" --resource-group "test-rg"

Required Parameters

--name -n

The name of the cluster.

--resource-group -g

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

Optional Parameters

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.