mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-12 13:50:28 -07:00
adding state info to docs (#317)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
d0d820bc84
commit
5967303b2d
60 changed files with 63 additions and 3 deletions
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional string description of this rule.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- Dataset name.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
table_reference:
|
||||
description:
|
||||
- Reference describing the ID of this table.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
id:
|
||||
description:
|
||||
- The unique identifier for the trigger.
|
||||
|
|
|
@ -51,6 +51,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name of the job.
|
||||
|
|
|
@ -56,6 +56,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
address:
|
||||
description:
|
||||
- The static external IP address represented by this resource. Only IPv4 is supported.
|
||||
|
|
|
@ -51,6 +51,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
bucket_name:
|
||||
description:
|
||||
- Cloud Storage bucket name.
|
||||
|
|
|
@ -51,6 +51,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
affinity_cookie_ttl_sec:
|
||||
description:
|
||||
- Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set
|
||||
|
|
|
@ -57,6 +57,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
|
|
|
@ -54,6 +54,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
allowed:
|
||||
description:
|
||||
- The list of ALLOW rules specified by this firewall. Each rule specifies a protocol
|
||||
|
|
|
@ -49,6 +49,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
address:
|
||||
description:
|
||||
- The static external IP address represented by this resource.
|
||||
|
|
|
@ -51,6 +51,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
|
|
|
@ -55,6 +55,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
check_interval_sec:
|
||||
description:
|
||||
- How often (in seconds) to send a health check. The default value is 5 seconds.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
check_interval_sec:
|
||||
description:
|
||||
- How often (in seconds) to send a health check. The default value is 5 seconds.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
check_interval_sec:
|
||||
description:
|
||||
- How often (in seconds) to send a health check. The default value is 5 seconds.
|
||||
|
|
|
@ -57,6 +57,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
can_ip_forward:
|
||||
description:
|
||||
- Allows this instance to send and receive packets with non-matching destination
|
||||
|
|
|
@ -50,6 +50,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
|
|
|
@ -52,6 +52,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
base_instance_name:
|
||||
description:
|
||||
- The base instance name to use for instances in this group. The value must be
|
||||
|
|
|
@ -53,6 +53,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
interconnect:
|
||||
description:
|
||||
- URL of the underlying Interconnect object that this attachment's traffic will
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. The resource must be recreated to
|
||||
|
|
|
@ -57,6 +57,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
|
|
|
@ -62,6 +62,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
dest_range:
|
||||
description:
|
||||
- The destination range of outgoing packets that this route applies to.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- Name of the resource. The name must be 1-63 characters long, and comply with
|
||||
|
|
|
@ -49,6 +49,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
certificate:
|
||||
description:
|
||||
- The certificate in PEM format.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource.
|
||||
|
|
|
@ -63,6 +63,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource. Provide this property when you create
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
backup_pool:
|
||||
description:
|
||||
- This field is applicable only when the containing target pool is serving a forwarding
|
||||
|
@ -360,7 +361,7 @@ def return_if_object(module, response, kind, allow_not_found=False):
|
|||
except getattr(json.decoder, 'JSONDecodeError', ValueError):
|
||||
module.fail_json(msg="Invalid JSON response with error: %s" % response.text)
|
||||
|
||||
result = decode_request(result, module)
|
||||
result = decode_response(result, module)
|
||||
|
||||
if navigate_hash(result, ['error', 'errors']):
|
||||
module.fail_json(msg=navigate_hash(result, ['error', 'errors']))
|
||||
|
@ -371,7 +372,7 @@ def return_if_object(module, response, kind, allow_not_found=False):
|
|||
def is_different(module, response):
|
||||
request = resource_to_request(module)
|
||||
response = response_to_hash(module, response)
|
||||
request = decode_request(request, module)
|
||||
request = decode_response(request, module)
|
||||
|
||||
# Remove all output-only from response.
|
||||
response_vals = {}
|
||||
|
@ -453,7 +454,7 @@ def encode_request(request, module):
|
|||
|
||||
# Mask healthChecks into a single element.
|
||||
# @see encode_request for details
|
||||
def decode_request(response, module):
|
||||
def decode_response(response, module):
|
||||
if response['kind'] != 'compute#targetPool':
|
||||
return response
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- An optional description of this resource.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
default_service:
|
||||
description:
|
||||
- A reference to BackendService resource if none of the hostRules match.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- Name of the resource. The name must be 1-63 characters long, and comply with
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name of this cluster. The name must be unique within this project and location,
|
||||
|
|
|
@ -51,6 +51,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name of the node pool.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
description:
|
||||
description:
|
||||
- A mutable string of at most 1024 characters associated with this resource for
|
||||
|
|
|
@ -51,6 +51,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- For example, U(www.example.com).
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name of the role.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name of the service account.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
private_key_type:
|
||||
description:
|
||||
- Output format for the service account key.
|
||||
|
|
|
@ -49,6 +49,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name specified for the model.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name specified for the version when it was created.
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- Name of the subscription.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- Name of the topic.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
alternative_location_id:
|
||||
description:
|
||||
- Only applicable to STANDARD_HA tier which protects the instance against zonal
|
||||
|
|
|
@ -48,6 +48,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- 'The user-assigned display name of the Project. It must be 4 to 30 characters.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- Resource name of the repository, of the form projects/{{project}}/repos/{{repo}}.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- A unique identifier for the database, which cannot be changed after the instance
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- A unique identifier for the instance, which cannot be changed after the instance
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
charset:
|
||||
description:
|
||||
- The MySQL charset value.
|
||||
|
|
|
@ -49,6 +49,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
backend_type:
|
||||
description:
|
||||
- "* FIRST_GEN: First Generation instance. MySQL only."
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
host:
|
||||
description:
|
||||
- The host name from which the user can connect. For insert operations, host defaults
|
||||
|
|
|
@ -52,6 +52,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
acl:
|
||||
description:
|
||||
- Access controls on the bucket.
|
||||
|
|
|
@ -56,6 +56,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
bucket:
|
||||
description:
|
||||
- The name of the bucket.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
action:
|
||||
description:
|
||||
- Upload or download from the bucket.
|
||||
|
|
|
@ -47,6 +47,7 @@ options:
|
|||
- present
|
||||
- absent
|
||||
default: present
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The immutable name of the TPU.
|
||||
|
|
Loading…
Add table
Reference in a new issue