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

[ReleasePR azure-mgmt-compute] [Compute] [SIG] [BugFix] Remove ID as required because update gallery image version is failing when ID is not present #11290

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
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ class ImageReference(Model):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param publisher: The image publisher.
:type publisher: str
Expand Down Expand Up @@ -1058,7 +1059,9 @@ def __init__(self, **kwargs):


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ class ImageReference(Model):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param publisher: The image publisher.
:type publisher: str
Expand Down Expand Up @@ -1058,7 +1059,9 @@ def __init__(self, *, publisher: str, name: str, product: str, **kwargs) -> None


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ class ImageReference(Model):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param publisher: The image publisher.
:type publisher: str
Expand Down Expand Up @@ -1055,7 +1056,9 @@ def __init__(self, **kwargs):


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ class ImageReference(Model):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param publisher: The image publisher.
:type publisher: str
Expand Down Expand Up @@ -1055,7 +1056,9 @@ def __init__(self, *, publisher: str, name: str, product: str, **kwargs) -> None


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,8 @@ class ImageReference(SubResource):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param id: Resource Id
:type id: str
Expand Down Expand Up @@ -2414,7 +2415,9 @@ class Sku(Model):
/><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**
:type tier: str
:param capacity: Specifies the number of virtual machines in the scale
set.
set. NOTE: If the new VM SKU is not supported on the hardware the scale
set is currently on, you need to deallocate the VMs in the scale set
before you modify the SKU name.
:type capacity: long
"""

Expand Down Expand Up @@ -3605,7 +3608,8 @@ class VirtualMachineScaleSet(Resource):
configured.
:type identity:
~azure.mgmt.compute.v2017_03_30.models.VirtualMachineScaleSetIdentity
:param zones: The virtual machine scale set zones.
:param zones: The virtual machine scale set zones. NOTE: Availability
zones can only be set when you create the scale set.
:type zones: list[str]
"""

Expand Down Expand Up @@ -4410,7 +4414,9 @@ class VirtualMachineScaleSetUpdate(UpdateResource):
should be overprovisioned.
:type overprovision: bool
:param single_placement_group: When true this limits the scale set to a
single placement group, of max size 100 virtual machines.
single placement group, of max size 100 virtual machines. NOTE: If
singlePlacementGroup is true, it may be modified to false. However, if
singlePlacementGroup is false, it may not be modified to true.
:type single_placement_group: bool
:param identity: The identity of the virtual machine scale set, if
configured.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,8 @@ class ImageReference(SubResource):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param id: Resource Id
:type id: str
Expand Down Expand Up @@ -2414,7 +2415,9 @@ class Sku(Model):
/><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**
:type tier: str
:param capacity: Specifies the number of virtual machines in the scale
set.
set. NOTE: If the new VM SKU is not supported on the hardware the scale
set is currently on, you need to deallocate the VMs in the scale set
before you modify the SKU name.
:type capacity: long
"""

Expand Down Expand Up @@ -3605,7 +3608,8 @@ class VirtualMachineScaleSet(Resource):
configured.
:type identity:
~azure.mgmt.compute.v2017_03_30.models.VirtualMachineScaleSetIdentity
:param zones: The virtual machine scale set zones.
:param zones: The virtual machine scale set zones. NOTE: Availability
zones can only be set when you create the scale set.
:type zones: list[str]
"""

Expand Down Expand Up @@ -4410,7 +4414,9 @@ class VirtualMachineScaleSetUpdate(UpdateResource):
should be overprovisioned.
:type overprovision: bool
:param single_placement_group: When true this limits the scale set to a
single placement group, of max size 100 virtual machines.
single placement group, of max size 100 virtual machines. NOTE: If
singlePlacementGroup is true, it may be modified to false. However, if
singlePlacementGroup is false, it may not be modified to true.
:type single_placement_group: bool
:param identity: The identity of the virtual machine scale set, if
configured.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,8 @@ class ImageReference(SubResource):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param id: Resource Id
:type id: str
Expand Down Expand Up @@ -2217,7 +2218,9 @@ def __init__(self, **kwargs):


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down Expand Up @@ -3463,7 +3466,8 @@ class VirtualMachineScaleSet(Resource):
configured.
:type identity:
~azure.mgmt.compute.v2017_12_01.models.VirtualMachineScaleSetIdentity
:param zones: The virtual machine scale set zones.
:param zones: The virtual machine scale set zones. NOTE: Availability
zones can only be set when you create the scale set.
:type zones: list[str]
"""

Expand Down Expand Up @@ -4297,7 +4301,9 @@ class VirtualMachineScaleSetUpdate(UpdateResource):
should be overprovisioned.
:type overprovision: bool
:param single_placement_group: When true this limits the scale set to a
single placement group, of max size 100 virtual machines.
single placement group, of max size 100 virtual machines. NOTE: If
singlePlacementGroup is true, it may be modified to false. However, if
singlePlacementGroup is false, it may not be modified to true.
:type single_placement_group: bool
:param identity: The identity of the virtual machine scale set, if
configured.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,8 @@ class ImageReference(SubResource):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param id: Resource Id
:type id: str
Expand Down Expand Up @@ -2217,7 +2218,9 @@ def __init__(self, *, output=None, **kwargs) -> None:


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down Expand Up @@ -3463,7 +3466,8 @@ class VirtualMachineScaleSet(Resource):
configured.
:type identity:
~azure.mgmt.compute.v2017_12_01.models.VirtualMachineScaleSetIdentity
:param zones: The virtual machine scale set zones.
:param zones: The virtual machine scale set zones. NOTE: Availability
zones can only be set when you create the scale set.
:type zones: list[str]
"""

