Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.NatAddress
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 string
- The unique name of the resource.
- args NatAddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args NatAddressArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NatAddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := apigee.NewNatAddress(ctx, "natAddressResource", &apigee.NatAddressArgs{
InstanceId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var natAddressResource = new NatAddress("natAddressResource", NatAddressArgs.builder()
.instanceId("string")
.organizationId("string")
.name("string")
.build());
nat_address_resource = google_native.apigee.v1.NatAddress("natAddressResource",
instance_id="string",
organization_id="string",
name="string")
const natAddressResource = new google_native.apigee.v1.NatAddress("natAddressResource", {
instanceId: "string",
organizationId: "string",
name: "string",
});
type: google-native:apigee/v1:NatAddress
properties:
instanceId: string
name: string
organizationId: string
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
The NatAddress resource accepts the following input properties:
- Instance
Id string - Organization
Id string - Name string
- Resource ID of the NAT address.
- Instance
Id string - Organization
Id string - Name string
- Resource ID of the NAT address.
- instance
Id String - organization
Id String - name String
- Resource ID of the NAT address.
- instance
Id string - organization
Id string - name string
- Resource ID of the NAT address.
- instance_
id str - organization_
id str - name str
- Resource ID of the NAT address.
- instance
Id String - organization
Id 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 str
- The provider-assigned unique ID for this managed resource.
- ip_
address str - The static IPV4 address.
- state str
- 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.