Policy: GCP > Project > Organization Policy > Restrict Load Balancer Creation Based on Load Balancer Types
Manage the GCP Organization Policy "Restrict Load Balancer Creation Based on Load Balancer Types" for the project.
This list constraint defines the set of load balancer types which can be created for an organization, folder, or project. Every load balancer type to be allowed or denied must be listed explicitly. By default, creation of all types of load balancers is allowed.
The list of allowed or denied values must be identified as the string name of a load balancer, and can only include values from the list below:
INTERNAL_TCP_UDP
INTERNAL_HTTP_HTTPS
EXTERNAL_NETWORK_TCP_UDP
EXTERNAL_TCP_PROXY
EXTERNAL_SSL_PROXY
EXTERNAL_HTTP_HTTPS
To include all internal or all external load balancer types, use the in: prefix followed by INTERNAL or EXTERNAL. For example, allowing in:INTERNAL will allow all load balancer types from the above list that include INTERNAL.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Related Policies
Controls
- GCP > Project > Organization Policy > Restrict Load Balancer Creation Based on Load Balancer Types
- GCP > Project > Organization Policy
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/policy
- tmod:@turbot/gcp-orgpolicy#/policy/types/computeRestrictLoadBalancerCreationForTypes
- turbot graphql policy-type --id "tmod:@turbot/gcp-orgpolicy#/policy/types/computeRestrictLoadBalancerCreationForTypes"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-orgpolicy#/policy/types/computeRestrictLoadBalancerCreationForTypes"
Get Policy TypeGet Policy Settings