-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding 2019-04-01 API version for Microsoft.DevSpaces RP (#5713)
* Adding old spec and examples * Adding 2019-04-01 API version * Fix readmes for SDK * Add missing response code in swagger example
- Loading branch information
1 parent
9ecab14
commit 244a827
Showing
12 changed files
with
1,083 additions
and
6 deletions.
There are no files selected for viewing
808 changes: 808 additions & 0 deletions
808
...ification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json
Large diffs are not rendered by default.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...aces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"location": "eastus", | ||
"containerHostMapping": { | ||
"containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster", | ||
"mappedControllerResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myController" | ||
} | ||
}, | ||
"204": { } | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...rce-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.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,58 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"name": "myControllerResource", | ||
"controller": { | ||
"location": "eastus", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"targetContainerHostCredentialsBase64": "QmFzZTY0IEVuY29kZWQgVmFsdWUK", | ||
"targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", | ||
"name": "myControllerResource", | ||
"type": "Microsoft.DevSpaces/controllers", | ||
"location": "eastus", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"hostSuffix": "suffix.azds.io", | ||
"dataPlaneFqdn": "dataplane.azds.io", | ||
"targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", | ||
"name": "myControllerResource", | ||
"type": "Microsoft.DevSpaces/controllers", | ||
"location": "eastus", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Creating", | ||
"targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...rce-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"name": "myControllerResource" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevSpaces/operationresults/00000000-0000-0000-0000-000000000000" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...source-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.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,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"name": "myControllerResource" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", | ||
"name": "myControllerResource", | ||
"type": "Microsoft.DevSpaces/controllers", | ||
"location": "eastus", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"hostSuffix": "suffix.azds.io", | ||
"dataPlaneFqdn": "dataplane.azds.io", | ||
"targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...icrosoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.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,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", | ||
"name": "myControllerResource", | ||
"type": "Microsoft.DevSpaces/controllers", | ||
"location": "eastus", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"hostSuffix": "suffix.azds.io", | ||
"dataPlaneFqdn": "dataplane.azds.io", | ||
"targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...rosoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.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,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"name": "myControllerResource", | ||
"listConnectionDetailsParameters": { | ||
"targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"connectionDetailsList": [ | ||
{ | ||
"orchestratorSpecificConnectionDetails": { | ||
"instanceType": "Kubernetes", | ||
"kubeConfig": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", | ||
"name": "myControllerResource", | ||
"type": "Microsoft.DevSpaces/controllers", | ||
"location": "eastus", | ||
"tags": {}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"hostSuffix": "suffix.azds.io", | ||
"dataPlaneFqdn": "dataplane.azds.io", | ||
"targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...rce-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"name": "myControllerResource", | ||
"controllerUpdateParameters": { | ||
"tags": { | ||
"key": "value" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource", | ||
"name": "myControllerResource", | ||
"type": "Microsoft.DevSpaces/controllers", | ||
"location": "eastus", | ||
"tags": { | ||
"key": "value" | ||
}, | ||
"sku": { | ||
"name": "S1", | ||
"tier": "Standard" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"hostSuffix": "suffix.azds.io", | ||
"dataPlaneFqdn": "dataplane.azds.io", | ||
"targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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
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