mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-26 06:31:32 -07:00
Better resourceref flexibility (#149)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
3496923252
commit
982933cfe8
64 changed files with 569 additions and 526 deletions
|
@ -73,10 +73,10 @@ options:
|
|||
description:
|
||||
- A reference to the BackendService resource.
|
||||
- 'This field represents a link to a BackendService resource in GCP. It can be
|
||||
specified in two ways. You can add `register: name-of-resource` to a gcp_compute_backend_service
|
||||
task and then set this service field to "{{ name-of-resource }}" Alternatively,
|
||||
you can set this service to a dictionary with the selfLink key where the value
|
||||
is the selfLink of your BackendService'
|
||||
specified in two ways. First, you can place in the selfLink of the resource
|
||||
here as a string Alternatively, you can add `register: name-of-resource` to
|
||||
a gcp_compute_backend_service task and then set this service field to "{{ name-of-resource
|
||||
}}"'
|
||||
required: true
|
||||
ssl_certificates:
|
||||
description:
|
||||
|
@ -90,10 +90,9 @@ options:
|
|||
resource. If not set, the TargetSslProxy resource will not have any SSL policy
|
||||
configured.
|
||||
- 'This field represents a link to a SslPolicy resource in GCP. It can be specified
|
||||
in two ways. You can add `register: name-of-resource` to a gcp_compute_ssl_policy
|
||||
task and then set this ssl_policy field to "{{ name-of-resource }}" Alternatively,
|
||||
you can set this ssl_policy to a dictionary with the selfLink key where the
|
||||
value is the selfLink of your SslPolicy'
|
||||
in two ways. First, you can place in the selfLink of the resource here as a
|
||||
string Alternatively, you can add `register: name-of-resource` to a gcp_compute_ssl_policy
|
||||
task and then set this ssl_policy field to "{{ name-of-resource }}"'
|
||||
required: false
|
||||
version_added: 2.8
|
||||
extends_documentation_fragment: gcp
|
||||
|
@ -214,7 +213,7 @@ service:
|
|||
description:
|
||||
- A reference to the BackendService resource.
|
||||
returned: success
|
||||
type: dict
|
||||
type: str
|
||||
sslCertificates:
|
||||
description:
|
||||
- A list of SslCertificate resources that are used to authenticate connections between
|
||||
|
@ -227,7 +226,7 @@ sslPolicy:
|
|||
resource. If not set, the TargetSslProxy resource will not have any SSL policy
|
||||
configured.
|
||||
returned: success
|
||||
type: dict
|
||||
type: str
|
||||
'''
|
||||
|
||||
################################################################################
|
||||
|
@ -252,9 +251,9 @@ def main():
|
|||
description=dict(type='str'),
|
||||
name=dict(required=True, type='str'),
|
||||
proxy_header=dict(type='str', choices=['NONE', 'PROXY_V1']),
|
||||
service=dict(required=True, type='dict'),
|
||||
ssl_certificates=dict(required=True, type='list', elements='dict'),
|
||||
ssl_policy=dict(type='dict')
|
||||
service=dict(required=True),
|
||||
ssl_certificates=dict(required=True, type='list'),
|
||||
ssl_policy=dict()
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue