Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.HybridContainerService t…
Browse files Browse the repository at this point in the history
…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
HariPrasadV authored Oct 27, 2023
1 parent 11ac170 commit e56858d
Show file tree
Hide file tree
Showing 34 changed files with 4,264 additions and 1 deletion.
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"
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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": []
}
}
}
]
}
}
}
}
}
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"
}
}
}
}
}
}
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
}
}
}
}
}
Loading

0 comments on commit e56858d

Please sign in to comment.