Allow target to accept other resource types (#134)

Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Ty Larrabee <tysen@google.com>
This commit is contained in:
The Magician 2020-01-13 11:09:11 -08:00 committed by Ty Larrabee
commit 9d30baeec9
4 changed files with 20 additions and 21 deletions

View file

@ -66,9 +66,12 @@ options:
description:
- A multiplier applied to the group's maximum servicing capacity (based on
UTILIZATION, RATE or CONNECTION).
- Default value is 1, which means the group will serve up to 100% of its configured
capacity (depending on balancingMode).
- A setting of 0 means the group is completely drained, offering 0% of its
available Capacity. Valid range is [0.0,1.0].
required: false
default: '1.0'
type: str
description:
description:
@ -318,6 +321,8 @@ backends:
description:
- A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION,
RATE or CONNECTION).
- Default value is 1, which means the group will serve up to 100% of its configured
capacity (depending on balancingMode).
- A setting of 0 means the group is completely drained, offering 0% of its available
Capacity. Valid range is [0.0,1.0].
returned: success
@ -514,7 +519,7 @@ def main():
elements='dict',
options=dict(
balancing_mode=dict(default='CONNECTION', type='str'),
capacity_scaler=dict(type='str'),
capacity_scaler=dict(default=1.0, type='str'),
description=dict(type='str'),
group=dict(required=True, type='str'),
max_connections=dict(type='int'),