mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-22 19:01:23 -07:00
Reverting some ResourceRef changes (#226)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
795304780b
commit
bbaf1a79c7
64 changed files with 423 additions and 379 deletions
|
@ -83,9 +83,10 @@ options:
|
|||
description:
|
||||
- The network to which all instances in the instance group belong.
|
||||
- 'This field represents a link to a Network resource in GCP. It can be 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_network
|
||||
task and then set this network field to "{{ name-of-resource }}"'
|
||||
in two ways. First, you can place a dictionary with key ''selfLink'' and value
|
||||
of your resource''s selfLink Alternatively, you can add `register: name-of-resource`
|
||||
to a gcp_compute_network task and then set this network field to "{{ name-of-resource
|
||||
}}"'
|
||||
required: false
|
||||
region:
|
||||
description:
|
||||
|
@ -95,9 +96,10 @@ options:
|
|||
description:
|
||||
- The subnetwork to which all instances in the instance group belong.
|
||||
- 'This field represents a link to a Subnetwork resource in GCP. It can be 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_subnetwork
|
||||
task and then set this subnetwork field to "{{ name-of-resource }}"'
|
||||
in two ways. First, you can place a dictionary with key ''selfLink'' and value
|
||||
of your resource''s selfLink Alternatively, you can add `register: name-of-resource`
|
||||
to a gcp_compute_subnetwork task and then set this subnetwork field to "{{ name-of-resource
|
||||
}}"'
|
||||
required: false
|
||||
zone:
|
||||
description:
|
||||
|
@ -188,7 +190,7 @@ network:
|
|||
description:
|
||||
- The network to which all instances in the instance group belong.
|
||||
returned: success
|
||||
type: str
|
||||
type: dict
|
||||
region:
|
||||
description:
|
||||
- The region where the instance group is located (for regional resources).
|
||||
|
@ -198,7 +200,7 @@ subnetwork:
|
|||
description:
|
||||
- The subnetwork to which all instances in the instance group belong.
|
||||
returned: success
|
||||
type: str
|
||||
type: dict
|
||||
zone:
|
||||
description:
|
||||
- A reference to the zone where the instance group resides.
|
||||
|
@ -238,11 +240,11 @@ def main():
|
|||
description=dict(type='str'),
|
||||
name=dict(type='str'),
|
||||
named_ports=dict(type='list', elements='dict', options=dict(name=dict(type='str'), port=dict(type='int'))),
|
||||
network=dict(),
|
||||
network=dict(type='dict'),
|
||||
region=dict(type='str'),
|
||||
subnetwork=dict(),
|
||||
subnetwork=dict(type='dict'),
|
||||
zone=dict(required=True, type='str'),
|
||||
instances=dict(type='list'),
|
||||
instances=dict(type='list', elements='dict'),
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue