@volcengine/pulumi 0.0.21 → 0.0.22
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/alb/acl.d.ts +126 -0
- package/alb/acl.js +89 -0
- package/alb/acl.js.map +1 -0
- package/alb/acls.d.ts +101 -0
- package/alb/acls.js +51 -0
- package/alb/acls.js.map +1 -0
- package/alb/alb.d.ts +282 -0
- package/alb/alb.js +167 -0
- package/alb/alb.js.map +1 -0
- package/alb/albs.d.ts +216 -0
- package/alb/albs.js +127 -0
- package/alb/albs.js.map +1 -0
- package/alb/caCertificates.d.ts +108 -0
- package/alb/caCertificates.js +50 -0
- package/alb/caCertificates.js.map +1 -0
- package/alb/cacertificate.d.ts +158 -0
- package/alb/cacertificate.js +96 -0
- package/alb/cacertificate.js.map +1 -0
- package/alb/certificate.d.ts +167 -0
- package/alb/certificate.js +98 -0
- package/alb/certificate.js.map +1 -0
- package/alb/certificates.d.ts +87 -0
- package/alb/certificates.js +48 -0
- package/alb/certificates.js.map +1 -0
- package/alb/customizedCfg.d.ts +108 -0
- package/alb/customizedCfg.js +85 -0
- package/alb/customizedCfg.js.map +1 -0
- package/alb/customizedCfgs.d.ts +116 -0
- package/alb/customizedCfgs.js +47 -0
- package/alb/customizedCfgs.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +212 -0
- package/alb/healthCheckTemplate.js +106 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/healthCheckTemplates.d.ts +96 -0
- package/alb/healthCheckTemplates.js +49 -0
- package/alb/healthCheckTemplates.js.map +1 -0
- package/alb/index.d.ts +69 -0
- package/alb/index.js +108 -0
- package/alb/index.js.map +1 -0
- package/alb/listener.d.ts +268 -0
- package/alb/listener.js +135 -0
- package/alb/listener.js.map +1 -0
- package/alb/listenerDomainExtension.d.ts +119 -0
- package/alb/listenerDomainExtension.js +103 -0
- package/alb/listenerDomainExtension.js.map +1 -0
- package/alb/listenerDomainExtensions.d.ts +78 -0
- package/alb/listenerDomainExtensions.js +46 -0
- package/alb/listenerDomainExtensions.js.map +1 -0
- package/alb/listeners.d.ts +100 -0
- package/alb/listeners.js +31 -0
- package/alb/listeners.js.map +1 -0
- package/alb/rule.d.ts +228 -0
- package/alb/rule.js +115 -0
- package/alb/rule.js.map +1 -0
- package/alb/rules.d.ts +75 -0
- package/alb/rules.js +46 -0
- package/alb/rules.js.map +1 -0
- package/alb/serverGroup.d.ts +215 -0
- package/alb/serverGroup.js +117 -0
- package/alb/serverGroup.js.map +1 -0
- package/alb/serverGroupServer.d.ts +155 -0
- package/alb/serverGroupServer.js +105 -0
- package/alb/serverGroupServer.js.map +1 -0
- package/alb/serverGroupServers.d.ts +75 -0
- package/alb/serverGroupServers.js +46 -0
- package/alb/serverGroupServers.js.map +1 -0
- package/alb/serverGroups.d.ts +171 -0
- package/alb/serverGroups.js +105 -0
- package/alb/serverGroups.js.map +1 -0
- package/alb/zones.d.ts +62 -0
- package/alb/zones.js +42 -0
- package/alb/zones.js.map +1 -0
- package/bandwidth_package/attachment.d.ts +103 -0
- package/bandwidth_package/attachment.js +100 -0
- package/bandwidth_package/attachment.js.map +1 -0
- package/bandwidth_package/bandwidthPackage.d.ts +188 -0
- package/bandwidth_package/bandwidthPackage.js +100 -0
- package/bandwidth_package/bandwidthPackage.js.map +1 -0
- package/bandwidth_package/bandwidthPackages.d.ts +151 -0
- package/bandwidth_package/bandwidthPackages.js +54 -0
- package/bandwidth_package/bandwidthPackages.js.map +1 -0
- package/bandwidth_package/index.d.ts +9 -0
- package/bandwidth_package/index.js +30 -0
- package/bandwidth_package/index.js.map +1 -0
- package/clb/listener.d.ts +21 -12
- package/clb/listener.js +2 -0
- package/clb/listener.js.map +1 -1
- package/cr/endpoint.d.ts +1 -1
- package/cr/endpoint.js +1 -1
- package/ecs/iamRoleAttachment.d.ts +71 -0
- package/ecs/iamRoleAttachment.js +68 -0
- package/ecs/iamRoleAttachment.js.map +1 -0
- package/ecs/index.d.ts +6 -0
- package/ecs/index.js +9 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +4 -0
- package/ecs/instance.js +1 -1
- package/ecs/instance.js.map +1 -1
- package/ecs/instanceTypes.d.ts +71 -0
- package/ecs/instanceTypes.js +43 -0
- package/ecs/instanceTypes.js.map +1 -0
- package/eip/address.d.ts +12 -0
- package/eip/address.js +2 -0
- package/eip/address.js.map +1 -1
- package/eip/addresses.d.ts +2 -2
- package/iam/user.d.ts +26 -2
- package/iam/user.js +6 -0
- package/iam/user.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/mongodb/endpoint.d.ts +68 -3
- package/mongodb/endpoint.js +68 -3
- package/mongodb/endpoint.js.map +1 -1
- package/mongodb/endpoints.d.ts +116 -4
- package/mongodb/endpoints.js +116 -4
- package/mongodb/endpoints.js.map +1 -1
- package/mongodb/instance.d.ts +32 -0
- package/mongodb/instance.js +8 -0
- package/mongodb/instance.js.map +1 -1
- package/mongodb/instanceParameter.d.ts +41 -16
- package/mongodb/instanceParameter.js +35 -10
- package/mongodb/instanceParameter.js.map +1 -1
- package/mongodb/instanceParameters.d.ts +88 -8
- package/mongodb/instanceParameters.js +80 -6
- package/mongodb/instanceParameters.js.map +1 -1
- package/mongodb/mongoAllowList.d.ts +2 -2
- package/mongodb/mongoAllowList.js +2 -2
- package/mongodb/mongoAllowListAssociate.d.ts +40 -3
- package/mongodb/mongoAllowListAssociate.js +40 -3
- package/mongodb/mongoAllowListAssociate.js.map +1 -1
- package/mongodb/mongoAllowLists.d.ts +20 -6
- package/mongodb/mongoAllowLists.js +20 -6
- package/mongodb/mongoAllowLists.js.map +1 -1
- package/mongodb/sslState.d.ts +34 -9
- package/mongodb/sslState.js +31 -6
- package/mongodb/sslState.js.map +1 -1
- package/mongodb/sslStates.d.ts +68 -4
- package/mongodb/sslStates.js +68 -4
- package/mongodb/sslStates.js.map +1 -1
- package/nas/permissionGroup.d.ts +1 -1
- package/nas/permissionGroup.js +1 -1
- package/package.json +2 -2
- package/tls/alarmNotifyGroup.d.ts +6 -0
- package/tls/alarmNotifyGroup.js.map +1 -1
- package/tls/topic.d.ts +9 -3
- package/tls/topic.js.map +1 -1
- package/types/input.d.ts +309 -8
- package/types/output.d.ts +1622 -41
- package/vke/nodePool.d.ts +8 -0
- package/vke/nodePool.js +2 -0
- package/vke/nodePool.js.map +1 -1
|
@@ -0,0 +1,117 @@
|
|
|
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.ServerGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage alb server group
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
17
|
+
* vpcName: "acc-test-vpc",
|
|
18
|
+
* cidrBlock: "172.16.0.0/16",
|
|
19
|
+
* });
|
|
20
|
+
* const fooServerGroup = new volcengine.alb.ServerGroup("fooServerGroup", {
|
|
21
|
+
* vpcId: fooVpc.id,
|
|
22
|
+
* serverGroupName: "acc-test-server-group",
|
|
23
|
+
* description: "acc-test",
|
|
24
|
+
* serverGroupType: "instance",
|
|
25
|
+
* scheduler: "wlc",
|
|
26
|
+
* projectName: "default",
|
|
27
|
+
* healthCheck: {
|
|
28
|
+
* enabled: "on",
|
|
29
|
+
* interval: 3,
|
|
30
|
+
* timeout: 3,
|
|
31
|
+
* method: "GET",
|
|
32
|
+
* },
|
|
33
|
+
* stickySessionConfig: {
|
|
34
|
+
* stickySessionEnabled: "on",
|
|
35
|
+
* stickySessionType: "insert",
|
|
36
|
+
* cookieTimeout: 1100,
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* AlbServerGroup can be imported using the id, e.g.
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import volcengine:alb/serverGroup:ServerGroup default resource_id
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
class ServerGroup extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing ServerGroup resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, state, opts) {
|
|
60
|
+
return new ServerGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of ServerGroup. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj) {
|
|
67
|
+
if (obj === undefined || obj === null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return obj['__pulumiType'] === ServerGroup.__pulumiType;
|
|
71
|
+
}
|
|
72
|
+
constructor(name, argsOrState, opts) {
|
|
73
|
+
let resourceInputs = {};
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
if (opts.id) {
|
|
76
|
+
const state = argsOrState;
|
|
77
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
78
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
79
|
+
resourceInputs["healthCheck"] = state ? state.healthCheck : undefined;
|
|
80
|
+
resourceInputs["listeners"] = state ? state.listeners : undefined;
|
|
81
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
82
|
+
resourceInputs["scheduler"] = state ? state.scheduler : undefined;
|
|
83
|
+
resourceInputs["serverCount"] = state ? state.serverCount : undefined;
|
|
84
|
+
resourceInputs["serverGroupName"] = state ? state.serverGroupName : undefined;
|
|
85
|
+
resourceInputs["serverGroupType"] = state ? state.serverGroupType : undefined;
|
|
86
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
87
|
+
resourceInputs["stickySessionConfig"] = state ? state.stickySessionConfig : undefined;
|
|
88
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
89
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
const args = argsOrState;
|
|
93
|
+
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'vpcId'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
97
|
+
resourceInputs["healthCheck"] = args ? args.healthCheck : undefined;
|
|
98
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
99
|
+
resourceInputs["scheduler"] = args ? args.scheduler : undefined;
|
|
100
|
+
resourceInputs["serverGroupName"] = args ? args.serverGroupName : undefined;
|
|
101
|
+
resourceInputs["serverGroupType"] = args ? args.serverGroupType : undefined;
|
|
102
|
+
resourceInputs["stickySessionConfig"] = args ? args.stickySessionConfig : undefined;
|
|
103
|
+
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
104
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["listeners"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["serverCount"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
109
|
+
}
|
|
110
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
111
|
+
super(ServerGroup.__pulumiType, name, resourceInputs, opts);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.ServerGroup = ServerGroup;
|
|
115
|
+
/** @internal */
|
|
116
|
+
ServerGroup.__pulumiType = 'volcengine:alb/serverGroup:ServerGroup';
|
|
117
|
+
//# sourceMappingURL=serverGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverGroup.js","sourceRoot":"","sources":["../../alb/serverGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+DD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,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I,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAhIL,kCAiIC;AAnHG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage alb server group server
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.alb.ServerGroupServer("foo", {
|
|
11
|
+
* description: "test add server group server ecs1",
|
|
12
|
+
* instanceId: "i-ycony2kef4ygp2f8cgmk",
|
|
13
|
+
* ip: "172.16.0.3",
|
|
14
|
+
* port: 5679,
|
|
15
|
+
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
16
|
+
* type: "ecs",
|
|
17
|
+
* weight: 30,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* AlbServerGroupServer can be imported using the server_group_id:server_id, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import volcengine:alb/serverGroupServer:ServerGroupServer default rsp-274xltv2*****8tlv3q3s:rs-3ciynux6i1x4w****rszh49sj
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class ServerGroupServer extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing ServerGroupServer resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerGroupServerState, opts?: pulumi.CustomResourceOptions): ServerGroupServer;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of ServerGroupServer. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is ServerGroupServer;
|
|
45
|
+
/**
|
|
46
|
+
* The description of the instance.
|
|
47
|
+
*/
|
|
48
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The ID of ecs instance or the network card bound to ecs instance.
|
|
51
|
+
*/
|
|
52
|
+
readonly instanceId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The private ip of the instance.
|
|
55
|
+
*/
|
|
56
|
+
readonly ip: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The port receiving request.
|
|
59
|
+
*/
|
|
60
|
+
readonly port: pulumi.Output<number>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the ServerGroup.
|
|
63
|
+
*/
|
|
64
|
+
readonly serverGroupId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The server id of instance in ServerGroup.
|
|
67
|
+
*/
|
|
68
|
+
readonly serverId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The type of instance. Optional choice contains `ecs`, `eni`.
|
|
71
|
+
*/
|
|
72
|
+
readonly type: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The weight of the instance, range in 0~100.
|
|
75
|
+
*/
|
|
76
|
+
readonly weight: pulumi.Output<number | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a ServerGroupServer resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: ServerGroupServerArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering ServerGroupServer resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface ServerGroupServerState {
|
|
90
|
+
/**
|
|
91
|
+
* The description of the instance.
|
|
92
|
+
*/
|
|
93
|
+
description?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The ID of ecs instance or the network card bound to ecs instance.
|
|
96
|
+
*/
|
|
97
|
+
instanceId?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The private ip of the instance.
|
|
100
|
+
*/
|
|
101
|
+
ip?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The port receiving request.
|
|
104
|
+
*/
|
|
105
|
+
port?: pulumi.Input<number>;
|
|
106
|
+
/**
|
|
107
|
+
* The ID of the ServerGroup.
|
|
108
|
+
*/
|
|
109
|
+
serverGroupId?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The server id of instance in ServerGroup.
|
|
112
|
+
*/
|
|
113
|
+
serverId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The type of instance. Optional choice contains `ecs`, `eni`.
|
|
116
|
+
*/
|
|
117
|
+
type?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The weight of the instance, range in 0~100.
|
|
120
|
+
*/
|
|
121
|
+
weight?: pulumi.Input<number>;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* The set of arguments for constructing a ServerGroupServer resource.
|
|
125
|
+
*/
|
|
126
|
+
export interface ServerGroupServerArgs {
|
|
127
|
+
/**
|
|
128
|
+
* The description of the instance.
|
|
129
|
+
*/
|
|
130
|
+
description?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The ID of ecs instance or the network card bound to ecs instance.
|
|
133
|
+
*/
|
|
134
|
+
instanceId: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The private ip of the instance.
|
|
137
|
+
*/
|
|
138
|
+
ip: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The port receiving request.
|
|
141
|
+
*/
|
|
142
|
+
port: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* The ID of the ServerGroup.
|
|
145
|
+
*/
|
|
146
|
+
serverGroupId: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The type of instance. Optional choice contains `ecs`, `eni`.
|
|
149
|
+
*/
|
|
150
|
+
type: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The weight of the instance, range in 0~100.
|
|
153
|
+
*/
|
|
154
|
+
weight?: pulumi.Input<number>;
|
|
155
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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.ServerGroupServer = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage alb server group server
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.alb.ServerGroupServer("foo", {
|
|
17
|
+
* description: "test add server group server ecs1",
|
|
18
|
+
* instanceId: "i-ycony2kef4ygp2f8cgmk",
|
|
19
|
+
* ip: "172.16.0.3",
|
|
20
|
+
* port: 5679,
|
|
21
|
+
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
22
|
+
* type: "ecs",
|
|
23
|
+
* weight: 30,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* AlbServerGroupServer can be imported using the server_group_id:server_id, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import volcengine:alb/serverGroupServer:ServerGroupServer default rsp-274xltv2*****8tlv3q3s:rs-3ciynux6i1x4w****rszh49sj
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class ServerGroupServer extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing ServerGroupServer resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new ServerGroupServer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of ServerGroupServer. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === ServerGroupServer.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
64
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
65
|
+
resourceInputs["ip"] = state ? state.ip : undefined;
|
|
66
|
+
resourceInputs["port"] = state ? state.port : undefined;
|
|
67
|
+
resourceInputs["serverGroupId"] = state ? state.serverGroupId : undefined;
|
|
68
|
+
resourceInputs["serverId"] = state ? state.serverId : undefined;
|
|
69
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
70
|
+
resourceInputs["weight"] = state ? state.weight : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'instanceId'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.ip === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'ip'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.port === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'port'");
|
|
82
|
+
}
|
|
83
|
+
if ((!args || args.serverGroupId === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'serverGroupId'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'type'");
|
|
88
|
+
}
|
|
89
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
90
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
91
|
+
resourceInputs["ip"] = args ? args.ip : undefined;
|
|
92
|
+
resourceInputs["port"] = args ? args.port : undefined;
|
|
93
|
+
resourceInputs["serverGroupId"] = args ? args.serverGroupId : undefined;
|
|
94
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
95
|
+
resourceInputs["weight"] = args ? args.weight : undefined;
|
|
96
|
+
resourceInputs["serverId"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(ServerGroupServer.__pulumiType, name, resourceInputs, opts);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.ServerGroupServer = ServerGroupServer;
|
|
103
|
+
/** @internal */
|
|
104
|
+
ServerGroupServer.__pulumiType = 'volcengine:alb/serverGroupServer:ServerGroupServer';
|
|
105
|
+
//# sourceMappingURL=serverGroupServer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverGroupServer.js","sourceRoot":"","sources":["../../alb/serverGroupServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,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D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA9GL,8CA+GC;AAjGG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of alb server group servers
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const foo = volcengine.alb.ServerGroupServers({
|
|
12
|
+
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function serverGroupServers(args: ServerGroupServersArgs, opts?: pulumi.InvokeOptions): Promise<ServerGroupServersResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking ServerGroupServers.
|
|
19
|
+
*/
|
|
20
|
+
export interface ServerGroupServersArgs {
|
|
21
|
+
/**
|
|
22
|
+
* File name where to save data source results.
|
|
23
|
+
*/
|
|
24
|
+
outputFile?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The ID of the ServerGroup.
|
|
27
|
+
*/
|
|
28
|
+
serverGroupId: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by ServerGroupServers.
|
|
32
|
+
*/
|
|
33
|
+
export interface ServerGroupServersResult {
|
|
34
|
+
/**
|
|
35
|
+
* The provider-assigned unique ID for this managed resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
readonly outputFile?: string;
|
|
39
|
+
readonly serverGroupId: string;
|
|
40
|
+
/**
|
|
41
|
+
* The server list of ServerGroup.
|
|
42
|
+
*/
|
|
43
|
+
readonly servers: outputs.alb.ServerGroupServersServer[];
|
|
44
|
+
/**
|
|
45
|
+
* The total count of ServerGroupServer query.
|
|
46
|
+
*/
|
|
47
|
+
readonly totalCount: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Use this data source to query detailed information of alb server group servers
|
|
51
|
+
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
56
|
+
*
|
|
57
|
+
* const foo = volcengine.alb.ServerGroupServers({
|
|
58
|
+
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export declare function serverGroupServersOutput(args: ServerGroupServersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ServerGroupServersResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking ServerGroupServers.
|
|
65
|
+
*/
|
|
66
|
+
export interface ServerGroupServersOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* File name where to save data source results.
|
|
69
|
+
*/
|
|
70
|
+
outputFile?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The ID of the ServerGroup.
|
|
73
|
+
*/
|
|
74
|
+
serverGroupId: pulumi.Input<string>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.serverGroupServersOutput = exports.serverGroupServers = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of alb server group servers
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.alb.ServerGroupServers({
|
|
17
|
+
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function serverGroupServers(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:alb/serverGroupServers:ServerGroupServers", {
|
|
24
|
+
"outputFile": args.outputFile,
|
|
25
|
+
"serverGroupId": args.serverGroupId,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.serverGroupServers = serverGroupServers;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to query detailed information of alb server group servers
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
36
|
+
*
|
|
37
|
+
* const foo = volcengine.alb.ServerGroupServers({
|
|
38
|
+
* serverGroupId: "rsp-1g7317vrcx3pc2zbhq4c3i6a2",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function serverGroupServersOutput(args, opts) {
|
|
43
|
+
return pulumi.output(args).apply((a) => serverGroupServers(a, opts));
|
|
44
|
+
}
|
|
45
|
+
exports.serverGroupServersOutput = serverGroupServersOutput;
|
|
46
|
+
//# sourceMappingURL=serverGroupServers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverGroupServers.js","sourceRoot":"","sources":["../../alb/serverGroupServers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gDAOC;AAmCD;;;;;;;;;;;;GAYG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|