@volcengine/pulumi-volcenginecc 0.0.7 → 0.0.8
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/autoscaling/getScalingGroup.d.ts +153 -0
- package/autoscaling/getScalingGroup.js +28 -0
- package/autoscaling/getScalingGroup.js.map +1 -0
- package/autoscaling/getScalingGroups.d.ts +22 -0
- package/autoscaling/getScalingGroups.js +24 -0
- package/autoscaling/getScalingGroups.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.js +12 -1
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +332 -0
- package/autoscaling/scalingGroup.js +126 -0
- package/autoscaling/scalingGroup.js.map +1 -0
- package/cdn/getShareConfig.d.ts +1 -1
- package/cdn/shareConfig.d.ts +3 -3
- package/cdn/shareConfig.js +2 -2
- package/cdn/shareConfig.js.map +1 -1
- package/cen/cen.d.ts +151 -0
- package/cen/cen.js +93 -0
- package/cen/cen.js.map +1 -0
- package/cen/getCen.d.ts +77 -0
- package/cen/getCen.js +28 -0
- package/cen/getCen.js.map +1 -0
- package/cen/getCens.d.ts +22 -0
- package/cen/getCens.js +24 -0
- package/cen/getCens.js.map +1 -0
- package/cen/index.d.ts +9 -0
- package/cen/index.js +28 -0
- package/cen/index.js.map +1 -0
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/natgateway/dnatentry.d.ts +175 -0
- package/natgateway/dnatentry.js +112 -0
- package/natgateway/dnatentry.js.map +1 -0
- package/natgateway/getDnatentries.d.ts +22 -0
- package/natgateway/getDnatentries.js +24 -0
- package/natgateway/getDnatentries.js.map +1 -0
- package/natgateway/getDnatentry.d.ts +76 -0
- package/natgateway/getDnatentry.js +28 -0
- package/natgateway/getDnatentry.js.map +1 -0
- package/natgateway/getNatIp.d.ts +68 -0
- package/natgateway/getNatIp.js +28 -0
- package/natgateway/getNatIp.js.map +1 -0
- package/natgateway/getNatIps.d.ts +22 -0
- package/natgateway/getNatIps.js +24 -0
- package/natgateway/getNatIps.js.map +1 -0
- package/natgateway/getSnatentries.d.ts +22 -0
- package/natgateway/getSnatentries.js +24 -0
- package/natgateway/getSnatentries.js.map +1 -0
- package/natgateway/getSnatentry.d.ts +72 -0
- package/natgateway/getSnatentry.js +28 -0
- package/natgateway/getSnatentry.js.map +1 -0
- package/natgateway/index.d.ts +24 -0
- package/natgateway/index.js +29 -1
- package/natgateway/index.js.map +1 -1
- package/natgateway/snatentry.d.ts +155 -0
- package/natgateway/snatentry.js +91 -0
- package/natgateway/snatentry.js.map +1 -0
- package/package.json +1 -1
- package/types/input.d.ts +230 -3
- package/types/output.d.ts +487 -6
- package/vedbm/getInstance.d.ts +157 -0
- package/vedbm/getInstance.js +28 -0
- package/vedbm/getInstance.js.map +1 -0
- package/vedbm/getInstances.d.ts +22 -0
- package/vedbm/getInstances.js +24 -0
- package/vedbm/getInstances.js.map +1 -0
- package/vedbm/index.d.ts +9 -0
- package/vedbm/index.js +28 -0
- package/vedbm/index.js.map +1 -0
- package/vedbm/instance.d.ts +355 -0
- package/vedbm/instance.js +134 -0
- package/vedbm/instance.js.map +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::NatGateway::NatIp
|
|
4
|
+
*/
|
|
5
|
+
export declare function getNatIps(opts?: pulumi.InvokeOptions): Promise<GetNatIpsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getNatIps.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetNatIpsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::NatGateway::NatIp
|
|
21
|
+
*/
|
|
22
|
+
export declare function getNatIpsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatIpsResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getNatIpsOutput = exports.getNatIps = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::NatGateway::NatIp
|
|
10
|
+
*/
|
|
11
|
+
function getNatIps(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:natgateway/getNatIps:getNatIps", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getNatIps = getNatIps;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::NatGateway::NatIp
|
|
18
|
+
*/
|
|
19
|
+
function getNatIpsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:natgateway/getNatIps:getNatIps", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getNatIpsOutput = getNatIpsOutput;
|
|
24
|
+
//# sourceMappingURL=getNatIps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNatIps.js","sourceRoot":"","sources":["../../natgateway/getNatIps.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAA2B;IACjD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE,EAC3E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8BAIC;AAeD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAiC;IAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::NatGateway::Snatentry
|
|
4
|
+
*/
|
|
5
|
+
export declare function getSnatentries(opts?: pulumi.InvokeOptions): Promise<GetSnatentriesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getSnatentries.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetSnatentriesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::NatGateway::Snatentry
|
|
21
|
+
*/
|
|
22
|
+
export declare function getSnatentriesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnatentriesResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getSnatentriesOutput = exports.getSnatentries = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::NatGateway::Snatentry
|
|
10
|
+
*/
|
|
11
|
+
function getSnatentries(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:natgateway/getSnatentries:getSnatentries", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getSnatentries = getSnatentries;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::NatGateway::Snatentry
|
|
18
|
+
*/
|
|
19
|
+
function getSnatentriesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:natgateway/getSnatentries:getSnatentries", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getSnatentriesOutput = getSnatentriesOutput;
|
|
24
|
+
//# sourceMappingURL=getSnatentries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSnatentries.js","sourceRoot":"","sources":["../../natgateway/getSnatentries.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE,EACrF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAeD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE,EAC3F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::NatGateway::Snatentry
|
|
4
|
+
*/
|
|
5
|
+
export declare function getSnatentry(args: GetSnatentryArgs, opts?: pulumi.InvokeOptions): Promise<GetSnatentryResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getSnatentry.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetSnatentryArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getSnatentry.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSnatentryResult {
|
|
19
|
+
/**
|
|
20
|
+
* SNAT规则关联的公网IP的IP地址。返回单个公网IP的IP地址。 返回多个公网IP的IP地址。
|
|
21
|
+
*/
|
|
22
|
+
readonly eipAddress: string;
|
|
23
|
+
/**
|
|
24
|
+
* SNAT规则关联的公网IP的ID。返回单个公网IP的ID。 返回多个公网IP的ID。
|
|
25
|
+
*/
|
|
26
|
+
readonly eipId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Uniquely identifies the resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
/**
|
|
32
|
+
* SNAT规则所属NAT网关的ID。
|
|
33
|
+
*/
|
|
34
|
+
readonly natGatewayId: string;
|
|
35
|
+
/**
|
|
36
|
+
* 私网NAT网关的中转IP的ID。
|
|
37
|
+
*/
|
|
38
|
+
readonly natIpId: string;
|
|
39
|
+
/**
|
|
40
|
+
* SNAT规则的ID。
|
|
41
|
+
*/
|
|
42
|
+
readonly snatEntryId: string;
|
|
43
|
+
/**
|
|
44
|
+
* SNAT规则的名称。
|
|
45
|
+
*/
|
|
46
|
+
readonly snatEntryName: string;
|
|
47
|
+
/**
|
|
48
|
+
* SNAT规则对应的网段。
|
|
49
|
+
*/
|
|
50
|
+
readonly sourceCidr: string;
|
|
51
|
+
/**
|
|
52
|
+
* SNAT规则的状态。Creating:创建中。Deleting:删除中。Available:可用。
|
|
53
|
+
*/
|
|
54
|
+
readonly status: string;
|
|
55
|
+
/**
|
|
56
|
+
* SNAT规则关联子网的ID。
|
|
57
|
+
*/
|
|
58
|
+
readonly subnetId: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Data Source schema for Volcengine::NatGateway::Snatentry
|
|
62
|
+
*/
|
|
63
|
+
export declare function getSnatentryOutput(args: GetSnatentryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnatentryResult>;
|
|
64
|
+
/**
|
|
65
|
+
* A collection of arguments for invoking getSnatentry.
|
|
66
|
+
*/
|
|
67
|
+
export interface GetSnatentryOutputArgs {
|
|
68
|
+
/**
|
|
69
|
+
* Uniquely identifies the resource.
|
|
70
|
+
*/
|
|
71
|
+
id: pulumi.Input<string>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.getSnatentryOutput = exports.getSnatentry = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::NatGateway::Snatentry
|
|
10
|
+
*/
|
|
11
|
+
function getSnatentry(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:natgateway/getSnatentry:getSnatentry", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getSnatentry = getSnatentry;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::NatGateway::Snatentry
|
|
20
|
+
*/
|
|
21
|
+
function getSnatentryOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:natgateway/getSnatentry:getSnatentry", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getSnatentryOutput = getSnatentryOutput;
|
|
28
|
+
//# sourceMappingURL=getSnatentry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSnatentry.js","sourceRoot":"","sources":["../../natgateway/getSnatentry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAyDD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE;QACpF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
package/natgateway/index.d.ts
CHANGED
|
@@ -1,9 +1,33 @@
|
|
|
1
|
+
export { DnatentryArgs, DnatentryState } from "./dnatentry";
|
|
2
|
+
export type Dnatentry = import("./dnatentry").Dnatentry;
|
|
3
|
+
export declare const Dnatentry: typeof import("./dnatentry").Dnatentry;
|
|
4
|
+
export { GetDnatentriesResult } from "./getDnatentries";
|
|
5
|
+
export declare const getDnatentries: typeof import("./getDnatentries").getDnatentries;
|
|
6
|
+
export declare const getDnatentriesOutput: typeof import("./getDnatentries").getDnatentriesOutput;
|
|
7
|
+
export { GetDnatentryArgs, GetDnatentryResult, GetDnatentryOutputArgs } from "./getDnatentry";
|
|
8
|
+
export declare const getDnatentry: typeof import("./getDnatentry").getDnatentry;
|
|
9
|
+
export declare const getDnatentryOutput: typeof import("./getDnatentry").getDnatentryOutput;
|
|
10
|
+
export { GetNatIpArgs, GetNatIpResult, GetNatIpOutputArgs } from "./getNatIp";
|
|
11
|
+
export declare const getNatIp: typeof import("./getNatIp").getNatIp;
|
|
12
|
+
export declare const getNatIpOutput: typeof import("./getNatIp").getNatIpOutput;
|
|
13
|
+
export { GetNatIpsResult } from "./getNatIps";
|
|
14
|
+
export declare const getNatIps: typeof import("./getNatIps").getNatIps;
|
|
15
|
+
export declare const getNatIpsOutput: typeof import("./getNatIps").getNatIpsOutput;
|
|
1
16
|
export { GetNgwArgs, GetNgwResult, GetNgwOutputArgs } from "./getNgw";
|
|
2
17
|
export declare const getNgw: typeof import("./getNgw").getNgw;
|
|
3
18
|
export declare const getNgwOutput: typeof import("./getNgw").getNgwOutput;
|
|
4
19
|
export { GetNgwsResult } from "./getNgws";
|
|
5
20
|
export declare const getNgws: typeof import("./getNgws").getNgws;
|
|
6
21
|
export declare const getNgwsOutput: typeof import("./getNgws").getNgwsOutput;
|
|
22
|
+
export { GetSnatentriesResult } from "./getSnatentries";
|
|
23
|
+
export declare const getSnatentries: typeof import("./getSnatentries").getSnatentries;
|
|
24
|
+
export declare const getSnatentriesOutput: typeof import("./getSnatentries").getSnatentriesOutput;
|
|
25
|
+
export { GetSnatentryArgs, GetSnatentryResult, GetSnatentryOutputArgs } from "./getSnatentry";
|
|
26
|
+
export declare const getSnatentry: typeof import("./getSnatentry").getSnatentry;
|
|
27
|
+
export declare const getSnatentryOutput: typeof import("./getSnatentry").getSnatentryOutput;
|
|
7
28
|
export { NgwArgs, NgwState } from "./ngw";
|
|
8
29
|
export type Ngw = import("./ngw").Ngw;
|
|
9
30
|
export declare const Ngw: typeof import("./ngw").Ngw;
|
|
31
|
+
export { SnatentryArgs, SnatentryState } from "./snatentry";
|
|
32
|
+
export type Snatentry = import("./snatentry").Snatentry;
|
|
33
|
+
export declare const Snatentry: typeof import("./snatentry").Snatentry;
|
package/natgateway/index.js
CHANGED
|
@@ -2,27 +2,55 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Ngw = exports.getNgwsOutput = exports.getNgws = exports.getNgwOutput = exports.getNgw = void 0;
|
|
5
|
+
exports.Snatentry = exports.Ngw = exports.getSnatentryOutput = exports.getSnatentry = exports.getSnatentriesOutput = exports.getSnatentries = exports.getNgwsOutput = exports.getNgws = exports.getNgwOutput = exports.getNgw = exports.getNatIpsOutput = exports.getNatIps = exports.getNatIpOutput = exports.getNatIp = exports.getDnatentryOutput = exports.getDnatentry = exports.getDnatentriesOutput = exports.getDnatentries = exports.Dnatentry = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.Dnatentry = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Dnatentry"], () => require("./dnatentry"));
|
|
10
|
+
exports.getDnatentries = null;
|
|
11
|
+
exports.getDnatentriesOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getDnatentries", "getDnatentriesOutput"], () => require("./getDnatentries"));
|
|
13
|
+
exports.getDnatentry = null;
|
|
14
|
+
exports.getDnatentryOutput = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["getDnatentry", "getDnatentryOutput"], () => require("./getDnatentry"));
|
|
16
|
+
exports.getNatIp = null;
|
|
17
|
+
exports.getNatIpOutput = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["getNatIp", "getNatIpOutput"], () => require("./getNatIp"));
|
|
19
|
+
exports.getNatIps = null;
|
|
20
|
+
exports.getNatIpsOutput = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["getNatIps", "getNatIpsOutput"], () => require("./getNatIps"));
|
|
8
22
|
exports.getNgw = null;
|
|
9
23
|
exports.getNgwOutput = null;
|
|
10
24
|
utilities.lazyLoad(exports, ["getNgw", "getNgwOutput"], () => require("./getNgw"));
|
|
11
25
|
exports.getNgws = null;
|
|
12
26
|
exports.getNgwsOutput = null;
|
|
13
27
|
utilities.lazyLoad(exports, ["getNgws", "getNgwsOutput"], () => require("./getNgws"));
|
|
28
|
+
exports.getSnatentries = null;
|
|
29
|
+
exports.getSnatentriesOutput = null;
|
|
30
|
+
utilities.lazyLoad(exports, ["getSnatentries", "getSnatentriesOutput"], () => require("./getSnatentries"));
|
|
31
|
+
exports.getSnatentry = null;
|
|
32
|
+
exports.getSnatentryOutput = null;
|
|
33
|
+
utilities.lazyLoad(exports, ["getSnatentry", "getSnatentryOutput"], () => require("./getSnatentry"));
|
|
14
34
|
exports.Ngw = null;
|
|
15
35
|
utilities.lazyLoad(exports, ["Ngw"], () => require("./ngw"));
|
|
36
|
+
exports.Snatentry = null;
|
|
37
|
+
utilities.lazyLoad(exports, ["Snatentry"], () => require("./snatentry"));
|
|
16
38
|
const _module = {
|
|
17
39
|
version: utilities.getVersion(),
|
|
18
40
|
construct: (name, type, urn) => {
|
|
19
41
|
switch (type) {
|
|
42
|
+
case "volcenginecc:natgateway/dnatentry:Dnatentry":
|
|
43
|
+
return new exports.Dnatentry(name, undefined, { urn });
|
|
20
44
|
case "volcenginecc:natgateway/ngw:Ngw":
|
|
21
45
|
return new exports.Ngw(name, undefined, { urn });
|
|
46
|
+
case "volcenginecc:natgateway/snatentry:Snatentry":
|
|
47
|
+
return new exports.Snatentry(name, undefined, { urn });
|
|
22
48
|
default:
|
|
23
49
|
throw new Error(`unknown resource type ${type}`);
|
|
24
50
|
}
|
|
25
51
|
},
|
|
26
52
|
};
|
|
53
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "natgateway/dnatentry", _module);
|
|
27
54
|
pulumi.runtime.registerResourceModule("volcenginecc", "natgateway/ngw", _module);
|
|
55
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "natgateway/snatentry", _module);
|
|
28
56
|
//# sourceMappingURL=index.js.map
|
package/natgateway/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../natgateway/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../natgateway/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,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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S,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* 当私有网络内有多台云服务器实例需要访问公网时,为了节省公网IP且避免在公网上直接暴露云服务器IP,您可以使用公网NAT网关的SNAT规则,安全、便捷、高效地访问公网。SNAT规则支持私有网络、子网、云服务器、自定义网段等四种粒度,您可根据业务需求灵活配置。
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const natGatewaySnatentryDemo = new volcenginecc.natgateway.Snatentry("NatGatewaySnatentryDemo", {
|
|
12
|
+
* natGatewayId: "ngw-2pc28yhdpbx8g227qo1xxxxx",
|
|
13
|
+
* eipId: "eip-iivdtssgbdog74o8cuxxxxx,eip-btbv1pk36g3k5h0b2vxxxxx",
|
|
14
|
+
* snatEntryName: "私有网络",
|
|
15
|
+
* sourceCidr: "0.0.0.0/0",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import volcenginecc:natgateway/snatentry:Snatentry example "snat_entry_id"
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class Snatentry extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing Snatentry resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnatentryState, opts?: pulumi.CustomResourceOptions): Snatentry;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of Snatentry. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is Snatentry;
|
|
41
|
+
/**
|
|
42
|
+
* SNAT规则关联的公网IP的IP地址。返回单个公网IP的IP地址。 返回多个公网IP的IP地址。
|
|
43
|
+
*/
|
|
44
|
+
readonly eipAddress: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* SNAT规则关联的公网IP的ID。返回单个公网IP的ID。 返回多个公网IP的ID。
|
|
47
|
+
*/
|
|
48
|
+
readonly eipId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* SNAT规则所属NAT网关的ID。
|
|
51
|
+
*/
|
|
52
|
+
readonly natGatewayId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* 私网NAT网关的中转IP的ID。
|
|
55
|
+
*/
|
|
56
|
+
readonly natIpId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* SNAT规则的ID。
|
|
59
|
+
*/
|
|
60
|
+
readonly snatEntryId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* SNAT规则的名称。
|
|
63
|
+
*/
|
|
64
|
+
readonly snatEntryName: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* SNAT规则对应的网段。
|
|
67
|
+
*/
|
|
68
|
+
readonly sourceCidr: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* SNAT规则的状态。Creating:创建中。Deleting:删除中。Available:可用。
|
|
71
|
+
*/
|
|
72
|
+
readonly status: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* SNAT规则关联子网的ID。
|
|
75
|
+
*/
|
|
76
|
+
readonly subnetId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a Snatentry resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: SnatentryArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering Snatentry resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface SnatentryState {
|
|
90
|
+
/**
|
|
91
|
+
* SNAT规则关联的公网IP的IP地址。返回单个公网IP的IP地址。 返回多个公网IP的IP地址。
|
|
92
|
+
*/
|
|
93
|
+
eipAddress?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* SNAT规则关联的公网IP的ID。返回单个公网IP的ID。 返回多个公网IP的ID。
|
|
96
|
+
*/
|
|
97
|
+
eipId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* SNAT规则所属NAT网关的ID。
|
|
100
|
+
*/
|
|
101
|
+
natGatewayId?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* 私网NAT网关的中转IP的ID。
|
|
104
|
+
*/
|
|
105
|
+
natIpId?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* SNAT规则的ID。
|
|
108
|
+
*/
|
|
109
|
+
snatEntryId?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* SNAT规则的名称。
|
|
112
|
+
*/
|
|
113
|
+
snatEntryName?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* SNAT规则对应的网段。
|
|
116
|
+
*/
|
|
117
|
+
sourceCidr?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* SNAT规则的状态。Creating:创建中。Deleting:删除中。Available:可用。
|
|
120
|
+
*/
|
|
121
|
+
status?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* SNAT规则关联子网的ID。
|
|
124
|
+
*/
|
|
125
|
+
subnetId?: pulumi.Input<string>;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The set of arguments for constructing a Snatentry resource.
|
|
129
|
+
*/
|
|
130
|
+
export interface SnatentryArgs {
|
|
131
|
+
/**
|
|
132
|
+
* SNAT规则关联的公网IP的ID。返回单个公网IP的ID。 返回多个公网IP的ID。
|
|
133
|
+
*/
|
|
134
|
+
eipId?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* SNAT规则所属NAT网关的ID。
|
|
137
|
+
*/
|
|
138
|
+
natGatewayId: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* 私网NAT网关的中转IP的ID。
|
|
141
|
+
*/
|
|
142
|
+
natIpId?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* SNAT规则的名称。
|
|
145
|
+
*/
|
|
146
|
+
snatEntryName?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* SNAT规则对应的网段。
|
|
149
|
+
*/
|
|
150
|
+
sourceCidr?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* SNAT规则关联子网的ID。
|
|
153
|
+
*/
|
|
154
|
+
subnetId?: pulumi.Input<string>;
|
|
155
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.Snatentry = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 当私有网络内有多台云服务器实例需要访问公网时,为了节省公网IP且避免在公网上直接暴露云服务器IP,您可以使用公网NAT网关的SNAT规则,安全、便捷、高效地访问公网。SNAT规则支持私有网络、子网、云服务器、自定义网段等四种粒度,您可根据业务需求灵活配置。
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const natGatewaySnatentryDemo = new volcenginecc.natgateway.Snatentry("NatGatewaySnatentryDemo", {
|
|
18
|
+
* natGatewayId: "ngw-2pc28yhdpbx8g227qo1xxxxx",
|
|
19
|
+
* eipId: "eip-iivdtssgbdog74o8cuxxxxx,eip-btbv1pk36g3k5h0b2vxxxxx",
|
|
20
|
+
* snatEntryName: "私有网络",
|
|
21
|
+
* sourceCidr: "0.0.0.0/0",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import volcenginecc:natgateway/snatentry:Snatentry example "snat_entry_id"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class Snatentry extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Snatentry resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new Snatentry(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of Snatentry. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === Snatentry.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["eipAddress"] = state ? state.eipAddress : undefined;
|
|
60
|
+
resourceInputs["eipId"] = state ? state.eipId : undefined;
|
|
61
|
+
resourceInputs["natGatewayId"] = state ? state.natGatewayId : undefined;
|
|
62
|
+
resourceInputs["natIpId"] = state ? state.natIpId : undefined;
|
|
63
|
+
resourceInputs["snatEntryId"] = state ? state.snatEntryId : undefined;
|
|
64
|
+
resourceInputs["snatEntryName"] = state ? state.snatEntryName : undefined;
|
|
65
|
+
resourceInputs["sourceCidr"] = state ? state.sourceCidr : undefined;
|
|
66
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
67
|
+
resourceInputs["subnetId"] = state ? state.subnetId : undefined;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
const args = argsOrState;
|
|
71
|
+
if ((!args || args.natGatewayId === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'natGatewayId'");
|
|
73
|
+
}
|
|
74
|
+
resourceInputs["eipId"] = args ? args.eipId : undefined;
|
|
75
|
+
resourceInputs["natGatewayId"] = args ? args.natGatewayId : undefined;
|
|
76
|
+
resourceInputs["natIpId"] = args ? args.natIpId : undefined;
|
|
77
|
+
resourceInputs["snatEntryName"] = args ? args.snatEntryName : undefined;
|
|
78
|
+
resourceInputs["sourceCidr"] = args ? args.sourceCidr : undefined;
|
|
79
|
+
resourceInputs["subnetId"] = args ? args.subnetId : undefined;
|
|
80
|
+
resourceInputs["eipAddress"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["snatEntryId"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(Snatentry.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.Snatentry = Snatentry;
|
|
89
|
+
/** @internal */
|
|
90
|
+
Snatentry.__pulumiType = 'volcenginecc:natgateway/snatentry:Snatentry';
|
|
91
|
+
//# sourceMappingURL=snatentry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snatentry.js","sourceRoot":"","sources":["../../natgateway/snatentry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;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