az sf managed-cluster

Manage an Azure Service Fabric managed cluster.

Commands

az sf managed-cluster client-certificate

Manage client certificates of a manged cluster.

az sf managed-cluster client-certificate add

Add a new client certificate to the managed cluster.

az sf managed-cluster client-certificate delete

Delete a client certificate from the managed cluster.

az sf managed-cluster create

Delete a managed cluster.

az sf managed-cluster delete

Delete a managed cluster.

az sf managed-cluster list

List managed clusters.

az sf managed-cluster show

Show the properties of an Azure Service Fabric managed cluster.

az sf managed-cluster update

Update a managed cluster.

az sf managed-cluster create

Delete a managed cluster.

az sf managed-cluster create --admin-password
                             --cluster-name
                             --resource-group
                             [--admin-user-name]
                             [--cert-common-name]
                             [--cert-is-admin {false, true}]
                             [--cert-issuer-thumbprint]
                             [--cert-thumbprint]
                             [--client-connection-port]
                             [--dns-name]
                             [--gateway-connection-port]
                             [--location]
                             [--sku]
                             [--subscription]
                             [--tags]

Examples

Create cluster with standard sku and client cert by thumbprint.

az sf managed-cluster create -g testRG -c testCluster -l eastus2 --cert-thumbprint XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --cert-is-admin --admin-password PassTest123@ --sku Standard

Create cluster with standard sku and client cert by common name.

az sf managed-cluster create -g testRG -c testCluster -l eastus2 --cert-common-name Contoso.com --cert-issuer-thumbprint XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --cert-is-admin --admin-password PassTest123@ --sku Standard

Required Parameters

--admin-password

Admin password used for the virtual machines.

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

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

Optional Parameters

--admin-user-name

Admin user used for the virtual machines.

default value: vmadmin
--cert-common-name --client-cert-common-name

Client certificate common name.

--cert-is-admin --client-cert-is-admin

Client authentication type.

accepted values: false, true
--cert-issuer-thumbprint --cert-issuer-tp --client-cert-issuer-thumbprint

Space-separated list of issuer thumbprints.

--cert-thumbprint --client-cert-thumbprint

Client certificate thumbprint.

--client-connection-port --client-port

Port used for client connections to the cluster.

default value: 19000
--dns-name

Cluster's dns name.

--gateway-connection-port --gateway-port

Port used for http connections to the cluster.

default value: 19080
--location -l

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

--sku

Cluster's Sku, the options are Basic: it will have a minimum of 3 seed nodes and only allows 1 node type and Standard: it will have a minimum of 5 seed nodes and allows multiple node types.

default value: Basic
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tags

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

az sf managed-cluster delete

Delete a managed cluster.

az sf managed-cluster delete --cluster-name
                             --resource-group
                             [--subscription]

Examples

Delete cluster.

az sf managed-cluster delete -g testRG -c testCluster

Required Parameters

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

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

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az sf managed-cluster list

List managed clusters.

az sf managed-cluster list [--query-examples]
                           [--resource-group]
                           [--subscription]

Examples

List clusters by resource group.

az sf managed-cluster list -g testRG

List clusters by subscription.

az sf managed-cluster list

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az sf managed-cluster show

Show the properties of an Azure Service Fabric managed cluster.

az sf managed-cluster show --cluster-name
                           --resource-group
                           [--query-examples]
                           [--subscription]

Examples

Get cluster.

az sf managed-cluster show -g testRG -c testCluster

Required Parameters

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

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

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az sf managed-cluster update

Update a managed cluster.

az sf managed-cluster update --cluster-name
                             --resource-group
                             [--client-connection-port]
                             [--dns-name]
                             [--gateway-connection-port]
                             [--subscription]
                             [--tags]

Examples

Update cluster client port and dns name.

az sf managed-cluster update -g testRG -c testCluster --client-port 50000 --dns-name testnewdns

Required Parameters

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--resource-group -g

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

Optional Parameters

--client-connection-port --client-port

Port used for client connections to the cluster.

--dns-name

Cluster's dns name.

--gateway-connection-port --gateway-port

Port used for http connections to the cluster.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tags

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