Skip to content

Commit

Permalink
Add route_rules to UrlMap for Traffic Director
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
Ty Larrabee authored and modular-magician committed Dec 4, 2019
1 parent 352731c commit c62cfb9
Show file tree
Hide file tree
Showing 4 changed files with 3,888 additions and 83 deletions.
11 changes: 6 additions & 5 deletions plugins/modules/gcp_compute_target_tcp_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@
'''

RETURN = '''
id:
description:
- The unique identifier for the resource.
returned: success
type: int
creationTimestamp:
description:
- Creation timestamp in RFC3339 text format.
Expand All @@ -197,11 +202,6 @@
- An optional description of this resource.
returned: success
type: str
id:
description:
- The unique identifier for the resource.
returned: success
type: int
name:
description:
- Name of the resource. Provided by the client when the resource is created. The
Expand Down Expand Up @@ -392,6 +392,7 @@ def is_different(module, response):
# This is for doing comparisons with Ansible's current parameters.
def response_to_hash(module, response):
return {
u'id': response.get(u'id'),
u'creationTimestamp': response.get(u'creationTimestamp'),
u'description': module.params.get('description'),
u'id': response.get(u'id'),
Expand Down
10 changes: 5 additions & 5 deletions plugins/modules/gcp_compute_target_tcp_proxy_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@
returned: always
type: complex
contains:
id:
description:
- The unique identifier for the resource.
returned: success
type: int
creationTimestamp:
description:
- Creation timestamp in RFC3339 text format.
Expand All @@ -122,11 +127,6 @@
- An optional description of this resource.
returned: success
type: str
id:
description:
- The unique identifier for the resource.
returned: success
type: int
name:
description:
- Name of the resource. Provided by the client when the resource is created.
Expand Down
Loading

0 comments on commit c62cfb9

Please sign in to comment.