mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 10:50:28 -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:
|
||||
description:
|
||||
- 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
|
||||
choices:
|
||||
- HTTP
|
||||
- HTTPS
|
||||
- HTTP2
|
||||
- TCP
|
||||
- SSL
|
||||
security_policy:
|
||||
|
@ -584,7 +587,9 @@ portName:
|
|||
protocol:
|
||||
description:
|
||||
- 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
|
||||
type: str
|
||||
securityPolicy:
|
||||
|
@ -669,7 +674,7 @@ def main():
|
|||
load_balancing_scheme=dict(default='EXTERNAL', type='str', choices=['EXTERNAL']),
|
||||
name=dict(required=True, 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'),
|
||||
session_affinity=dict(type='str', choices=['NONE', 'CLIENT_IP', 'GENERATED_COOKIE']),
|
||||
timeout_sec=dict(type='int', aliases=['timeout_seconds']),
|
||||
|
|
|
@ -313,7 +313,9 @@ resources:
|
|||
protocol:
|
||||
description:
|
||||
- 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
|
||||
type: str
|
||||
securityPolicy:
|
||||
|
|
Loading…
Add table
Reference in a new issue