Module: Google::Cloud::Compute::V1::BackendService::ExternalManagedMigrationState
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
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.
Constant Summary collapse
- UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE =
A value indicating that the enum field is not set.
0- PREPARE =
399_612_135- TEST_ALL_TRAFFIC =
79_728_882- TEST_BY_PERCENTAGE =
513_738_389