We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbd1156 + 95d3aac commit f7a505fCopy full SHA for f7a505f
articles/azure-arc/kubernetes/cluster-connect.md
@@ -85,7 +85,7 @@ A conceptual overview of this feature is available in [Cluster connect - Azure A
85
```azurepowershell
86
$CLUSTER_NAME = <cluster-name>
87
$RESOURCE_GROUP = <resource-group-name>
88
- $ARM_ID_CLUSTER = (az connectedk8s show -n $CLUSTER_NAME -g $RESOURCE_GROUP --query id -o tsv)
+ $ARM_ID_CLUSTER = (Get-AzConnectedKubernetes -ResourceGroupName $RESOURCE_GROUP -Name $CLUSTER_NAME).Id
89
```
90
91
---
0 commit comments