UpgradePolicy Class

Describes an upgrade policy - automatic or manual.

Inheritance
UpgradePolicy

Constructor

UpgradePolicy(*, mode: Optional[Union[str, azure.mgmt.compute.v2016_04_30_preview.models._compute_management_client_enums.UpgradeMode]] = None, **kwargs)

Parameters

mode
str or UpgradeMode
Required

Specifies the mode of an upgrade to virtual machines in the scale set.:code:
<br /> Possible values are:<br />``<br /> Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.:code:
<br /> Automatic - All virtual machines in the scale set are automatically updated at the same time. Possible values include: "Automatic", "Manual".