UpgradePolicy Class
- java.
lang. Object - com.
microsoft. azure. management. compute. UpgradePolicy
- com.
public class UpgradePolicy
Describes an upgrade policy - automatic or manual.
Method Summary
Modifier and Type | Method and Description |
---|---|
Upgrade |
mode()
Get the mode value. |
Upgrade |
withMode(UpgradeMode mode)
Set the mode value. |
Method Details
mode
public UpgradeMode mode()
Get the mode value.
Returns:
the mode value
withMode
public UpgradePolicy withMode(UpgradeMode mode)
Set the mode value.
Parameters:
mode
- the mode value to set
Returns:
the UpgradePolicy object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java