Skip to content

Commit a16ac6b

Browse files
AutorestCIZim Kalinowski
authored and
Zim Kalinowski
committed
[AutoPR compute/resource-manager] Added Examples and Updated Comments 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
1 parent dd768cd commit a16ac6b

15 files changed

+58
-29
lines changed

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4854,10 +4854,12 @@ def __init__(self, **kwargs):
48544854

48554855

48564856
class VirtualMachineReimageParameters(Model):
4857-
"""Parameters for Reimaging Virtual Machine. Default value for OSDisk : true.
4857+
"""Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk
4858+
will always be reimaged.
48584859
48594860
:param temp_disk: Specifies whether to reimage temp disk. Default value:
4860-
false.
4861+
false. Note: This temp disk reimage parameter is only supported for
4862+
VM/VMSS with Ephemeral OS disk.
48614863
:type temp_disk: bool
48624864
"""
48634865

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

@@ -5740,7 +5743,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
57405743
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
57415744
57425745
:param temp_disk: Specifies whether to reimage temp disk. Default value:
5743-
false.
5746+
false. Note: This temp disk reimage parameter is only supported for
5747+
VM/VMSS with Ephemeral OS disk.
57445748
:type temp_disk: bool
57455749
:param instance_ids: The virtual machine scale set instance ids. Omitting
57465750
the virtual machine scale set instance ids will result in the operation

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models_py3.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4854,10 +4854,12 @@ def __init__(self, *, platform_update_domain: int=None, platform_fault_domain: i
48544854

48554855

48564856
class VirtualMachineReimageParameters(Model):
4857-
"""Parameters for Reimaging Virtual Machine. Default value for OSDisk : true.
4857+
"""Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk
4858+
will always be reimaged.
48584859
48594860
:param temp_disk: Specifies whether to reimage temp disk. Default value:
4860-
false.
4861+
false. Note: This temp disk reimage parameter is only supported for
4862+
VM/VMSS with Ephemeral OS disk.
48614863
:type temp_disk: bool
48624864
"""
48634865

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

