Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,15 @@
"name": "aaaaaaaaaaaaaaaaaaaaa",
"value": "aaaaaaaaaaaaaaaaaaaa"
}
]
],
"imageDeprecationStatus": {
"imageState": "ScheduledForDeprecation",
"scheduledDeprecationTime": "2023-01-13T00:00:00+00:00",
"alternativeOption": {
"type": "Offer",
"value": "aaaaaaa"
}
}
},
"name": "aaaaaaaaa",
"location": "aaaaa",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,56 @@
],
"description": "Describes automatic OS upgrade properties on the image."
},
"ImageDeprecationStatus": {
"type": "object",
"properties": {
"imageState": {
"type": "string",
"description": "Describes the state of the image.",
"enum": [
"Active",
"ScheduledForDeprecation",
"Deprecated"
],
"x-ms-enum": {
"name": "ImageState",
"modelAsString": true
}
},
"scheduledDeprecationTime": {
"type": "string",
"format": "date-time",
"description": "The time, in future, at which this image will be marked as deprecated. This scheduled time is chosen by the Publisher."
},
"alternativeOption": {
"$ref": "#/definitions/AlternativeOption"
}
},
"description": "Describes image deprecation status properties on the image."
},
"AlternativeOption": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Describes the type of the alternative option.",
"enum": [
"None",
"Offer",
"Plan"
],
"x-ms-enum": {
"name": "AlternativeType",
"modelAsString": true
}
},
"value": {
"type": "string",
"description": "Indicates the alternative option value specified by the Publisher. This is the Offer name when the type is Offer or the Plan name when the type is Plan."
}
},
"description": "Describes the alternative option specified by the Publisher for this image when this image is deprecated."
},
"VirtualMachineImageFeature": {
"properties": {
"name": {
Expand Down Expand Up @@ -956,6 +1006,9 @@
},
"architecture": {
"$ref": "#/definitions/ArchitectureType"
},
"imageDeprecationStatus": {
"$ref": "#/definitions/ImageDeprecationStatus"
}
},
"description": "Describes the properties of a Virtual Machine Image."
Expand Down