@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/cr/repository.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
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.Repository = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* OCI 制品仓库用于存储容器镜像或 Helm Chart 等,符合开源容器标准的 OCI(Open Container Initiative) 制品。
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
16
|
+
*
|
|
17
|
+
* const repositoryDemo = new bytepluscc.cr.Repository("RepositoryDemo", {
|
|
18
|
+
* registry: "test",
|
|
19
|
+
* namespace: "default",
|
|
20
|
+
* name: "RepositoryDemo",
|
|
21
|
+
* description: "RepositoryDemo description",
|
|
22
|
+
* accessLevel: "Public",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import bytepluscc:cr/repository:Repository example "registry|namespace|name"
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class Repository extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Repository resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new Repository(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of Repository. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === Repository.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["accessLevel"] = state ? state.accessLevel : undefined;
|
|
61
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
62
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
63
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
64
|
+
resourceInputs["namespace"] = state ? state.namespace : undefined;
|
|
65
|
+
resourceInputs["registry"] = state ? state.registry : undefined;
|
|
66
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'name'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.namespace === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'namespace'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.registry === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'registry'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["accessLevel"] = args ? args.accessLevel : undefined;
|
|
80
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
81
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
82
|
+
resourceInputs["namespace"] = args ? args.namespace : undefined;
|
|
83
|
+
resourceInputs["registry"] = args ? args.registry : undefined;
|
|
84
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(Repository.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.Repository = Repository;
|
|
92
|
+
/** @internal */
|
|
93
|
+
Repository.__pulumiType = 'bytepluscc:cr/repository:Repository';
|
|
94
|
+
//# sourceMappingURL=repository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../cr/repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAlGL,gCAmGC;AArFG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::ECS::Image
|
|
5
|
+
*/
|
|
6
|
+
export declare function getImage(args: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getImage.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetImageArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getImage.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetImageResult {
|
|
20
|
+
/**
|
|
21
|
+
* 镜像的架构类型。可以选择amd64(x86计算)、arm64(ARM计算)类型。
|
|
22
|
+
*/
|
|
23
|
+
readonly architecture: string;
|
|
24
|
+
/**
|
|
25
|
+
* 镜像的启动模式。可以选择BIOS、UEFI类型。
|
|
26
|
+
*/
|
|
27
|
+
readonly bootMode: string;
|
|
28
|
+
/**
|
|
29
|
+
* 镜像创建时间
|
|
30
|
+
*/
|
|
31
|
+
readonly createdAt: string;
|
|
32
|
+
/**
|
|
33
|
+
* 镜像描述。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、英文句号“.”、中文逗号“,”、中文句号“。”和空格。长度限制为0~255个字符。不填默认为空。
|
|
34
|
+
*/
|
|
35
|
+
readonly description: string;
|
|
36
|
+
/**
|
|
37
|
+
* 镜像的检测结果。
|
|
38
|
+
*/
|
|
39
|
+
readonly detectionResults: outputs.ecs.GetImageDetectionResults;
|
|
40
|
+
/**
|
|
41
|
+
* Uniquely identifies the resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* 镜像ID。
|
|
46
|
+
*/
|
|
47
|
+
readonly imageId: string;
|
|
48
|
+
/**
|
|
49
|
+
* 镜像名称。必须以字母、汉字开头。只能包含中文、字母、数字、下划线“_”、中划线“-”、英文句号“.”。长度限制为1 ~ 128个字符。
|
|
50
|
+
*/
|
|
51
|
+
readonly imageName: string;
|
|
52
|
+
/**
|
|
53
|
+
* 镜像所属的账号ID。
|
|
54
|
+
*/
|
|
55
|
+
readonly imageOwnerId: string;
|
|
56
|
+
/**
|
|
57
|
+
* 实例ID。本参数与SnapshotId、SnapshotGroupId参数,三选一必填。
|
|
58
|
+
*/
|
|
59
|
+
readonly instanceId: string;
|
|
60
|
+
/**
|
|
61
|
+
* 镜像中是否安装了云助手Agent。
|
|
62
|
+
*/
|
|
63
|
+
readonly isInstallRunCommandAgent: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* 公共镜像是否长期维护。
|
|
66
|
+
*/
|
|
67
|
+
readonly isLts: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* 镜像是否支持Cloud-init。
|
|
70
|
+
*/
|
|
71
|
+
readonly isSupportCloudInit: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* 镜像的内核版本。
|
|
74
|
+
*/
|
|
75
|
+
readonly kernel: string;
|
|
76
|
+
/**
|
|
77
|
+
* 镜像许可证类型。VolcanoEngine:默认,根据您设置的platform,采用火山引擎官方渠道的许可证。BYOL:自带许可证(BYOL)。
|
|
78
|
+
*/
|
|
79
|
+
readonly licenseType: string;
|
|
80
|
+
/**
|
|
81
|
+
* 镜像操作系统的名称。
|
|
82
|
+
*/
|
|
83
|
+
readonly osName: string;
|
|
84
|
+
/**
|
|
85
|
+
* 操作系统类型。
|
|
86
|
+
*/
|
|
87
|
+
readonly osType: string;
|
|
88
|
+
/**
|
|
89
|
+
* 镜像操作系统的发行版本。可以选择CentOS、Debian、veLinux、Windows Server、Fedora、OpenSUSE、Ubuntu。
|
|
90
|
+
*/
|
|
91
|
+
readonly platform: string;
|
|
92
|
+
/**
|
|
93
|
+
* 镜像的发行版本。
|
|
94
|
+
*/
|
|
95
|
+
readonly platformVersion: string;
|
|
96
|
+
/**
|
|
97
|
+
* 资源所属项目。调用接口账号若仅拥有部分项目权限时必须传入有权限的项目信息。
|
|
98
|
+
*/
|
|
99
|
+
readonly projectName: string;
|
|
100
|
+
/**
|
|
101
|
+
* 镜像共享的账户
|
|
102
|
+
*/
|
|
103
|
+
readonly sharePermissions: string[];
|
|
104
|
+
/**
|
|
105
|
+
* 镜像共享状态。HasShared:自定义镜像已被共享给其他用户。当自定义镜像未被共享或使用公共镜像时,ShareStatus返回为空。
|
|
106
|
+
*/
|
|
107
|
+
readonly shareStatus: string;
|
|
108
|
+
/**
|
|
109
|
+
* 镜像大小,单位为GiB。
|
|
110
|
+
*/
|
|
111
|
+
readonly size: number;
|
|
112
|
+
/**
|
|
113
|
+
* 快照一致性组ID,表示使用快照一致性组创建自定义镜像。本参数与SnapshotId、InstanceId参数,三选一必填。
|
|
114
|
+
*/
|
|
115
|
+
readonly snapshotGroupId: string;
|
|
116
|
+
/**
|
|
117
|
+
* 系统盘快照ID,表示使用系统盘快照创建自定义镜像。本参数与InstanceId、SnapshotGroupId参数,三选一必填。
|
|
118
|
+
*/
|
|
119
|
+
readonly snapshotId: string;
|
|
120
|
+
/**
|
|
121
|
+
* 镜像关联快照的信息。
|
|
122
|
+
*/
|
|
123
|
+
readonly snapshots: outputs.ecs.GetImageSnapshot[];
|
|
124
|
+
/**
|
|
125
|
+
* 镜像的状态。
|
|
126
|
+
*/
|
|
127
|
+
readonly status: string;
|
|
128
|
+
/**
|
|
129
|
+
* 镜像绑定的标签列表。
|
|
130
|
+
*/
|
|
131
|
+
readonly tags: outputs.ecs.GetImageTag[];
|
|
132
|
+
/**
|
|
133
|
+
* 镜像更新时间
|
|
134
|
+
*/
|
|
135
|
+
readonly updatedAt: string;
|
|
136
|
+
/**
|
|
137
|
+
* 镜像大小,单位为Byte。
|
|
138
|
+
*/
|
|
139
|
+
readonly virtualSize: number;
|
|
140
|
+
/**
|
|
141
|
+
* 镜像的可见性。public:公共镜像。private:私有镜像。shared:共享镜像。
|
|
142
|
+
*/
|
|
143
|
+
readonly visibility: string;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Data Source schema for Byteplus::ECS::Image
|
|
147
|
+
*/
|
|
148
|
+
export declare function getImageOutput(args: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageResult>;
|
|
149
|
+
/**
|
|
150
|
+
* A collection of arguments for invoking getImage.
|
|
151
|
+
*/
|
|
152
|
+
export interface GetImageOutputArgs {
|
|
153
|
+
/**
|
|
154
|
+
* Uniquely identifies the resource.
|
|
155
|
+
*/
|
|
156
|
+
id: pulumi.Input<string>;
|
|
157
|
+
}
|
package/ecs/getImage.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.getImageOutput = exports.getImage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::ECS::Image
|
|
10
|
+
*/
|
|
11
|
+
function getImage(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:ecs/getImage:getImage", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getImage = getImage;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::ECS::Image
|
|
20
|
+
*/
|
|
21
|
+
function getImageOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ecs/getImage:getImage", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getImageOutput = getImageOutput;
|
|
28
|
+
//# sourceMappingURL=getImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getImage.js","sourceRoot":"","sources":["../../ecs/getImage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AA6ID;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::ECS::Image
|
|
4
|
+
*/
|
|
5
|
+
export declare function getImages(opts?: pulumi.InvokeOptions): Promise<GetImagesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getImages.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetImagesResult {
|
|
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::ECS::Image
|
|
21
|
+
*/
|
|
22
|
+
export declare function getImagesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImagesResult>;
|
package/ecs/getImages.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.getImagesOutput = exports.getImages = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::ECS::Image
|
|
10
|
+
*/
|
|
11
|
+
function getImages(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:ecs/getImages:getImages", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getImages = getImages;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::ECS::Image
|
|
18
|
+
*/
|
|
19
|
+
function getImagesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ecs/getImages:getImages", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getImagesOutput = getImagesOutput;
|
|
24
|
+
//# sourceMappingURL=getImages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getImages.js","sourceRoot":"","sources":["../../ecs/getImages.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,oCAAoC,EAAE,EAClE,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,oCAAoC,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::ECS::Instance
|
|
5
|
+
*/
|
|
6
|
+
export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getInstance.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetInstanceArgs {
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A collection of values returned by getInstance.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetInstanceResult {
|
|
17
|
+
readonly affinityGroupSize: number;
|
|
18
|
+
readonly autoRenew: boolean;
|
|
19
|
+
readonly autoRenewPeriod: number;
|
|
20
|
+
readonly cpuMaxFrequency: number;
|
|
21
|
+
readonly cpuMemory: outputs.ecs.GetInstanceCpuMemory;
|
|
22
|
+
readonly createdAt: string;
|
|
23
|
+
readonly creditSpecification: string;
|
|
24
|
+
readonly deletionProtection: boolean;
|
|
25
|
+
readonly deploymentSetGroupNumber: number;
|
|
26
|
+
readonly deploymentSetId: string;
|
|
27
|
+
readonly description: string;
|
|
28
|
+
readonly eipAddress: outputs.ecs.GetInstanceEipAddress;
|
|
29
|
+
readonly expiredAt: string;
|
|
30
|
+
readonly hostname: string;
|
|
31
|
+
readonly hpcClusterId: string;
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly image: outputs.ecs.GetInstanceImage;
|
|
34
|
+
readonly instanceChargeType: string;
|
|
35
|
+
readonly instanceId: string;
|
|
36
|
+
readonly instanceName: string;
|
|
37
|
+
readonly instanceType: string;
|
|
38
|
+
readonly keyPair: outputs.ecs.GetInstanceKeyPair;
|
|
39
|
+
readonly operationSystem: outputs.ecs.GetInstanceOperationSystem;
|
|
40
|
+
readonly password: string;
|
|
41
|
+
readonly period: number;
|
|
42
|
+
readonly periodUnit: string;
|
|
43
|
+
readonly placement: outputs.ecs.GetInstancePlacement;
|
|
44
|
+
readonly primaryNetworkInterface: outputs.ecs.GetInstancePrimaryNetworkInterface;
|
|
45
|
+
readonly projectName: string;
|
|
46
|
+
readonly secondaryNetworkInterfaces: outputs.ecs.GetInstanceSecondaryNetworkInterface[];
|
|
47
|
+
readonly spotPriceLimit: number;
|
|
48
|
+
readonly spotStrategy: string;
|
|
49
|
+
readonly status: string;
|
|
50
|
+
readonly systemVolume: outputs.ecs.GetInstanceSystemVolume;
|
|
51
|
+
readonly tags: outputs.ecs.GetInstanceTag[];
|
|
52
|
+
readonly updatedAt: string;
|
|
53
|
+
readonly userData: string;
|
|
54
|
+
readonly vpcId: string;
|
|
55
|
+
readonly zoneId: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Data Source schema for Byteplus::ECS::Instance
|
|
59
|
+
*/
|
|
60
|
+
export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult>;
|
|
61
|
+
/**
|
|
62
|
+
* A collection of arguments for invoking getInstance.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetInstanceOutputArgs {
|
|
65
|
+
id: pulumi.Input<string>;
|
|
66
|
+
}
|
|
@@ -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.getInstanceOutput = exports.getInstance = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::ECS::Instance
|
|
10
|
+
*/
|
|
11
|
+
function getInstance(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:ecs/getInstance:getInstance", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getInstance = getInstance;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::ECS::Instance
|
|
20
|
+
*/
|
|
21
|
+
function getInstanceOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ecs/getInstance:getInstance", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getInstanceOutput = getInstanceOutput;
|
|
28
|
+
//# sourceMappingURL=getInstance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../ecs/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAqDD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::ECS::Instance
|
|
4
|
+
*/
|
|
5
|
+
export declare function getInstances(opts?: pulumi.InvokeOptions): Promise<GetInstancesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getInstances.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetInstancesResult {
|
|
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::ECS::Instance
|
|
21
|
+
*/
|
|
22
|
+
export declare function getInstancesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstancesResult>;
|
|
@@ -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.getInstancesOutput = exports.getInstances = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::ECS::Instance
|
|
10
|
+
*/
|
|
11
|
+
function getInstances(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:ecs/getInstances:getInstances", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getInstances = getInstances;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::ECS::Instance
|
|
18
|
+
*/
|
|
19
|
+
function getInstancesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ecs/getInstances:getInstances", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getInstancesOutput = getInstancesOutput;
|
|
24
|
+
//# sourceMappingURL=getInstances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInstances.js","sourceRoot":"","sources":["../../ecs/getInstances.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC;AAeD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAAiC;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC"}
|