-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add snapshot related new APIs and properties to AKS 2021-08-01 swagger #15586
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
Merged
ruowan
merged 9 commits into
Azure:dev-containerservice-Microsoft.ContainerService-2021-08-01
from
chengliangli0918:charlili/snapshotswagger
Aug 12, 2021
Merged
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
3373a52
Add CreationData property to Agentpool level in 2021-08-01 API
charlili1234 f00f322
Merge with Azure dev branch and resolve conflicts
charlili1234 841fa9a
Add snapshot related APIs and properties to AKS 2021-08-01 swagger
charlili1234 96b1eaa
fix lint and spell checks
charlili1234 197ed03
fix lint and spell checks
charlili1234 82c8e2a
fix PrettierCheck
charlili1234 1bde6e4
Merge branch 'dev-containerservice-Microsoft.ContainerService-2021-08…
charlili1234 e317307
Change some Nodepool to NodePool
charlili1234 812b9a9
some changes according to ARM team's review comments
charlili1234 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -2259,3 +2259,4 @@ XLSM | |
| DOCM | ||
| multislot | ||
| Tebibytes | ||
| Nodepool | ||
45 changes: 45 additions & 0 deletions
45
...source-manager/Microsoft.ContainerService/stable/2021-08-01/examples/SnapshotsCreate.json
This file contains hidden or 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,45 @@ | ||
| { | ||
| "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" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
...source-manager/Microsoft.ContainerService/stable/2021-08-01/examples/SnapshotsDelete.json
This file contains hidden or 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-01", | ||
| "subscriptionId": "subid1", | ||
| "resourceGroupName": "rg1", | ||
| "resourceName": "snapshot1" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
33 changes: 33 additions & 0 deletions
33
.../resource-manager/Microsoft.ContainerService/stable/2021-08-01/examples/SnapshotsGet.json
This file contains hidden or 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,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" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
35 changes: 35 additions & 0 deletions
35
...resource-manager/Microsoft.ContainerService/stable/2021-08-01/examples/SnapshotsList.json
This file contains hidden or 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,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" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
36 changes: 36 additions & 0 deletions
36
...r/Microsoft.ContainerService/stable/2021-08-01/examples/SnapshotsListByResourceGroup.json
This file contains hidden or 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": "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" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
39 changes: 39 additions & 0 deletions
39
...ce-manager/Microsoft.ContainerService/stable/2021-08-01/examples/SnapshotsUpdateTags.json
This file contains hidden or 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,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" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.