@byteplus/pulumi-bytepluscc 0.0.50 → 0.0.51
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/cr/getRobotAccount.d.ts +82 -0
- package/cr/getRobotAccount.d.ts.map +1 -0
- package/cr/getRobotAccount.js +51 -0
- package/cr/getRobotAccount.js.map +1 -0
- package/cr/getRobotAccounts.d.ts +23 -0
- package/cr/getRobotAccounts.d.ts.map +1 -0
- package/cr/getRobotAccounts.js +47 -0
- package/cr/getRobotAccounts.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.d.ts.map +1 -1
- package/cr/index.js +12 -1
- package/cr/index.js.map +1 -1
- package/cr/robotAccount.d.ts +201 -0
- package/cr/robotAccount.d.ts.map +1 -0
- package/cr/robotAccount.js +143 -0
- package/cr/robotAccount.js.map +1 -0
- package/ecs/dedicatedHostCluster.d.ts +137 -0
- package/ecs/dedicatedHostCluster.d.ts.map +1 -0
- package/ecs/dedicatedHostCluster.js +114 -0
- package/ecs/dedicatedHostCluster.js.map +1 -0
- package/ecs/getDedicatedHostCluster.d.ts +70 -0
- package/ecs/getDedicatedHostCluster.d.ts.map +1 -0
- package/ecs/getDedicatedHostCluster.js +51 -0
- package/ecs/getDedicatedHostCluster.js.map +1 -0
- package/ecs/getDedicatedHostClusters.d.ts +23 -0
- package/ecs/getDedicatedHostClusters.d.ts.map +1 -0
- package/ecs/getDedicatedHostClusters.js +47 -0
- package/ecs/getDedicatedHostClusters.js.map +1 -0
- package/ecs/index.d.ts +9 -0
- package/ecs/index.d.ts.map +1 -1
- package/ecs/index.js +13 -1
- package/ecs/index.js.map +1 -1
- package/iam/apiKey.d.ts +139 -0
- package/iam/apiKey.d.ts.map +1 -0
- package/iam/apiKey.js +114 -0
- package/iam/apiKey.js.map +1 -0
- package/iam/getApiKey.d.ts +69 -0
- package/iam/getApiKey.d.ts.map +1 -0
- package/iam/getApiKey.js +51 -0
- package/iam/getApiKey.js.map +1 -0
- package/iam/getApiKeys.d.ts +23 -0
- package/iam/getApiKeys.d.ts.map +1 -0
- package/iam/getApiKeys.js +47 -0
- package/iam/getApiKeys.js.map +1 -0
- package/iam/index.d.ts +9 -0
- package/iam/index.d.ts.map +1 -1
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/package.json +1 -1
- package/rdsmysql/getInstance.d.ts +1 -1
- package/rdsmysql/instance.d.ts +3 -3
- package/redis/getKeyScanJob.d.ts +77 -0
- package/redis/getKeyScanJob.d.ts.map +1 -0
- package/redis/getKeyScanJob.js +51 -0
- package/redis/getKeyScanJob.js.map +1 -0
- package/redis/getKeyScanJobs.d.ts +23 -0
- package/redis/getKeyScanJobs.d.ts.map +1 -0
- package/redis/getKeyScanJobs.js +47 -0
- package/redis/getKeyScanJobs.js.map +1 -0
- package/redis/index.d.ts +9 -0
- package/redis/index.d.ts.map +1 -1
- package/redis/index.js +12 -1
- package/redis/index.js.map +1 -1
- package/redis/keyScanJob.d.ts +151 -0
- package/redis/keyScanJob.d.ts.map +1 -0
- package/redis/keyScanJob.js +121 -0
- package/redis/keyScanJob.js.map +1 -0
- package/types/input.d.ts +109 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +215 -0
- package/types/output.d.ts.map +1 -1
- package/vpc/getIpv4Gateway.d.ts +77 -0
- package/vpc/getIpv4Gateway.d.ts.map +1 -0
- package/vpc/getIpv4Gateway.js +51 -0
- package/vpc/getIpv4Gateway.js.map +1 -0
- package/vpc/getIpv4Gateways.d.ts +23 -0
- package/vpc/getIpv4Gateways.d.ts.map +1 -0
- package/vpc/getIpv4Gateways.js +47 -0
- package/vpc/getIpv4Gateways.js.map +1 -0
- package/vpc/index.d.ts +9 -0
- package/vpc/index.d.ts.map +1 -1
- package/vpc/index.js +14 -3
- package/vpc/index.js.map +1 -1
- package/vpc/ipv4Gateway.d.ts +155 -0
- package/vpc/ipv4Gateway.d.ts.map +1 -0
- package/vpc/ipv4Gateway.js +112 -0
- package/vpc/ipv4Gateway.js.map +1 -0
- package/waf/customPage.d.ts +272 -0
- package/waf/customPage.d.ts.map +1 -0
- package/waf/customPage.js +156 -0
- package/waf/customPage.js.map +1 -0
- package/waf/getCustomPage.d.ts +110 -0
- package/waf/getCustomPage.d.ts.map +1 -0
- package/waf/getCustomPage.js +51 -0
- package/waf/getCustomPage.js.map +1 -0
- package/waf/getCustomPages.d.ts +23 -0
- package/waf/getCustomPages.d.ts.map +1 -0
- package/waf/getCustomPages.js +47 -0
- package/waf/getCustomPages.js.map +1 -0
- package/waf/getIpGroup.d.ts +62 -0
- package/waf/getIpGroup.d.ts.map +1 -0
- package/waf/getIpGroup.js +51 -0
- package/waf/getIpGroup.js.map +1 -0
- package/waf/getIpGroups.d.ts +23 -0
- package/waf/getIpGroups.d.ts.map +1 -0
- package/waf/getIpGroups.js +47 -0
- package/waf/getIpGroups.js.map +1 -0
- package/waf/getSystemBot.d.ts +38 -0
- package/waf/getSystemBot.d.ts.map +1 -0
- package/waf/getSystemBot.js +51 -0
- package/waf/getSystemBot.js.map +1 -0
- package/waf/getSystemBots.d.ts +23 -0
- package/waf/getSystemBots.d.ts.map +1 -0
- package/waf/getSystemBots.js +47 -0
- package/waf/getSystemBots.js.map +1 -0
- package/waf/index.d.ts +27 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +34 -1
- package/waf/index.js.map +1 -1
- package/waf/ipGroup.d.ts +121 -0
- package/waf/ipGroup.d.ts.map +1 -0
- package/waf/ipGroup.js +112 -0
- package/waf/ipGroup.js.map +1 -0
- package/waf/systemBot.d.ts +172 -0
- package/waf/systemBot.d.ts.map +1 -0
- package/waf/systemBot.js +121 -0
- package/waf/systemBot.js.map +1 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.RobotAccount = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Container image repository robot account, used to access the image repository with a robot account in the format crrobot@****.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new bytepluscc.cr.RobotAccount("example", {
|
|
41
|
+
* registry: "cr_instance.id",
|
|
42
|
+
* username: "crrobot@ccapi-full",
|
|
43
|
+
* description: "ccapi robotaccount full",
|
|
44
|
+
* duration: 90,
|
|
45
|
+
* permissions: [
|
|
46
|
+
* {
|
|
47
|
+
* resource: "namespace-xx",
|
|
48
|
+
* actions: [
|
|
49
|
+
* "PullRepository",
|
|
50
|
+
* "PushRepository",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* {
|
|
54
|
+
* resource: "project-xxx",
|
|
55
|
+
* actions: [
|
|
56
|
+
* "CreateRepository",
|
|
57
|
+
* "PullRepository",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ## Import
|
|
65
|
+
*
|
|
66
|
+
* ```sh
|
|
67
|
+
* $ pulumi import bytepluscc:cr/robotAccount:RobotAccount example "registry|username"
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
class RobotAccount extends pulumi.CustomResource {
|
|
71
|
+
/**
|
|
72
|
+
* Get an existing RobotAccount resource's state with the given name, ID, and optional extra
|
|
73
|
+
* properties used to qualify the lookup.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resulting resource.
|
|
76
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
77
|
+
* @param state Any extra arguments used during the lookup.
|
|
78
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
|
+
*/
|
|
80
|
+
static get(name, id, state, opts) {
|
|
81
|
+
return new RobotAccount(name, state, { ...opts, id: id });
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
static __pulumiType = 'bytepluscc:cr/robotAccount:RobotAccount';
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of RobotAccount. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === RobotAccount.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
constructor(name, argsOrState, opts) {
|
|
96
|
+
let resourceInputs = {};
|
|
97
|
+
opts = opts || {};
|
|
98
|
+
if (opts.id) {
|
|
99
|
+
const state = argsOrState;
|
|
100
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
101
|
+
resourceInputs["description"] = state?.description;
|
|
102
|
+
resourceInputs["disabled"] = state?.disabled;
|
|
103
|
+
resourceInputs["duration"] = state?.duration;
|
|
104
|
+
resourceInputs["expiresAt"] = state?.expiresAt;
|
|
105
|
+
resourceInputs["password"] = state?.password;
|
|
106
|
+
resourceInputs["permissions"] = state?.permissions;
|
|
107
|
+
resourceInputs["random"] = state?.random;
|
|
108
|
+
resourceInputs["registry"] = state?.registry;
|
|
109
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
110
|
+
resourceInputs["username"] = state?.username;
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
const args = argsOrState;
|
|
114
|
+
if (args?.duration === undefined && !opts.urn) {
|
|
115
|
+
throw new Error("Missing required property 'duration'");
|
|
116
|
+
}
|
|
117
|
+
if (args?.permissions === undefined && !opts.urn) {
|
|
118
|
+
throw new Error("Missing required property 'permissions'");
|
|
119
|
+
}
|
|
120
|
+
if (args?.registry === undefined && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'registry'");
|
|
122
|
+
}
|
|
123
|
+
if (args?.username === undefined && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'username'");
|
|
125
|
+
}
|
|
126
|
+
resourceInputs["description"] = args?.description;
|
|
127
|
+
resourceInputs["disabled"] = args?.disabled;
|
|
128
|
+
resourceInputs["duration"] = args?.duration;
|
|
129
|
+
resourceInputs["password"] = args?.password;
|
|
130
|
+
resourceInputs["permissions"] = args?.permissions;
|
|
131
|
+
resourceInputs["random"] = args?.random;
|
|
132
|
+
resourceInputs["registry"] = args?.registry;
|
|
133
|
+
resourceInputs["username"] = args?.username;
|
|
134
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
135
|
+
resourceInputs["expiresAt"] = undefined /*out*/;
|
|
136
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
137
|
+
}
|
|
138
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
139
|
+
super(RobotAccount.__pulumiType, name, resourceInputs, opts);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.RobotAccount = RobotAccount;
|
|
143
|
+
//# sourceMappingURL=robotAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"robotAccount.js","sourceRoot":"","sources":["../../cr/robotAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yCAAyC,CAAC;IAEhF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAwDD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAA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
|
+
* The dedicated host cluster is a logical collection at the availability zone level. You can use dedicated host clusters to group and manage dedicated hosts, or create instances in a specified cluster.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new bytepluscc.ecs.DedicatedHostCluster("example", {
|
|
14
|
+
* dedicatedHostClusterName: "ccapi-ddhc-full",
|
|
15
|
+
* description: "ccapi dedicated host cluster full",
|
|
16
|
+
* zoneId: "cn-beijing-a",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import bytepluscc:ecs/dedicatedHostCluster:DedicatedHostCluster example "dedicated_host_cluster_id"
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class DedicatedHostCluster extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing DedicatedHostCluster resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DedicatedHostClusterState, opts?: pulumi.CustomResourceOptions): DedicatedHostCluster;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of DedicatedHostCluster. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is DedicatedHostCluster;
|
|
42
|
+
/**
|
|
43
|
+
* Creation time of the dedicated host cluster.
|
|
44
|
+
*/
|
|
45
|
+
readonly createdAt: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Capacity information of the dedicated host cluster, including available memory, available vCPU, supported instance types, and more.
|
|
48
|
+
*/
|
|
49
|
+
readonly dedicatedHostClusterCapacity: pulumi.Output<outputs.ecs.DedicatedHostClusterDedicatedHostClusterCapacity>;
|
|
50
|
+
/**
|
|
51
|
+
* ID of the dedicated host cluster.
|
|
52
|
+
*/
|
|
53
|
+
readonly dedicatedHostClusterId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Name of the dedicated host cluster. Length limit: 1–128 characters. Can include Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.), and must start with a letter, number, or Chinese character.
|
|
56
|
+
*/
|
|
57
|
+
readonly dedicatedHostClusterName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* List of IDs for all dedicated hosts contained in this dedicated host cluster.
|
|
60
|
+
*/
|
|
61
|
+
readonly dedicatedHostIds: pulumi.Output<string[]>;
|
|
62
|
+
/**
|
|
63
|
+
* Description of the dedicated host cluster. Length limit: 0–256 characters.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Last update time of the dedicated host cluster.
|
|
68
|
+
*/
|
|
69
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Availability zone ID to which the dedicated host cluster belongs. Cannot be modified after creation.
|
|
72
|
+
*/
|
|
73
|
+
readonly zoneId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a DedicatedHostCluster resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: DedicatedHostClusterArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering DedicatedHostCluster resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface DedicatedHostClusterState {
|
|
87
|
+
/**
|
|
88
|
+
* Creation time of the dedicated host cluster.
|
|
89
|
+
*/
|
|
90
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* Capacity information of the dedicated host cluster, including available memory, available vCPU, supported instance types, and more.
|
|
93
|
+
*/
|
|
94
|
+
dedicatedHostClusterCapacity?: pulumi.Input<inputs.ecs.DedicatedHostClusterDedicatedHostClusterCapacity | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* ID of the dedicated host cluster.
|
|
97
|
+
*/
|
|
98
|
+
dedicatedHostClusterId?: pulumi.Input<string | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* Name of the dedicated host cluster. Length limit: 1–128 characters. Can include Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.), and must start with a letter, number, or Chinese character.
|
|
101
|
+
*/
|
|
102
|
+
dedicatedHostClusterName?: pulumi.Input<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* List of IDs for all dedicated hosts contained in this dedicated host cluster.
|
|
105
|
+
*/
|
|
106
|
+
dedicatedHostIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Description of the dedicated host cluster. Length limit: 0–256 characters.
|
|
109
|
+
*/
|
|
110
|
+
description?: pulumi.Input<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Last update time of the dedicated host cluster.
|
|
113
|
+
*/
|
|
114
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Availability zone ID to which the dedicated host cluster belongs. Cannot be modified after creation.
|
|
117
|
+
*/
|
|
118
|
+
zoneId?: pulumi.Input<string | undefined>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The set of arguments for constructing a DedicatedHostCluster resource.
|
|
122
|
+
*/
|
|
123
|
+
export interface DedicatedHostClusterArgs {
|
|
124
|
+
/**
|
|
125
|
+
* Name of the dedicated host cluster. Length limit: 1–128 characters. Can include Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.), and must start with a letter, number, or Chinese character.
|
|
126
|
+
*/
|
|
127
|
+
dedicatedHostClusterName: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Description of the dedicated host cluster. Length limit: 0–256 characters.
|
|
130
|
+
*/
|
|
131
|
+
description?: pulumi.Input<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Availability zone ID to which the dedicated host cluster belongs. Cannot be modified after creation.
|
|
134
|
+
*/
|
|
135
|
+
zoneId: pulumi.Input<string>;
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=dedicatedHostCluster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dedicatedHostCluster.d.ts","sourceRoot":"","sources":["../../ecs/dedicatedHostCluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oBAAoB;IAO1J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,oBAAoB;IAO/D;;OAEG;IAC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AEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.DedicatedHostCluster = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* The dedicated host cluster is a logical collection at the availability zone level. You can use dedicated host clusters to group and manage dedicated hosts, or create instances in a specified cluster.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new bytepluscc.ecs.DedicatedHostCluster("example", {
|
|
41
|
+
* dedicatedHostClusterName: "ccapi-ddhc-full",
|
|
42
|
+
* description: "ccapi dedicated host cluster full",
|
|
43
|
+
* zoneId: "cn-beijing-a",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import bytepluscc:ecs/dedicatedHostCluster:DedicatedHostCluster example "dedicated_host_cluster_id"
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
class DedicatedHostCluster extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing DedicatedHostCluster resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new DedicatedHostCluster(name, state, { ...opts, id: id });
|
|
65
|
+
}
|
|
66
|
+
/** @internal */
|
|
67
|
+
static __pulumiType = 'bytepluscc:ecs/dedicatedHostCluster:DedicatedHostCluster';
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of DedicatedHostCluster. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj) {
|
|
73
|
+
if (obj === undefined || obj === null) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return obj['__pulumiType'] === DedicatedHostCluster.__pulumiType;
|
|
77
|
+
}
|
|
78
|
+
constructor(name, argsOrState, opts) {
|
|
79
|
+
let resourceInputs = {};
|
|
80
|
+
opts = opts || {};
|
|
81
|
+
if (opts.id) {
|
|
82
|
+
const state = argsOrState;
|
|
83
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
84
|
+
resourceInputs["dedicatedHostClusterCapacity"] = state?.dedicatedHostClusterCapacity;
|
|
85
|
+
resourceInputs["dedicatedHostClusterId"] = state?.dedicatedHostClusterId;
|
|
86
|
+
resourceInputs["dedicatedHostClusterName"] = state?.dedicatedHostClusterName;
|
|
87
|
+
resourceInputs["dedicatedHostIds"] = state?.dedicatedHostIds;
|
|
88
|
+
resourceInputs["description"] = state?.description;
|
|
89
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
90
|
+
resourceInputs["zoneId"] = state?.zoneId;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
const args = argsOrState;
|
|
94
|
+
if (args?.dedicatedHostClusterName === undefined && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'dedicatedHostClusterName'");
|
|
96
|
+
}
|
|
97
|
+
if (args?.zoneId === undefined && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'zoneId'");
|
|
99
|
+
}
|
|
100
|
+
resourceInputs["dedicatedHostClusterName"] = args?.dedicatedHostClusterName;
|
|
101
|
+
resourceInputs["description"] = args?.description;
|
|
102
|
+
resourceInputs["zoneId"] = args?.zoneId;
|
|
103
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["dedicatedHostClusterCapacity"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["dedicatedHostClusterId"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["dedicatedHostIds"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
super(DedicatedHostCluster.__pulumiType, name, resourceInputs, opts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.DedicatedHostCluster = DedicatedHostCluster;
|
|
114
|
+
//# sourceMappingURL=dedicatedHostCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dedicatedHostCluster.js","sourceRoot":"","sources":["../../ecs/dedicatedHostCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,E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S,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;aAC3E;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AArGL,oDAsGC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::ECS::DedicatedHostCluster
|
|
5
|
+
*/
|
|
6
|
+
export declare function getDedicatedHostCluster(args: GetDedicatedHostClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetDedicatedHostClusterResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getDedicatedHostCluster.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetDedicatedHostClusterArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getDedicatedHostCluster.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetDedicatedHostClusterResult {
|
|
20
|
+
/**
|
|
21
|
+
* Creation time of the dedicated host cluster.
|
|
22
|
+
*/
|
|
23
|
+
readonly createdAt: string;
|
|
24
|
+
/**
|
|
25
|
+
* Capacity information of the dedicated host cluster, including available memory, available vCPU, supported instance types, and more.
|
|
26
|
+
*/
|
|
27
|
+
readonly dedicatedHostClusterCapacity: outputs.ecs.GetDedicatedHostClusterDedicatedHostClusterCapacity;
|
|
28
|
+
/**
|
|
29
|
+
* ID of the dedicated host cluster.
|
|
30
|
+
*/
|
|
31
|
+
readonly dedicatedHostClusterId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Name of the dedicated host cluster. Length limit: 1–128 characters. Can include Chinese characters, letters, numbers, underscores (_), hyphens (-), and periods (.), and must start with a letter, number, or Chinese character.
|
|
34
|
+
*/
|
|
35
|
+
readonly dedicatedHostClusterName: string;
|
|
36
|
+
/**
|
|
37
|
+
* List of IDs for all dedicated hosts contained in this dedicated host cluster.
|
|
38
|
+
*/
|
|
39
|
+
readonly dedicatedHostIds: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Description of the dedicated host cluster. Length limit: 0–256 characters.
|
|
42
|
+
*/
|
|
43
|
+
readonly description: string;
|
|
44
|
+
/**
|
|
45
|
+
* Uniquely identifies the resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* Last update time of the dedicated host cluster.
|
|
50
|
+
*/
|
|
51
|
+
readonly updatedAt: string;
|
|
52
|
+
/**
|
|
53
|
+
* Availability zone ID to which the dedicated host cluster belongs. Cannot be modified after creation.
|
|
54
|
+
*/
|
|
55
|
+
readonly zoneId: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Data Source schema for Byteplus::ECS::DedicatedHostCluster
|
|
59
|
+
*/
|
|
60
|
+
export declare function getDedicatedHostClusterOutput(args: GetDedicatedHostClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDedicatedHostClusterResult>;
|
|
61
|
+
/**
|
|
62
|
+
* A collection of arguments for invoking getDedicatedHostCluster.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetDedicatedHostClusterOutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* Uniquely identifies the resource.
|
|
67
|
+
*/
|
|
68
|
+
id: pulumi.Input<string>;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=getDedicatedHostCluster.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDedicatedHostCluster.d.ts","sourceRoot":"","sources":["../../ecs/getDedicatedHostCluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAK9I;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,4BAA4B,EAAE,OAAO,CAAC,GAAG,CAAC,mDAAmD,CAAC;IACvG;;OAEG;IACH,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAKtK;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getDedicatedHostClusterOutput = exports.getDedicatedHostCluster = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::ECS::DedicatedHostCluster
|
|
33
|
+
*/
|
|
34
|
+
function getDedicatedHostCluster(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:ecs/getDedicatedHostCluster:getDedicatedHostCluster", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getDedicatedHostCluster = getDedicatedHostCluster;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::ECS::DedicatedHostCluster
|
|
43
|
+
*/
|
|
44
|
+
function getDedicatedHostClusterOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ecs/getDedicatedHostCluster:getDedicatedHostCluster", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getDedicatedHostClusterOutput = getDedicatedHostClusterOutput;
|
|
51
|
+
//# sourceMappingURL=getDedicatedHostCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDedicatedHostCluster.js","sourceRoot":"","sources":["../../ecs/getDedicatedHostCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC;AAqDD;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::ECS::DedicatedHostCluster
|
|
4
|
+
*/
|
|
5
|
+
export declare function getDedicatedHostClusters(opts?: pulumi.InvokeOptions): Promise<GetDedicatedHostClustersResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getDedicatedHostClusters.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetDedicatedHostClustersResult {
|
|
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::DedicatedHostCluster
|
|
21
|
+
*/
|
|
22
|
+
export declare function getDedicatedHostClustersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDedicatedHostClustersResult>;
|
|
23
|
+
//# sourceMappingURL=getDedicatedHostClusters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDedicatedHostClusters.d.ts","sourceRoot":"","sources":["../../ecs/getDedicatedHostClusters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAI7G;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAI/H"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getDedicatedHostClustersOutput = exports.getDedicatedHostClusters = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::ECS::DedicatedHostCluster
|
|
33
|
+
*/
|
|
34
|
+
function getDedicatedHostClusters(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:ecs/getDedicatedHostClusters:getDedicatedHostClusters", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getDedicatedHostClusters = getDedicatedHostClusters;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::ECS::DedicatedHostCluster
|
|
41
|
+
*/
|
|
42
|
+
function getDedicatedHostClustersOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ecs/getDedicatedHostClusters:getDedicatedHostClusters", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getDedicatedHostClustersOutput = getDedicatedHostClustersOutput;
|
|
47
|
+
//# sourceMappingURL=getDedicatedHostClusters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDedicatedHostClusters.js","sourceRoot":"","sources":["../../ecs/getDedicatedHostClusters.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,wBAAwB,CAAC,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,kEAAkE,EAAE,EAChG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4DAIC;AAeD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAiC;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE,EACtG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wEAIC"}
|
package/ecs/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { CommandArgs, CommandState } from "./command";
|
|
2
2
|
export type Command = import("./command").Command;
|
|
3
3
|
export declare const Command: typeof import("./command").Command;
|
|
4
|
+
export { DedicatedHostClusterArgs, DedicatedHostClusterState } from "./dedicatedHostCluster";
|
|
5
|
+
export type DedicatedHostCluster = import("./dedicatedHostCluster").DedicatedHostCluster;
|
|
6
|
+
export declare const DedicatedHostCluster: typeof import("./dedicatedHostCluster").DedicatedHostCluster;
|
|
4
7
|
export { DeploymentSetArgs, DeploymentSetState } from "./deploymentSet";
|
|
5
8
|
export type DeploymentSet = import("./deploymentSet").DeploymentSet;
|
|
6
9
|
export declare const DeploymentSet: typeof import("./deploymentSet").DeploymentSet;
|
|
@@ -10,6 +13,12 @@ export declare const getCommandOutput: typeof import("./getCommand").getCommandO
|
|
|
10
13
|
export { GetCommandsResult } from "./getCommands";
|
|
11
14
|
export declare const getCommands: typeof import("./getCommands").getCommands;
|
|
12
15
|
export declare const getCommandsOutput: typeof import("./getCommands").getCommandsOutput;
|
|
16
|
+
export { GetDedicatedHostClusterArgs, GetDedicatedHostClusterResult, GetDedicatedHostClusterOutputArgs } from "./getDedicatedHostCluster";
|
|
17
|
+
export declare const getDedicatedHostCluster: typeof import("./getDedicatedHostCluster").getDedicatedHostCluster;
|
|
18
|
+
export declare const getDedicatedHostClusterOutput: typeof import("./getDedicatedHostCluster").getDedicatedHostClusterOutput;
|
|
19
|
+
export { GetDedicatedHostClustersResult } from "./getDedicatedHostClusters";
|
|
20
|
+
export declare const getDedicatedHostClusters: typeof import("./getDedicatedHostClusters").getDedicatedHostClusters;
|
|
21
|
+
export declare const getDedicatedHostClustersOutput: typeof import("./getDedicatedHostClusters").getDedicatedHostClustersOutput;
|
|
13
22
|
export { GetDeploymentSetArgs, GetDeploymentSetResult, GetDeploymentSetOutputArgs } from "./getDeploymentSet";
|
|
14
23
|
export declare const getDeploymentSet: typeof import("./getDeploymentSet").getDeploymentSet;
|
|
15
24
|
export declare const getDeploymentSetOutput: typeof import("./getDeploymentSet").getDeploymentSetOutput;
|