Expand Down Expand Up @@ -4297,7 +4301,9 @@ class VirtualMachineScaleSetUpdate(UpdateResource):
should be overprovisioned.
:type overprovision: bool
:param single_placement_group: When true this limits the scale set to a
single placement group, of max size 100 virtual machines.
single placement group, of max size 100 virtual machines. NOTE: If
singlePlacementGroup is true, it may be modified to false. However, if
singlePlacementGroup is false, it may not be modified to true.
:type single_placement_group: bool
:param identity: The identity of the virtual machine scale set, if
configured.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,8 @@ class ImageReference(SubResource):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param id: Resource Id
:type id: str
Expand Down Expand Up @@ -2591,7 +2592,9 @@ def __init__(self, **kwargs):


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down Expand Up @@ -4039,7 +4042,8 @@ class VirtualMachineScaleSet(Resource):
configured.
:type identity:
~azure.mgmt.compute.v2018_04_01.models.VirtualMachineScaleSetIdentity
:param zones: The virtual machine scale set zones.
:param zones: The virtual machine scale set zones. NOTE: Availability
zones can only be set when you create the scale set.
:type zones: list[str]
"""

Expand Down Expand Up @@ -4908,7 +4912,9 @@ class VirtualMachineScaleSetUpdate(UpdateResource):
should be overprovisioned.
:type overprovision: bool
:param single_placement_group: When true this limits the scale set to a
single placement group, of max size 100 virtual machines.
single placement group, of max size 100 virtual machines. NOTE: If
singlePlacementGroup is true, it may be modified to false. However, if
singlePlacementGroup is false, it may not be modified to true.
:type single_placement_group: bool
:param proximity_placement_group: Specifies information about the
proximity placement group that the virtual machine scale set should be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,8 @@ class ImageReference(SubResource):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param id: Resource Id
:type id: str
Expand Down Expand Up @@ -2591,7 +2592,9 @@ def __init__(self, *, value=None, **kwargs) -> None:


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down Expand Up @@ -4039,7 +4042,8 @@ class VirtualMachineScaleSet(Resource):
configured.
:type identity:
~azure.mgmt.compute.v2018_04_01.models.VirtualMachineScaleSetIdentity
:param zones: The virtual machine scale set zones.
:param zones: The virtual machine scale set zones. NOTE: Availability
zones can only be set when you create the scale set.
:type zones: list[str]
"""

Expand Down Expand Up @@ -4908,7 +4912,9 @@ class VirtualMachineScaleSetUpdate(UpdateResource):
should be overprovisioned.
:type overprovision: bool
:param single_placement_group: When true this limits the scale set to a
single placement group, of max size 100 virtual machines.
single placement group, of max size 100 virtual machines. NOTE: If
singlePlacementGroup is true, it may be modified to false. However, if
singlePlacementGroup is false, it may not be modified to true.
:type single_placement_group: bool
:param proximity_placement_group: Specifies information about the
proximity placement group that the virtual machine scale set should be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,8 @@ class ImageReference(SubResource):
about platform images, marketplace images, or virtual machine images. This
element is required when you want to use a platform image, marketplace
image, or virtual machine image, but is not used in other creation
operations.
operations. NOTE: Image reference publisher and offer can only be set when
you create the scale set.

:param id: Resource Id
:type id: str
Expand Down Expand Up @@ -3404,7 +3405,9 @@ def __init__(self, **kwargs):


class Sku(Model):
"""Describes a virtual machine scale set sku.
"""Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not
supported on the hardware the scale set is currently on, you need to
deallocate the VMs in the scale set before you modify the SKU name.

:param name: The sku name.
:type name: str
Expand Down Expand Up @@ -4933,7 +4936,8 @@ class VirtualMachineScaleSet(Resource):
configured.
:type identity:
~azure.mgmt.compute.v2018_06_01.models.VirtualMachineScaleSetIdentity
:param zones: The virtual machine scale set zones.
:param zones: The virtual machine scale set zones. NOTE: Availability
zones can only be set when you create the scale set.
:type zones: list[str]
"""

Expand Down Expand Up @@ -5893,7 +5897,9 @@ class VirtualMachineScaleSetUpdate(UpdateResource):
should be overprovisioned.
:type overprovision: bool
:param single_placement_group: When true this limits the scale set to a
single placement group, of max size 100 virtual machines.
single placement group, of max size 100 virtual machines. NOTE: If
singlePlacementGroup is true, it may be modified to false. However, if
singlePlacementGroup is false, it may not be modified to true.
:type single_placement_group: bool
:param proximity_placement_group: Specifies information about the
proximity placement group that the virtual machine scale set should be
Expand Down
Loading