Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR compute/resource-manager] Swagger change for adding status to BootDiagnosticsInstanceView #3670

Closed
Closed
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
5 changes: 2 additions & 3 deletions lib/services/computeManagement2/lib/models/bootDiagnostics.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@

/**
* Boot Diagnostics is a debugging feature which allows you to view Console
* Output and Screenshot to diagnose VM status. <br><br> For Linux Virtual
* Machines, you can easily view the output of your console log. <br><br> For
* both Windows and Linux virtual machines, Azure also enables you to see a
* Output and Screenshot to diagnose VM status. <br><br> You can easily view
* the output of your console log. <br><br> Azure also enables you to see a
* screenshot of the VM from the hypervisor.
*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ class BootDiagnosticsInstanceView {
* URI.
* @member {string} [serialConsoleLogBlobUri] The Linux serial console log
* blob Uri.
* @member {object} [status] The boot diagnostics status information for the
* VM. <br><br> NOTE: It will be set only if there are errors encountered in
* enabling boot diagnostics.
* @member {string} [status.code] The status code.
* @member {string} [status.level] The level code. Possible values include:
* 'Info', 'Warning', 'Error'
* @member {string} [status.displayStatus] The short localizable label for
* the status.
* @member {string} [status.message] The detailed status message, including
* for alerts and error messages.
* @member {date} [status.time] The time of the status.
*/
constructor() {
}
Expand Down Expand Up @@ -52,6 +63,14 @@ class BootDiagnosticsInstanceView {
type: {
name: 'String'
}
},
status: {
required: false,
serializedName: 'status',
type: {
name: 'Composite',
className: 'InstanceViewStatus'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ class DiagnosticsProfile {
* Create a DiagnosticsProfile.
* @member {object} [bootDiagnostics] Boot Diagnostics is a debugging feature
* which allows you to view Console Output and Screenshot to diagnose VM
* status. <br><br> For Linux Virtual Machines, you can easily view the
* output of your console log. <br><br> For both Windows and Linux virtual
* machines, Azure also enables you to see a screenshot of the VM from the
* status. <br><br> You can easily view the output of your console log.
* <br><br> Azure also enables you to see a screenshot of the VM from the
* hypervisor.
* @member {boolean} [bootDiagnostics.enabled] Whether boot diagnostics
* should be enabled on the Virtual Machine.
Expand Down
143 changes: 101 additions & 42 deletions lib/services/computeManagement2/lib/models/index.d.ts

Large diffs are not rendered by default.

23 changes: 17 additions & 6 deletions lib/services/computeManagement2/lib/models/virtualMachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,8 @@ class VirtualMachine extends models['Resource'] {
* settings state. <br><br>Minimum api-version: 2015-06-15.
* @member {object} [diagnosticsProfile.bootDiagnostics] Boot Diagnostics is
* a debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
* view the output of your console log. <br><br> For both Windows and Linux
* virtual machines, Azure also enables you to see a screenshot of the VM
* to diagnose VM status. <br><br> You can easily view the output of your
* console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
* @member {boolean} [diagnosticsProfile.bootDiagnostics.enabled] Whether
* boot diagnostics should be enabled on the Virtual Machine.
Expand Down Expand Up @@ -371,14 +370,26 @@ class VirtualMachine extends models['Resource'] {
* @member {array} [instanceView.extensions] The extensions information.
* @member {object} [instanceView.bootDiagnostics] Boot Diagnostics is a
* debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
* view the output of your console log. <br><br> For both Windows and Linux
* virtual machines, Azure also enables you to see a screenshot of the VM
* to diagnose VM status. <br><br> You can easily view the output of your
* console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
* @member {string} [instanceView.bootDiagnostics.consoleScreenshotBlobUri]
* The console screenshot blob URI.
* @member {string} [instanceView.bootDiagnostics.serialConsoleLogBlobUri]
* The Linux serial console log blob Uri.
* @member {object} [instanceView.bootDiagnostics.status] The boot
* diagnostics status information for the VM. <br><br> NOTE: It will be set
* only if there are errors encountered in enabling boot diagnostics.
* @member {string} [instanceView.bootDiagnostics.status.code] The status
* code.
* @member {string} [instanceView.bootDiagnostics.status.level] The level
* code. Possible values include: 'Info', 'Warning', 'Error'
* @member {string} [instanceView.bootDiagnostics.status.displayStatus] The
* short localizable label for the status.
* @member {string} [instanceView.bootDiagnostics.status.message] The
* detailed status message, including for alerts and error messages.
* @member {date} [instanceView.bootDiagnostics.status.time] The time of the
* status.
* @member {array} [instanceView.statuses] The resource status information.
* @member {string} [licenseType] Specifies that the image or disk that is
* being used was licensed on-premises. This element is only used for images
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,24 @@ class VirtualMachineInstanceView {
* @member {array} [extensions] The extensions information.
* @member {object} [bootDiagnostics] Boot Diagnostics is a debugging feature
* which allows you to view Console Output and Screenshot to diagnose VM
* status. <br><br> For Linux Virtual Machines, you can easily view the
* output of your console log. <br><br> For both Windows and Linux virtual
* machines, Azure also enables you to see a screenshot of the VM from the
* status. <br><br> You can easily view the output of your console log.
* <br><br> Azure also enables you to see a screenshot of the VM from the
* hypervisor.
* @member {string} [bootDiagnostics.consoleScreenshotBlobUri] The console
* screenshot blob URI.
* @member {string} [bootDiagnostics.serialConsoleLogBlobUri] The Linux
* serial console log blob Uri.
* @member {object} [bootDiagnostics.status] The boot diagnostics status
* information for the VM. <br><br> NOTE: It will be set only if there are
* errors encountered in enabling boot diagnostics.
* @member {string} [bootDiagnostics.status.code] The status code.
* @member {string} [bootDiagnostics.status.level] The level code. Possible
* values include: 'Info', 'Warning', 'Error'
* @member {string} [bootDiagnostics.status.displayStatus] The short
* localizable label for the status.
* @member {string} [bootDiagnostics.status.message] The detailed status
* message, including for alerts and error messages.
* @member {date} [bootDiagnostics.status.time] The time of the status.
* @member {array} [statuses] The resource status information.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,8 @@ class VirtualMachineScaleSet extends models['Resource'] {
* @member {object}
* [virtualMachineProfile.diagnosticsProfile.bootDiagnostics] Boot
* Diagnostics is a debugging feature which allows you to view Console Output
* and Screenshot to diagnose VM status. <br><br> For Linux Virtual Machines,
* you can easily view the output of your console log. <br><br> For both
* Windows and Linux virtual machines, Azure also enables you to see a
* and Screenshot to diagnose VM status. <br><br> You can easily view the
* output of your console log. <br><br> Azure also enables you to see a
* screenshot of the VM from the hypervisor.
* @member {boolean}
* [virtualMachineProfile.diagnosticsProfile.bootDiagnostics.enabled] Whether
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,8 @@ class VirtualMachineScaleSetUpdate extends models['UpdateResource'] {
* @member {object}
* [virtualMachineProfile.diagnosticsProfile.bootDiagnostics] Boot
* Diagnostics is a debugging feature which allows you to view Console Output
* and Screenshot to diagnose VM status. <br><br> For Linux Virtual Machines,
* you can easily view the output of your console log. <br><br> For both
* Windows and Linux virtual machines, Azure also enables you to see a
* and Screenshot to diagnose VM status. <br><br> You can easily view the
* output of your console log. <br><br> Azure also enables you to see a
* screenshot of the VM from the hypervisor.
* @member {boolean}
* [virtualMachineProfile.diagnosticsProfile.bootDiagnostics.enabled] Whether
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,8 @@ class VirtualMachineScaleSetUpdateVMProfile {
* diagnostics profile.
* @member {object} [diagnosticsProfile.bootDiagnostics] Boot Diagnostics is
* a debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
* view the output of your console log. <br><br> For both Windows and Linux
* virtual machines, Azure also enables you to see a screenshot of the VM
* to diagnose VM status. <br><br> You can easily view the output of your
* console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
* @member {boolean} [diagnosticsProfile.bootDiagnostics.enabled] Whether
* boot diagnostics should be enabled on the Virtual Machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,26 @@ class VirtualMachineScaleSetVM extends models['Resource'] {
* @member {date} [instanceView.vmHealth.status.time] The time of the status.
* @member {object} [instanceView.bootDiagnostics] Boot Diagnostics is a
* debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
* view the output of your console log. <br><br> For both Windows and Linux
* virtual machines, Azure also enables you to see a screenshot of the VM
* to diagnose VM status. <br><br> You can easily view the output of your
* console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
* @member {string} [instanceView.bootDiagnostics.consoleScreenshotBlobUri]
* The console screenshot blob URI.
* @member {string} [instanceView.bootDiagnostics.serialConsoleLogBlobUri]
* The Linux serial console log blob Uri.
* @member {object} [instanceView.bootDiagnostics.status] The boot
* diagnostics status information for the VM. <br><br> NOTE: It will be set
* only if there are errors encountered in enabling boot diagnostics.
* @member {string} [instanceView.bootDiagnostics.status.code] The status
* code.
* @member {string} [instanceView.bootDiagnostics.status.level] The level
* code. Possible values include: 'Info', 'Warning', 'Error'
* @member {string} [instanceView.bootDiagnostics.status.displayStatus] The
* short localizable label for the status.
* @member {string} [instanceView.bootDiagnostics.status.message] The
* detailed status message, including for alerts and error messages.
* @member {date} [instanceView.bootDiagnostics.status.time] The time of the
* status.
* @member {array} [instanceView.statuses] The resource status information.
* @member {string} [instanceView.placementGroupId] The placement group in
* which the VM is running. If the VM is deallocated it will not have a
Expand Down Expand Up @@ -366,9 +378,8 @@ class VirtualMachineScaleSetVM extends models['Resource'] {
* settings state. <br><br>Minimum api-version: 2015-06-15.
* @member {object} [diagnosticsProfile.bootDiagnostics] Boot Diagnostics is
* a debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
* view the output of your console log. <br><br> For both Windows and Linux
* virtual machines, Azure also enables you to see a screenshot of the VM
* to diagnose VM status. <br><br> You can easily view the output of your
* console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
* @member {boolean} [diagnosticsProfile.bootDiagnostics.enabled] Whether
* boot diagnostics should be enabled on the Virtual Machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,24 @@ class VirtualMachineScaleSetVMInstanceView {
* @member {date} [vmHealth.status.time] The time of the status.
* @member {object} [bootDiagnostics] Boot Diagnostics is a debugging feature
* which allows you to view Console Output and Screenshot to diagnose VM
* status. <br><br> For Linux Virtual Machines, you can easily view the
* output of your console log. <br><br> For both Windows and Linux virtual
* machines, Azure also enables you to see a screenshot of the VM from the
* status. <br><br> You can easily view the output of your console log.
* <br><br> Azure also enables you to see a screenshot of the VM from the
* hypervisor.
* @member {string} [bootDiagnostics.consoleScreenshotBlobUri] The console
* screenshot blob URI.
* @member {string} [bootDiagnostics.serialConsoleLogBlobUri] The Linux
* serial console log blob Uri.
* @member {object} [bootDiagnostics.status] The boot diagnostics status
* information for the VM. <br><br> NOTE: It will be set only if there are
* errors encountered in enabling boot diagnostics.
* @member {string} [bootDiagnostics.status.code] The status code.
* @member {string} [bootDiagnostics.status.level] The level code. Possible
* values include: 'Info', 'Warning', 'Error'
* @member {string} [bootDiagnostics.status.displayStatus] The short
* localizable label for the status.
* @member {string} [bootDiagnostics.status.message] The detailed status
* message, including for alerts and error messages.
* @member {date} [bootDiagnostics.status.time] The time of the status.
* @member {array} [statuses] The resource status information.
* @member {string} [placementGroupId] The placement group in which the VM is
* running. If the VM is deallocated it will not have a placementGroupId.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,8 @@ class VirtualMachineScaleSetVMProfile {
* settings state. <br><br>Minimum api-version: 2015-06-15.
* @member {object} [diagnosticsProfile.bootDiagnostics] Boot Diagnostics is
* a debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
* view the output of your console log. <br><br> For both Windows and Linux
* virtual machines, Azure also enables you to see a screenshot of the VM
* to diagnose VM status. <br><br> You can easily view the output of your
* console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
* @member {boolean} [diagnosticsProfile.bootDiagnostics.enabled] Whether
* boot diagnostics should be enabled on the Virtual Machine.
Expand Down
23 changes: 17 additions & 6 deletions lib/services/computeManagement2/lib/models/virtualMachineUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,8 @@ class VirtualMachineUpdate extends models['UpdateResource'] {
* settings state. <br><br>Minimum api-version: 2015-06-15.
* @member {object} [diagnosticsProfile.bootDiagnostics] Boot Diagnostics is
* a debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
* view the output of your console log. <br><br> For both Windows and Linux
* virtual machines, Azure also enables you to see a screenshot of the VM
* to diagnose VM status. <br><br> You can easily view the output of your
* console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
* @member {boolean} [diagnosticsProfile.bootDiagnostics.enabled] Whether
* boot diagnostics should be enabled on the Virtual Machine.
Expand Down Expand Up @@ -371,14 +370,26 @@ class VirtualMachineUpdate extends models['UpdateResource'] {
* @member {array} [instanceView.extensions] The extensions information.
* @member {object} [instanceView.bootDiagnostics] Boot Diagnostics is a
* debugging feature which allows you to view Console Output and Screenshot
* to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
* view the output of your console log. <br><br> For both Windows and Linux
* virtual machines, Azure also enables you to see a screenshot of the VM
* to diagnose VM status. <br><br> You can easily view the output of your
* console log. <br><br> Azure also enables you to see a screenshot of the VM
* from the hypervisor.
* @member {string} [instanceView.bootDiagnostics.consoleScreenshotBlobUri]
* The console screenshot blob URI.
* @member {string} [instanceView.bootDiagnostics.serialConsoleLogBlobUri]
* The Linux serial console log blob Uri.
* @member {object} [instanceView.bootDiagnostics.status] The boot
* diagnostics status information for the VM. <br><br> NOTE: It will be set
* only if there are errors encountered in enabling boot diagnostics.
* @member {string} [instanceView.bootDiagnostics.status.code] The status
* code.
* @member {string} [instanceView.bootDiagnostics.status.level] The level
* code. Possible values include: 'Info', 'Warning', 'Error'
* @member {string} [instanceView.bootDiagnostics.status.displayStatus] The
* short localizable label for the status.
* @member {string} [instanceView.bootDiagnostics.status.message] The
* detailed status message, including for alerts and error messages.
* @member {date} [instanceView.bootDiagnostics.status.time] The time of the
* status.
* @member {array} [instanceView.statuses] The resource status information.
* @member {string} [licenseType] Specifies that the image or disk that is
* being used was licensed on-premises. This element is only used for images
Expand Down
Loading