forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Untracked Public Maintenance Config Resource Type (Azure#10281)
* Adding Untracked Public Maintenance Config Resource Type * Fixing linter checks
- Loading branch information
Showing
7 changed files
with
193 additions
and
22 deletions.
There are no files selected for viewing
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
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
28 changes: 28 additions & 0 deletions
28
...e/preview/2020-07-01-preview/examples/PublicMaintenanceConfigurations_GetForResource.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,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceName": "configuration1", | ||
"api-version": "2020-07-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/configuration1", | ||
"name": "configuration1", | ||
"location": "westus2", | ||
"properties": { | ||
"namespace": "Microsoft.Maintenance", | ||
"maintenanceScope": "SQLDB", | ||
"visibility": "Public", | ||
"maintenanceWindow": { | ||
"startDateTime": "2020-04-30 08:00", | ||
"expirationDateTime": "9999-12-31 00:00", | ||
"duration": "05:00", | ||
"timeZone": "Pacific Standard Time", | ||
"recurEvery": "2Weeks" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...Maintenance/preview/2020-07-01-preview/examples/PublicMaintenanceConfigurations_List.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": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"api-version": "2020-07-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/configuration1", | ||
"name": "configuration1", | ||
"location": "westus2", | ||
"properties": { | ||
"namespace": "Microsoft.Maintenance", | ||
"maintenanceScope": "SQLDB", | ||
"visibility": "Public", | ||
"maintenanceWindow": { | ||
"startDateTime": "2020-04-30 08:00:00", | ||
"expirationDateTime": "9999-12-31 00:00:00", | ||
"duration": "05:00:00", | ||
"timeZone": "Pacific Standard Time", | ||
"recurEvery": "Week Saturday,Sunday" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |