Add documentation for Internal Load Balancing

This commit is contained in:
Dana Hoffman 2016-11-30 18:12:52 -08:00
parent 0e03f59e4a
commit c28f042a73
1 changed files with 23 additions and 4 deletions

View File

@ -30,20 +30,32 @@ The following arguments are supported:
* `name` - (Required) A unique name for the resource, required by GCE. Changing * `name` - (Required) A unique name for the resource, required by GCE. Changing
this forces a new resource to be created. this forces a new resource to be created.
* `target` - (Required) URL of target pool.
- - - - - -
* `backend_service` - (Optional) BackendService resource to receive the
matched traffic. Only used for internal load balancing.
* `description` - (Optional) Textual description field. * `description` - (Optional) Textual description field.
* `ip_address` - (Optional) The static IP. (if not set, an ephemeral IP is * `ip_address` - (Optional) The static IP. (if not set, an ephemeral IP is
used). used).
* `ip_protocol` - (Optional) The IP protocol to route, one of "TCP" "UDP" "AH" * `ip_protocol` - (Optional) The IP protocol to route, one of "TCP" "UDP" "AH"
"ESP" or "SCTP". (default "TCP"). "ESP" or "SCTP" for external load balancing, "TCP" or "UDP" for internal
(default "TCP").
* `load_balancing_scheme` - (Optional) Type of load balancing to use. Can be
set to "INTERNAL" or "EXTERNAL" (default "EXTERNAL").
* `network` - (Optional) Network that the load balanced IP should belong to.
Only used for internal load balancing. If it is not provided, the default
network is used.
* `port_range` - (Optional) A range e.g. "1024-2048" or a single port "1024" * `port_range` - (Optional) A range e.g. "1024-2048" or a single port "1024"
(defaults to all ports!). (defaults to all ports!). Only used for external load balancing.
* `ports` - (Optional) A list of ports to use for internal load balancing
(defaults to all ports).
* `project` - (Optional) The project in which the resource belongs. If it * `project` - (Optional) The project in which the resource belongs. If it
is not provided, the provider project is used. is not provided, the provider project is used.
@ -51,6 +63,13 @@ The following arguments are supported:
* `region` - (Optional) The Region in which the created address should reside. * `region` - (Optional) The Region in which the created address should reside.
If it is not provided, the provider region is used. If it is not provided, the provider region is used.
* `subnetwork` - (Optional) Subnetwork that the load balanced IP should belong
to. Only used for internal load balancing. Must be specified if the network
is in custom subnet mode.
* `target` - (Optional) URL of target pool. Required for external load
balancing.
## Attributes Reference ## Attributes Reference
In addition to the arguments listed above, the following computed attributes are In addition to the arguments listed above, the following computed attributes are