mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-08 20:00:29 -07:00
Add HTTP2 protocol to backend service (#242)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
9d56092565
commit
9f2e658ec6
2 changed files with 11 additions and 4 deletions
|
@ -264,11 +264,14 @@ options:
|
||||||
protocol:
|
protocol:
|
||||||
description:
|
description:
|
||||||
- The protocol this BackendService uses to communicate with backends.
|
- The protocol this BackendService uses to communicate with backends.
|
||||||
- Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.
|
- 'Possible values are HTTP, HTTPS, HTTP2, TCP, and SSL. The default is HTTP.
|
||||||
|
**NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer types and may result
|
||||||
|
in errors if used with the GA API.'
|
||||||
required: false
|
required: false
|
||||||
choices:
|
choices:
|
||||||
- HTTP
|
- HTTP
|
||||||
- HTTPS
|
- HTTPS
|
||||||
|
- HTTP2
|
||||||
- TCP
|
- TCP
|
||||||
- SSL
|
- SSL
|
||||||
security_policy:
|
security_policy:
|
||||||
|
@ -584,7 +587,9 @@ portName:
|
||||||
protocol:
|
protocol:
|
||||||
description:
|
description:
|
||||||
- The protocol this BackendService uses to communicate with backends.
|
- The protocol this BackendService uses to communicate with backends.
|
||||||
- Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.
|
- 'Possible values are HTTP, HTTPS, HTTP2, TCP, and SSL. The default is HTTP. **NOTE**:
|
||||||
|
HTTP2 is only valid for beta HTTP/2 load balancer types and may result in errors
|
||||||
|
if used with the GA API.'
|
||||||
returned: success
|
returned: success
|
||||||
type: str
|
type: str
|
||||||
securityPolicy:
|
securityPolicy:
|
||||||
|
@ -669,7 +674,7 @@ def main():
|
||||||
load_balancing_scheme=dict(default='EXTERNAL', type='str', choices=['EXTERNAL']),
|
load_balancing_scheme=dict(default='EXTERNAL', type='str', choices=['EXTERNAL']),
|
||||||
name=dict(required=True, type='str'),
|
name=dict(required=True, type='str'),
|
||||||
port_name=dict(type='str'),
|
port_name=dict(type='str'),
|
||||||
protocol=dict(type='str', choices=['HTTP', 'HTTPS', 'TCP', 'SSL']),
|
protocol=dict(type='str', choices=['HTTP', 'HTTPS', 'HTTP2', 'TCP', 'SSL']),
|
||||||
security_policy=dict(type='str'),
|
security_policy=dict(type='str'),
|
||||||
session_affinity=dict(type='str', choices=['NONE', 'CLIENT_IP', 'GENERATED_COOKIE']),
|
session_affinity=dict(type='str', choices=['NONE', 'CLIENT_IP', 'GENERATED_COOKIE']),
|
||||||
timeout_sec=dict(type='int', aliases=['timeout_seconds']),
|
timeout_sec=dict(type='int', aliases=['timeout_seconds']),
|
||||||
|
|
|
@ -313,7 +313,9 @@ resources:
|
||||||
protocol:
|
protocol:
|
||||||
description:
|
description:
|
||||||
- The protocol this BackendService uses to communicate with backends.
|
- The protocol this BackendService uses to communicate with backends.
|
||||||
- Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.
|
- 'Possible values are HTTP, HTTPS, HTTP2, TCP, and SSL. The default is HTTP.
|
||||||
|
**NOTE**: HTTP2 is only valid for beta HTTP/2 load balancer types and may
|
||||||
|
result in errors if used with the GA API.'
|
||||||
returned: success
|
returned: success
|
||||||
type: str
|
type: str
|
||||||
securityPolicy:
|
securityPolicy:
|
||||||
|
|
Loading…
Add table
Reference in a new issue