forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Microsoft.ExtendedLocation [CustomLocation] 2021-08-15 stable API…
… 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
1 parent
b75f081
commit 382987f
Showing
13 changed files
with
1,323 additions
and
3 deletions.
There are no files selected for viewing
728 changes: 728 additions & 0 deletions
728
...cation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/customlocations.json
Large diffs are not rendered by default.
Oops, something went wrong.
94 changes: 94 additions & 0 deletions
94
...r/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsCreate_Update.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsDelete.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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-08-15", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555", | ||
"resourceGroupName": "testresourcegroup", | ||
"resourceName": "customLocation01" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...rce-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsGet.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
...osoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsListByResourceGroup.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,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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
76 changes: 76 additions & 0 deletions
76
...rosoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsListBySubscription.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,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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
....ExtendedLocation/stable/2021-08-15/examples/CustomLocationsListEnabledResourceTypes.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,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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.