mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-19 17:31:22 -07:00
* mark field as updatable Co-authored-by: upodroid <cy@borg.dev> * add proxy_bind Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
dbd5dbc2fb
commit
b7ec9fb848
6 changed files with 63 additions and 0 deletions
|
@ -102,6 +102,12 @@ options:
|
|||
}}"'
|
||||
required: true
|
||||
type: dict
|
||||
proxy_bind:
|
||||
description:
|
||||
- This field only applies when the forwarding rule that references this target
|
||||
proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
||||
required: false
|
||||
type: bool
|
||||
project:
|
||||
description:
|
||||
- The Google Cloud Platform project to use.
|
||||
|
@ -301,6 +307,12 @@ urlMap:
|
|||
- A reference to the UrlMap resource that defines the mapping from URL to the BackendService.
|
||||
returned: success
|
||||
type: dict
|
||||
proxyBind:
|
||||
description:
|
||||
- This field only applies when the forwarding rule that references this target proxy
|
||||
has a loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
||||
returned: success
|
||||
type: bool
|
||||
'''
|
||||
|
||||
################################################################################
|
||||
|
@ -328,6 +340,7 @@ def main():
|
|||
ssl_certificates=dict(required=True, type='list', elements='dict'),
|
||||
ssl_policy=dict(type='dict'),
|
||||
url_map=dict(required=True, type='dict'),
|
||||
proxy_bind=dict(type='bool'),
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -429,6 +442,7 @@ def resource_to_request(module):
|
|||
u'sslCertificates': replace_resource_dict(module.params.get('ssl_certificates', []), 'selfLink'),
|
||||
u'sslPolicy': replace_resource_dict(module.params.get(u'ssl_policy', {}), 'selfLink'),
|
||||
u'urlMap': replace_resource_dict(module.params.get(u'url_map', {}), 'selfLink'),
|
||||
u'proxyBind': module.params.get('proxy_bind'),
|
||||
}
|
||||
return_vals = {}
|
||||
for k, v in request.items():
|
||||
|
@ -502,6 +516,7 @@ def response_to_hash(module, response):
|
|||
u'sslCertificates': response.get(u'sslCertificates'),
|
||||
u'sslPolicy': response.get(u'sslPolicy'),
|
||||
u'urlMap': response.get(u'urlMap'),
|
||||
u'proxyBind': response.get(u'proxyBind'),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue