Skip to content

Commit

Permalink
[AutoPR compute/resource-manager] Added Examples and Updated Comments…
Browse files Browse the repository at this point in the history
… for SKU and Computer APIs in the swagger (#5907)

* Generated from 2d93cea773d3bfdb88557bd87401ed5eea190598

 updated swagger documentation and reverted the breaking changes

* Generated from f72e6426d0f4bcdfd0d79ed7841632b718deb296

 updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request
  • Loading branch information
AutorestCI authored and Zim Kalinowski committed Jul 20, 2019
1 parent dd768cd commit a16ac6b
Show file tree
Hide file tree
Showing 15 changed files with 58 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4854,10 +4854,12 @@ def __init__(self, **kwargs):


class VirtualMachineReimageParameters(Model):
"""Parameters for Reimaging Virtual Machine. Default value for OSDisk : true.
"""Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk
will always be reimaged.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand Down Expand Up @@ -5724,7 +5726,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters)
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand All @@ -5740,7 +5743,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids. Omitting
the virtual machine scale set instance ids will result in the operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4854,10 +4854,12 @@ def __init__(self, *, platform_update_domain: int=None, platform_fault_domain: i


class VirtualMachineReimageParameters(Model):
"""Parameters for Reimaging Virtual Machine. Default value for OSDisk : true.
"""Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk
will always be reimaged.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand Down Expand Up @@ -5724,7 +5726,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters)
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand All @@ -5740,7 +5743,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids. Omitting
the virtual machine scale set instance ids will result in the operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def reimage(
:param instance_id: The instance ID of the virtual machine.
:type instance_id: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,8 @@ def reimage(
:param vm_scale_set_name: The name of the VM scale set.
:type vm_scale_set_name: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids.
Omitting the virtual machine scale set instance ids will result in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,8 @@ def reimage(
:param vm_name: The name of the virtual machine.
:type vm_name: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3574,7 +3574,8 @@ class VirtualMachineReimageParameters(Model):
will always be reimaged.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand Down Expand Up @@ -4448,7 +4449,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters)
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand All @@ -4464,7 +4466,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids. Omitting
the virtual machine scale set instance ids will result in the operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3574,7 +3574,8 @@ class VirtualMachineReimageParameters(Model):
will always be reimaged.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand Down Expand Up @@ -4448,7 +4449,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters)
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand All @@ -4464,7 +4466,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids. Omitting
the virtual machine scale set instance ids will result in the operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def reimage(
:param instance_id: The instance ID of the virtual machine.
:type instance_id: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,8 @@ def reimage(
:param vm_scale_set_name: The name of the VM scale set.
:type vm_scale_set_name: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids.
Omitting the virtual machine scale set instance ids will result in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,8 @@ def reimage(
:param vm_name: The name of the virtual machine.
:type vm_name: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4352,7 +4352,8 @@ class VirtualMachineReimageParameters(Model):
will always be reimaged.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand Down Expand Up @@ -5234,7 +5235,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters)
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand All @@ -5250,7 +5252,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids. Omitting
the virtual machine scale set instance ids will result in the operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4352,7 +4352,8 @@ class VirtualMachineReimageParameters(Model):
will always be reimaged.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand Down Expand Up @@ -5234,7 +5235,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters)
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
"""

Expand All @@ -5250,7 +5252,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
:param temp_disk: Specifies whether to reimage temp disk. Default value:
false.
false. Note: This temp disk reimage parameter is only supported for
VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids. Omitting
the virtual machine scale set instance ids will result in the operation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def reimage(
:param instance_id: The instance ID of the virtual machine.
:type instance_id: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,8 @@ def reimage(
:param vm_scale_set_name: The name of the VM scale set.
:type vm_scale_set_name: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param instance_ids: The virtual machine scale set instance ids.
Omitting the virtual machine scale set instance ids will result in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,8 @@ def reimage(
:param vm_name: The name of the virtual machine.
:type vm_name: str
:param temp_disk: Specifies whether to reimage temp disk. Default
value: false.
value: false. Note: This temp disk reimage parameter is only supported
for VM/VMSS with Ephemeral OS disk.
:type temp_disk: bool
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
Expand Down

0 comments on commit a16ac6b

Please sign in to comment.