Skip to content

Commit

Permalink
CodeGen from PR 21806 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 097f1987e9f8e25d08dbafb6b4a7cf7b073c006b into 1be09531e4c6edeafde41d6562371566d39669e8
  • Loading branch information
SDKAuto committed Dec 7, 2022
1 parent a03c0ef commit f1748b8
Show file tree
Hide file tree
Showing 3 changed files with 654 additions and 0 deletions.
62 changes: 62 additions & 0 deletions schemas/2022-07-01-preview/Microsoft.Maintenance.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,25 @@
},
"description": "Input properties for patching a Windows machine. This property only applies to Guest (InGuestPatch) scope."
},
"MaintenanceConfigurationOverrides": {
"type": "object",
"properties": {
"overrides": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/MaintenanceOverrideProperties"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Override Properties for the maintenance Configuration."
}
}
},
"MaintenanceConfigurationProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -403,6 +422,16 @@
"type": "string",
"description": "Gets or sets namespace of the resource"
},
"overrides": {
"oneOf": [
{
"$ref": "#/definitions/MaintenanceConfigurationOverrides"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"visibility": {
"oneOf": [
{
Expand All @@ -421,6 +450,39 @@
},
"description": "Properties for maintenance configuration"
},
"MaintenanceOverrideProperties": {
"type": "object",
"properties": {
"endDateTime": {
"type": "string",
"description": "Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59."
},
"overrideProperties": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets overrideProperties of the maintenanceConfiguration"
},
"startDateTime": {
"type": "string",
"description": "Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone."
},
"timeZone": {
"type": "string",
"description": "Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time."
}
},
"description": "Definition of a MaintenanceOverrideProperties"
},
"MaintenanceWindow": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit f1748b8

Please sign in to comment.