nat_addresses
Creates, updates, deletes, gets or lists a nat_addresses
resource.
Overview
Name | nat_addresses |
Type | Resource |
Id | google.apigee.nat_addresses |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. Resource ID of the NAT address. |
ipAddress | string | Output only. The static IPV4 address. |
state | string | Output only. State of the nat address. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_instances_nat_addresses_get | SELECT | instancesId, natAddressesId, organizationsId | Gets the details of a NAT address. Note: Not supported for Apigee hybrid. |
organizations_instances_nat_addresses_list | SELECT | instancesId, organizationsId | Lists the NAT addresses for an Apigee instance. Note: Not supported for Apigee hybrid. |
organizations_instances_nat_addresses_create | INSERT | instancesId, organizationsId | Creates a NAT address. The address is created in the RESERVED state and a static external IP address will be provisioned. At this time, the instance will not use this IP address for Internet egress traffic. The address can be activated for use once any required firewall IP whitelisting has been completed. Note: Not supported for Apigee hybrid. |
organizations_instances_nat_addresses_delete | DELETE | instancesId, natAddressesId, organizationsId | Deletes the NAT address. Connections that are actively using the address are drained before it is removed. Note: Not supported for Apigee hybrid. |
organizations_instances_nat_addresses_activate | EXEC | instancesId, natAddressesId, organizationsId | Activates the NAT address. The Apigee instance can now use this for Internet egress traffic. Note: Not supported for Apigee hybrid. |
SELECT
examples
Lists the NAT addresses for an Apigee instance. Note: Not supported for Apigee hybrid.
SELECT
name,
ipAddress,
state
FROM google.apigee.nat_addresses
WHERE instancesId = '{{ instancesId }}'
AND organizationsId = '{{ organizationsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new nat_addresses
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.apigee.nat_addresses (
instancesId,
organizationsId,
name
)
SELECT
'{{ instancesId }}',
'{{ organizationsId }}',
'{{ name }}'
;
- name: your_resource_model_name
props:
- name: state
value: string
- name: name
value: string
- name: ipAddress
value: string
DELETE
example
Deletes the specified nat_addresses
resource.
/*+ delete */
DELETE FROM google.apigee.nat_addresses
WHERE instancesId = '{{ instancesId }}'
AND natAddressesId = '{{ natAddressesId }}'
AND organizationsId = '{{ organizationsId }}';