Bug fixes for GCP modules (#54888)

This commit is contained in:
The Magician 2019-04-05 10:00:35 -07:00 committed by ansibot
parent c846501829
commit 78fe931327
4 changed files with 11 additions and 13 deletions

View file

@ -249,8 +249,9 @@ options:
description:
- Indicates whether the backend service will be used with internal or external
load balancing. A backend service created for one type of load balancing cannot
be used with the other.
be used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
required: false
default: EXTERNAL
version_added: 2.7
choices:
- INTERNAL
@ -578,7 +579,7 @@ loadBalancingScheme:
description:
- Indicates whether the backend service will be used with internal or external load
balancing. A backend service created for one type of load balancing cannot be
used with the other.
used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
returned: success
type: str
name:
@ -687,7 +688,7 @@ def main():
type='dict',
options=dict(enabled=dict(type='bool'), oauth2_client_id=dict(required=True, type='str'), oauth2_client_secret=dict(required=True, type='str')),
),
load_balancing_scheme=dict(type='str', choices=['INTERNAL', 'EXTERNAL']),
load_balancing_scheme=dict(default='EXTERNAL', type='str', choices=['INTERNAL', 'EXTERNAL']),
name=dict(required=True, type='str'),
port_name=dict(type='str'),
protocol=dict(type='str', choices=['HTTP', 'HTTPS', 'TCP', 'SSL']),

View file

@ -295,7 +295,7 @@ items:
description:
- Indicates whether the backend service will be used with internal or external
load balancing. A backend service created for one type of load balancing cannot
be used with the other.
be used with the other. One of `INTERNAL` or `EXTERNAL`. Defaults to `EXTERNAL`.
returned: success
type: str
name:

View file

@ -56,7 +56,6 @@ options:
description:
description:
- An optional description of this resource.
- Provide this property when you create the resource.
required: false
name:
description:
@ -69,8 +68,8 @@ options:
required: true
ip_version:
description:
- The IP Version that will be used by this address. Valid options are IPV4 or
IPV6. The default value is IPV4.
- The IP Version that will be used by this address. Valid options are `IPV4` or
`IPV6`. The default value is `IPV4`.
required: false
choices:
- IPV4
@ -116,7 +115,6 @@ creationTimestamp:
description:
description:
- An optional description of this resource.
- Provide this property when you create the resource.
returned: success
type: str
id:
@ -136,8 +134,8 @@ name:
type: str
ipVersion:
description:
- The IP Version that will be used by this address. Valid options are IPV4 or IPV6.
The default value is IPV4.
- The IP Version that will be used by this address. Valid options are `IPV4` or
`IPV6`. The default value is `IPV4`.
returned: success
type: str
region:

View file

@ -78,7 +78,6 @@ items:
description:
description:
- An optional description of this resource.
- Provide this property when you create the resource.
returned: success
type: str
id:
@ -99,8 +98,8 @@ items:
type: str
ipVersion:
description:
- The IP Version that will be used by this address. Valid options are IPV4 or
IPV6. The default value is IPV4.
- The IP Version that will be used by this address. Valid options are `IPV4`
or `IPV6`. The default value is `IPV4`.
returned: success
type: str
region: