Enum BackendService.ExternalManagedMigrationState (1.72.0)

public enum BackendService.ExternalManagedMigrationState extends Enum<BackendService.ExternalManagedMigrationState> implements ProtocolMessageEnum

Specifies the canary migration state. Possible values are PREPARE, TEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state must be changed to PREPARE. The state must be changed to TEST_ALL_TRAFFIC before the loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate traffic by percentage using externalManagedMigrationTestingPercentage. Rolling back a migration requires the states to be set in reverse order. So changing the scheme from EXTERNAL_MANAGED to EXTERNAL requires the state to be set to TEST_ALL_TRAFFIC at the same time. Optionally, the TEST_BY_PERCENTAGE state can be used to migrate some traffic back to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.

Protobuf enum google.cloud.compute.v1.BackendService.ExternalManagedMigrationState

Implements

ProtocolMessageEnum

Static Fields

Name Description
PREPARE

PREPARE = 399612135;

PREPARE_VALUE

PREPARE = 399612135;

TEST_ALL_TRAFFIC

TEST_ALL_TRAFFIC = 79728882;

TEST_ALL_TRAFFIC_VALUE

TEST_ALL_TRAFFIC = 79728882;

TEST_BY_PERCENTAGE

TEST_BY_PERCENTAGE = 513738389;

TEST_BY_PERCENTAGE_VALUE

TEST_BY_PERCENTAGE = 513738389;

UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE

A value indicating that the enum field is not set.

UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE = 0;

UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()