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 terminate profile and scheduled events profile to Microsoft.Compute #6683

Merged
merged 10 commits into from
Aug 1, 2019
Original file line number Diff line number Diff line change
Expand Up @@ -5483,7 +5483,7 @@
"items": {
"type": "string"
},
"description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
"description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
szimmer-dev marked this conversation as resolved.
Show resolved Hide resolved
}
},
"allOf": [
Expand All @@ -5504,7 +5504,7 @@
"items": {
"type": "string"
},
"description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
"description": "Availability Zone to use for this host group � only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
szimmer-dev marked this conversation as resolved.
Show resolved Hide resolved
}
},
"allOf": [
Expand Down Expand Up @@ -8498,6 +8498,10 @@
"name": "VirtualMachineEvictionPolicyTypes",
"modelAsString": true
}
},
"scheduledEventsProfile" : {
"$ref":"#/definitions/ScheduledEventsProfile",
"description": "Specifies Scheduled Event related configurations."
}
szimmer-dev marked this conversation as resolved.
Show resolved Hide resolved
},
"description": "Describes a virtual machine scale set virtual machine profile."
Expand Down Expand Up @@ -9241,6 +9245,27 @@
},
"description": "The protection policy of a virtual machine scale set VM."
},
"ScheduledEventsProfile": {
szimmer-dev marked this conversation as resolved.
Show resolved Hide resolved
"properties": {
"terminateNotificationProfile":
{
"$ref":"#/definitions/TerminateNotificationProfile",
"description": "Specifies Terminate Scheduled Event related configurations."
}
}
},
"TerminateNotificationProfile": {
szimmer-dev marked this conversation as resolved.
Show resolved Hide resolved
"properties": {
"notBeforeTimeout": {
"type": "string",
"description" : "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)"
},
"enable" : {
"type": "boolean",
"description": "Specifies whether the Terminate Scheduled event is enabled or disabled."
}
}
},
"VirtualMachineHealthStatus": {
"properties": {
"status": {
Expand Down