-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.HybridContainerService t…
…o add version preview/2023-11-15-preview (#26379) * Adds base for updating Microsoft.HybridContainerService from version preview/2022-09-01-preview to version 2023-11-15-preview * Updates readme * Updates API version in new specs and examples * Added the 2023-11-15-preview from RPSaaSMaster * Addressing LintDiff errors
- Loading branch information
1 parent
11ac170
commit e56858d
Showing
34 changed files
with
4,264 additions
and
1 deletion.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
...ridContainerService/preview/2023-11-15-preview/examples/CreateHybridIdentityMetadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-15-preview", | ||
"connectedClusterResourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster", | ||
"body": { | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/hybridIdentityMetadata/default", | ||
"name": "default", | ||
"type": "Microsoft.HybridContainerService/provisionedClusterInstances/hybridIdentityMetadata", | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/hybridIdentityMetadata/default", | ||
"name": "default", | ||
"type": "Microsoft.HybridContainerService/provisionedClusterInstances/hybridIdentityMetadata", | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...Microsoft.HybridContainerService/preview/2023-11-15-preview/examples/DeleteAgentPool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"connectedClusterResourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster", | ||
"agentPoolName": "test-hybridaksnodepool", | ||
"api-version": "2023-11-15-preview" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ridContainerService/preview/2023-11-15-preview/examples/DeleteHybridIdentityMetadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-15-preview", | ||
"connectedClusterResourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
....HybridContainerService/preview/2023-11-15-preview/examples/DeleteKubernetesVersions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"customLocationResourceUri": "subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", | ||
"api-version": "2023-11-15-preview", | ||
"kubernetesVersions": { | ||
"extendedLocation": { | ||
"type": "CustomLocation", | ||
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ontainerService/preview/2023-11-15-preview/examples/DeleteProvisionedClusterInstance.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"connectedClusterResourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster", | ||
"api-version": "2023-11-15-preview" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...soft.HybridContainerService/preview/2023-11-15-preview/examples/DeleteVirtualNetwork.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", | ||
"resourceGroupName": "test-arcappliance-resgrp", | ||
"virtualNetworkName": "test-vnet-static", | ||
"api-version": "2023-11-15-preview" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...er/Microsoft.HybridContainerService/preview/2023-11-15-preview/examples/DeleteVmSkus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"customLocationResourceUri": "subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", | ||
"api-version": "2023-11-15-preview", | ||
"skus": { | ||
"extendedLocation": { | ||
"type": "CustomLocation", | ||
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://foo.com/operationStatuses" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...er/Microsoft.HybridContainerService/preview/2023-11-15-preview/examples/GetAgentPool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"connectedClusterResourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster", | ||
"agentPoolName": "test-hybridaksnodepool", | ||
"api-version": "2023-11-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "westus", | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/agentPools/test-hybridaksnodepool", | ||
"name": "test-hybridaksnodepool", | ||
"type": "Microsoft.HybridContainerService/provisionedClusterInstances/agentpools", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"count": 1, | ||
"vmSize": "Standard_A4_v2", | ||
"osType": "Linux" | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...HybridContainerService/preview/2023-11-15-preview/examples/GetHybridIdentityMetadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-11-15-preview", | ||
"connectedClusterResourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default/hybridIdentityMetadata/default", | ||
"name": "default", | ||
"type": "Microsoft.HybridContainerService/provisionedClusterInstances/hybridIdentityMetadata", | ||
"properties": { | ||
"resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", | ||
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" | ||
} | ||
} | ||
} | ||
} | ||
} |
78 changes: 78 additions & 0 deletions
78
...oft.HybridContainerService/preview/2023-11-15-preview/examples/GetKubernetesVersions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"parameters": { | ||
"customLocationResourceUri": "subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation", | ||
"api-version": "2023-11-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.ExtendedLocation/customLocations/testcustomlocation/providers/Microsoft.HybridContainerService/kubernetesVersions/default", | ||
"name": "default", | ||
"type": "microsoft.hybridcontainerservice/kubernetesVersions", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"values": [ | ||
{ | ||
"version": "1.23", | ||
"isPreview": false, | ||
"capabilities": { | ||
"supportPlan": [ | ||
"KubernetesOfficial" | ||
] | ||
}, | ||
"patchVersions": { | ||
"1.23.12": { | ||
"readiness": [ | ||
{ | ||
"osType": "Linux", | ||
"osSku": "CBLMariner", | ||
"ready": true | ||
}, | ||
{ | ||
"osType": "Windows", | ||
"osSku": "Windows", | ||
"ready": true | ||
}, | ||
{ | ||
"osType": "Windows", | ||
"osSku": "Windows2022", | ||
"ready": false, | ||
"errorMessage": "Not Ready. Reasons: Failed to find proudct stream windoes2022 in release aks-hybrid-catalog-stable-int" | ||
} | ||
], | ||
"upgrades": [ | ||
"1.23.13" | ||
] | ||
}, | ||
"1.23.13": { | ||
"readiness": [ | ||
{ | ||
"osType": "Linux", | ||
"osSku": "CBLMariner", | ||
"ready": true | ||
}, | ||
{ | ||
"osType": "Windows", | ||
"osSku": "Windows", | ||
"ready": true | ||
}, | ||
{ | ||
"osType": "Windows", | ||
"osSku": "Windows2022", | ||
"ready": true | ||
} | ||
], | ||
"upgrades": [] | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...idContainerService/preview/2023-11-15-preview/examples/GetProvisionedClusterInstance.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"parameters": { | ||
"connectedClusterResourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster", | ||
"api-version": "2023-11-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/test-hybridakscluster/providers/Microsoft.HybridContainerService/provisionedClusterInstances/default", | ||
"name": "test-hybridakscluster", | ||
"type": "Microsoft.HybridContainerService/provisionedClusterInstances", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"controlPlane": { | ||
"count": 1, | ||
"vmSize": "Standard_A4_v2", | ||
"osType": "Linux", | ||
"linuxProfile": { | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAAAB1NzaC1yc2EAAAADAQABAAACAQCY......" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"kubernetesVersion": "v1.20.5", | ||
"networkProfile": { | ||
"networkPolicy": "calico", | ||
"podCidr": "10.244.0.0/16" | ||
}, | ||
"agentPoolProfiles": [ | ||
{ | ||
"name": "default-nodepool-1", | ||
"count": 1, | ||
"vmSize": "Standard_A4_v2", | ||
"osType": "Linux" | ||
} | ||
], | ||
"linuxProfile": { | ||
"ssh": { | ||
"publicKeys": [ | ||
{ | ||
"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCY......." | ||
} | ||
] | ||
} | ||
}, | ||
"cloudProviderProfile": { | ||
"infraNetworkProfile": { | ||
"vnetSubnetIds": [ | ||
"/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.AzureStackHCI/logicalNetworks/test-vnet-static" | ||
] | ||
} | ||
}, | ||
"licenseProfile": { | ||
"azureHybridBenefit": "NotApplicable" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...crosoft.HybridContainerService/preview/2023-11-15-preview/examples/GetVirtualNetwork.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b", | ||
"resourceGroupName": "test-arcappliance-resgrp", | ||
"virtualNetworkName": "test-vnet-static", | ||
"api-version": "2023-11-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "westus", | ||
"id": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourceGroups/test-arcappliance-resgrp/providers/Microsoft.HybridContainerService/virtualNetworks/test-vnet-static", | ||
"name": "test-vnet-static", | ||
"type": "microsoft.hybridcontainerservice/virtualnetworks", | ||
"extendedLocation": { | ||
"type": "CustomLocation", | ||
"name": "/subscriptions/a3e42606-29b1-4d7d-b1d9-9ff6b9d3c71b/resourcegroups/test-arcappliance-resgrp/providers/microsoft.extendedlocation/customlocations/testcustomlocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"infraVnetProfile": { | ||
"vmware": { | ||
"segmentName": "test-network" | ||
} | ||
}, | ||
"vipPool": [ | ||
{ | ||
"startIP": "192.168.0.10", | ||
"endIP": "192.168.0.50" | ||
} | ||
], | ||
"vmipPool": [ | ||
{ | ||
"startIP": "192.168.0.110", | ||
"endIP": "192.168.0.130" | ||
} | ||
], | ||
"dnsServers": [ | ||
"192.168.0.1" | ||
], | ||
"gateway": "192.168.0.1", | ||
"ipAddressPrefix": "192.168.0.0/16", | ||
"vlanID": 10 | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.