mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-18 17:01:22 -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
|
@ -146,9 +146,10 @@ options:
|
|||
networks/my-network projects/myproject/global/networks/my-network global/networks/default
|
||||
.'
|
||||
- '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
|
||||
default:
|
||||
selfLink: global/networks/default
|
||||
|
@ -341,7 +342,7 @@ network:
|
|||
networks/my-network projects/myproject/global/networks/my-network global/networks/default
|
||||
.'
|
||||
returned: success
|
||||
type: str
|
||||
type: dict
|
||||
priority:
|
||||
description:
|
||||
- Priority for this rule. This is an integer between 0 and 65535, both inclusive.
|
||||
|
@ -433,7 +434,7 @@ def main():
|
|||
direction=dict(type='str', choices=['INGRESS', 'EGRESS']),
|
||||
disabled=dict(type='bool'),
|
||||
name=dict(required=True, type='str'),
|
||||
network=dict(default=dict(selfLink='global/networks/default')),
|
||||
network=dict(default=dict(selfLink='global/networks/default'), type='dict'),
|
||||
priority=dict(default=1000, type='int'),
|
||||
source_ranges=dict(type='list', elements='str'),
|
||||
source_service_accounts=dict(type='list', elements='str'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue