-
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.
Swagger Changes for MaintenanceConfiguration (#12116)
- Loading branch information
Showing
5 changed files
with
521 additions
and
0 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
...t.ContainerService/stable/2020-12-01/examples/MaintenanceConfigurationsCreate_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,62 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"configName": "default", | ||
"parameters": { | ||
"properties": { | ||
"timeInWeek": [ | ||
{ | ||
"day": "Monday", | ||
"hourSlots": [ | ||
1, | ||
2 | ||
] | ||
} | ||
], | ||
"notAllowedTime": [ | ||
{ | ||
"start": "2020-11-26T03:00:00Z", | ||
"end": "2020-11-30T12:00:00Z" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/maintenanceConfigurations/default", | ||
"type": "Microsoft.ContainerService/managedClusters/maintenanceConfigurations", | ||
"name": "default", | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"timeInWeek": [ | ||
{ | ||
"day": "Monday", | ||
"hourSlots": [ | ||
1, | ||
2 | ||
] | ||
} | ||
], | ||
"notAllowedTime": [ | ||
{ | ||
"start": "2020-11-26T03:00:00Z", | ||
"end": "2020-11-30T12:00:00Z" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...icrosoft.ContainerService/stable/2020-12-01/examples/MaintenanceConfigurationsDelete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"configName": "default" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...r/Microsoft.ContainerService/stable/2020-12-01/examples/MaintenanceConfigurationsGet.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,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1", | ||
"configName": "default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/maintenanceConfigurations/default", | ||
"name": "default", | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"timeInWeek": [ | ||
{ | ||
"day": "Monday", | ||
"hourSlots": [ | ||
1, | ||
2 | ||
] | ||
} | ||
], | ||
"notAllowedTime": [ | ||
{ | ||
"start": "2020-11-26T03:00:00Z", | ||
"end": "2020-11-30T12:00:00Z" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
.../Microsoft.ContainerService/stable/2020-12-01/examples/MaintenanceConfigurationsList.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,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-12-01", | ||
"subscriptionId": "subid1", | ||
"resourceGroupName": "rg1", | ||
"resourceName": "clustername1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/maintenanceConfigurations/default", | ||
"name": "default", | ||
"properties": { | ||
"timeInWeek": [ | ||
{ | ||
"day": "Monday", | ||
"hourSlots": [ | ||
1, | ||
2 | ||
] | ||
} | ||
], | ||
"notAllowedTime": [ | ||
{ | ||
"start": "2020-11-26T03:00:00Z", | ||
"end": "2020-11-30T12:00:00Z" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.