@@ -5740,7 +5743,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
57405743
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
57415744
57425745
:param temp_disk: Specifies whether to reimage temp disk. Default value:
5743-
false.
5746+
false. Note: This temp disk reimage parameter is only supported for
5747+
VM/VMSS with Ephemeral OS disk.
57445748
:type temp_disk: bool
57455749
:param instance_ids: The virtual machine scale set instance ids. Omitting
57465750
the virtual machine scale set instance ids will result in the operation

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_set_vms_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ def reimage(
103103
:param instance_id: The instance ID of the virtual machine.
104104
:type instance_id: str
105105
:param temp_disk: Specifies whether to reimage temp disk. Default
106-
value: false.
106+
value: false. Note: This temp disk reimage parameter is only supported
107+
for VM/VMSS with Ephemeral OS disk.
107108
:type temp_disk: bool
108109
:param dict custom_headers: headers that will be added to the request
109110
:param bool raw: The poller return type is ClientRawResponse, the

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_sets_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,8 @@ def reimage(
15571557
:param vm_scale_set_name: The name of the VM scale set.
15581558
:type vm_scale_set_name: str
15591559
:param temp_disk: Specifies whether to reimage temp disk. Default
1560-
value: false.
1560+
value: false. Note: This temp disk reimage parameter is only supported
1561+
for VM/VMSS with Ephemeral OS disk.
15611562
:type temp_disk: bool
15621563
:param instance_ids: The virtual machine scale set instance ids.
15631564
Omitting the virtual machine scale set instance ids will result in the

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machines_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,8 @@ def reimage(
14371437
:param vm_name: The name of the virtual machine.
14381438
:type vm_name: str
14391439
:param temp_disk: Specifies whether to reimage temp disk. Default
1440-
value: false.
1440+
value: false. Note: This temp disk reimage parameter is only supported
1441+
for VM/VMSS with Ephemeral OS disk.
14411442
:type temp_disk: bool
14421443
:param dict custom_headers: headers that will be added to the request
14431444
:param bool raw: The poller return type is ClientRawResponse, the

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3574,7 +3574,8 @@ class VirtualMachineReimageParameters(Model):
35743574
will always be reimaged.
35753575
35763576
:param temp_disk: Specifies whether to reimage temp disk. Default value:
3577-
false.
3577+
false. Note: This temp disk reimage parameter is only supported for
3578+
VM/VMSS with Ephemeral OS disk.
35783579
:type temp_disk: bool
35793580
"""
35803581

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

@@ -4464,7 +4466,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
44644466
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
44654467
44664468
:param temp_disk: Specifies whether to reimage temp disk. Default value:
4467-
false.
4469+
false. Note: This temp disk reimage parameter is only supported for
4470+
VM/VMSS with Ephemeral OS disk.
44684471
:type temp_disk: bool
44694472
:param instance_ids: The virtual machine scale set instance ids. Omitting
44704473
the virtual machine scale set instance ids will result in the operation

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models_py3.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3574,7 +3574,8 @@ class VirtualMachineReimageParameters(Model):
35743574
will always be reimaged.
35753575
35763576
:param temp_disk: Specifies whether to reimage temp disk. Default value:
3577-
false.
3577+
false. Note: This temp disk reimage parameter is only supported for
3578+
VM/VMSS with Ephemeral OS disk.
35783579
:type temp_disk: bool
35793580
"""
35803581

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

@@ -4464,7 +4466,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
44644466
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
44654467
44664468
:param temp_disk: Specifies whether to reimage temp disk. Default value:
4467-
false.
4469+
false. Note: This temp disk reimage parameter is only supported for
4470+
VM/VMSS with Ephemeral OS disk.
44684471
:type temp_disk: bool
44694472
:param instance_ids: The virtual machine scale set instance ids. Omitting
44704473
the virtual machine scale set instance ids will result in the operation

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_set_vms_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ def reimage(
103103
:param instance_id: The instance ID of the virtual machine.
104104
:type instance_id: str
105105
:param temp_disk: Specifies whether to reimage temp disk. Default
106-
value: false.
106+
value: false. Note: This temp disk reimage parameter is only supported
107+
for VM/VMSS with Ephemeral OS disk.
107108
:type temp_disk: bool
108109
:param dict custom_headers: headers that will be added to the request
109110
:param bool raw: The poller return type is ClientRawResponse, the

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_sets_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,8 @@ def reimage(
15571557
:param vm_scale_set_name: The name of the VM scale set.
15581558
:type vm_scale_set_name: str
15591559
:param temp_disk: Specifies whether to reimage temp disk. Default
1560-
value: false.
1560+
value: false. Note: This temp disk reimage parameter is only supported
1561+
for VM/VMSS with Ephemeral OS disk.
15611562
:type temp_disk: bool
15621563
:param instance_ids: The virtual machine scale set instance ids.
15631564
Omitting the virtual machine scale set instance ids will result in the

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machines_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,8 @@ def reimage(
14371437
:param vm_name: The name of the virtual machine.
14381438
:type vm_name: str
14391439
:param temp_disk: Specifies whether to reimage temp disk. Default
1440-
value: false.
1440+
value: false. Note: This temp disk reimage parameter is only supported
1441+
for VM/VMSS with Ephemeral OS disk.
14411442
:type temp_disk: bool
14421443
:param dict custom_headers: headers that will be added to the request
14431444
:param bool raw: The poller return type is ClientRawResponse, the

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4352,7 +4352,8 @@ class VirtualMachineReimageParameters(Model):
43524352
will always be reimaged.
43534353
43544354
:param temp_disk: Specifies whether to reimage temp disk. Default value:
4355-
false.
4355+
false. Note: This temp disk reimage parameter is only supported for
4356+
VM/VMSS with Ephemeral OS disk.
43564357
:type temp_disk: bool
43574358
"""
43584359

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

@@ -5250,7 +5252,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
52505252
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
52515253
52525254
:param temp_disk: Specifies whether to reimage temp disk. Default value:
5253-
false.
5255+
false. Note: This temp disk reimage parameter is only supported for
5256+
VM/VMSS with Ephemeral OS disk.
52545257
:type temp_disk: bool
52555258
:param instance_ids: The virtual machine scale set instance ids. Omitting
52565259
the virtual machine scale set instance ids will result in the operation

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4352,7 +4352,8 @@ class VirtualMachineReimageParameters(Model):
43524352
will always be reimaged.
43534353
43544354
:param temp_disk: Specifies whether to reimage temp disk. Default value:
4355-
false.
4355+
false. Note: This temp disk reimage parameter is only supported for
4356+
VM/VMSS with Ephemeral OS disk.
43564357
:type temp_disk: bool
43574358
"""
43584359

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

@@ -5250,7 +5252,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar
52505252
"""Describes a Virtual Machine Scale Set VM Reimage Parameters.
52515253
52525254
:param temp_disk: Specifies whether to reimage temp disk. Default value:
5253-
false.
5255+
false. Note: This temp disk reimage parameter is only supported for
5256+
VM/VMSS with Ephemeral OS disk.
52545257
:type temp_disk: bool
52555258
:param instance_ids: The virtual machine scale set instance ids. Omitting
52565259
the virtual machine scale set instance ids will result in the operation

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_set_vms_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ def reimage(
103103
:param instance_id: The instance ID of the virtual machine.
104104
:type instance_id: str
105105
:param temp_disk: Specifies whether to reimage temp disk. Default
106-
value: false.
106+
value: false. Note: This temp disk reimage parameter is only supported
107+
for VM/VMSS with Ephemeral OS disk.
107108
:type temp_disk: bool
108109
:param dict custom_headers: headers that will be added to the request
109110
:param bool raw: The poller return type is ClientRawResponse, the

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_sets_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,8 @@ def reimage(
15651565
:param vm_scale_set_name: The name of the VM scale set.
15661566
:type vm_scale_set_name: str
15671567
:param temp_disk: Specifies whether to reimage temp disk. Default
1568-
value: false.
1568+
value: false. Note: This temp disk reimage parameter is only supported
1569+
for VM/VMSS with Ephemeral OS disk.
15691570
:type temp_disk: bool
15701571
:param instance_ids: The virtual machine scale set instance ids.
15711572
Omitting the virtual machine scale set instance ids will result in the

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machines_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,8 @@ def reimage(
14451445
:param vm_name: The name of the virtual machine.
14461446
:type vm_name: str
14471447
:param temp_disk: Specifies whether to reimage temp disk. Default
1448-
value: false.
1448+
value: false. Note: This temp disk reimage parameter is only supported
1449+
for VM/VMSS with Ephemeral OS disk.
14491450
:type temp_disk: bool
14501451
:param dict custom_headers: headers that will be added to the request
14511452
:param bool raw: The poller return type is ClientRawResponse, the

0 commit comments

Comments
 (0)