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

OS History API - Swagger #2743

Merged
merged 4 commits into from
Apr 11, 2018
Merged
Changes from 1 commit
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 @@ -2709,6 +2709,48 @@
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory": {
"get": {
"tags": [
"VirtualMachineScaleSets"
],
"operationId": "VirtualMachineScaleSets_GetOSUpgradeHistory",
"description": "Gets list of OS upgrades on a VM scale set instance.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "vmScaleSetName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the VM scale set."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/VirtualMachineScaleSetListOSUpgradeHistory"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": {
"post": {
Expand Down Expand Up @@ -7120,6 +7162,87 @@
"value"
],
"description": "The Virtual Machine Scale Set List Skus operation response."
},
"PlatformImageReference": {
"properties": {
"publisher": {
"readOnly": true,
"type": "string",
"description": "Publisher"
},
"offer": {
"readOnly": true,
"type": "string",
"description": "Offer"
},
"sku": {
"readOnly": true,
"type": "string",
"description": "Sku"
},
"version": {
"readOnly": true,
"type": "string",
"description": "Version"
},
"uri": {
"readOnly": true,
"type": "string",
"description": "Specifies the virtual hard disk's uri."
}
},
"description": "A reference that identifies a CRP-PIR image or a UserVMImage."
},
"VirtualMachineScaleSetOSUpgradeHistory": {
"properties": {
"runningStatus": {
"$ref": "#/definitions/RollingUpgradeRunningStatus",
"readOnly": true,
"description": "Information about the overall status of the upgrade operation."
},
"progressInfo": {
"$ref": "#/definitions/RollingUpgradeProgressInfo",
"readOnly": true,
"description": "Counts of the VM's in each state."
},
"error": {
"$ref": "#/definitions/ApiError",
"readOnly": true,
"description": "Error Details for this upgrade if there are any."
},
"startedBy": {
"readOnly": true,
"type": "string",
"description": "Error Details for this upgrade if there are any.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the description

"enum": [
"Unknown",
"User",
"Platform"
]
},
"targetImageReference": {
"$ref": "#/definitions/PlatformImageReference",
"readOnly": true,
"description": "Error Details for this upgrade if there are any."
}
},
"description": "Describes each OS upgrade on the Virtual Machine Scale Set."
},
"VirtualMachineScaleSetListOSUpgradeHistory": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/VirtualMachineScaleSetOSUpgradeHistory"
},
"description": "The list of OS upgrades performed on the virtual machine scale set."
},
"nextLink": {
"type": "string",
"description": "The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus."
}
},
"description": "Virtual Machine Scale Set OS Upgrade History operation response."
},
"VirtualMachineScaleSetVMProperties": {
"properties": {
Expand Down