Reference documentation and code samples for the Compute Engine v1 API enum Subnetwork.Types.Role.
The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `Subnetwork.Types.Role` documentation is 3.6.0, with a range of versions from 1.0.0 to 3.6.0 available for review."],["This documentation provides reference information and code samples for the Compute Engine v1 API enum `Subnetwork.Types.Role`."],["The `Subnetwork.Types.Role` enum defines the role of a subnetwork, which is relevant when the purpose is set to `GLOBAL_MANAGED_PROXY` or `REGIONAL_MANAGED_PROXY`."],["The available roles for a subnetwork include `ACTIVE`, which is currently in use, `BACKUP`, which can be promoted or is draining, and `UndefinedRole`, indicating that the enum field is unset."],["This information is found within the `Google.Cloud.Compute.V1` namespace and is part of the `Google.Cloud.Compute.V1.dll` assembly."]]],[]]