Uses of Class
com.azure.resourcemanager.compute.models.UpgradePolicy
Packages that use UpgradePolicy
Package
Description
Package containing the inner data models for ComputeManagementClient.
Package containing the data models for ComputeManagementClient.
-
Uses of UpgradePolicy in com.azure.resourcemanager.compute.fluent.models
Methods in com.azure.resourcemanager.compute.fluent.models that return UpgradePolicyModifier and TypeMethodDescriptionVirtualMachineScaleSetInner.upgradePolicy()Get the upgradePolicy property: The upgrade policy.VirtualMachineScaleSetProperties.upgradePolicy()Get the upgradePolicy property: The upgrade policy.VirtualMachineScaleSetUpdateProperties.upgradePolicy()Get the upgradePolicy property: The upgrade policy.Methods in com.azure.resourcemanager.compute.fluent.models with parameters of type UpgradePolicyModifier and TypeMethodDescriptionVirtualMachineScaleSetInner.withUpgradePolicy(UpgradePolicy upgradePolicy) Set the upgradePolicy property: The upgrade policy.VirtualMachineScaleSetProperties.withUpgradePolicy(UpgradePolicy upgradePolicy) Set the upgradePolicy property: The upgrade policy.VirtualMachineScaleSetUpdateProperties.withUpgradePolicy(UpgradePolicy upgradePolicy) Set the upgradePolicy property: The upgrade policy. -
Uses of UpgradePolicy in com.azure.resourcemanager.compute.models
Methods in com.azure.resourcemanager.compute.models that return UpgradePolicyModifier and TypeMethodDescriptionstatic UpgradePolicyUpgradePolicy.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UpgradePolicy from the JsonReader.VirtualMachineScaleSetUpdate.upgradePolicy()Get the upgradePolicy property: The upgrade policy.UpgradePolicy.withAutomaticOSUpgradePolicy(AutomaticOSUpgradePolicy automaticOSUpgradePolicy) Set the automaticOSUpgradePolicy property: Configuration parameters used for performing automatic OS Upgrade.UpgradePolicy.withMode(UpgradeMode mode) Set the mode property: Specifies the mode of an upgrade to virtual machines in the scale set.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of updates to virtual machines in the scale set.UpgradePolicy.withRollingUpgradePolicy(RollingUpgradePolicy rollingUpgradePolicy) Set the rollingUpgradePolicy property: The configuration parameters used while performing a rolling upgrade.Methods in com.azure.resourcemanager.compute.models with parameters of type UpgradePolicyModifier and TypeMethodDescriptionVirtualMachineScaleSetUpdate.withUpgradePolicy(UpgradePolicy upgradePolicy) Set the upgradePolicy property: The upgrade policy.