Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.vpc.getNatIpCidrs
Explore with Pulumi AI
This data source provides the Vpc Nat Ip Cidrs of the current Alibaba Cloud user.
NOTE: Available in v1.136.0+.
Example Usage
Basic Usage
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);
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)
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Vpc.GetNatIpCidrs.Invoke(new()
{
NatGatewayId = "example_value",
Ids = new[]
{
"example_value-1",
"example_value-2",
},
});
var nameRegex = AliCloud.Vpc.GetNatIpCidrs.Invoke(new()
{
NatGatewayId = "example_value",
NameRegex = "^my-NatIpCidr",
});
var status = AliCloud.Vpc.GetNatIpCidrs.Invoke(new()
{
NatGatewayId = "example_value",
Ids = new[]
{
"example_value-1",
},
Status = "Available",
});
var natIpCidr = AliCloud.Vpc.GetNatIpCidrs.Invoke(new()
{
NatGatewayId = "example_value",
NatIpCidrs = new[]
{
"example_value-1",
},
});
var atIpCidrName = AliCloud.Vpc.GetNatIpCidrs.Invoke(new()
{
NatGatewayId = "example_value",
NatIpCidrNames = new[]
{
"example_value-1",
},
});
return new Dictionary<string, object?>
{
["vpcNatIpCidrId1"] = ids.Apply(getNatIpCidrsResult => getNatIpCidrsResult.Cidrs[0]?.Id),
["vpcNatIpCidrId2"] = nameRegex.Apply(getNatIpCidrsResult => getNatIpCidrsResult.Cidrs[0]?.Id),
["vpcNatIpCidrId3"] = status.Apply(getNatIpCidrsResult => getNatIpCidrsResult.Cidrs[0]?.Id),
["vpcNatIpCidrId4"] = natIpCidr.Apply(getNatIpCidrsResult => getNatIpCidrsResult.Cidrs[0]?.Id),
["vpcNatIpCidrId5"] = atIpCidrName.Apply(getNatIpCidrsResult => getNatIpCidrsResult.Cidrs[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNatIpCidrsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ids = VpcFunctions.getNatIpCidrs(GetNatIpCidrsArgs.builder()
.natGatewayId("example_value")
.ids(
"example_value-1",
"example_value-2")
.build());
ctx.export("vpcNatIpCidrId1", ids.applyValue(getNatIpCidrsResult -> getNatIpCidrsResult.cidrs()[0].id()));
final var nameRegex = VpcFunctions.getNatIpCidrs(GetNatIpCidrsArgs.builder()
.natGatewayId("example_value")
.nameRegex("^my-NatIpCidr")
.build());
ctx.export("vpcNatIpCidrId2", nameRegex.applyValue(getNatIpCidrsResult -> getNatIpCidrsResult.cidrs()[0].id()));
final var status = VpcFunctions.getNatIpCidrs(GetNatIpCidrsArgs.builder()
.natGatewayId("example_value")
.ids("example_value-1")
.status("Available")
.build());
ctx.export("vpcNatIpCidrId3", status.applyValue(getNatIpCidrsResult -> getNatIpCidrsResult.cidrs()[0].id()));
final var natIpCidr = VpcFunctions.getNatIpCidrs(GetNatIpCidrsArgs.builder()
.natGatewayId("example_value")
.natIpCidrs("example_value-1")
.build());
ctx.export("vpcNatIpCidrId4", natIpCidr.applyValue(getNatIpCidrsResult -> getNatIpCidrsResult.cidrs()[0].id()));
final var atIpCidrName = VpcFunctions.getNatIpCidrs(GetNatIpCidrsArgs.builder()
.natGatewayId("example_value")
.natIpCidrNames("example_value-1")
.build());
ctx.export("vpcNatIpCidrId5", atIpCidrName.applyValue(getNatIpCidrsResult -> getNatIpCidrsResult.cidrs()[0].id()));
}
}
variables:
ids:
fn::invoke:
Function: alicloud:vpc:getNatIpCidrs
Arguments:
natGatewayId: example_value
ids:
- example_value-1
- example_value-2
nameRegex:
fn::invoke:
Function: alicloud:vpc:getNatIpCidrs
Arguments:
natGatewayId: example_value
nameRegex: ^my-NatIpCidr
status:
fn::invoke:
Function: alicloud:vpc:getNatIpCidrs
Arguments:
natGatewayId: example_value
ids:
- example_value-1
status: Available
natIpCidr:
fn::invoke:
Function: alicloud:vpc:getNatIpCidrs
Arguments:
natGatewayId: example_value
natIpCidrs:
- example_value-1
atIpCidrName:
fn::invoke:
Function: alicloud:vpc:getNatIpCidrs
Arguments:
natGatewayId: example_value
natIpCidrNames:
- example_value-1
outputs:
vpcNatIpCidrId1: ${ids.cidrs[0].id}
vpcNatIpCidrId2: ${nameRegex.cidrs[0].id}
vpcNatIpCidrId3: ${status.cidrs[0].id}
vpcNatIpCidrId4: ${natIpCidr.cidrs[0].id}
vpcNatIpCidrId5: ${atIpCidrName.cidrs[0].id}
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:
- Nat
Gateway stringId - NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID.
- Ids List<string>
- A list of Nat Ip Cidr IDs.
- Name
Regex string - A regex string to filter results by Nat Ip Cidr name.
- Nat
Ip List<string>Cidr Names - The name of the CIDR block that you want to query. Support up to
20
. - Nat
Ip List<string>Cidrs - The NAT CIDR block to be created. Support up to
20
. The CIDR block must meet the following conditions: It must be10.0.0.0/8
,172.16.0.0/12
,192.168.0.0/16
, or one of their subnets. The subnet mask must be16
to32
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 string - File name where to save data source results (after running
pulumi preview
). - Status string
- The status of the NAT IP address. Valid values:
Available
.
- Nat
Gateway stringId - NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID.
- Ids []string
- A list of Nat Ip Cidr IDs.
- Name
Regex string - A regex string to filter results by Nat Ip Cidr name.
- Nat
Ip []stringCidr Names - The name of the CIDR block that you want to query. Support up to
20
. - Nat
Ip []stringCidrs - The NAT CIDR block to be created. Support up to
20
. The CIDR block must meet the following conditions: It must be10.0.0.0/8
,172.16.0.0/12
,192.168.0.0/16
, or one of their subnets. The subnet mask must be16
to32
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 string - File name where to save data source results (after running
pulumi preview
). - Status string
- The status of the NAT IP address. Valid values:
Available
.
- nat
Gateway StringId - NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID.
- ids List<String>
- A list of Nat Ip Cidr IDs.
- name
Regex String - A regex string to filter results by Nat Ip Cidr name.
- nat
Ip List<String>Cidr Names - The name of the CIDR block that you want to query. Support up to
20
. - nat
Ip List<String>Cidrs - The NAT CIDR block to be created. Support up to
20
. The CIDR block must meet the following conditions: It must be10.0.0.0/8
,172.16.0.0/12
,192.168.0.0/16
, or one of their subnets. The subnet mask must be16
to32
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 String - File name where to save data source results (after running
pulumi preview
). - status String
- The status of the NAT IP address. Valid values:
Available
.
- nat
Gateway stringId - NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID.
- ids string[]
- A list of Nat Ip Cidr IDs.
- name
Regex string - A regex string to filter results by Nat Ip Cidr name.
- nat
Ip string[]Cidr Names - The name of the CIDR block that you want to query. Support up to
20
. - nat
Ip string[]Cidrs - The NAT CIDR block to be created. Support up to
20
. The CIDR block must meet the following conditions: It must be10.0.0.0/8
,172.16.0.0/12
,192.168.0.0/16
, or one of their subnets. The subnet mask must be16
to32
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 string - File name where to save data source results (after running
pulumi preview
). - status string
- The status of the NAT IP address. Valid values:
Available
.
- nat_
gateway_ strid - NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID.
- 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_ Sequence[str]cidr_ names - The name of the CIDR block that you want to query. Support up to
20
. - nat_
ip_ Sequence[str]cidrs - The NAT CIDR block to be created. Support up to
20
. The CIDR block must meet the following conditions: It must be10.0.0.0/8
,172.16.0.0/12
,192.168.0.0/16
, or one of their subnets. The subnet mask must be16
to32
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 - File name where to save data source results (after running
pulumi preview
). - status str
- The status of the NAT IP address. Valid values:
Available
.
- nat
Gateway StringId - NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID.
- ids List<String>
- A list of Nat Ip Cidr IDs.
- name
Regex String - A regex string to filter results by Nat Ip Cidr name.
- nat
Ip List<String>Cidr Names - The name of the CIDR block that you want to query. Support up to
20
. - nat
Ip List<String>Cidrs - The NAT CIDR block to be created. Support up to
20
. The CIDR block must meet the following conditions: It must be10.0.0.0/8
,172.16.0.0/12
,192.168.0.0/16
, or one of their subnets. The subnet mask must be16
to32
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 String - File name where to save data source results (after running
pulumi preview
). - status String
- The status of the NAT IP address. Valid values:
Available
.
getNatIpCidrs Result
The following output properties are available:
- Cidrs
List<Pulumi.
Ali Cloud. Vpc. Outputs. Get Nat Ip Cidrs Cidr> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Nat
Gateway stringId - Name
Regex string - Nat
Ip List<string>Cidr Names - Nat
Ip List<string>Cidrs - Output
File string - Status string
- Cidrs
[]Get
Nat Ip Cidrs Cidr - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Nat
Gateway stringId - Name
Regex string - Nat
Ip []stringCidr Names - Nat
Ip []stringCidrs - Output
File string - Status string
- cidrs
List<Get
Nat Ip Cidrs Cidr> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- nat
Gateway StringId - name
Regex String - nat
Ip List<String>Cidr Names - nat
Ip List<String>Cidrs - output
File String - status String
- cidrs
Get
Nat Ip Cidrs Cidr[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- nat
Gateway stringId - name
Regex string - nat
Ip string[]Cidr Names - nat
Ip string[]Cidrs - output
File string - status string
- cidrs
Sequence[Get
Nat Ip Cidrs Cidr] - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- nat_
gateway_ strid - name_
regex str - nat_
ip_ Sequence[str]cidr_ names - nat_
ip_ Sequence[str]cidrs - output_
file str - status str
- cidrs List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- nat
Gateway StringId - name
Regex String - nat
Ip List<String>Cidr Names - nat
Ip List<String>Cidrs - output
File String - status String
Supporting Types
GetNatIpCidrsCidr
- Create
Time string - The time when the CIDR block was created.
- Id string
- The ID of the Nat Ip Cidr.
- Is
Default bool - Whether it is the default NAT IP ADDRESS. Valid values:
true
orfalse
.true
: is the default NAT IP ADDRESS.false
: it is not the default NAT IP ADDRESS. - Nat
Gateway stringId - The ID of the VPC NAT gateway.
- Nat
Ip stringCidr - 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 be16
to32
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 stringCidr Description - NAT IP ADDRESS range to the description of. Length is from
2
to256
characters, must start with a letter or the Chinese at the beginning, but not at thehttp://
Orhttps://
at the beginning. - Nat
Ip stringCidr Id - NAT IP ADDRESS instance ID.
- Nat
Ip stringCidr Name - NAT IP ADDRESS the name of the root directory. Length is from
2
to128
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 withhttp://
orhttps://
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 string - The time when the CIDR block was created.
- Id string
- The ID of the Nat Ip Cidr.
- Is
Default bool - Whether it is the default NAT IP ADDRESS. Valid values:
true
orfalse
.true
: is the default NAT IP ADDRESS.false
: it is not the default NAT IP ADDRESS. - Nat
Gateway stringId - The ID of the VPC NAT gateway.
- Nat
Ip stringCidr - 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 be16
to32
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 stringCidr Description - NAT IP ADDRESS range to the description of. Length is from
2
to256
characters, must start with a letter or the Chinese at the beginning, but not at thehttp://
Orhttps://
at the beginning. - Nat
Ip stringCidr Id - NAT IP ADDRESS instance ID.
- Nat
Ip stringCidr Name - NAT IP ADDRESS the name of the root directory. Length is from
2
to128
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 withhttp://
orhttps://
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 String - The time when the CIDR block was created.
- id String
- The ID of the Nat Ip Cidr.
- is
Default Boolean - Whether it is the default NAT IP ADDRESS. Valid values:
true
orfalse
.true
: is the default NAT IP ADDRESS.false
: it is not the default NAT IP ADDRESS. - nat
Gateway StringId - The ID of the VPC NAT gateway.
- nat
Ip StringCidr - 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 be16
to32
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 StringCidr Description - NAT IP ADDRESS range to the description of. Length is from
2
to256
characters, must start with a letter or the Chinese at the beginning, but not at thehttp://
Orhttps://
at the beginning. - nat
Ip StringCidr Id - NAT IP ADDRESS instance ID.
- nat
Ip StringCidr Name - NAT IP ADDRESS the name of the root directory. Length is from
2
to128
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 withhttp://
orhttps://
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 string - The time when the CIDR block was created.
- id string
- The ID of the Nat Ip Cidr.
- is
Default boolean - Whether it is the default NAT IP ADDRESS. Valid values:
true
orfalse
.true
: is the default NAT IP ADDRESS.false
: it is not the default NAT IP ADDRESS. - nat
Gateway stringId - The ID of the VPC NAT gateway.
- nat
Ip stringCidr - 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 be16
to32
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 stringCidr Description - NAT IP ADDRESS range to the description of. Length is from
2
to256
characters, must start with a letter or the Chinese at the beginning, but not at thehttp://
Orhttps://
at the beginning. - nat
Ip stringCidr Id - NAT IP ADDRESS instance ID.
- nat
Ip stringCidr Name - NAT IP ADDRESS the name of the root directory. Length is from
2
to128
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 withhttp://
orhttps://
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
orfalse
.true
: is the default NAT IP ADDRESS.false
: it is not the default NAT IP ADDRESS. - nat_
gateway_ strid - The ID of the VPC NAT gateway.
- nat_
ip_ strcidr - 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 be16
to32
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_ strcidr_ description - NAT IP ADDRESS range to the description of. Length is from
2
to256
characters, must start with a letter or the Chinese at the beginning, but not at thehttp://
Orhttps://
at the beginning. - nat_
ip_ strcidr_ id - NAT IP ADDRESS instance ID.
- nat_
ip_ strcidr_ name - NAT IP ADDRESS the name of the root directory. Length is from
2
to128
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 withhttp://
orhttps://
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.
- create
Time String - The time when the CIDR block was created.
- id String
- The ID of the Nat Ip Cidr.
- is
Default Boolean - Whether it is the default NAT IP ADDRESS. Valid values:
true
orfalse
.true
: is the default NAT IP ADDRESS.false
: it is not the default NAT IP ADDRESS. - nat
Gateway StringId - The ID of the VPC NAT gateway.
- nat
Ip StringCidr - 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 be16
to32
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 StringCidr Description - NAT IP ADDRESS range to the description of. Length is from
2
to256
characters, must start with a letter or the Chinese at the beginning, but not at thehttp://
Orhttps://
at the beginning. - nat
Ip StringCidr Id - NAT IP ADDRESS instance ID.
- nat
Ip StringCidr Name - NAT IP ADDRESS the name of the root directory. Length is from
2
to128
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 withhttp://
orhttps://
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
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.