Skip to content

Commit

Permalink
Add Microsoft.ExtendedLocation [CustomLocation] 2021-08-15 stable API…
Browse files Browse the repository at this point in the history
… Version (Azure#15967)

* Add 2021-08-15 stable API Version

* Update Patch Properties to add identity

* Typo

* Prettier check

Co-authored-by: Aditi <amalladi@microsoft.com>
  • Loading branch information
aditimalladi and aditimalladi authored Sep 10, 2021
1 parent b75f081 commit 382987f
Show file tree
Hide file tree
Showing 13 changed files with 1,323 additions and 3 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"parameters": {
"api-version": "2021-08-15",
"subscriptionId": "11111111-2222-3333-4444-555555555555",
"resourceGroupName": "testresourcegroup",
"resourceName": "customLocation01",
"parameters": {
"location": "West US",
"properties": {
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
"namespace": "namespace01",
"displayName": "customLocationLocation01",
"clusterExtensionIds": [
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedCluster/someCluster/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
],
"authentication": {
"type": "KubeConfig",
"value": "<base64 KubeConfig>"
}
},
"identity": {
"type": "SystemAssigned"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01",
"name": "customLocation01",
"type": "Microsoft.ExtendedLocation/customLocations",
"location": "West US",
"properties": {
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
"namespace": "namespace01",
"displayName": "customLocationLocation01",
"provisioningState": "Succeeded",
"clusterExtensionIds": [
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
],
"authentication": {
"type": "KubeConfig"
}
},
"identity": {
"type": "SystemAssigned",
"principalId": "11111111-1111-1111-1111-111111111111",
"tenantId": "111111-1111-1111-1111-111111111111"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-04-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
}
}
},
"201": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01",
"name": "customLocation01",
"type": "Microsoft.ExtendedLocation/customLocations",
"location": "West US",
"properties": {
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
"namespace": "namespace01",
"displayName": "customLocationLocation01",
"provisioningState": "Succeeded",
"clusterExtensionIds": [
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
],
"authentication": {
"type": "KubeConfig"
}
},
"identity": {
"type": "SystemAssigned",
"principalId": "11111111-1111-1111-1111-111111111111",
"tenantId": "111111-1111-1111-1111-111111111111"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-04-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2021-08-15",
"subscriptionId": "11111111-2222-3333-4444-555555555555",
"resourceGroupName": "testresourcegroup",
"resourceName": "customLocation01"
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2021-08-15",
"subscriptionId": "11111111-2222-3333-4444-555555555555",
"resourceGroupName": "testresourcegroup",
"resourceName": "customLocation01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01",
"name": "customLocation01",
"type": "Microsoft.ExtendedLocation/customLocations",
"location": "West US",
"properties": {
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
"namespace": "namespace01",
"displayName": "customLocationLocation01",
"provisioningState": "Succeeded",
"clusterExtensionIds": [
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
],
"authentication": {
"type": "KubeConfig"
}
},
"identity": {
"type": "SystemAssigned",
"principalId": "11111111-1111-1111-1111-111111111111",
"tenantId": "111111-1111-1111-1111-111111111111"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-08-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-08-24T18:53:29.0928001Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"parameters": {
"api-version": "2021-08-15",
"subscriptionId": "11111111-2222-3333-4444-555555555555",
"resourceGroupName": "testresourcegroup"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ExtendedLocation/",
"name": "customLocation01",
"type": "Microsoft.ExtendedLocation/customLocations",
"location": "West US",
"properties": {
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
"namespace": "namespace01",
"displayName": "customLocationLocation01",
"provisioningState": "Succeeded",
"clusterExtensionIds": [
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
],
"authentication": {
"type": "KubeConfig"
}
},
"identity": {
"type": "SystemAssigned",
"principalId": "11111111-1111-1111-1111-111111111111",
"tenantId": "111111-1111-1111-1111-111111111111"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-04-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
}
},
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ExtendedLocation/",
"name": "customLocation02",
"type": "Microsoft.ExtendedLocation/customLocations",
"location": "West US",
"properties": {
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster02",
"namespace": "namespace02",
"displayName": "customLocationLocation02",
"provisioningState": "Succeeded",
"clusterExtensionIds": [
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster02/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
],
"authentication": {
"type": "KubeConfig"
}
},
"identity": {
"type": "SystemAssigned",
"principalId": "11111111-1111-1111-1111-111111111111",
"tenantId": "111111-1111-1111-1111-111111111111"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-08-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-08-24T18:53:29.0928001Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"parameters": {
"api-version": "2021-08-15",
"subscriptionId": "11111111-2222-3333-4444-555555555555"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ExtendedLocation/",
"name": "customLocation01",
"type": "Microsoft.ExtendedLocation/customLocations",
"location": "West US",
"properties": {
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01",
"namespace": "namespace01",
"displayName": "customLocationLocation01",
"provisioningState": "Succeeded",
"clusterExtensionIds": [
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster01/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
],
"authentication": {
"type": "KubeConfig"
}
},
"identity": {
"type": "SystemAssigned",
"principalId": "11111111-1111-1111-1111-111111111111",
"tenantId": "111111-1111-1111-1111-111111111111"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-04-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
}
},
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ExtendedLocation/",
"name": "customLocation02",
"type": "Microsoft.ExtendedLocation/customLocations",
"location": "West US",
"properties": {
"hostResourceId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster02",
"namespace": "namespace02",
"displayName": "customLocationLocation02",
"provisioningState": "Succeeded",
"clusterExtensionIds": [
"/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ContainerService/managedClusters/cluster02/Microsoft.KubernetesConfiguration/clusterExtensions/fooExtension"
],
"authentication": {
"type": "KubeConfig"
}
},
"identity": {
"type": "SystemAssigned",
"principalId": "11111111-1111-1111-1111-111111111111",
"tenantId": "111111-1111-1111-1111-111111111111"
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-08-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-08-24T18:53:29.0928001Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"parameters": {
"api-version": "2021-08-15",
"subscriptionId": "11111111-2222-3333-4444-555555555555",
"resourceGroupName": "testresourcegroup",
"resourceName": "customLocation01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01/enabledResourceTypes/d016ecf26dae90594806aca3c1a6326c668357037f68103587edf2e657824737",
"name": "d016ecf26dae90594806aca3c1a6326c668357037f68103587edf2e657824737",
"type": "Microsoft.ExtendedLocation/customLocations/enabledResourceTypes",
"properties": {
"clusterExtensionId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/cldfe2econnectedcluster/providers/Microsoft.KubernetesConfiguration/extensions/vmware-extension",
"extensionType": "arc-vmware",
"typesMetadata": [
{
"apiVersion": "2020-01-01-preview",
"resourceType": "virtualMachines",
"resourceProviderNamespace": "Microsoft.VMware"
},
{
"apiVersion": "2020-01-22-preview",
"resourceType": "virtualmachines",
"resourceProviderNamespace": "Microsoft.VMware"
}
]
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2020-04-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z"
}
},
{
"id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/customLocation01/enabledResourceTypes/266e9d31e5be6be1e919574e25780d5783586d502f0b2cc422e0a228a34e00a6",
"name": "266e9d31e5be6be1e919574e25780d5783586d502f0b2cc422e0a228a34e00a6",
"type": "Microsoft.ExtendedLocation/customLocations/enabledResourceTypes",
"properties": {
"clusterExtensionId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/cldfe2econnectedcluster/providers/Microsoft.KubernetesConfiguration/extensions/cassandra-extension",
"extensionType": "cassandradatacentersoperator",
"typesMetadata": [
{
"apiVersion": "2020-01-01-preview",
"resourceType": "cassandraDataCenters",
"resourceProviderNamespace": "Microsoft.Cassandra"
},
{
"apiVersion": "2020-01-22-preview",
"resourceType": "cassandrabackups",
"resourceProviderNamespace": "Microsoft.Cassandra"
}
]
},
"systemData": {
"createdBy": "string",
"createdByType": "Application",
"createdAt": "2021-08-24T18:53:29.0928001Z",
"lastModifiedBy": "string",
"lastModifiedByType": "Application",
"lastModifiedAt": "2021-08-24T18:53:29.0928001Z"
}
}
]
}
}
}
}
Loading

0 comments on commit 382987f

Please sign in to comment.