Change address purposes to strings (#4681) (#401)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2021-04-09 16:04:40 -07:00 committed by GitHub
parent a7b0e7ff87
commit eac6eddbe3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 26 deletions

View file

@ -86,14 +86,12 @@ options:
type: str type: str
purpose: purpose:
description: description:
- 'The purpose of this resource, which can be one of the following values: * GCE_ENDPOINT - 'The purpose of this resource. Possible values include: * GCE_ENDPOINT for addresses
for addresses that are used by VM instances, alias IP ranges, internal load that are used by VM instances, alias IP ranges, internal load balancers, and
balancers, and similar resources.' similar resources.'
- "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal - "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal
load balancers." load balancers."
- "* VPC_PEERING for addresses that are reserved for VPC peer networks." - "* VPC_PEERING for addresses that are reserved for VPC peer networks."
- This should only be set when using an Internal address.
- 'Some valid choices include: "GCE_ENDPOINT", "VPC_PEERING", "SHARED_LOADBALANCER_VIP"'
required: false required: false
type: str type: str
network_tier: network_tier:
@ -226,13 +224,12 @@ name:
type: str type: str
purpose: purpose:
description: description:
- 'The purpose of this resource, which can be one of the following values: * GCE_ENDPOINT - 'The purpose of this resource. Possible values include: * GCE_ENDPOINT for addresses
for addresses that are used by VM instances, alias IP ranges, internal load balancers, that are used by VM instances, alias IP ranges, internal load balancers, and similar
and similar resources.' resources.'
- "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal - "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal
load balancers." load balancers."
- "* VPC_PEERING for addresses that are reserved for VPC peer networks." - "* VPC_PEERING for addresses that are reserved for VPC peer networks."
- This should only be set when using an Internal address.
returned: success returned: success
type: str type: str
networkTier: networkTier:

View file

@ -158,13 +158,12 @@ resources:
type: str type: str
purpose: purpose:
description: description:
- 'The purpose of this resource, which can be one of the following values: * - 'The purpose of this resource. Possible values include: * GCE_ENDPOINT for
GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, addresses that are used by VM instances, alias IP ranges, internal load balancers,
internal load balancers, and similar resources.' and similar resources.'
- "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal - "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal
load balancers." load balancers."
- "* VPC_PEERING for addresses that are reserved for VPC peer networks." - "* VPC_PEERING for addresses that are reserved for VPC peer networks."
- This should only be set when using an Internal address.
returned: success returned: success
type: str type: str
networkTier: networkTier:

View file

@ -93,11 +93,9 @@ options:
type: str type: str
purpose: purpose:
description: description:
- The purpose of the resource. For global internal addresses it can be * VPC_PEERING - 'The purpose of the resource. Possible values include: * VPC_PEERING - for peer
- for peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html)) networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks This should only be set when using an only) Private Service Connect networks .'
Internal address.
- 'Some valid choices include: "VPC_PEERING", "PRIVATE_SERVICE_CONNECT"'
required: false required: false
type: str type: str
network: network:
@ -234,10 +232,9 @@ addressType:
type: str type: str
purpose: purpose:
description: description:
- The purpose of the resource. For global internal addresses it can be * VPC_PEERING - 'The purpose of the resource. Possible values include: * VPC_PEERING - for peer
- for peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html)) networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks This should only be set when using an Internal only) Private Service Connect networks .'
address.
returned: success returned: success
type: str type: str
network: network:

View file

@ -171,10 +171,9 @@ resources:
type: str type: str
purpose: purpose:
description: description:
- The purpose of the resource. For global internal addresses it can be * VPC_PEERING - 'The purpose of the resource. Possible values include: * VPC_PEERING - for
- for peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html)) peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks This should only be set when using only) Private Service Connect networks .'
an Internal address.
returned: success returned: success
type: str type: str
network: network: