Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit for new version and new child resource type extended l… #17681

Merged
merged 19 commits into from
Feb 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
44da346
Initial commit for new version and new child resource type extended l…
peter-li-ms Feb 5, 2022
e681606
Fix lint check errors and cross version breaking changes validation i…
peter-li-ms Feb 6, 2022
fca710b
Try to fix Cross-Version Breaking Changes
peter-li-ms Feb 6, 2022
2046923
Revert changes to previous stable version
peter-li-ms Feb 6, 2022
93c18c4
Remove "x-ms-identifiers" definition which will cause golang sdk gene…
peter-li-ms Feb 6, 2022
f540b48
Address review comments, revert unnecessary changes
peter-li-ms Feb 7, 2022
99a79a6
Try fix breaking error
peter-li-ms Feb 7, 2022
94cfe56
Revert changes which fix lint error but will cause cross version brea…
peter-li-ms Feb 7, 2022
4848073
Fix lintdiff validation issue and also add back two updates for this …
peter-li-ms Feb 7, 2022
ec23397
Update descriptions of properties of resource sync rules.
peter-li-ms Feb 7, 2022
2882c94
Update description of the resource sync rules API
peter-li-ms Feb 7, 2022
e5a67ce
Update description of resource sync rules selector property
peter-li-ms Feb 7, 2022
e2c9fff
Update description of matchExpressions
peter-li-ms Feb 7, 2022
85d4494
Update description of targetResourceGroup
peter-li-ms Feb 8, 2022
bbe2c54
Fix a required LintDiff check
peter-li-ms Feb 14, 2022
085c48a
Add title to readme.typescript.md
peter-li-ms Feb 14, 2022
b670cc4
Update specification/extendedlocation/resource-manager/readme.typescr…
dw511214992 Feb 15, 2022
c579d1e
Revert cross version breacking changes
peter-li-ms Feb 16, 2022
aeb36ab
Merge branch 'main' of https://github.com/peter-li-ms/azure-rest-api-…
peter-li-ms Feb 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"parameters": {
"api-version": "2021-08-31-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>"
}
},
"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"
}
},
"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-31-preview",
"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,20 @@
{
"parameters": {
"api-version": "2021-08-31-preview",
"subscriptionId": "11111111-2222-3333-4444-555555555555",
"resourceGroupName": "testresourcegroup",
"resourceName": "customLocation01",
"labels": {
"key1": "value1",
"key2": "value2"
}
},
"responses": {
"200": {
"body": {
"targetResourceGroup": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/target-resource-group/"
pilor marked this conversation as resolved.
Show resolved Hide resolved
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2021-08-31-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"
}
},
"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,77 @@
{
"parameters": {
"api-version": "2021-08-31-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"
}
},
"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": "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,76 @@
{
"parameters": {
"api-version": "2021-08-31-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"
}
},
"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": "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,74 @@
{
"parameters": {
"api-version": "2021-08-31-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"
}
}
]
}
}
}
}
Loading