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

Add snapshot related new APIs and properties to AKS 2021-08-01 swagger #15586

Merged
merged 9 commits into from
Aug 12, 2021
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2259,3 +2259,4 @@ XLSM
DOCM
multislot
Tebibytes
NodePool
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"parameters": {
"api-version": "2021-08-01",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"resourceName": "snapshot1",
"parameters": {
"location": "westus",
"tags": {
"key1": "val1",
"key2": "val2"
},
"properties": {
"creationData": {
"sourceResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0"
}
}
}
},
"responses": {
"200": {
"body": {
"name": "snapshot1",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
"type": "Microsoft.ContainerService/Snapshots",
"location": "westus",
"tags": {
"key1": "val1",
"key2": "val2"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-08-09T20:13:23.298420761Z"
},
"properties": {
"creationData": {
"sourceResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0"
},
"snapshotType": "NodePool"
}
}
},
"201": {
"body": {
"name": "snapshot1",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
"type": "Microsoft.ContainerService/Snapshots",
"location": "westus",
"tags": {
"key1": "val1",
"key2": "val2"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-08-09T20:13:23.298420761Z"
},
"properties": {
"creationData": {
"sourceResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0"
},
"snapshotType": "NodePool"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2021-08-01",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"resourceName": "snapshot1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2021-08-01",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"resourceName": "snapshot1"
},
"responses": {
"200": {
"body": {
"name": "snapshot1",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
"type": "Microsoft.ContainerService/Snapshots",
"location": "westus",
"tags": {
"key1": "val1",
"key2": "val2"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-08-09T20:13:23.298420761Z"
},
"properties": {
"creationData": {
"sourceResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0"
},
"snapshotType": "NodePool"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"api-version": "2021-08-01",
"subscriptionId": "subid1"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "snapshot1",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
"type": "Microsoft.ContainerService/Snapshots",
"location": "westus",
"tags": {
"key1": "val1",
"key2": "val2"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-08-09T20:13:23.298420761Z"
},
"properties": {
"creationData": {
"sourceResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0"
},
"snapshotType": "NodePool"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2021-08-01",
"subscriptionId": "subid1",
"resourceGroupName": "rg1"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "snapshot1",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
"type": "Microsoft.ContainerService/Snapshots",
"location": "westus",
"tags": {
"key1": "val1",
"key2": "val2"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-08-09T20:13:23.298420761Z"
},
"properties": {
"creationData": {
"sourceResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0"
},
"snapshotType": "NodePool"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"api-version": "2021-08-01",
"subscriptionId": "subid1",
"resourceGroupName": "rg1",
"resourceName": "snapshot1",
"parameters": {
"tags": {
"key2": "new-val2",
"key3": "val3"
}
}
},
"responses": {
"200": {
"body": {
"name": "snapshot1",
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
"type": "Microsoft.ContainerService/Snapshots",
"location": "westus",
"tags": {
"key1": "val1",
"key2": "val2"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-08-09T20:13:23.298420761Z"
},
"properties": {
"creationData": {
"sourceResourceId": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool0"
},
"snapshotType": "NodePool"
}
}
}
}
}
Loading