Skip to content

Commit 7f65686

Browse files
authored
Merge pull request #1087 from kimorris27/aro-hcp-public-preview-extension
ARO HCP aaz commands
2 parents a32a56b + b7d9592 commit 7f65686

50 files changed

Lines changed: 5932 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Commands/aro/hcp/_get-versions.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _aro hcp get-versions_
2+
3+
List Azure Red Hat OpenShift with hosted control plane versions
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvbG9jYXRpb25zL3t9L2hjcG9wZW5zaGlmdHZlcnNpb25z/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.redhatopenshift/locations/{}/hcpopenshiftversions 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- List available OpenShift versions in a location
14+
```bash
15+
aro hcp get-versions --location eastus
16+
```
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# [Command] _aro hcp cluster create_
2+
3+
Create an Azure Red Hat OpenShift with hosted control plane cluster
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnMve30=/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{} 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- Create a cluster
14+
```bash
15+
aro hcp cluster create --resource-group MyResourceGroup --name MyCluster --location eastus --version 4.19.0 --channel-group stable --network-type OVNKubernetes --managed-resource-group-name MyManagedRG --subnet-id <subnet-id> --mi-user-assigned <identity-id> --service-managed-identity <smi-id> --control-plane-operators "{cluster-api-azure:<cp-id>}" --data-plane-operators "{cloud-network-config:<dp-id>}"
16+
```
17+
18+
- Create a cluster with customer-managed ETCD encryption
19+
```bash
20+
aro hcp cluster create --resource-group MyResourceGroup --name MyCluster --location eastus --version 4.19.0 --channel-group stable --network-type OVNKubernetes --subnet-id <subnet-id> --etcd-encryption-type KMS --key-management-mode CustomerManaged --kms-vault-name MyKeyVault --kms-active-key "{name:MyKey,version:<key-version>}" --mi-user-assigned <identity-id> --service-managed-identity <smi-id> --control-plane-operators "{cluster-api-azure:<cp-id>}" --data-plane-operators "{cloud-network-config:<dp-id>}"
21+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _aro hcp cluster delete_
2+
3+
Delete an Azure Red Hat OpenShift with hosted control plane cluster
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnMve30=/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{} 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- Delete a cluster
14+
```bash
15+
aro hcp cluster delete --resource-group MyResourceGroup --name MyCluster --yes
16+
```

‎Commands/aro/hcp/cluster/_list.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# [Command] _aro hcp cluster list_
2+
3+
List Azure Red Hat OpenShift with hosted control plane clusters
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnM=/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters 2026-09-01-preview -->
10+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters 2026-09-01-preview -->
11+
12+
#### examples
13+
14+
- List clusters in a resource group
15+
```bash
16+
aro hcp cluster list --resource-group MyResourceGroup
17+
```
18+
19+
- List clusters in the subscription
20+
```bash
21+
aro hcp cluster list
22+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _aro hcp cluster request-credential_
2+
3+
Request a temporary credential for your Azure Red Hat OpenShift with hosted control plane cluster
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnMve30vcmVxdWVzdGFkbWluY3JlZGVudGlhbA==/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/requestadmincredential 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- Request a temporary admin credential
14+
```bash
15+
aro hcp cluster request-credential --resource-group MyResourceGroup --name MyCluster
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _aro hcp cluster revoke-credential_
2+
3+
Revoke all credentials for your Azure Red Hat OpenShift with hosted control plane cluster
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnMve30vcmV2b2tlY3JlZGVudGlhbHM=/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/revokecredentials 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- Revoke all admin credentials
14+
```bash
15+
aro hcp cluster revoke-credential --resource-group MyResourceGroup --name MyCluster
16+
```

‎Commands/aro/hcp/cluster/_show.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _aro hcp cluster show_
2+
3+
Get an Azure Red Hat OpenShift with hosted control plane cluster
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnMve30=/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{} 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- Show a cluster
14+
```bash
15+
aro hcp cluster show --resource-group MyResourceGroup --name MyCluster
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _aro hcp cluster update_
2+
3+
Update an Azure Red Hat OpenShift with hosted control plane cluster
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnMve30=/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{} 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- Update cluster tags
14+
```bash
15+
aro hcp cluster update --resource-group MyResourceGroup --name MyCluster --tags env=prod team=platform
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _aro hcp cluster external-auth create_
2+
3+
Create an Azure Red Hat OpenShift with hosted control plane external authentication instance
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnMve30vZXh0ZXJuYWxhdXRocy97fQ==/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/externalauths/{} 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- Create an external authentication provider
14+
```bash
15+
aro hcp cluster external-auth create --resource-group MyResourceGroup --cluster-name MyCluster --name MyExternalAuth --issuer-url https://login.microsoftonline.com/<tenant-id>/v2.0 --issuer-audience <audience> --username-claim email --client client-id=<client-id> component-name=console auth-client-namespace=openshift-console type=Confidential
16+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# [Command] _aro hcp cluster external-auth delete_
2+
3+
Delete an Azure Red Hat OpenShift with hosted control plane external authentication instance
4+
5+
## Versions
6+
7+
### [2026-09-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWRoYXRvcGVuc2hpZnQvaGNwb3BlbnNoaWZ0Y2x1c3RlcnMve30vZXh0ZXJuYWxhdXRocy97fQ==/2026-09-01-preview.xml) **Preview**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/externalauths/{} 2026-09-01-preview -->
10+
11+
#### examples
12+
13+
- Delete an external authentication provider
14+
```bash
15+
aro hcp cluster external-auth delete --resource-group MyResourceGroup --cluster-name MyCluster --name MyExternalAuth --yes
16+
```

0 commit comments

Comments
 (0)