1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  6. NatAddress

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.apigee/v1.NatAddress

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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.

Create NatAddress Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new NatAddress(name: string, args: NatAddressArgs, opts?: CustomResourceOptions);
@overload
def NatAddress(resource_name: str,
               args: NatAddressArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def NatAddress(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               instance_id: Optional[str] = None,
               organization_id: Optional[str] = None,
               name: Optional[str] = None)
func NewNatAddress(ctx *Context, name string, args NatAddressArgs, opts ...ResourceOption) (*NatAddress, error)
public NatAddress(string name, NatAddressArgs args, CustomResourceOptions? opts = null)
public NatAddress(String name, NatAddressArgs args)
public NatAddress(String name, NatAddressArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:NatAddress
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NatAddressArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NatAddressArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NatAddressArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NatAddressArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NatAddressArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var natAddressResource = new GoogleNative.Apigee.V1.NatAddress("natAddressResource", new()
{
    InstanceId = "string",
    OrganizationId = "string",
    Name = "string",
});
Copy
example, err := apigee.NewNatAddress(ctx, "natAddressResource", &apigee.NatAddressArgs{
	InstanceId:     pulumi.String("string"),
	OrganizationId: pulumi.String("string"),
	Name:           pulumi.String("string"),
})
Copy
var natAddressResource = new NatAddress("natAddressResource", NatAddressArgs.builder()
    .instanceId("string")
    .organizationId("string")
    .name("string")
    .build());
Copy
nat_address_resource = google_native.apigee.v1.NatAddress("natAddressResource",
    instance_id="string",
    organization_id="string",
    name="string")
Copy
const natAddressResource = new google_native.apigee.v1.NatAddress("natAddressResource", {
    instanceId: "string",
    organizationId: "string",
    name: "string",
});
Copy
type: google-native:apigee/v1:NatAddress
properties:
    instanceId: string
    name: string
    organizationId: string
Copy

NatAddress Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The NatAddress resource accepts the following input properties:

InstanceId
This property is required.
Changes to this property will trigger replacement.
string
OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
Name string
Resource ID of the NAT address.
InstanceId
This property is required.
Changes to this property will trigger replacement.
string
OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
Name string
Resource ID of the NAT address.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
organizationId
This property is required.
Changes to this property will trigger replacement.
String
name String
Resource ID of the NAT address.
instanceId
This property is required.
Changes to this property will trigger replacement.
string
organizationId
This property is required.
Changes to this property will trigger replacement.
string
name string
Resource ID of the NAT address.
instance_id
This property is required.
Changes to this property will trigger replacement.
str
organization_id
This property is required.
Changes to this property will trigger replacement.
str
name str
Resource ID of the NAT address.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
organizationId
This property is required.
Changes to this property will trigger replacement.
String
name String
Resource ID of the NAT address.

Outputs

All input properties are implicitly available as output properties. Additionally, the NatAddress resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
IpAddress string
The static IPV4 address.
State string
State of the nat address.
Id string
The provider-assigned unique ID for this managed resource.
IpAddress string
The static IPV4 address.
State string
State of the nat address.
id String
The provider-assigned unique ID for this managed resource.
ipAddress String
The static IPV4 address.
state String
State of the nat address.
id string
The provider-assigned unique ID for this managed resource.
ipAddress string
The static IPV4 address.
state string
State of the nat address.
id str
The provider-assigned unique ID for this managed resource.
ip_address str
The static IPV4 address.
state str
State of the nat address.
id String
The provider-assigned unique ID for this managed resource.
ipAddress String
The static IPV4 address.
state String
State of the nat address.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi