Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.19.0 published on Friday, Mar 18, 2022 by Pulumi

getNatIpCidrs

This data source provides the Vpc Nat Ip Cidrs of the current Alibaba Cloud user.

NOTE: Available in v1.136.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var ids = Output.Create(AliCloud.Vpc.GetNatIpCidrs.InvokeAsync(new AliCloud.Vpc.GetNatIpCidrsArgs
        {
            NatGatewayId = "example_value",
            Ids = 
            {
                "example_value-1",
                "example_value-2",
            },
        }));
        this.VpcNatIpCidrId1 = ids.Apply(ids => ids.Cidrs?[0]?.Id);
        var nameRegex = Output.Create(AliCloud.Vpc.GetNatIpCidrs.InvokeAsync(new AliCloud.Vpc.GetNatIpCidrsArgs
        {
            NatGatewayId = "example_value",
            NameRegex = "^my-NatIpCidr",
        }));
        this.VpcNatIpCidrId2 = nameRegex.Apply(nameRegex => nameRegex.Cidrs?[0]?.Id);
        var status = Output.Create(AliCloud.Vpc.GetNatIpCidrs.InvokeAsync(new AliCloud.Vpc.GetNatIpCidrsArgs
        {
            NatGatewayId = "example_value",
            Ids = 
            {
                "example_value-1",
            },
            Status = "Available",
        }));
        this.VpcNatIpCidrId3 = status.Apply(status => status.Cidrs?[0]?.Id);
        var natIpCidr = Output.Create(AliCloud.Vpc.GetNatIpCidrs.InvokeAsync(new AliCloud.Vpc.GetNatIpCidrsArgs
        {
            NatGatewayId = "example_value",
            NatIpCidrs = 
            {
                "example_value-1",
            },
        }));
        this.VpcNatIpCidrId4 = natIpCidr.Apply(natIpCidr => natIpCidr.Cidrs?[0]?.Id);
        var atIpCidrName = Output.Create(AliCloud.Vpc.GetNatIpCidrs.InvokeAsync(new AliCloud.Vpc.GetNatIpCidrsArgs
        {
            NatGatewayId = "example_value",
            NatIpCidrNames = 
            {
                "example_value-1",
            },
        }));
        this.VpcNatIpCidrId5 = atIpCidrName.Apply(atIpCidrName => atIpCidrName.Cidrs?[0]?.Id);
    }

    [Output("vpcNatIpCidrId1")]
    public Output<string> VpcNatIpCidrId1 { get; set; }
    [Output("vpcNatIpCidrId2")]
    public Output<string> VpcNatIpCidrId2 { get; set; }
    [Output("vpcNatIpCidrId3")]
    public Output<string> VpcNatIpCidrId3 { get; set; }
    [Output("vpcNatIpCidrId4")]
    public Output<string> VpcNatIpCidrId4 { get; set; }
    [Output("vpcNatIpCidrId5")]
    public Output<string> VpcNatIpCidrId5 { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := vpc.GetNatIpCidrs(ctx, &vpc.GetNatIpCidrsArgs{
			NatGatewayId: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("vpcNatIpCidrId1", ids.Cidrs[0].Id)
		nameRegex, err := vpc.GetNatIpCidrs(ctx, &vpc.GetNatIpCidrsArgs{
			NatGatewayId: "example_value",
			NameRegex:    pulumi.StringRef("^my-NatIpCidr"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("vpcNatIpCidrId2", nameRegex.Cidrs[0].Id)
		status, err := vpc.GetNatIpCidrs(ctx, &vpc.GetNatIpCidrsArgs{
			NatGatewayId: "example_value",
			Ids: []string{
				"example_value-1",
			},
			Status: pulumi.StringRef("Available"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("vpcNatIpCidrId3", status.Cidrs[0].Id)
		natIpCidr, err := vpc.GetNatIpCidrs(ctx, &vpc.GetNatIpCidrsArgs{
			NatGatewayId: "example_value",
			NatIpCidrs: []string{
				"example_value-1",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("vpcNatIpCidrId4", natIpCidr.Cidrs[0].Id)
		atIpCidrName, err := vpc.GetNatIpCidrs(ctx, &vpc.GetNatIpCidrsArgs{
			NatGatewayId: "example_value",
			NatIpCidrNames: []string{
				"example_value-1",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("vpcNatIpCidrId5", atIpCidrName.Cidrs[0].Id)
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

ids = alicloud.vpc.get_nat_ip_cidrs(nat_gateway_id="example_value",
    ids=[
        "example_value-1",
        "example_value-2",
    ])
pulumi.export("vpcNatIpCidrId1", ids.cidrs[0].id)
name_regex = alicloud.vpc.get_nat_ip_cidrs(nat_gateway_id="example_value",
    name_regex="^my-NatIpCidr")
pulumi.export("vpcNatIpCidrId2", name_regex.cidrs[0].id)
status = alicloud.vpc.get_nat_ip_cidrs(nat_gateway_id="example_value",
    ids=["example_value-1"],
    status="Available")
pulumi.export("vpcNatIpCidrId3", status.cidrs[0].id)
nat_ip_cidr = alicloud.vpc.get_nat_ip_cidrs(nat_gateway_id="example_value",
    nat_ip_cidrs=["example_value-1"])
pulumi.export("vpcNatIpCidrId4", nat_ip_cidr.cidrs[0].id)
at_ip_cidr_name = alicloud.vpc.get_nat_ip_cidrs(nat_gateway_id="example_value",
    nat_ip_cidr_names=["example_value-1"])
pulumi.export("vpcNatIpCidrId5", at_ip_cidr_name.cidrs[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const ids = alicloud.vpc.getNatIpCidrs({
    natGatewayId: "example_value",
    ids: [
        "example_value-1",
        "example_value-2",
    ],
});
export const vpcNatIpCidrId1 = ids.then(ids => ids.cidrs?[0]?.id);
const nameRegex = alicloud.vpc.getNatIpCidrs({
    natGatewayId: "example_value",
    nameRegex: "^my-NatIpCidr",
});
export const vpcNatIpCidrId2 = nameRegex.then(nameRegex => nameRegex.cidrs?[0]?.id);
const status = alicloud.vpc.getNatIpCidrs({
    natGatewayId: "example_value",
    ids: ["example_value-1"],
    status: "Available",
});
export const vpcNatIpCidrId3 = status.then(status => status.cidrs?[0]?.id);
const natIpCidr = alicloud.vpc.getNatIpCidrs({
    natGatewayId: "example_value",
    natIpCidrs: ["example_value-1"],
});
export const vpcNatIpCidrId4 = natIpCidr.then(natIpCidr => natIpCidr.cidrs?[0]?.id);
const atIpCidrName = alicloud.vpc.getNatIpCidrs({
    natGatewayId: "example_value",
    natIpCidrNames: ["example_value-1"],
});
export const vpcNatIpCidrId5 = atIpCidrName.then(atIpCidrName => atIpCidrName.cidrs?[0]?.id);

Coming soon!

Using getNatIpCidrs

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNatIpCidrs(args: GetNatIpCidrsArgs, opts?: InvokeOptions): Promise<GetNatIpCidrsResult>
function getNatIpCidrsOutput(args: GetNatIpCidrsOutputArgs, opts?: InvokeOptions): Output<GetNatIpCidrsResult>
def get_nat_ip_cidrs(ids: Optional[Sequence[str]] = None,
                     name_regex: Optional[str] = None,
                     nat_gateway_id: Optional[str] = None,
                     nat_ip_cidr_names: Optional[Sequence[str]] = None,
                     nat_ip_cidrs: Optional[Sequence[str]] = None,
                     output_file: Optional[str] = None,
                     status: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetNatIpCidrsResult
def get_nat_ip_cidrs_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     name_regex: Optional[pulumi.Input[str]] = None,
                     nat_gateway_id: Optional[pulumi.Input[str]] = None,
                     nat_ip_cidr_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     nat_ip_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     output_file: Optional[pulumi.Input[str]] = None,
                     status: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetNatIpCidrsResult]
func GetNatIpCidrs(ctx *Context, args *GetNatIpCidrsArgs, opts ...InvokeOption) (*GetNatIpCidrsResult, error)
func GetNatIpCidrsOutput(ctx *Context, args *GetNatIpCidrsOutputArgs, opts ...InvokeOption) GetNatIpCidrsResultOutput

> Note: This function is named GetNatIpCidrs in the Go SDK.

public static class GetNatIpCidrs 
{
    public static Task<GetNatIpCidrsResult> InvokeAsync(GetNatIpCidrsArgs args, InvokeOptions? opts = null)
    public static Output<GetNatIpCidrsResult> Invoke(GetNatIpCidrsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNatIpCidrsResult> getNatIpCidrs(GetNatIpCidrsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: alicloud:vpc/getNatIpCidrs:getNatIpCidrs
  Arguments:
    # Arguments dictionary

The following arguments are supported:

NatGatewayId string

The ID of the VPC NAT gateway.

Ids List<string>

A list of Nat Ip Cidr IDs.

NameRegex string

A regex string to filter results by Nat Ip Cidr name.

NatIpCidrNames List<string>

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

NatIpCidrs List<string>

The NAT CIDR block to be created. Support up to 20. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

OutputFile string
Status string

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

NatGatewayId string

The ID of the VPC NAT gateway.

Ids []string

A list of Nat Ip Cidr IDs.

NameRegex string

A regex string to filter results by Nat Ip Cidr name.

NatIpCidrNames []string

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

NatIpCidrs []string

The NAT CIDR block to be created. Support up to 20. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

OutputFile string
Status string

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

natGatewayId String

The ID of the VPC NAT gateway.

ids List

A list of Nat Ip Cidr IDs.

nameRegex String

A regex string to filter results by Nat Ip Cidr name.

natIpCidrNames List

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

natIpCidrs List

The NAT CIDR block to be created. Support up to 20. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

outputFile String
status String

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

natGatewayId string

The ID of the VPC NAT gateway.

ids string[]

A list of Nat Ip Cidr IDs.

nameRegex string

A regex string to filter results by Nat Ip Cidr name.

natIpCidrNames string[]

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

natIpCidrs string[]

The NAT CIDR block to be created. Support up to 20. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

outputFile string
status string

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

nat_gateway_id str

The ID of the VPC NAT gateway.

ids Sequence[str]

A list of Nat Ip Cidr IDs.

name_regex str

A regex string to filter results by Nat Ip Cidr name.

nat_ip_cidr_names Sequence[str]

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

nat_ip_cidrs Sequence[str]

The NAT CIDR block to be created. Support up to 20. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

output_file str
status str

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

natGatewayId String

The ID of the VPC NAT gateway.

ids List

A list of Nat Ip Cidr IDs.

nameRegex String

A regex string to filter results by Nat Ip Cidr name.

natIpCidrNames List

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

natIpCidrs List

The NAT CIDR block to be created. Support up to 20. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

outputFile String
status String

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

getNatIpCidrs Result

The following output properties are available:

Cidrs List<Pulumi.AliCloud.Vpc.Outputs.GetNatIpCidrsCidr>
Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
Names List<string>
NatGatewayId string
NameRegex string
NatIpCidrNames List<string>
NatIpCidrs List<string>
OutputFile string
Status string
Cidrs []GetNatIpCidrsCidr
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
Names []string
NatGatewayId string
NameRegex string
NatIpCidrNames []string
NatIpCidrs []string
OutputFile string
Status string
cidrs ListNatIpCidrsCidr>
id String

The provider-assigned unique ID for this managed resource.

ids List
names List
natGatewayId String
nameRegex String
natIpCidrNames List
natIpCidrs List
outputFile String
status String
cidrs GetNatIpCidrsCidr[]
id string

The provider-assigned unique ID for this managed resource.

ids string[]
names string[]
natGatewayId string
nameRegex string
natIpCidrNames string[]
natIpCidrs string[]
outputFile string
status string
cidrs Sequence[GetNatIpCidrsCidr]
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
names Sequence[str]
nat_gateway_id str
name_regex str
nat_ip_cidr_names Sequence[str]
nat_ip_cidrs Sequence[str]
output_file str
status str
cidrs List
id String

The provider-assigned unique ID for this managed resource.

ids List
names List
natGatewayId String
nameRegex String
natIpCidrNames List
natIpCidrs List
outputFile String
status String

Supporting Types

GetNatIpCidrsCidr

CreateTime string

The time when the CIDR block was created.

Id string

The ID of the Nat Ip Cidr.

IsDefault bool

Whether it is the default NAT IP ADDRESS. Valid values:true or false.true: is the default NAT IP ADDRESS. false: it is not the default NAT IP ADDRESS.

NatGatewayId string

The ID of the VPC NAT gateway.

NatIpCidr string

The NAT CIDR block to be created. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

NatIpCidrDescription string

NAT IP ADDRESS range to the description of. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.

NatIpCidrId string

NAT IP ADDRESS instance ID.

NatIpCidrName string

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

Status string

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

CreateTime string

The time when the CIDR block was created.

Id string

The ID of the Nat Ip Cidr.

IsDefault bool

Whether it is the default NAT IP ADDRESS. Valid values:true or false.true: is the default NAT IP ADDRESS. false: it is not the default NAT IP ADDRESS.

NatGatewayId string

The ID of the VPC NAT gateway.

NatIpCidr string

The NAT CIDR block to be created. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

NatIpCidrDescription string

NAT IP ADDRESS range to the description of. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.

NatIpCidrId string

NAT IP ADDRESS instance ID.

NatIpCidrName string

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

Status string

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

createTime String

The time when the CIDR block was created.

id String

The ID of the Nat Ip Cidr.

isDefault Boolean

Whether it is the default NAT IP ADDRESS. Valid values:true or false.true: is the default NAT IP ADDRESS. false: it is not the default NAT IP ADDRESS.

natGatewayId String

The ID of the VPC NAT gateway.

natIpCidr String

The NAT CIDR block to be created. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

natIpCidrDescription String

NAT IP ADDRESS range to the description of. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.

natIpCidrId String

NAT IP ADDRESS instance ID.

natIpCidrName String

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

status String

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

createTime string

The time when the CIDR block was created.

id string

The ID of the Nat Ip Cidr.

isDefault boolean

Whether it is the default NAT IP ADDRESS. Valid values:true or false.true: is the default NAT IP ADDRESS. false: it is not the default NAT IP ADDRESS.

natGatewayId string

The ID of the VPC NAT gateway.

natIpCidr string

The NAT CIDR block to be created. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

natIpCidrDescription string

NAT IP ADDRESS range to the description of. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.

natIpCidrId string

NAT IP ADDRESS instance ID.

natIpCidrName string

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

status string

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

create_time str

The time when the CIDR block was created.

id str

The ID of the Nat Ip Cidr.

is_default bool

Whether it is the default NAT IP ADDRESS. Valid values:true or false.true: is the default NAT IP ADDRESS. false: it is not the default NAT IP ADDRESS.

nat_gateway_id str

The ID of the VPC NAT gateway.

nat_ip_cidr str

The NAT CIDR block to be created. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

nat_ip_cidr_description str

NAT IP ADDRESS range to the description of. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.

nat_ip_cidr_id str

NAT IP ADDRESS instance ID.

nat_ip_cidr_name str

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

status str

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

createTime String

The time when the CIDR block was created.

id String

The ID of the Nat Ip Cidr.

isDefault Boolean

Whether it is the default NAT IP ADDRESS. Valid values:true or false.true: is the default NAT IP ADDRESS. false: it is not the default NAT IP ADDRESS.

natGatewayId String

The ID of the VPC NAT gateway.

natIpCidr String

The NAT CIDR block to be created. The CIDR block must meet the following conditions: It must be 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets. The subnet mask must be 16 to 32 bits in lengths. To use a public CIDR block as the NAT CIDR block, the VPC to which the VPC NAT gateway belongs must be authorized to use public CIDR blocks. For more information, see Create a VPC NAT gateway.

natIpCidrDescription String

NAT IP ADDRESS range to the description of. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.

natIpCidrId String

NAT IP ADDRESS instance ID.

natIpCidrName String

NAT IP ADDRESS the name of the root directory. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, half a period (.), underscore (_) and dash (-). But do not start with http:// or https:// at the beginning.

status String

The status of the CIDR block of the NAT gateway. If the value is Available, the CIDR block is available.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.