Compartir vía


UpgradePolicy Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.UpgradePolicy

public class UpgradePolicy

Describes an upgrade policy - automatic or manual.

Method Summary

Modifier and Type Method and Description
UpgradeMode mode()

Get the mode value.

UpgradePolicy 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