-
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.
Add the march public preview API version of extended location (#13446)
* Add the march public preview API version of extended location * Tweak: remove references to iot * Address comments from Phoenix by removing 500 references and adding back the default version tag * Revert privatepreview changes * Tweak: remove "500" from the swagger itself * Tweak: remove dash from readme * fix python pipeline * Tweak: run prettier against the repo folder * Tweak: remove 404 from customlocations.json and CustomLocationsGet.json * Tweak: csharp README sdk output folder path to fix downstream generation issue Co-authored-by: 00Kai0 <[email protected]>
- Loading branch information
1 parent
9beb345
commit 1c292ff
Showing
16 changed files
with
1,256 additions
and
39 deletions.
There are no files selected for viewing
704 changes: 704 additions & 0 deletions
704
...source-manager/Microsoft.ExtendedLocation/preview/2021-03-15-preview/customlocations.json
Large diffs are not rendered by default.
Oops, something went wrong.
82 changes: 82 additions & 0 deletions
82
...ft.ExtendedLocation/preview/2021-03-15-preview/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,82 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-15-preview", | ||
"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>" | ||
} | ||
} | ||
} | ||
}, | ||
"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" | ||
} | ||
}, | ||
"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" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
}, | ||
"400": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...Microsoft.ExtendedLocation/preview/2021-03-15-preview/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-03-15-preview", | ||
"subscriptionId": "11111111-2222-3333-4444-555555555555", | ||
"resourceGroupName": "testresourcegroup", | ||
"resourceName": "customLocation01" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...er/Microsoft.ExtendedLocation/preview/2021-03-15-preview/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,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-15-preview", | ||
"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" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
...endedLocation/preview/2021-03-15-preview/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,67 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-15-preview", | ||
"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" | ||
} | ||
}, | ||
"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" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...tendedLocation/preview/2021-03-15-preview/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,66 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-15-preview", | ||
"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" | ||
} | ||
}, | ||
"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" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"createdAt": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
...Location/preview/2021-03-15-preview/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,75 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-15-preview", | ||
"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": "2020-04-24T18:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "Application", | ||
"lastModifiedAt": "2020-04-24T18:53:29.0928001Z" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"400": {} | ||
} | ||
} |
Oops, something went wrong.