@@ -693,16 +693,14 @@ New-AzResourceGroupDeployment -ResourceGroupName $resourceGroup @templateParams
693
693
694
694
::: zone-end
695
695
696
- ## Connect to your cluster
696
+ ## Connect to your cluster - PowerShell
697
697
698
698
To connect to your new cluster, review the steps in [ Connect to an Azure Red Hat OpenShift 4 cluster] ( tutorial-connect-cluster.md ) .
699
699
700
- ## Clean up resources
700
+ ## Clean up resources - PowerShell
701
701
702
702
Once you're done, run the following command to delete your resource group and all the resources you created in this tutorial.
703
703
704
- # [ PowerShell] ( #tab/powershell )
705
-
706
704
``` powershell
707
705
Remove-AzResourceGroup -Name $resourceGroup -Force
708
706
```
@@ -771,13 +769,13 @@ az role assignment create \
771
769
--assignee-principal-type 'ServicePrincipal'
772
770
```
773
771
774
- ### Get the service principal object ID for the OpenShift resource provider
772
+ ### Get the service principal object ID for the OpenShift resource provider - Azure CLI
775
773
776
774
``` azurecli-interactive
777
775
ARO_RP_SP_OBJECT_ID=$(az ad sp list --display-name "Azure Red Hat OpenShift RP" --query [0].objectId -o tsv)
778
776
```
779
777
780
- ### Deploy the cluster
778
+ ### Deploy the cluster - Azure CLI
781
779
782
780
``` azurecli-interactive
783
781
az deployment group create \
@@ -794,16 +792,14 @@ az deployment group create \
794
792
--parameters rpObjectId=$ARO_RP_SP_OBJECT_ID
795
793
```
796
794
797
- ## Connect to your cluster
795
+ ## Connect to your cluster - Azure CLI
798
796
799
797
To connect to your new cluster, review the steps in [ Connect to an Azure Red Hat OpenShift 4 cluster] ( tutorial-connect-cluster.md ) .
800
798
801
- ## Clean up resources
799
+ ## Clean up resources - Azure CLI
802
800
803
801
Once you're done, run the following command to delete your resource group and all the resources you created in this tutorial.
804
802
805
- # [ Azure CLI] ( #tab/azure-cli )
806
-
807
803
``` azurecli-interactive
808
804
az aro delete --resource-group $RESOURCEGROUP --name $ARO_CLUSTER_NAME
809
805
```
0 commit comments