Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::BackendService::ExternalManagedMigrationState (v2.22.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::BackendService::ExternalManagedMigrationState.

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.

Constants

UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE

value: 0
A value indicating that the enum field is not set.

PREPARE

value: 399_612_135

TEST_ALL_TRAFFIC

value: 79_728_882

TEST_BY_PERCENTAGE

value: 513_738_389