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.
Enums
Name
Description
UNDEFINED_EXTERNAL_MANAGED_MIGRATION_STATE
A value indicating that the enum field is not set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class ExternalManagedMigrationState (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BackendService.ExternalManagedMigrationState)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.BackendService.ExternalManagedMigrationState) \n\n ExternalManagedMigrationState(value)\n\nSpecifies the canary migration state. Possible values are PREPARE,\nTEST_BY_PERCENTAGE, and TEST_ALL_TRAFFIC. To begin the migration\nfrom EXTERNAL to EXTERNAL_MANAGED, the state must be changed to\nPREPARE. The state must be changed to TEST_ALL_TRAFFIC before the\nloadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally,\nthe TEST_BY_PERCENTAGE state can be used to migrate traffic by\npercentage using externalManagedMigrationTestingPercentage. Rolling\nback a migration requires the states to be set in reverse order. So\nchanging the scheme from EXTERNAL_MANAGED to EXTERNAL requires the\nstate to be set to TEST_ALL_TRAFFIC at the same time. Optionally,\nthe TEST_BY_PERCENTAGE state can be used to migrate some traffic\nback to EXTERNAL or PREPARE can be used to migrate all traffic back\nto EXTERNAL."]]