@volcengine/pulumi 0.0.38 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/nat/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../nat/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIpF,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAG3E,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CA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MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
package/nat/ip.d.ts ADDED
@@ -0,0 +1,157 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage nat ip
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@pulumi/volcengine";
9
+ * import * as volcengine from "@volcengine/pulumi";
10
+ *
11
+ * const fooZones = volcengine.ecs.getZones({});
12
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
13
+ * vpcName: "acc-test-vpc",
14
+ * cidrBlock: "172.16.0.0/16",
15
+ * });
16
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
17
+ * subnetName: "acc-test-subnet",
18
+ * cidrBlock: "172.16.0.0/24",
19
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
20
+ * vpcId: fooVpc.id,
21
+ * });
22
+ * const intranetNatGateway = new volcengine.nat.Gateway("intranetNatGateway", {
23
+ * vpcId: fooVpc.id,
24
+ * subnetId: fooSubnet.id,
25
+ * natGatewayName: "acc-test-intranet_ng",
26
+ * description: "acc-test",
27
+ * networkType: "intranet",
28
+ * billingType: "PostPaidByUsage",
29
+ * projectName: "default",
30
+ * tags: [{
31
+ * key: "k1",
32
+ * value: "v1",
33
+ * }],
34
+ * });
35
+ * const fooIp = new volcengine.nat.Ip("fooIp", {
36
+ * natGatewayId: intranetNatGateway.id,
37
+ * natIpName: "acc-test-nat-ip",
38
+ * natIpDescription: "acc-test",
39
+ * natIp: "172.16.0.3",
40
+ * });
41
+ * ```
42
+ *
43
+ * ## Import
44
+ *
45
+ * NatIp can be imported using the id, e.g.
46
+ *
47
+ * ```sh
48
+ * $ pulumi import volcengine:nat/ip:Ip default resource_id
49
+ * ```
50
+ */
51
+ export declare class Ip extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing Ip resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param state Any extra arguments used during the lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IpState, opts?: pulumi.CustomResourceOptions): Ip;
62
+ /**
63
+ * Returns true if the given object is an instance of Ip. This is designed to work even
64
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
65
+ */
66
+ static isInstance(obj: any): obj is Ip;
67
+ /**
68
+ * Whether the Ip is the default Nat Ip.
69
+ */
70
+ readonly isDefault: pulumi.Output<boolean>;
71
+ /**
72
+ * The id of the nat gateway to which the Nat Ip belongs.
73
+ */
74
+ readonly natGatewayId: pulumi.Output<string>;
75
+ /**
76
+ * The ip address of the Nat Ip.
77
+ */
78
+ readonly natIp: pulumi.Output<string>;
79
+ /**
80
+ * The description of the Nat Ip.
81
+ */
82
+ readonly natIpDescription: pulumi.Output<string>;
83
+ /**
84
+ * The name of the Nat Ip.
85
+ */
86
+ readonly natIpName: pulumi.Output<string>;
87
+ /**
88
+ * The status of the Nat Ip.
89
+ */
90
+ readonly status: pulumi.Output<string>;
91
+ /**
92
+ * The using status of the Nat Ip.
93
+ */
94
+ readonly usingStatus: pulumi.Output<string>;
95
+ /**
96
+ * Create a Ip resource with the given unique name, arguments, and options.
97
+ *
98
+ * @param name The _unique_ name of the resource.
99
+ * @param args The arguments to use to populate this resource's properties.
100
+ * @param opts A bag of options that control this resource's behavior.
101
+ */
102
+ constructor(name: string, args: IpArgs, opts?: pulumi.CustomResourceOptions);
103
+ }
104
+ /**
105
+ * Input properties used for looking up and filtering Ip resources.
106
+ */
107
+ export interface IpState {
108
+ /**
109
+ * Whether the Ip is the default Nat Ip.
110
+ */
111
+ isDefault?: pulumi.Input<boolean>;
112
+ /**
113
+ * The id of the nat gateway to which the Nat Ip belongs.
114
+ */
115
+ natGatewayId?: pulumi.Input<string>;
116
+ /**
117
+ * The ip address of the Nat Ip.
118
+ */
119
+ natIp?: pulumi.Input<string>;
120
+ /**
121
+ * The description of the Nat Ip.
122
+ */
123
+ natIpDescription?: pulumi.Input<string>;
124
+ /**
125
+ * The name of the Nat Ip.
126
+ */
127
+ natIpName?: pulumi.Input<string>;
128
+ /**
129
+ * The status of the Nat Ip.
130
+ */
131
+ status?: pulumi.Input<string>;
132
+ /**
133
+ * The using status of the Nat Ip.
134
+ */
135
+ usingStatus?: pulumi.Input<string>;
136
+ }
137
+ /**
138
+ * The set of arguments for constructing a Ip resource.
139
+ */
140
+ export interface IpArgs {
141
+ /**
142
+ * The id of the nat gateway to which the Nat Ip belongs.
143
+ */
144
+ natGatewayId: pulumi.Input<string>;
145
+ /**
146
+ * The ip address of the Nat Ip.
147
+ */
148
+ natIp?: pulumi.Input<string>;
149
+ /**
150
+ * The description of the Nat Ip.
151
+ */
152
+ natIpDescription?: pulumi.Input<string>;
153
+ /**
154
+ * The name of the Nat Ip.
155
+ */
156
+ natIpName?: pulumi.Input<string>;
157
+ }
package/nat/ip.js ADDED
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Ip = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage nat ip
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooZones = volcengine.ecs.getZones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
22
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const intranetNatGateway = new volcengine.nat.Gateway("intranetNatGateway", {
29
+ * vpcId: fooVpc.id,
30
+ * subnetId: fooSubnet.id,
31
+ * natGatewayName: "acc-test-intranet_ng",
32
+ * description: "acc-test",
33
+ * networkType: "intranet",
34
+ * billingType: "PostPaidByUsage",
35
+ * projectName: "default",
36
+ * tags: [{
37
+ * key: "k1",
38
+ * value: "v1",
39
+ * }],
40
+ * });
41
+ * const fooIp = new volcengine.nat.Ip("fooIp", {
42
+ * natGatewayId: intranetNatGateway.id,
43
+ * natIpName: "acc-test-nat-ip",
44
+ * natIpDescription: "acc-test",
45
+ * natIp: "172.16.0.3",
46
+ * });
47
+ * ```
48
+ *
49
+ * ## Import
50
+ *
51
+ * NatIp can be imported using the id, e.g.
52
+ *
53
+ * ```sh
54
+ * $ pulumi import volcengine:nat/ip:Ip default resource_id
55
+ * ```
56
+ */
57
+ class Ip extends pulumi.CustomResource {
58
+ /**
59
+ * Get an existing Ip resource's state with the given name, ID, and optional extra
60
+ * properties used to qualify the lookup.
61
+ *
62
+ * @param name The _unique_ name of the resulting resource.
63
+ * @param id The _unique_ provider ID of the resource to lookup.
64
+ * @param state Any extra arguments used during the lookup.
65
+ * @param opts Optional settings to control the behavior of the CustomResource.
66
+ */
67
+ static get(name, id, state, opts) {
68
+ return new Ip(name, state, Object.assign(Object.assign({}, opts), { id: id }));
69
+ }
70
+ /**
71
+ * Returns true if the given object is an instance of Ip. This is designed to work even
72
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
73
+ */
74
+ static isInstance(obj) {
75
+ if (obj === undefined || obj === null) {
76
+ return false;
77
+ }
78
+ return obj['__pulumiType'] === Ip.__pulumiType;
79
+ }
80
+ constructor(name, argsOrState, opts) {
81
+ let resourceInputs = {};
82
+ opts = opts || {};
83
+ if (opts.id) {
84
+ const state = argsOrState;
85
+ resourceInputs["isDefault"] = state ? state.isDefault : undefined;
86
+ resourceInputs["natGatewayId"] = state ? state.natGatewayId : undefined;
87
+ resourceInputs["natIp"] = state ? state.natIp : undefined;
88
+ resourceInputs["natIpDescription"] = state ? state.natIpDescription : undefined;
89
+ resourceInputs["natIpName"] = state ? state.natIpName : undefined;
90
+ resourceInputs["status"] = state ? state.status : undefined;
91
+ resourceInputs["usingStatus"] = state ? state.usingStatus : undefined;
92
+ }
93
+ else {
94
+ const args = argsOrState;
95
+ if ((!args || args.natGatewayId === undefined) && !opts.urn) {
96
+ throw new Error("Missing required property 'natGatewayId'");
97
+ }
98
+ resourceInputs["natGatewayId"] = args ? args.natGatewayId : undefined;
99
+ resourceInputs["natIp"] = args ? args.natIp : undefined;
100
+ resourceInputs["natIpDescription"] = args ? args.natIpDescription : undefined;
101
+ resourceInputs["natIpName"] = args ? args.natIpName : undefined;
102
+ resourceInputs["isDefault"] = undefined /*out*/;
103
+ resourceInputs["status"] = undefined /*out*/;
104
+ resourceInputs["usingStatus"] = undefined /*out*/;
105
+ }
106
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
107
+ super(Ip.__pulumiType, name, resourceInputs, opts);
108
+ }
109
+ }
110
+ exports.Ip = Ip;
111
+ /** @internal */
112
+ Ip.__pulumiType = 'volcengine:nat/ip:Ip';
113
+ //# sourceMappingURL=ip.js.map
package/nat/ip.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ip.js","sourceRoot":"","sources":["../../nat/ip.ts"],"names":[],"mappings":";AA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EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;;AA5FL,gBA6FC;AA/EG,gBAAgB;AACO,eAAY,GAAG,sBAAsB,CAAC"}
package/nat/ips.d.ts ADDED
@@ -0,0 +1,172 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of nat ips
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const fooZones = volcengine.ecs.getZones({});
13
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
14
+ * vpcName: "acc-test-vpc",
15
+ * cidrBlock: "172.16.0.0/16",
16
+ * });
17
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
18
+ * subnetName: "acc-test-subnet",
19
+ * cidrBlock: "172.16.0.0/24",
20
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
21
+ * vpcId: fooVpc.id,
22
+ * });
23
+ * const intranetNatGateway = new volcengine.nat.Gateway("intranetNatGateway", {
24
+ * vpcId: fooVpc.id,
25
+ * subnetId: fooSubnet.id,
26
+ * natGatewayName: "acc-test-intranet_ng",
27
+ * description: "acc-test",
28
+ * networkType: "intranet",
29
+ * billingType: "PostPaidByUsage",
30
+ * projectName: "default",
31
+ * tags: [{
32
+ * key: "k1",
33
+ * value: "v1",
34
+ * }],
35
+ * });
36
+ * const fooIp = new volcengine.nat.Ip("fooIp", {
37
+ * natGatewayId: intranetNatGateway.id,
38
+ * natIpName: "acc-test-nat-ip",
39
+ * natIpDescription: "acc-test",
40
+ * natIp: "172.16.0.3",
41
+ * });
42
+ * const fooIps = volcengine.nat.getIpsOutput({
43
+ * natGatewayId: intranetNatGateway.id,
44
+ * });
45
+ * ```
46
+ */
47
+ /** @deprecated volcengine.nat.Ips has been deprecated in favor of volcengine.nat.getIps */
48
+ export declare function ips(args: IpsArgs, opts?: pulumi.InvokeOptions): Promise<IpsResult>;
49
+ /**
50
+ * A collection of arguments for invoking Ips.
51
+ */
52
+ export interface IpsArgs {
53
+ /**
54
+ * A list of Nat IP ids.
55
+ */
56
+ ids?: string[];
57
+ /**
58
+ * The Name Regex of Nat ip.
59
+ */
60
+ nameRegex?: string;
61
+ /**
62
+ * The id of the Nat gateway.
63
+ */
64
+ natGatewayId: string;
65
+ /**
66
+ * The name of the Nat IP.
67
+ */
68
+ natIpName?: string;
69
+ /**
70
+ * File name where to save data source results.
71
+ */
72
+ outputFile?: string;
73
+ }
74
+ /**
75
+ * A collection of values returned by Ips.
76
+ */
77
+ export interface IpsResult {
78
+ /**
79
+ * The provider-assigned unique ID for this managed resource.
80
+ */
81
+ readonly id: string;
82
+ readonly ids?: string[];
83
+ readonly nameRegex?: string;
84
+ /**
85
+ * The id of the Nat gateway.
86
+ */
87
+ readonly natGatewayId: string;
88
+ /**
89
+ * The name of the Nat Ip.
90
+ */
91
+ readonly natIpName?: string;
92
+ /**
93
+ * The collection of query.
94
+ */
95
+ readonly natIps: outputs.nat.IpsNatIp[];
96
+ readonly outputFile?: string;
97
+ /**
98
+ * The total count of query.
99
+ */
100
+ readonly totalCount: number;
101
+ }
102
+ /**
103
+ * Use this data source to query detailed information of nat ips
104
+ * ## Example Usage
105
+ *
106
+ * ```typescript
107
+ * import * as pulumi from "@pulumi/pulumi";
108
+ * import * as volcengine from "@pulumi/volcengine";
109
+ * import * as volcengine from "@volcengine/pulumi";
110
+ *
111
+ * const fooZones = volcengine.ecs.getZones({});
112
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
113
+ * vpcName: "acc-test-vpc",
114
+ * cidrBlock: "172.16.0.0/16",
115
+ * });
116
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
117
+ * subnetName: "acc-test-subnet",
118
+ * cidrBlock: "172.16.0.0/24",
119
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
120
+ * vpcId: fooVpc.id,
121
+ * });
122
+ * const intranetNatGateway = new volcengine.nat.Gateway("intranetNatGateway", {
123
+ * vpcId: fooVpc.id,
124
+ * subnetId: fooSubnet.id,
125
+ * natGatewayName: "acc-test-intranet_ng",
126
+ * description: "acc-test",
127
+ * networkType: "intranet",
128
+ * billingType: "PostPaidByUsage",
129
+ * projectName: "default",
130
+ * tags: [{
131
+ * key: "k1",
132
+ * value: "v1",
133
+ * }],
134
+ * });
135
+ * const fooIp = new volcengine.nat.Ip("fooIp", {
136
+ * natGatewayId: intranetNatGateway.id,
137
+ * natIpName: "acc-test-nat-ip",
138
+ * natIpDescription: "acc-test",
139
+ * natIp: "172.16.0.3",
140
+ * });
141
+ * const fooIps = volcengine.nat.getIpsOutput({
142
+ * natGatewayId: intranetNatGateway.id,
143
+ * });
144
+ * ```
145
+ */
146
+ /** @deprecated volcengine.nat.Ips has been deprecated in favor of volcengine.nat.getIps */
147
+ export declare function ipsOutput(args: IpsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<IpsResult>;
148
+ /**
149
+ * A collection of arguments for invoking Ips.
150
+ */
151
+ export interface IpsOutputArgs {
152
+ /**
153
+ * A list of Nat IP ids.
154
+ */
155
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
156
+ /**
157
+ * The Name Regex of Nat ip.
158
+ */
159
+ nameRegex?: pulumi.Input<string>;
160
+ /**
161
+ * The id of the Nat gateway.
162
+ */
163
+ natGatewayId: pulumi.Input<string>;
164
+ /**
165
+ * The name of the Nat IP.
166
+ */
167
+ natIpName?: pulumi.Input<string>;
168
+ /**
169
+ * File name where to save data source results.
170
+ */
171
+ outputFile?: pulumi.Input<string>;
172
+ }
package/nat/ips.js ADDED
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ipsOutput = exports.ips = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of nat ips
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooZones = volcengine.ecs.getZones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
22
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const intranetNatGateway = new volcengine.nat.Gateway("intranetNatGateway", {
29
+ * vpcId: fooVpc.id,
30
+ * subnetId: fooSubnet.id,
31
+ * natGatewayName: "acc-test-intranet_ng",
32
+ * description: "acc-test",
33
+ * networkType: "intranet",
34
+ * billingType: "PostPaidByUsage",
35
+ * projectName: "default",
36
+ * tags: [{
37
+ * key: "k1",
38
+ * value: "v1",
39
+ * }],
40
+ * });
41
+ * const fooIp = new volcengine.nat.Ip("fooIp", {
42
+ * natGatewayId: intranetNatGateway.id,
43
+ * natIpName: "acc-test-nat-ip",
44
+ * natIpDescription: "acc-test",
45
+ * natIp: "172.16.0.3",
46
+ * });
47
+ * const fooIps = volcengine.nat.getIpsOutput({
48
+ * natGatewayId: intranetNatGateway.id,
49
+ * });
50
+ * ```
51
+ */
52
+ /** @deprecated volcengine.nat.Ips has been deprecated in favor of volcengine.nat.getIps */
53
+ function ips(args, opts) {
54
+ pulumi.log.warn("ips is deprecated: volcengine.nat.Ips has been deprecated in favor of volcengine.nat.getIps");
55
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
56
+ return pulumi.runtime.invoke("volcengine:nat/ips:Ips", {
57
+ "ids": args.ids,
58
+ "nameRegex": args.nameRegex,
59
+ "natGatewayId": args.natGatewayId,
60
+ "natIpName": args.natIpName,
61
+ "outputFile": args.outputFile,
62
+ }, opts);
63
+ }
64
+ exports.ips = ips;
65
+ /**
66
+ * Use this data source to query detailed information of nat ips
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as volcengine from "@pulumi/volcengine";
72
+ * import * as volcengine from "@volcengine/pulumi";
73
+ *
74
+ * const fooZones = volcengine.ecs.getZones({});
75
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
76
+ * vpcName: "acc-test-vpc",
77
+ * cidrBlock: "172.16.0.0/16",
78
+ * });
79
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
80
+ * subnetName: "acc-test-subnet",
81
+ * cidrBlock: "172.16.0.0/24",
82
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
83
+ * vpcId: fooVpc.id,
84
+ * });
85
+ * const intranetNatGateway = new volcengine.nat.Gateway("intranetNatGateway", {
86
+ * vpcId: fooVpc.id,
87
+ * subnetId: fooSubnet.id,
88
+ * natGatewayName: "acc-test-intranet_ng",
89
+ * description: "acc-test",
90
+ * networkType: "intranet",
91
+ * billingType: "PostPaidByUsage",
92
+ * projectName: "default",
93
+ * tags: [{
94
+ * key: "k1",
95
+ * value: "v1",
96
+ * }],
97
+ * });
98
+ * const fooIp = new volcengine.nat.Ip("fooIp", {
99
+ * natGatewayId: intranetNatGateway.id,
100
+ * natIpName: "acc-test-nat-ip",
101
+ * natIpDescription: "acc-test",
102
+ * natIp: "172.16.0.3",
103
+ * });
104
+ * const fooIps = volcengine.nat.getIpsOutput({
105
+ * natGatewayId: intranetNatGateway.id,
106
+ * });
107
+ * ```
108
+ */
109
+ /** @deprecated volcengine.nat.Ips has been deprecated in favor of volcengine.nat.getIps */
110
+ function ipsOutput(args, opts) {
111
+ return pulumi.output(args).apply((a) => ips(a, opts));
112
+ }
113
+ exports.ipsOutput = ipsOutput;
114
+ //# sourceMappingURL=ips.js.map
package/nat/ips.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ips.js","sourceRoot":"","sources":["../../nat/ips.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,2FAA2F;AAC3F,SAAgB,GAAG,CAAC,IAAa,EAAE,IAA2B;IAC1D,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6FAA6F,CAAC,CAAA;IAE9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE;QACnD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kBAWC;AAwDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,2FAA2F;AAC3F,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,8BAEC"}
@@ -78,13 +78,17 @@ export declare class SnatEntry extends pulumi.CustomResource {
78
78
  */
79
79
  static isInstance(obj: any): obj is SnatEntry;
80
80
  /**
81
- * The id of the public ip address used by the SNAT entry.
81
+ * The id of the public ip address used by the SNAT entry. This field is required when the nat gateway is a internet NAT gateway.
82
82
  */
83
- readonly eipId: pulumi.Output<string>;
83
+ readonly eipId: pulumi.Output<string | undefined>;
84
84
  /**
85
85
  * The id of the nat gateway to which the entry belongs.
86
86
  */
87
87
  readonly natGatewayId: pulumi.Output<string>;
88
+ /**
89
+ * The ID of the intranet NAT gateway's transit IP. This field is required when the nat gateway is a intranet NAT gateway.
90
+ */
91
+ readonly natIpId: pulumi.Output<string | undefined>;
88
92
  /**
89
93
  * The name of the SNAT entry.
90
94
  */
@@ -115,13 +119,17 @@ export declare class SnatEntry extends pulumi.CustomResource {
115
119
  */
116
120
  export interface SnatEntryState {
117
121
  /**
118
- * The id of the public ip address used by the SNAT entry.
122
+ * The id of the public ip address used by the SNAT entry. This field is required when the nat gateway is a internet NAT gateway.
119
123
  */
120
124
  eipId?: pulumi.Input<string>;
121
125
  /**
122
126
  * The id of the nat gateway to which the entry belongs.
123
127
  */
124
128
  natGatewayId?: pulumi.Input<string>;
129
+ /**
130
+ * The ID of the intranet NAT gateway's transit IP. This field is required when the nat gateway is a intranet NAT gateway.
131
+ */
132
+ natIpId?: pulumi.Input<string>;
125
133
  /**
126
134
  * The name of the SNAT entry.
127
135
  */
@@ -144,13 +152,17 @@ export interface SnatEntryState {
144
152
  */
145
153
  export interface SnatEntryArgs {
146
154
  /**
147
- * The id of the public ip address used by the SNAT entry.
155
+ * The id of the public ip address used by the SNAT entry. This field is required when the nat gateway is a internet NAT gateway.
148
156
  */
149
- eipId: pulumi.Input<string>;
157
+ eipId?: pulumi.Input<string>;
150
158
  /**
151
159
  * The id of the nat gateway to which the entry belongs.
152
160
  */
153
161
  natGatewayId: pulumi.Input<string>;
162
+ /**
163
+ * The ID of the intranet NAT gateway's transit IP. This field is required when the nat gateway is a intranet NAT gateway.
164
+ */
165
+ natIpId?: pulumi.Input<string>;
154
166
  /**
155
167
  * The name of the SNAT entry.
156
168
  */
package/nat/snatEntry.js CHANGED
@@ -97,6 +97,7 @@ class SnatEntry extends pulumi.CustomResource {
97
97
  const state = argsOrState;
98
98
  resourceInputs["eipId"] = state ? state.eipId : undefined;
99
99
  resourceInputs["natGatewayId"] = state ? state.natGatewayId : undefined;
100
+ resourceInputs["natIpId"] = state ? state.natIpId : undefined;
100
101
  resourceInputs["snatEntryName"] = state ? state.snatEntryName : undefined;
101
102
  resourceInputs["sourceCidr"] = state ? state.sourceCidr : undefined;
102
103
  resourceInputs["status"] = state ? state.status : undefined;
@@ -104,14 +105,12 @@ class SnatEntry extends pulumi.CustomResource {
104
105
  }
105
106
  else {
106
107
  const args = argsOrState;
107
- if ((!args || args.eipId === undefined) && !opts.urn) {
108
- throw new Error("Missing required property 'eipId'");
109
- }
110
108
  if ((!args || args.natGatewayId === undefined) && !opts.urn) {
111
109
  throw new Error("Missing required property 'natGatewayId'");
112
110
  }
113
111
  resourceInputs["eipId"] = args ? args.eipId : undefined;
114
112
  resourceInputs["natGatewayId"] = args ? args.natGatewayId : undefined;
113
+ resourceInputs["natIpId"] = args ? args.natIpId : undefined;
115
114
  resourceInputs["snatEntryName"] = args ? args.snatEntryName : undefined;
116
115
  resourceInputs["sourceCidr"] = args ? args.sourceCidr : undefined;
117
116
  resourceInputs["subnetId"] = args ? args.subnetId : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"snatEntry.js","sourceRoot":"","sources":["../../nat/snatEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,SAAU,SAAQ,MAAM,CAA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