@byteplus/pulumi-bytepluscc 0.0.1
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/LICENSE +373 -0
- package/README.md +77 -0
- package/alb/getListener.d.ts +157 -0
- package/alb/getListener.js +28 -0
- package/alb/getListener.js.map +1 -0
- package/alb/getListeners.d.ts +22 -0
- package/alb/getListeners.js +24 -0
- package/alb/getListeners.js.map +1 -0
- package/alb/index.d.ts +9 -0
- package/alb/index.js +28 -0
- package/alb/index.js.map +1 -0
- package/alb/listener.d.ts +360 -0
- package/alb/listener.js +128 -0
- package/alb/listener.js.map +1 -0
- package/autoscaling/getScalingConfiguration.d.ts +140 -0
- package/autoscaling/getScalingConfiguration.js +28 -0
- package/autoscaling/getScalingConfiguration.js.map +1 -0
- package/autoscaling/getScalingConfigurations.d.ts +22 -0
- package/autoscaling/getScalingConfigurations.js +24 -0
- package/autoscaling/getScalingConfigurations.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.js +28 -0
- package/autoscaling/index.js.map +1 -0
- package/autoscaling/scalingConfiguration.d.ts +318 -0
- package/autoscaling/scalingConfiguration.js +108 -0
- package/autoscaling/scalingConfiguration.js.map +1 -0
- package/clb/getListener.d.ts +213 -0
- package/clb/getListener.js +28 -0
- package/clb/getListener.js.map +1 -0
- package/clb/getListeners.d.ts +22 -0
- package/clb/getListeners.js +24 -0
- package/clb/getListeners.js.map +1 -0
- package/clb/index.d.ts +9 -0
- package/clb/index.js +28 -0
- package/clb/index.js.map +1 -0
- package/clb/listener.d.ts +546 -0
- package/clb/listener.js +156 -0
- package/clb/listener.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +37 -0
- package/config/vars.js +62 -0
- package/config/vars.js.map +1 -0
- package/cr/getRepositories.d.ts +22 -0
- package/cr/getRepositories.js +24 -0
- package/cr/getRepositories.js.map +1 -0
- package/cr/getRepository.d.ts +64 -0
- package/cr/getRepository.js +28 -0
- package/cr/getRepository.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.js +28 -0
- package/cr/index.js.map +1 -0
- package/cr/repository.d.ts +136 -0
- package/cr/repository.js +94 -0
- package/cr/repository.js.map +1 -0
- package/ecs/getImage.d.ts +157 -0
- package/ecs/getImage.js +28 -0
- package/ecs/getImage.js.map +1 -0
- package/ecs/getImages.d.ts +22 -0
- package/ecs/getImages.js +24 -0
- package/ecs/getImages.js.map +1 -0
- package/ecs/getInstance.d.ts +66 -0
- package/ecs/getInstance.js +28 -0
- package/ecs/getInstance.js.map +1 -0
- package/ecs/getInstances.d.ts +22 -0
- package/ecs/getInstances.js +24 -0
- package/ecs/getInstances.js.map +1 -0
- package/ecs/image.d.ts +332 -0
- package/ecs/image.js +119 -0
- package/ecs/image.js.map +1 -0
- package/ecs/index.d.ts +18 -0
- package/ecs/index.js +39 -0
- package/ecs/index.js.map +1 -0
- package/ecs/instance.d.ts +582 -0
- package/ecs/instance.js +150 -0
- package/ecs/instance.js.map +1 -0
- package/index.d.ts +11 -0
- package/index.js +53 -0
- package/index.js.map +1 -0
- package/package.json +29 -0
- package/provider.d.ts +102 -0
- package/provider.js +61 -0
- package/provider.js.map +1 -0
- package/storageebs/getVolume.d.ts +157 -0
- package/storageebs/getVolume.js +28 -0
- package/storageebs/getVolume.js.map +1 -0
- package/storageebs/getVolumes.d.ts +22 -0
- package/storageebs/getVolumes.js +24 -0
- package/storageebs/getVolumes.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +28 -0
- package/storageebs/index.js.map +1 -0
- package/storageebs/volume.d.ts +348 -0
- package/storageebs/volume.js +142 -0
- package/storageebs/volume.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +548 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +1078 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
- package/vpc/getVpc.d.ts +129 -0
- package/vpc/getVpc.js +28 -0
- package/vpc/getVpc.js.map +1 -0
- package/vpc/getVpcs.d.ts +22 -0
- package/vpc/getVpcs.js +24 -0
- package/vpc/getVpcs.js.map +1 -0
- package/vpc/index.d.ts +9 -0
- package/vpc/index.js +28 -0
- package/vpc/index.js.map +1 -0
- package/vpc/vpc.d.ts +277 -0
- package/vpc/vpc.js +102 -0
- package/vpc/vpc.js.map +1 -0
package/types/output.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
|
package/utilities.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getEnv(...vars: string[]): string | undefined;
|
|
3
|
+
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
4
|
+
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
5
|
+
export declare function getVersion(): string;
|
|
6
|
+
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
+
property?: string;
|
|
8
|
+
}): Promise<T>;
|
package/utilities.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
|
+
const runtime = require("@pulumi/pulumi/runtime");
|
|
16
|
+
function getEnv(...vars) {
|
|
17
|
+
for (const v of vars) {
|
|
18
|
+
const value = process.env[v];
|
|
19
|
+
if (value) {
|
|
20
|
+
return value;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
exports.getEnv = getEnv;
|
|
26
|
+
function getEnvBoolean(...vars) {
|
|
27
|
+
const s = getEnv(...vars);
|
|
28
|
+
if (s !== undefined) {
|
|
29
|
+
// NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
|
30
|
+
// Terraform uses internally when parsing boolean values.
|
|
31
|
+
if (["1", "t", "T", "true", "TRUE", "True"].find(v => v === s) !== undefined) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
if (["0", "f", "F", "false", "FALSE", "False"].find(v => v === s) !== undefined) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
exports.getEnvBoolean = getEnvBoolean;
|
|
41
|
+
function getEnvNumber(...vars) {
|
|
42
|
+
const s = getEnv(...vars);
|
|
43
|
+
if (s !== undefined) {
|
|
44
|
+
const f = parseFloat(s);
|
|
45
|
+
if (!isNaN(f)) {
|
|
46
|
+
return f;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
exports.getEnvNumber = getEnvNumber;
|
|
52
|
+
function getVersion() {
|
|
53
|
+
let version = require('./package.json').version;
|
|
54
|
+
// Node allows for the version to be prefixed by a "v", while semver doesn't.
|
|
55
|
+
// If there is a v, strip it off.
|
|
56
|
+
if (version.indexOf('v') === 0) {
|
|
57
|
+
version = version.slice(1);
|
|
58
|
+
}
|
|
59
|
+
return version;
|
|
60
|
+
}
|
|
61
|
+
exports.getVersion = getVersion;
|
|
62
|
+
/** @internal */
|
|
63
|
+
function resourceOptsDefaults() {
|
|
64
|
+
return { version: getVersion(), pluginDownloadURL: "github://api.github.com/byteplus-sdk" };
|
|
65
|
+
}
|
|
66
|
+
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
67
|
+
/** @internal */
|
|
68
|
+
function lazyLoad(exports, props, loadModule) {
|
|
69
|
+
for (let property of props) {
|
|
70
|
+
Object.defineProperty(exports, property, {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () {
|
|
73
|
+
return loadModule()[property];
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.lazyLoad = lazyLoad;
|
|
79
|
+
function callAsync(tok, props, res, opts) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const o = runtime.call(tok, props, res);
|
|
82
|
+
const value = yield o.promise(true /*withUnknowns*/);
|
|
83
|
+
const isKnown = yield o.isKnown;
|
|
84
|
+
const isSecret = yield o.isSecret;
|
|
85
|
+
const problem = !isKnown ? "an unknown value"
|
|
86
|
+
: isSecret ? "a secret value"
|
|
87
|
+
: undefined;
|
|
88
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
89
|
+
if (problem) {
|
|
90
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
91
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
92
|
+
}
|
|
93
|
+
// Extract a single property if requested.
|
|
94
|
+
if (opts && opts.property) {
|
|
95
|
+
return value[opts.property];
|
|
96
|
+
}
|
|
97
|
+
return value;
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
exports.callAsync = callAsync;
|
|
101
|
+
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":"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"}
|
package/vpc/getVpc.d.ts
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::VPC::VPC
|
|
5
|
+
*/
|
|
6
|
+
export declare function getVpc(args: GetVpcArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getVpc.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetVpcArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getVpc.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetVpcResult {
|
|
20
|
+
/**
|
|
21
|
+
* VPC所属账号的ID。
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
* VPC关联的CEN信息。
|
|
26
|
+
*/
|
|
27
|
+
readonly associateCens: outputs.vpc.GetVpcAssociateCen[];
|
|
28
|
+
/**
|
|
29
|
+
* VPC的IPv4网段。您可以使用以下网段或其子集作为VPC的IPv4网段:192.168.0.0/16 ~ 24、10.0.0.0/8 ~ 24、172.16.0.0/12 ~ 24。
|
|
30
|
+
*/
|
|
31
|
+
readonly cidrBlock: string;
|
|
32
|
+
/**
|
|
33
|
+
* 创建VPC的时间。
|
|
34
|
+
*/
|
|
35
|
+
readonly creationTime: string;
|
|
36
|
+
/**
|
|
37
|
+
* VPC的描述信息。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。不能以http://或https://开头。
|
|
38
|
+
*/
|
|
39
|
+
readonly description: string;
|
|
40
|
+
/**
|
|
41
|
+
* VPC的DNS服务器地址。单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。多个IP之间用&分隔。不填则配置为默认DNS服务器地址。
|
|
42
|
+
*/
|
|
43
|
+
readonly dnsServers: string[];
|
|
44
|
+
/**
|
|
45
|
+
* Uniquely identifies the resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* VPC 绑定的 IPv4 网关的 ID。
|
|
50
|
+
*/
|
|
51
|
+
readonly ipv4GatewayId: string;
|
|
52
|
+
/**
|
|
53
|
+
* VPC的IPv6网段。传入此参数后,参数Ipv6MaskLen不生效。参数Ipv6Isp传入非BGP后,参数Ipv6MaskLen和参数Ipv6CidrBlock二者必须传入一个。参数Ipv6Isp未传或传入BGP,此参数未传,则由系统自动分配IPv6网段。
|
|
54
|
+
*/
|
|
55
|
+
readonly ipv6CidrBlock: string;
|
|
56
|
+
/**
|
|
57
|
+
* 该VPC是否为默认VPC。true:默认VPC,表示该VPC是创建ECS实例时系统自动创建的VPC。false:非默认VPC,表示该VPC是用户手动创建的。
|
|
58
|
+
*/
|
|
59
|
+
readonly isDefault: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* VPC中创建的NAT网关的ID。
|
|
62
|
+
*/
|
|
63
|
+
readonly natGatewayIds: string[];
|
|
64
|
+
/**
|
|
65
|
+
* VPC中的网络ACL的数量。
|
|
66
|
+
*/
|
|
67
|
+
readonly networkAclNum: string;
|
|
68
|
+
/**
|
|
69
|
+
* VPC所属项目的名称。不填默认加入default项目。
|
|
70
|
+
*/
|
|
71
|
+
readonly projectName: string;
|
|
72
|
+
/**
|
|
73
|
+
* VPC关联的路由表ID。
|
|
74
|
+
*/
|
|
75
|
+
readonly routeTableIds: string[];
|
|
76
|
+
/**
|
|
77
|
+
* VPC的辅助网段。
|
|
78
|
+
*/
|
|
79
|
+
readonly secondaryCidrBlocks: string[];
|
|
80
|
+
/**
|
|
81
|
+
* VPC中安全组的列表。
|
|
82
|
+
*/
|
|
83
|
+
readonly securityGroupIds: string[];
|
|
84
|
+
/**
|
|
85
|
+
* VPC的状态。Creating:创建中。Pending:已创建。Available:可用。
|
|
86
|
+
*/
|
|
87
|
+
readonly status: string;
|
|
88
|
+
/**
|
|
89
|
+
* VPC中子网的列表。
|
|
90
|
+
*/
|
|
91
|
+
readonly subnetIds: string[];
|
|
92
|
+
/**
|
|
93
|
+
* VPC 是否启用 IPv4 网关。false(默认值):不启用。true:启用。
|
|
94
|
+
*/
|
|
95
|
+
readonly supportIpv4Gateway: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* 私有网络绑定的标签。
|
|
98
|
+
*/
|
|
99
|
+
readonly tags: outputs.vpc.GetVpcTag[];
|
|
100
|
+
/**
|
|
101
|
+
* 更新VPC的时间。
|
|
102
|
+
*/
|
|
103
|
+
readonly updateTime: string;
|
|
104
|
+
/**
|
|
105
|
+
* VPC的用户网段。
|
|
106
|
+
*/
|
|
107
|
+
readonly userCidrBlocks: string[];
|
|
108
|
+
/**
|
|
109
|
+
* VPC的ID。
|
|
110
|
+
*/
|
|
111
|
+
readonly vpcId: string;
|
|
112
|
+
/**
|
|
113
|
+
* VPC的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短横线(-)。不填默认为VPC实例的ID。不能以http://或https://开头。
|
|
114
|
+
*/
|
|
115
|
+
readonly vpcName: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Data Source schema for Byteplus::VPC::VPC
|
|
119
|
+
*/
|
|
120
|
+
export declare function getVpcOutput(args: GetVpcOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcResult>;
|
|
121
|
+
/**
|
|
122
|
+
* A collection of arguments for invoking getVpc.
|
|
123
|
+
*/
|
|
124
|
+
export interface GetVpcOutputArgs {
|
|
125
|
+
/**
|
|
126
|
+
* Uniquely identifies the resource.
|
|
127
|
+
*/
|
|
128
|
+
id: pulumi.Input<string>;
|
|
129
|
+
}
|
package/vpc/getVpc.js
ADDED
|
@@ -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.getVpcOutput = exports.getVpc = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::VPC::VPC
|
|
10
|
+
*/
|
|
11
|
+
function getVpc(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:vpc/getVpc:getVpc", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getVpc = getVpc;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::VPC::VPC
|
|
20
|
+
*/
|
|
21
|
+
function getVpcOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:vpc/getVpc:getVpc", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getVpcOutput = getVpcOutput;
|
|
28
|
+
//# sourceMappingURL=getVpc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVpc.js","sourceRoot":"","sources":["../../vpc/getVpc.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AAiHD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
|
package/vpc/getVpcs.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::VPC::VPC
|
|
4
|
+
*/
|
|
5
|
+
export declare function getVpcs(opts?: pulumi.InvokeOptions): Promise<GetVpcsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getVpcs.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetVpcsResult {
|
|
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 Byteplus::VPC::VPC
|
|
21
|
+
*/
|
|
22
|
+
export declare function getVpcsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcsResult>;
|
package/vpc/getVpcs.js
ADDED
|
@@ -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.getVpcsOutput = exports.getVpcs = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::VPC::VPC
|
|
10
|
+
*/
|
|
11
|
+
function getVpcs(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:vpc/getVpcs:getVpcs", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getVpcs = getVpcs;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::VPC::VPC
|
|
18
|
+
*/
|
|
19
|
+
function getVpcsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:vpc/getVpcs:getVpcs", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getVpcsOutput = getVpcsOutput;
|
|
24
|
+
//# sourceMappingURL=getVpcs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVpcs.js","sourceRoot":"","sources":["../../vpc/getVpcs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE,EAC9D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAeD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
|
package/vpc/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { GetVpcArgs, GetVpcResult, GetVpcOutputArgs } from "./getVpc";
|
|
2
|
+
export declare const getVpc: typeof import("./getVpc").getVpc;
|
|
3
|
+
export declare const getVpcOutput: typeof import("./getVpc").getVpcOutput;
|
|
4
|
+
export { GetVpcsResult } from "./getVpcs";
|
|
5
|
+
export declare const getVpcs: typeof import("./getVpcs").getVpcs;
|
|
6
|
+
export declare const getVpcsOutput: typeof import("./getVpcs").getVpcsOutput;
|
|
7
|
+
export { VpcArgs, VpcState } from "./vpc";
|
|
8
|
+
export type Vpc = import("./vpc").Vpc;
|
|
9
|
+
export declare const Vpc: typeof import("./vpc").Vpc;
|
package/vpc/index.js
ADDED
|
@@ -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.Vpc = exports.getVpcsOutput = exports.getVpcs = exports.getVpcOutput = exports.getVpc = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getVpc = null;
|
|
9
|
+
exports.getVpcOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getVpc", "getVpcOutput"], () => require("./getVpc"));
|
|
11
|
+
exports.getVpcs = null;
|
|
12
|
+
exports.getVpcsOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getVpcs", "getVpcsOutput"], () => require("./getVpcs"));
|
|
14
|
+
exports.Vpc = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["Vpc"], () => require("./vpc"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "bytepluscc:vpc/vpc:Vpc":
|
|
21
|
+
return new exports.Vpc(name, undefined, { urn });
|
|
22
|
+
default:
|
|
23
|
+
throw new Error(`unknown resource type ${type}`);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "vpc/vpc", _module);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
package/vpc/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../vpc/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACvD,QAAA,YAAY,GAA2C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGrE,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxE,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAG7D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,wBAAwB;gBACzB,OAAO,IAAI,WAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA"}
|
package/vpc/vpc.d.ts
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 私有网络为云上资源构建隔离的、自主配置的虚拟网络环境。可以在私有网络中自定义IP地址段、安全组、路由策略等网络特性,简单高效安全地管理云上资源。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import bytepluscc:vpc/vpc:Vpc example "vpc_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Vpc extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Vpc resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcState, opts?: pulumi.CustomResourceOptions): Vpc;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Vpc. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Vpc;
|
|
29
|
+
/**
|
|
30
|
+
* VPC所属账号的ID。
|
|
31
|
+
*/
|
|
32
|
+
readonly accountId: pulumi.Output<string>;
|
|
33
|
+
readonly associateCens: pulumi.Output<outputs.vpc.VpcAssociateCen[]>;
|
|
34
|
+
/**
|
|
35
|
+
* VPC的IPv4网段。您可以使用以下网段或其子集作为VPC的IPv4网段:192.168.0.0/16 ~ 24、10.0.0.0/8 ~ 24、172.16.0.0/12 ~ 24。
|
|
36
|
+
*/
|
|
37
|
+
readonly cidrBlock: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* 创建VPC的时间。
|
|
40
|
+
*/
|
|
41
|
+
readonly creationTime: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* VPC的描述信息。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。不能以http://或https://开头。
|
|
44
|
+
*/
|
|
45
|
+
readonly description: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* VPC的DNS服务器地址。单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。多个IP之间用&分隔。不填则配置为默认DNS服务器地址。
|
|
48
|
+
*/
|
|
49
|
+
readonly dnsServers: pulumi.Output<string[]>;
|
|
50
|
+
/**
|
|
51
|
+
* VPC 绑定的 IPv4 网关的 ID。
|
|
52
|
+
*/
|
|
53
|
+
readonly ipv4GatewayId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* VPC的IPv6网段。传入此参数后,参数Ipv6MaskLen不生效。参数Ipv6Isp传入非BGP后,参数Ipv6MaskLen和参数Ipv6CidrBlock二者必须传入一个。参数Ipv6Isp未传或传入BGP,此参数未传,则由系统自动分配IPv6网段。
|
|
56
|
+
*/
|
|
57
|
+
readonly ipv6CidrBlock: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* 该VPC是否为默认VPC。true:默认VPC,表示该VPC是创建ECS实例时系统自动创建的VPC。false:非默认VPC,表示该VPC是用户手动创建的。
|
|
60
|
+
*/
|
|
61
|
+
readonly isDefault: pulumi.Output<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* VPC中创建的NAT网关的ID。
|
|
64
|
+
*/
|
|
65
|
+
readonly natGatewayIds: pulumi.Output<string[]>;
|
|
66
|
+
/**
|
|
67
|
+
* VPC中的网络ACL的数量。
|
|
68
|
+
*/
|
|
69
|
+
readonly networkAclNum: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* VPC所属项目的名称。不填默认加入default项目。
|
|
72
|
+
*/
|
|
73
|
+
readonly projectName: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* VPC关联的路由表ID。
|
|
76
|
+
*/
|
|
77
|
+
readonly routeTableIds: pulumi.Output<string[]>;
|
|
78
|
+
/**
|
|
79
|
+
* VPC的辅助网段。
|
|
80
|
+
*/
|
|
81
|
+
readonly secondaryCidrBlocks: pulumi.Output<string[]>;
|
|
82
|
+
/**
|
|
83
|
+
* VPC中安全组的列表。
|
|
84
|
+
*/
|
|
85
|
+
readonly securityGroupIds: pulumi.Output<string[]>;
|
|
86
|
+
/**
|
|
87
|
+
* VPC的状态。Creating:创建中。Pending:已创建。Available:可用。
|
|
88
|
+
*/
|
|
89
|
+
readonly status: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* VPC中子网的列表。
|
|
92
|
+
*/
|
|
93
|
+
readonly subnetIds: pulumi.Output<string[]>;
|
|
94
|
+
/**
|
|
95
|
+
* VPC 是否启用 IPv4 网关。false(默认值):不启用。true:启用。
|
|
96
|
+
*/
|
|
97
|
+
readonly supportIpv4Gateway: pulumi.Output<boolean>;
|
|
98
|
+
readonly tags: pulumi.Output<outputs.vpc.VpcTag[]>;
|
|
99
|
+
/**
|
|
100
|
+
* 更新VPC的时间。
|
|
101
|
+
*/
|
|
102
|
+
readonly updateTime: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* VPC的用户网段。
|
|
105
|
+
*/
|
|
106
|
+
readonly userCidrBlocks: pulumi.Output<string[]>;
|
|
107
|
+
/**
|
|
108
|
+
* VPC的ID。
|
|
109
|
+
*/
|
|
110
|
+
readonly vpcId: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* VPC的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短横线(-)。不填默认为VPC实例的ID。不能以http://或https://开头。
|
|
113
|
+
*/
|
|
114
|
+
readonly vpcName: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Create a Vpc resource with the given unique name, arguments, and options.
|
|
117
|
+
*
|
|
118
|
+
* @param name The _unique_ name of the resource.
|
|
119
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
120
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
121
|
+
*/
|
|
122
|
+
constructor(name: string, args?: VpcArgs, opts?: pulumi.CustomResourceOptions);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Input properties used for looking up and filtering Vpc resources.
|
|
126
|
+
*/
|
|
127
|
+
export interface VpcState {
|
|
128
|
+
/**
|
|
129
|
+
* VPC所属账号的ID。
|
|
130
|
+
*/
|
|
131
|
+
accountId?: pulumi.Input<string>;
|
|
132
|
+
associateCens?: pulumi.Input<pulumi.Input<inputs.vpc.VpcAssociateCen>[]>;
|
|
133
|
+
/**
|
|
134
|
+
* VPC的IPv4网段。您可以使用以下网段或其子集作为VPC的IPv4网段:192.168.0.0/16 ~ 24、10.0.0.0/8 ~ 24、172.16.0.0/12 ~ 24。
|
|
135
|
+
*/
|
|
136
|
+
cidrBlock?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* 创建VPC的时间。
|
|
139
|
+
*/
|
|
140
|
+
creationTime?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* VPC的描述信息。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。不能以http://或https://开头。
|
|
143
|
+
*/
|
|
144
|
+
description?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* VPC的DNS服务器地址。单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。多个IP之间用&分隔。不填则配置为默认DNS服务器地址。
|
|
147
|
+
*/
|
|
148
|
+
dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
149
|
+
/**
|
|
150
|
+
* VPC 绑定的 IPv4 网关的 ID。
|
|
151
|
+
*/
|
|
152
|
+
ipv4GatewayId?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* VPC的IPv6网段。传入此参数后,参数Ipv6MaskLen不生效。参数Ipv6Isp传入非BGP后,参数Ipv6MaskLen和参数Ipv6CidrBlock二者必须传入一个。参数Ipv6Isp未传或传入BGP,此参数未传,则由系统自动分配IPv6网段。
|
|
155
|
+
*/
|
|
156
|
+
ipv6CidrBlock?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* 该VPC是否为默认VPC。true:默认VPC,表示该VPC是创建ECS实例时系统自动创建的VPC。false:非默认VPC,表示该VPC是用户手动创建的。
|
|
159
|
+
*/
|
|
160
|
+
isDefault?: pulumi.Input<boolean>;
|
|
161
|
+
/**
|
|
162
|
+
* VPC中创建的NAT网关的ID。
|
|
163
|
+
*/
|
|
164
|
+
natGatewayIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* VPC中的网络ACL的数量。
|
|
167
|
+
*/
|
|
168
|
+
networkAclNum?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* VPC所属项目的名称。不填默认加入default项目。
|
|
171
|
+
*/
|
|
172
|
+
projectName?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* VPC关联的路由表ID。
|
|
175
|
+
*/
|
|
176
|
+
routeTableIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
177
|
+
/**
|
|
178
|
+
* VPC的辅助网段。
|
|
179
|
+
*/
|
|
180
|
+
secondaryCidrBlocks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
181
|
+
/**
|
|
182
|
+
* VPC中安全组的列表。
|
|
183
|
+
*/
|
|
184
|
+
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
185
|
+
/**
|
|
186
|
+
* VPC的状态。Creating:创建中。Pending:已创建。Available:可用。
|
|
187
|
+
*/
|
|
188
|
+
status?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* VPC中子网的列表。
|
|
191
|
+
*/
|
|
192
|
+
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
193
|
+
/**
|
|
194
|
+
* VPC 是否启用 IPv4 网关。false(默认值):不启用。true:启用。
|
|
195
|
+
*/
|
|
196
|
+
supportIpv4Gateway?: pulumi.Input<boolean>;
|
|
197
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpc.VpcTag>[]>;
|
|
198
|
+
/**
|
|
199
|
+
* 更新VPC的时间。
|
|
200
|
+
*/
|
|
201
|
+
updateTime?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* VPC的用户网段。
|
|
204
|
+
*/
|
|
205
|
+
userCidrBlocks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
206
|
+
/**
|
|
207
|
+
* VPC的ID。
|
|
208
|
+
*/
|
|
209
|
+
vpcId?: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* VPC的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短横线(-)。不填默认为VPC实例的ID。不能以http://或https://开头。
|
|
212
|
+
*/
|
|
213
|
+
vpcName?: pulumi.Input<string>;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* The set of arguments for constructing a Vpc resource.
|
|
217
|
+
*/
|
|
218
|
+
export interface VpcArgs {
|
|
219
|
+
associateCens?: pulumi.Input<pulumi.Input<inputs.vpc.VpcAssociateCen>[]>;
|
|
220
|
+
/**
|
|
221
|
+
* VPC的IPv4网段。您可以使用以下网段或其子集作为VPC的IPv4网段:192.168.0.0/16 ~ 24、10.0.0.0/8 ~ 24、172.16.0.0/12 ~ 24。
|
|
222
|
+
*/
|
|
223
|
+
cidrBlock?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* VPC的描述信息。长度限制为0~ 255个字符。不填默认为空字符串。需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。不能以http://或https://开头。
|
|
226
|
+
*/
|
|
227
|
+
description?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* VPC的DNS服务器地址。单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。多个IP之间用&分隔。不填则配置为默认DNS服务器地址。
|
|
230
|
+
*/
|
|
231
|
+
dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
232
|
+
/**
|
|
233
|
+
* VPC 绑定的 IPv4 网关的 ID。
|
|
234
|
+
*/
|
|
235
|
+
ipv4GatewayId?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* VPC的IPv6网段。传入此参数后,参数Ipv6MaskLen不生效。参数Ipv6Isp传入非BGP后,参数Ipv6MaskLen和参数Ipv6CidrBlock二者必须传入一个。参数Ipv6Isp未传或传入BGP,此参数未传,则由系统自动分配IPv6网段。
|
|
238
|
+
*/
|
|
239
|
+
ipv6CidrBlock?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* VPC中创建的NAT网关的ID。
|
|
242
|
+
*/
|
|
243
|
+
natGatewayIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
244
|
+
/**
|
|
245
|
+
* VPC所属项目的名称。不填默认加入default项目。
|
|
246
|
+
*/
|
|
247
|
+
projectName?: pulumi.Input<string>;
|
|
248
|
+
/**
|
|
249
|
+
* VPC关联的路由表ID。
|
|
250
|
+
*/
|
|
251
|
+
routeTableIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
252
|
+
/**
|
|
253
|
+
* VPC的辅助网段。
|
|
254
|
+
*/
|
|
255
|
+
secondaryCidrBlocks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
256
|
+
/**
|
|
257
|
+
* VPC中安全组的列表。
|
|
258
|
+
*/
|
|
259
|
+
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
260
|
+
/**
|
|
261
|
+
* VPC中子网的列表。
|
|
262
|
+
*/
|
|
263
|
+
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
264
|
+
/**
|
|
265
|
+
* VPC 是否启用 IPv4 网关。false(默认值):不启用。true:启用。
|
|
266
|
+
*/
|
|
267
|
+
supportIpv4Gateway?: pulumi.Input<boolean>;
|
|
268
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpc.VpcTag>[]>;
|
|
269
|
+
/**
|
|
270
|
+
* VPC的用户网段。
|
|
271
|
+
*/
|
|
272
|
+
userCidrBlocks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
273
|
+
/**
|
|
274
|
+
* VPC的名称。长度限制为1 ~ 128个字符。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短横线(-)。不填默认为VPC实例的ID。不能以http://或https://开头。
|
|
275
|
+
*/
|
|
276
|
+
vpcName?: pulumi.Input<string>;
|
|
277
|
+
}
|