Skip to content
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 @@ -475,11 +475,16 @@ def list(
:type resource_group_name: str
:param virtual_machine_scale_set_name: The name of the VM scale set.
:type virtual_machine_scale_set_name: str
:param filter: The filter to apply to the operation.
:param filter: The filter to apply to the operation. Allowed values
are 'startswith(instanceView/statuses/code, 'PowerState') eq true',
'properties/latestModelApplied eq true',
'properties/latestModelApplied eq false'.
:type filter: str
:param select: The list parameters.
:param select: The list parameters. Allowed values are 'instanceView',
'instanceView/statuses'.
:type select: str
:param expand: The expand expression to apply to the operation.
Allowed values are 'instanceView'.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
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 @@ -235,6 +235,7 @@ def list_by_subscription(
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
Allowed values are 'instanceView'.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,11 +475,16 @@ def list(
:type resource_group_name: str
:param virtual_machine_scale_set_name: The name of the VM scale set.
:type virtual_machine_scale_set_name: str
:param filter: The filter to apply to the operation.
:param filter: The filter to apply to the operation. Allowed values
are 'startswith(instanceView/statuses/code, 'PowerState') eq true',
'properties/latestModelApplied eq true',
'properties/latestModelApplied eq false'.
:type filter: str
:param select: The list parameters.
:param select: The list parameters. Allowed values are 'instanceView',
'instanceView/statuses'.
:type select: str
:param expand: The expand expression to apply to the operation.
Allowed values are 'instanceView'.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
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 @@ -235,6 +235,7 @@ def list_by_subscription(
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
Allowed values are 'instanceView'.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,11 +574,16 @@ def list(
:type resource_group_name: str
:param virtual_machine_scale_set_name: The name of the VM scale set.
:type virtual_machine_scale_set_name: str
:param filter: The filter to apply to the operation.
:param filter: The filter to apply to the operation. Allowed values
are 'startswith(instanceView/statuses/code, 'PowerState') eq true',
'properties/latestModelApplied eq true',
'properties/latestModelApplied eq false'.
:type filter: str
:param select: The list parameters.
:param select: The list parameters. Allowed values are 'instanceView',
'instanceView/statuses'.
:type select: str
:param expand: The expand expression to apply to the operation.
Allowed values are 'instanceView'.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
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 @@ -304,6 +304,7 @@ def list_by_subscription(
"""Lists all availability sets in a subscription.

:param expand: The expand expression to apply to the operation.
Allowed values are 'instanceView'.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,11 +684,16 @@ def list(
:type resource_group_name: str
:param virtual_machine_scale_set_name: The name of the VM scale set.
:type virtual_machine_scale_set_name: str
:param filter: The filter to apply to the operation.
:param filter: The filter to apply to the operation. Allowed values
are 'startswith(instanceView/statuses/code, 'PowerState') eq true',
'properties/latestModelApplied eq true',
'properties/latestModelApplied eq false'.
:type filter: str
:param select: The list parameters.
:param select: The list parameters. Allowed values are 'instanceView',
'instanceView/statuses'.
:type select: str
:param expand: The expand expression to apply to the operation.
Allowed values are 'instanceView'.
:type expand: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
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
Loading