@byteplus/pulumi-bytepluscc 0.0.12 → 0.0.14
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/README.md +2 -0
- package/alb/customizedCfg.d.ts +163 -0
- package/alb/customizedCfg.js +113 -0
- package/alb/customizedCfg.js.map +1 -0
- package/alb/getCustomizedCfg.d.ts +77 -0
- package/alb/getCustomizedCfg.js +28 -0
- package/alb/getCustomizedCfg.js.map +1 -0
- package/alb/getCustomizedCfgs.d.ts +22 -0
- package/alb/getCustomizedCfgs.js +24 -0
- package/alb/getCustomizedCfgs.js.map +1 -0
- package/alb/getHealthCheckTemplate.d.ts +109 -0
- package/alb/getHealthCheckTemplate.js +28 -0
- package/alb/getHealthCheckTemplate.js.map +1 -0
- package/alb/getHealthCheckTemplates.d.ts +22 -0
- package/alb/getHealthCheckTemplates.js +24 -0
- package/alb/getHealthCheckTemplates.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +270 -0
- package/alb/healthCheckTemplate.js +123 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/index.d.ts +18 -0
- package/alb/index.js +23 -1
- package/alb/index.js.map +1 -1
- package/clb/clb.d.ts +512 -0
- package/clb/clb.js +148 -0
- package/clb/clb.js.map +1 -0
- package/clb/getClb.d.ts +221 -0
- package/clb/getClb.js +28 -0
- package/clb/getClb.js.map +1 -0
- package/clb/getClbs.d.ts +22 -0
- package/clb/getClbs.js +24 -0
- package/clb/getClbs.js.map +1 -0
- package/clb/index.d.ts +9 -0
- package/clb/index.js +12 -1
- package/clb/index.js.map +1 -1
- package/config/vars.d.ts +8 -0
- package/config/vars.js +14 -0
- package/config/vars.js.map +1 -1
- package/ecs/deploymentSet.d.ts +173 -0
- package/ecs/deploymentSet.js +97 -0
- package/ecs/deploymentSet.js.map +1 -0
- package/ecs/getDeploymentSet.d.ts +81 -0
- package/ecs/getDeploymentSet.js +28 -0
- package/ecs/getDeploymentSet.js.map +1 -0
- package/ecs/getDeploymentSets.d.ts +22 -0
- package/ecs/getDeploymentSets.js +24 -0
- package/ecs/getDeploymentSets.js.map +1 -0
- package/ecs/getInstance.d.ts +11 -0
- package/ecs/getInstance.js.map +1 -1
- package/ecs/getLaunchTemplate.d.ts +73 -0
- package/ecs/getLaunchTemplate.js +28 -0
- package/ecs/getLaunchTemplate.js.map +1 -0
- package/ecs/getLaunchTemplateVersion.d.ts +153 -0
- package/ecs/getLaunchTemplateVersion.js +28 -0
- package/ecs/getLaunchTemplateVersion.js.map +1 -0
- package/ecs/getLaunchTemplateVersions.d.ts +22 -0
- package/ecs/getLaunchTemplateVersions.js +24 -0
- package/ecs/getLaunchTemplateVersions.js.map +1 -0
- package/ecs/getLaunchTemplates.d.ts +22 -0
- package/ecs/getLaunchTemplates.js +24 -0
- package/ecs/getLaunchTemplates.js.map +1 -0
- package/ecs/index.d.ts +27 -0
- package/ecs/index.js +34 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +106 -11
- package/ecs/instance.js +24 -2
- package/ecs/instance.js.map +1 -1
- package/ecs/launchTemplate.d.ts +130 -0
- package/ecs/launchTemplate.js +77 -0
- package/ecs/launchTemplate.js.map +1 -0
- package/ecs/launchTemplateVersion.d.ts +364 -0
- package/ecs/launchTemplateVersion.js +114 -0
- package/ecs/launchTemplateVersion.js.map +1 -0
- package/iam/accesskey.d.ts +146 -0
- package/iam/accesskey.js +85 -0
- package/iam/accesskey.js.map +1 -0
- package/iam/getAccesskey.d.ts +76 -0
- package/iam/getAccesskey.js +28 -0
- package/iam/getAccesskey.js.map +1 -0
- package/iam/getAccesskeys.d.ts +22 -0
- package/iam/getAccesskeys.js +24 -0
- package/iam/getAccesskeys.js.map +1 -0
- package/iam/getRole.d.ts +6 -0
- package/iam/getRole.js.map +1 -1
- package/iam/index.d.ts +9 -0
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/kms/getKeyRing.d.ts +72 -0
- package/kms/getKeyRing.js +28 -0
- package/kms/getKeyRing.js.map +1 -0
- package/kms/getKeyRings.d.ts +22 -0
- package/kms/getKeyRings.js +24 -0
- package/kms/getKeyRings.js.map +1 -0
- package/kms/index.d.ts +9 -0
- package/kms/index.js +12 -1
- package/kms/index.js.map +1 -1
- package/kms/keyRing.d.ts +147 -0
- package/kms/keyRing.js +91 -0
- package/kms/keyRing.js.map +1 -0
- package/organization/account.d.ts +282 -0
- package/organization/account.js +112 -0
- package/organization/account.js.map +1 -0
- package/organization/getAccount.d.ts +137 -0
- package/organization/getAccount.js +28 -0
- package/organization/getAccount.js.map +1 -0
- package/organization/getAccounts.d.ts +22 -0
- package/organization/getAccounts.js +24 -0
- package/organization/getAccounts.js.map +1 -0
- package/organization/index.d.ts +9 -0
- package/organization/index.js +12 -1
- package/organization/index.js.map +1 -1
- package/package.json +1 -1
- package/provider.d.ts +16 -0
- package/provider.js +6 -4
- package/provider.js.map +1 -1
- package/rabbitmq/getInstance.d.ts +133 -0
- package/rabbitmq/getInstance.js +28 -0
- package/rabbitmq/getInstance.js.map +1 -0
- package/rabbitmq/getInstancePlugin.d.ts +72 -0
- package/rabbitmq/getInstancePlugin.js +28 -0
- package/rabbitmq/getInstancePlugin.js.map +1 -0
- package/rabbitmq/getInstancePlugins.d.ts +22 -0
- package/rabbitmq/getInstancePlugins.js +24 -0
- package/rabbitmq/getInstancePlugins.js.map +1 -0
- package/rabbitmq/getInstances.d.ts +22 -0
- package/rabbitmq/getInstances.js +24 -0
- package/rabbitmq/getInstances.js.map +1 -0
- package/rabbitmq/getPublicAddress.d.ts +129 -0
- package/rabbitmq/getPublicAddress.js +28 -0
- package/rabbitmq/getPublicAddress.js.map +1 -0
- package/rabbitmq/getPublicAddresses.d.ts +22 -0
- package/rabbitmq/getPublicAddresses.js +24 -0
- package/rabbitmq/getPublicAddresses.js.map +1 -0
- package/rabbitmq/index.d.ts +27 -0
- package/rabbitmq/index.js +50 -0
- package/rabbitmq/index.js.map +1 -0
- package/rabbitmq/instance.d.ts +280 -0
- package/rabbitmq/instance.js +128 -0
- package/rabbitmq/instance.js.map +1 -0
- package/rabbitmq/instancePlugin.d.ts +137 -0
- package/rabbitmq/instancePlugin.js +89 -0
- package/rabbitmq/instancePlugin.js.map +1 -0
- package/rabbitmq/publicAddress.d.ts +239 -0
- package/rabbitmq/publicAddress.js +120 -0
- package/rabbitmq/publicAddress.js.map +1 -0
- package/rdsmysql/allowList.d.ts +232 -0
- package/rdsmysql/allowList.js +92 -0
- package/rdsmysql/allowList.js.map +1 -0
- package/rdsmysql/backup.d.ts +240 -0
- package/rdsmysql/backup.js +119 -0
- package/rdsmysql/backup.js.map +1 -0
- package/rdsmysql/endpoint.d.ts +325 -0
- package/rdsmysql/endpoint.js +108 -0
- package/rdsmysql/endpoint.js.map +1 -0
- package/rdsmysql/getAllowList.d.ts +109 -0
- package/rdsmysql/getAllowList.js +28 -0
- package/rdsmysql/getAllowList.js.map +1 -0
- package/rdsmysql/getAllowLists.d.ts +22 -0
- package/rdsmysql/getAllowLists.js +24 -0
- package/rdsmysql/getAllowLists.js.map +1 -0
- package/rdsmysql/getBackup.d.ts +125 -0
- package/rdsmysql/getBackup.js +28 -0
- package/rdsmysql/getBackup.js.map +1 -0
- package/rdsmysql/getBackups.d.ts +22 -0
- package/rdsmysql/getBackups.js +24 -0
- package/rdsmysql/getBackups.js.map +1 -0
- package/rdsmysql/getEndpoint.d.ts +141 -0
- package/rdsmysql/getEndpoint.js +28 -0
- package/rdsmysql/getEndpoint.js.map +1 -0
- package/rdsmysql/getEndpoints.d.ts +22 -0
- package/rdsmysql/getEndpoints.js +24 -0
- package/rdsmysql/getEndpoints.js.map +1 -0
- package/rdsmysql/index.d.ts +27 -0
- package/rdsmysql/index.js +34 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdspostgresql/allowList.d.ts +206 -0
- package/rdspostgresql/allowList.js +102 -0
- package/rdspostgresql/allowList.js.map +1 -0
- package/rdspostgresql/getAllowList.d.ts +93 -0
- package/rdspostgresql/getAllowList.js +28 -0
- package/rdspostgresql/getAllowList.js.map +1 -0
- package/rdspostgresql/getAllowLists.d.ts +22 -0
- package/rdspostgresql/getAllowLists.js +24 -0
- package/rdspostgresql/getAllowLists.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +28 -0
- package/rdspostgresql/index.js.map +1 -0
- package/redis/account.d.ts +128 -0
- package/redis/account.js +95 -0
- package/redis/account.js.map +1 -0
- package/redis/endpointPublicAddress.d.ts +150 -0
- package/redis/endpointPublicAddress.js +93 -0
- package/redis/endpointPublicAddress.js.map +1 -0
- package/redis/getAccount.d.ts +60 -0
- package/redis/getAccount.js +28 -0
- package/redis/getAccount.js.map +1 -0
- package/redis/getAccounts.d.ts +22 -0
- package/redis/getAccounts.js +24 -0
- package/redis/getAccounts.js.map +1 -0
- package/redis/getEndpointPublicAddress.d.ts +72 -0
- package/redis/getEndpointPublicAddress.js +28 -0
- package/redis/getEndpointPublicAddress.js.map +1 -0
- package/redis/getEndpointPublicAddresses.d.ts +22 -0
- package/redis/getEndpointPublicAddresses.js +24 -0
- package/redis/getEndpointPublicAddresses.js.map +1 -0
- package/redis/index.d.ts +18 -0
- package/redis/index.js +23 -1
- package/redis/index.js.map +1 -1
- package/transitrouter/getVpcAttachment.d.ts +93 -0
- package/transitrouter/getVpcAttachment.js +28 -0
- package/transitrouter/getVpcAttachment.js.map +1 -0
- package/transitrouter/getVpcAttachments.d.ts +22 -0
- package/transitrouter/getVpcAttachments.js +24 -0
- package/transitrouter/getVpcAttachments.js.map +1 -0
- package/transitrouter/getVpnAttachment.d.ts +93 -0
- package/transitrouter/getVpnAttachment.js +28 -0
- package/transitrouter/getVpnAttachment.js.map +1 -0
- package/transitrouter/getVpnAttachments.d.ts +22 -0
- package/transitrouter/getVpnAttachments.js +24 -0
- package/transitrouter/getVpnAttachments.js.map +1 -0
- package/transitrouter/index.d.ts +18 -0
- package/transitrouter/index.js +23 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/vpcAttachment.d.ts +177 -0
- package/transitrouter/vpcAttachment.js +93 -0
- package/transitrouter/vpcAttachment.js.map +1 -0
- package/transitrouter/vpnAttachment.d.ts +202 -0
- package/transitrouter/vpnAttachment.js +113 -0
- package/transitrouter/vpnAttachment.js.map +1 -0
- package/types/input.d.ts +1671 -155
- package/types/output.d.ts +4117 -1013
- package/vke/defaultNodePool.d.ts +150 -0
- package/vke/defaultNodePool.js +86 -0
- package/vke/defaultNodePool.js.map +1 -0
- package/vke/getDefaultNodePool.d.ts +85 -0
- package/vke/getDefaultNodePool.js +28 -0
- package/vke/getDefaultNodePool.js.map +1 -0
- package/vke/getDefaultNodePools.d.ts +22 -0
- package/vke/getDefaultNodePools.js +24 -0
- package/vke/getDefaultNodePools.js.map +1 -0
- package/vke/getNode.d.ts +106 -0
- package/vke/getNode.js +28 -0
- package/vke/getNode.js.map +1 -0
- package/vke/getNodes.d.ts +22 -0
- package/vke/getNodes.js +24 -0
- package/vke/getNodes.js.map +1 -0
- package/vke/index.d.ts +18 -0
- package/vke/index.js +23 -1
- package/vke/index.js.map +1 -1
- package/vke/node.d.ts +238 -0
- package/vke/node.js +112 -0
- package/vke/node.js.map +1 -0
- package/vpc/flowLog.d.ts +266 -0
- package/vpc/flowLog.js +141 -0
- package/vpc/flowLog.js.map +1 -0
- package/vpc/getFlowLog.d.ts +117 -0
- package/vpc/getFlowLog.js +28 -0
- package/vpc/getFlowLog.js.map +1 -0
- package/vpc/getFlowLogs.d.ts +22 -0
- package/vpc/getFlowLogs.js +24 -0
- package/vpc/getFlowLogs.js.map +1 -0
- package/vpc/getHaVip.d.ts +101 -0
- package/vpc/getHaVip.js +28 -0
- package/vpc/getHaVip.js.map +1 -0
- package/vpc/getHaVips.d.ts +22 -0
- package/vpc/getHaVips.js +24 -0
- package/vpc/getHaVips.js.map +1 -0
- package/vpc/getIpv6AddressBandwidth.d.ts +117 -0
- package/vpc/getIpv6AddressBandwidth.js +28 -0
- package/vpc/getIpv6AddressBandwidth.js.map +1 -0
- package/vpc/getIpv6AddressBandwidths.d.ts +22 -0
- package/vpc/getIpv6AddressBandwidths.js +24 -0
- package/vpc/getIpv6AddressBandwidths.js.map +1 -0
- package/vpc/getIpv6Gateway.d.ts +77 -0
- package/vpc/getIpv6Gateway.js +28 -0
- package/vpc/getIpv6Gateway.js.map +1 -0
- package/vpc/getIpv6Gateways.d.ts +22 -0
- package/vpc/getIpv6Gateways.js +24 -0
- package/vpc/getIpv6Gateways.js.map +1 -0
- package/vpc/getTrafficMirrorFilter.d.ts +73 -0
- package/vpc/getTrafficMirrorFilter.js +28 -0
- package/vpc/getTrafficMirrorFilter.js.map +1 -0
- package/vpc/getTrafficMirrorFilterRule.d.ts +84 -0
- package/vpc/getTrafficMirrorFilterRule.js +28 -0
- package/vpc/getTrafficMirrorFilterRule.js.map +1 -0
- package/vpc/getTrafficMirrorFilterRules.d.ts +22 -0
- package/vpc/getTrafficMirrorFilterRules.js +24 -0
- package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
- package/vpc/getTrafficMirrorFilters.d.ts +22 -0
- package/vpc/getTrafficMirrorFilters.js +24 -0
- package/vpc/getTrafficMirrorFilters.js.map +1 -0
- package/vpc/getTrafficMirrorSession.d.ts +101 -0
- package/vpc/getTrafficMirrorSession.js +28 -0
- package/vpc/getTrafficMirrorSession.js.map +1 -0
- package/vpc/getTrafficMirrorSessions.d.ts +22 -0
- package/vpc/getTrafficMirrorSessions.js +24 -0
- package/vpc/getTrafficMirrorSessions.js.map +1 -0
- package/vpc/getTrafficMirrorTarget.d.ts +77 -0
- package/vpc/getTrafficMirrorTarget.js +28 -0
- package/vpc/getTrafficMirrorTarget.js.map +1 -0
- package/vpc/getTrafficMirrorTargets.d.ts +22 -0
- package/vpc/getTrafficMirrorTargets.js +24 -0
- package/vpc/getTrafficMirrorTargets.js.map +1 -0
- package/vpc/getVpc.d.ts +4 -0
- package/vpc/getVpc.js.map +1 -1
- package/vpc/haVip.d.ts +223 -0
- package/vpc/haVip.js +116 -0
- package/vpc/haVip.js.map +1 -0
- package/vpc/index.d.ts +72 -0
- package/vpc/index.js +90 -1
- package/vpc/index.js.map +1 -1
- package/vpc/ipv6AddressBandwidth.d.ts +241 -0
- package/vpc/ipv6AddressBandwidth.js +121 -0
- package/vpc/ipv6AddressBandwidth.js.map +1 -0
- package/vpc/ipv6Gateway.d.ts +156 -0
- package/vpc/ipv6Gateway.js +97 -0
- package/vpc/ipv6Gateway.js.map +1 -0
- package/vpc/trafficMirrorFilter.d.ts +131 -0
- package/vpc/trafficMirrorFilter.js +91 -0
- package/vpc/trafficMirrorFilter.js.map +1 -0
- package/vpc/trafficMirrorFilterRule.d.ts +201 -0
- package/vpc/trafficMirrorFilterRule.js +118 -0
- package/vpc/trafficMirrorFilterRule.js.map +1 -0
- package/vpc/trafficMirrorSession.d.ts +229 -0
- package/vpc/trafficMirrorSession.js +123 -0
- package/vpc/trafficMirrorSession.js.map +1 -0
- package/vpc/trafficMirrorTarget.d.ts +161 -0
- package/vpc/trafficMirrorTarget.js +101 -0
- package/vpc/trafficMirrorTarget.js.map +1 -0
- package/vpc/vpc.d.ts +12 -0
- package/vpc/vpc.js +2 -0
- package/vpc/vpc.js.map +1 -1
- package/vpn/customerGateway.d.ts +186 -0
- package/vpn/customerGateway.js +101 -0
- package/vpn/customerGateway.js.map +1 -0
- package/vpn/getCustomerGateway.d.ts +89 -0
- package/vpn/getCustomerGateway.js +28 -0
- package/vpn/getCustomerGateway.js.map +1 -0
- package/vpn/getCustomerGateways.d.ts +22 -0
- package/vpn/getCustomerGateways.js +24 -0
- package/vpn/getCustomerGateways.js.map +1 -0
- package/vpn/index.d.ts +9 -0
- package/vpn/index.js +12 -1
- package/vpn/index.js.map +1 -1
package/clb/getClb.d.ts
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::CLB::CLB
|
|
5
|
+
*/
|
|
6
|
+
export declare function getClb(args: GetClbArgs, opts?: pulumi.InvokeOptions): Promise<GetClbResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getClb.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetClbArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getClb.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetClbResult {
|
|
20
|
+
/**
|
|
21
|
+
* 负载均衡实例中访问日志的信息。
|
|
22
|
+
*/
|
|
23
|
+
readonly accessLog: outputs.clb.GetClbAccessLog;
|
|
24
|
+
/**
|
|
25
|
+
* 负载均衡实例所属的账号ID。
|
|
26
|
+
*/
|
|
27
|
+
readonly accountId: string;
|
|
28
|
+
/**
|
|
29
|
+
* CLB实例的IP地址类型。取值如下:ipv4(默认值):表示该CLB为IPv4类型,仅支持转发IPv4请求。DualStack:表示该CLB为双栈类型,支持转发IPv4和IPv6请求。仅参数Type取private时,才可传入DualStack。
|
|
30
|
+
*/
|
|
31
|
+
readonly addressIpVersion: string;
|
|
32
|
+
/**
|
|
33
|
+
* 允许的多个端口范围。
|
|
34
|
+
*/
|
|
35
|
+
readonly allowedPorts: string[];
|
|
36
|
+
/**
|
|
37
|
+
* 是否开通自动续费。true:是,默认自动续费为1个月。false(默认值):否
|
|
38
|
+
*/
|
|
39
|
+
readonly autoRenewal: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* 负载均衡实例是否被锁定。
|
|
42
|
+
*/
|
|
43
|
+
readonly businessStatus: string;
|
|
44
|
+
/**
|
|
45
|
+
* 是否开启bypass安全组功能。
|
|
46
|
+
*/
|
|
47
|
+
readonly bypassSecurityGroupEnabled: string;
|
|
48
|
+
/**
|
|
49
|
+
* 负载均衡实例的创建时间。
|
|
50
|
+
*/
|
|
51
|
+
readonly createTime: string;
|
|
52
|
+
/**
|
|
53
|
+
* 负载均衡实例的预期回收时间。
|
|
54
|
+
*/
|
|
55
|
+
readonly deletedTime: string;
|
|
56
|
+
/**
|
|
57
|
+
* 负载均衡实例的描述。
|
|
58
|
+
*/
|
|
59
|
+
readonly description: string;
|
|
60
|
+
/**
|
|
61
|
+
* 负载均衡实例的公网IP的信息。
|
|
62
|
+
*/
|
|
63
|
+
readonly eip: outputs.clb.GetClbEip;
|
|
64
|
+
/**
|
|
65
|
+
* 公网IP地址。
|
|
66
|
+
*/
|
|
67
|
+
readonly eipAddress: string;
|
|
68
|
+
/**
|
|
69
|
+
* 公网IP ID。
|
|
70
|
+
*/
|
|
71
|
+
readonly eipId: string;
|
|
72
|
+
/**
|
|
73
|
+
* 负载均衡实例的启用状态。
|
|
74
|
+
*/
|
|
75
|
+
readonly enabled: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* 负载均衡实例的私网IPv4地址信息。
|
|
78
|
+
*/
|
|
79
|
+
readonly eni: outputs.clb.GetClbEni;
|
|
80
|
+
/**
|
|
81
|
+
* 负载均衡实例的私网IPv4地址数量。该参数和参数EniAddress不能同时传入,如果传入该参数,则无需传入EniAddress。
|
|
82
|
+
*/
|
|
83
|
+
readonly eniAddressNum: number;
|
|
84
|
+
/**
|
|
85
|
+
* 负载均衡实例的私网IPv6地址。
|
|
86
|
+
*/
|
|
87
|
+
readonly eniIpv6Address: string;
|
|
88
|
+
/**
|
|
89
|
+
* 负载均衡实例的私网IPv4地址信息列表,创建时通过EniAddressNum指定数量。
|
|
90
|
+
*/
|
|
91
|
+
readonly enis: outputs.clb.GetClbEnis;
|
|
92
|
+
/**
|
|
93
|
+
* 独占集群Id。
|
|
94
|
+
*/
|
|
95
|
+
readonly exclusiveClusterId: string;
|
|
96
|
+
/**
|
|
97
|
+
* 负载均衡实例到期时间。
|
|
98
|
+
*/
|
|
99
|
+
readonly expiredTime: string;
|
|
100
|
+
/**
|
|
101
|
+
* Uniquely identifies the resource.
|
|
102
|
+
*/
|
|
103
|
+
readonly id: string;
|
|
104
|
+
/**
|
|
105
|
+
* 负载均衡实例中监听器的信息。
|
|
106
|
+
*/
|
|
107
|
+
readonly listeners: outputs.clb.GetClbListener[];
|
|
108
|
+
/**
|
|
109
|
+
* CLB实例计费方式。取值如下:1:包年包月。2(默认值):按量计费-按规格计费。3:按量计费-按使用量计费。
|
|
110
|
+
*/
|
|
111
|
+
readonly loadBalancerBillingType: number;
|
|
112
|
+
/**
|
|
113
|
+
* 负载均衡实例ID。
|
|
114
|
+
*/
|
|
115
|
+
readonly loadBalancerId: string;
|
|
116
|
+
/**
|
|
117
|
+
* 负载均衡实例的名称。
|
|
118
|
+
*/
|
|
119
|
+
readonly loadBalancerName: string;
|
|
120
|
+
/**
|
|
121
|
+
* CLB实例的规格,不同规格提供的转发能力不同。small*1:小型I。small*2:小型II。medium*1:中型I。medium*2:中型II。large*1:大型I。large*2:大型II。
|
|
122
|
+
*/
|
|
123
|
+
readonly loadBalancerSpec: string;
|
|
124
|
+
/**
|
|
125
|
+
* 负载均衡实例被冻结的原因。
|
|
126
|
+
*/
|
|
127
|
+
readonly lockReason: string;
|
|
128
|
+
/**
|
|
129
|
+
* 负载均衡实例的主可用区ID。
|
|
130
|
+
*/
|
|
131
|
+
readonly masterZoneId: string;
|
|
132
|
+
/**
|
|
133
|
+
* 设置修改保护状态的原因。仅参数ModificationProtectionStatus取ConsoleProtection时,本参数有效。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:半角句号(.)、下划线(_)和中划线(-)。长度限制为1 ~ 80个字符。
|
|
134
|
+
*/
|
|
135
|
+
readonly modificationProtectionReason: string;
|
|
136
|
+
/**
|
|
137
|
+
* CLB实例是否开启控制台上修改保护。开启后,禁止通过控制台修改实例或删除实例。取值如下:NonProtection:不开启。ConsoleProtection:开启。
|
|
138
|
+
*/
|
|
139
|
+
readonly modificationProtectionStatus: string;
|
|
140
|
+
/**
|
|
141
|
+
* 是否为新架构。
|
|
142
|
+
*/
|
|
143
|
+
readonly newArch: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* 订单ID。仅在创建动作的参数LoadBalancerBillingType配置为1时,该参数有值。
|
|
146
|
+
*/
|
|
147
|
+
readonly orderId: string;
|
|
148
|
+
/**
|
|
149
|
+
* 负载均衡实例的冻结时间。
|
|
150
|
+
*/
|
|
151
|
+
readonly overdueTime: string;
|
|
152
|
+
/**
|
|
153
|
+
* 购买包年包月CLB实例的时长。默认为“1”。当PeriodUnit配置为Month时,取值范围为1~9,12,24和36。当PeriodUnit配置为Year时,取值范围为1~3。
|
|
154
|
+
*/
|
|
155
|
+
readonly period: number;
|
|
156
|
+
/**
|
|
157
|
+
* 购买包年包月CLB实例的时长单位。仅LoadBalancerBillingType取1时,本参数有效。取值如下:Month (默认值):月。Year:年
|
|
158
|
+
*/
|
|
159
|
+
readonly periodUnit: string;
|
|
160
|
+
/**
|
|
161
|
+
* CLB实例所属项目的名称。
|
|
162
|
+
*/
|
|
163
|
+
readonly projectName: string;
|
|
164
|
+
/**
|
|
165
|
+
* 负载均衡实例中后端服务器组的信息。
|
|
166
|
+
*/
|
|
167
|
+
readonly serverGroups: outputs.clb.GetClbServerGroup[];
|
|
168
|
+
/**
|
|
169
|
+
* CLB实例是否为托管资源。
|
|
170
|
+
*/
|
|
171
|
+
readonly serviceManaged: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* 负载均衡实例的备可用区ID。
|
|
174
|
+
*/
|
|
175
|
+
readonly slaveZoneId: string;
|
|
176
|
+
/**
|
|
177
|
+
* 负载均衡实例状态,Inactive:已停止。Active:运行中。Creating:创建中。Provisioning:创建中。Configuring:配置中。Deleting:删除中。CreateFailed:创建失败。
|
|
178
|
+
*/
|
|
179
|
+
readonly status: string;
|
|
180
|
+
/**
|
|
181
|
+
* 负载均衡实例所属VPC内的子网ID。
|
|
182
|
+
*/
|
|
183
|
+
readonly subnetId: string;
|
|
184
|
+
/**
|
|
185
|
+
* CLB实例标签。
|
|
186
|
+
*/
|
|
187
|
+
readonly tags: outputs.clb.GetClbTag[];
|
|
188
|
+
/**
|
|
189
|
+
* 是否开启 TCP Timestamp 清除功能。
|
|
190
|
+
*/
|
|
191
|
+
readonly timestampRemoveEnabled: string;
|
|
192
|
+
/**
|
|
193
|
+
* CLB实例的类型。取值如下:public:公网类型。创建一个公网类型CLB实例,系统会分配一个公网IP地址,用于转发公网请求。private:私网类型。创建一个私网类型CLB实例,您需要为其绑定公网IP后,才能转发公网请求。
|
|
194
|
+
*/
|
|
195
|
+
readonly type: string;
|
|
196
|
+
/**
|
|
197
|
+
* 负载均衡实例的最近操作时间。
|
|
198
|
+
*/
|
|
199
|
+
readonly updateTime: string;
|
|
200
|
+
/**
|
|
201
|
+
* 负载均衡实例所属的VPC ID。
|
|
202
|
+
*/
|
|
203
|
+
readonly vpcId: string;
|
|
204
|
+
/**
|
|
205
|
+
* 负载均衡实例的可用区类型。
|
|
206
|
+
*/
|
|
207
|
+
readonly zoneType: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Data Source schema for Byteplus::CLB::CLB
|
|
211
|
+
*/
|
|
212
|
+
export declare function getClbOutput(args: GetClbOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClbResult>;
|
|
213
|
+
/**
|
|
214
|
+
* A collection of arguments for invoking getClb.
|
|
215
|
+
*/
|
|
216
|
+
export interface GetClbOutputArgs {
|
|
217
|
+
/**
|
|
218
|
+
* Uniquely identifies the resource.
|
|
219
|
+
*/
|
|
220
|
+
id: pulumi.Input<string>;
|
|
221
|
+
}
|
package/clb/getClb.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.getClbOutput = exports.getClb = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::CLB::CLB
|
|
10
|
+
*/
|
|
11
|
+
function getClb(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:clb/getClb:getClb", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getClb = getClb;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::CLB::CLB
|
|
20
|
+
*/
|
|
21
|
+
function getClbOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:clb/getClb:getClb", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getClbOutput = getClbOutput;
|
|
28
|
+
//# sourceMappingURL=getClb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClb.js","sourceRoot":"","sources":["../../clb/getClb.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AA6MD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
|
package/clb/getClbs.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::CLB::CLB
|
|
4
|
+
*/
|
|
5
|
+
export declare function getClbs(opts?: pulumi.InvokeOptions): Promise<GetClbsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getClbs.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetClbsResult {
|
|
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::CLB::CLB
|
|
21
|
+
*/
|
|
22
|
+
export declare function getClbsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClbsResult>;
|
package/clb/getClbs.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.getClbsOutput = exports.getClbs = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::CLB::CLB
|
|
10
|
+
*/
|
|
11
|
+
function getClbs(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:clb/getClbs:getClbs", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getClbs = getClbs;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::CLB::CLB
|
|
18
|
+
*/
|
|
19
|
+
function getClbsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:clb/getClbs:getClbs", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getClbsOutput = getClbsOutput;
|
|
24
|
+
//# sourceMappingURL=getClbs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getClbs.js","sourceRoot":"","sources":["../../clb/getClbs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE,EAC9D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAeD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
|
package/clb/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const Acl: typeof import("./acl").Acl;
|
|
|
4
4
|
export { CertificateArgs, CertificateState } from "./certificate";
|
|
5
5
|
export type Certificate = import("./certificate").Certificate;
|
|
6
6
|
export declare const Certificate: typeof import("./certificate").Certificate;
|
|
7
|
+
export { ClbArgs, ClbState } from "./clb";
|
|
8
|
+
export type Clb = import("./clb").Clb;
|
|
9
|
+
export declare const Clb: typeof import("./clb").Clb;
|
|
7
10
|
export { GetAclArgs, GetAclResult, GetAclOutputArgs } from "./getAcl";
|
|
8
11
|
export declare const getAcl: typeof import("./getAcl").getAcl;
|
|
9
12
|
export declare const getAclOutput: typeof import("./getAcl").getAclOutput;
|
|
@@ -16,6 +19,12 @@ export declare const getCertificateOutput: typeof import("./getCertificate").get
|
|
|
16
19
|
export { GetCertificatesResult } from "./getCertificates";
|
|
17
20
|
export declare const getCertificates: typeof import("./getCertificates").getCertificates;
|
|
18
21
|
export declare const getCertificatesOutput: typeof import("./getCertificates").getCertificatesOutput;
|
|
22
|
+
export { GetClbArgs, GetClbResult, GetClbOutputArgs } from "./getClb";
|
|
23
|
+
export declare const getClb: typeof import("./getClb").getClb;
|
|
24
|
+
export declare const getClbOutput: typeof import("./getClb").getClbOutput;
|
|
25
|
+
export { GetClbsResult } from "./getClbs";
|
|
26
|
+
export declare const getClbs: typeof import("./getClbs").getClbs;
|
|
27
|
+
export declare const getClbsOutput: typeof import("./getClbs").getClbsOutput;
|
|
19
28
|
export { GetListenerArgs, GetListenerResult, GetListenerOutputArgs } from "./getListener";
|
|
20
29
|
export declare const getListener: typeof import("./getListener").getListener;
|
|
21
30
|
export declare const getListenerOutput: typeof import("./getListener").getListenerOutput;
|
package/clb/index.js
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ServerGroup = exports.Rule = exports.NlbServerGroup = exports.NlbListener = exports.Nlb = exports.Listener = exports.getServerGroupsOutput = exports.getServerGroups = exports.getServerGroupOutput = exports.getServerGroup = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getNlbsOutput = exports.getNlbs = exports.getNlbServerGroupsOutput = exports.getNlbServerGroups = exports.getNlbServerGroupOutput = exports.getNlbServerGroup = exports.getNlbListenersOutput = exports.getNlbListeners = exports.getNlbListenerOutput = exports.getNlbListener = exports.getNlbOutput = exports.getNlb = exports.getListenersOutput = exports.getListeners = exports.getListenerOutput = exports.getListener = exports.getCertificatesOutput = exports.getCertificates = exports.getCertificateOutput = exports.getCertificate = exports.getAclsOutput = exports.getAcls = exports.getAclOutput = exports.getAcl = exports.Certificate = exports.Acl = void 0;
|
|
5
|
+
exports.ServerGroup = exports.Rule = exports.NlbServerGroup = exports.NlbListener = exports.Nlb = exports.Listener = exports.getServerGroupsOutput = exports.getServerGroups = exports.getServerGroupOutput = exports.getServerGroup = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getNlbsOutput = exports.getNlbs = exports.getNlbServerGroupsOutput = exports.getNlbServerGroups = exports.getNlbServerGroupOutput = exports.getNlbServerGroup = exports.getNlbListenersOutput = exports.getNlbListeners = exports.getNlbListenerOutput = exports.getNlbListener = exports.getNlbOutput = exports.getNlb = exports.getListenersOutput = exports.getListeners = exports.getListenerOutput = exports.getListener = exports.getClbsOutput = exports.getClbs = exports.getClbOutput = exports.getClb = exports.getCertificatesOutput = exports.getCertificates = exports.getCertificateOutput = exports.getCertificate = exports.getAclsOutput = exports.getAcls = exports.getAclOutput = exports.getAcl = exports.Clb = exports.Certificate = exports.Acl = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Acl = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Acl"], () => require("./acl"));
|
|
10
10
|
exports.Certificate = null;
|
|
11
11
|
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
|
|
12
|
+
exports.Clb = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["Clb"], () => require("./clb"));
|
|
12
14
|
exports.getAcl = null;
|
|
13
15
|
exports.getAclOutput = null;
|
|
14
16
|
utilities.lazyLoad(exports, ["getAcl", "getAclOutput"], () => require("./getAcl"));
|
|
@@ -21,6 +23,12 @@ utilities.lazyLoad(exports, ["getCertificate", "getCertificateOutput"], () => re
|
|
|
21
23
|
exports.getCertificates = null;
|
|
22
24
|
exports.getCertificatesOutput = null;
|
|
23
25
|
utilities.lazyLoad(exports, ["getCertificates", "getCertificatesOutput"], () => require("./getCertificates"));
|
|
26
|
+
exports.getClb = null;
|
|
27
|
+
exports.getClbOutput = null;
|
|
28
|
+
utilities.lazyLoad(exports, ["getClb", "getClbOutput"], () => require("./getClb"));
|
|
29
|
+
exports.getClbs = null;
|
|
30
|
+
exports.getClbsOutput = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["getClbs", "getClbsOutput"], () => require("./getClbs"));
|
|
24
32
|
exports.getListener = null;
|
|
25
33
|
exports.getListenerOutput = null;
|
|
26
34
|
utilities.lazyLoad(exports, ["getListener", "getListenerOutput"], () => require("./getListener"));
|
|
@@ -77,6 +85,8 @@ const _module = {
|
|
|
77
85
|
return new exports.Acl(name, undefined, { urn });
|
|
78
86
|
case "bytepluscc:clb/certificate:Certificate":
|
|
79
87
|
return new exports.Certificate(name, undefined, { urn });
|
|
88
|
+
case "bytepluscc:clb/clb:Clb":
|
|
89
|
+
return new exports.Clb(name, undefined, { urn });
|
|
80
90
|
case "bytepluscc:clb/listener:Listener":
|
|
81
91
|
return new exports.Listener(name, undefined, { urn });
|
|
82
92
|
case "bytepluscc:clb/nlb:Nlb":
|
|
@@ -96,6 +106,7 @@ const _module = {
|
|
|
96
106
|
};
|
|
97
107
|
pulumi.runtime.registerResourceModule("bytepluscc", "clb/acl", _module);
|
|
98
108
|
pulumi.runtime.registerResourceModule("bytepluscc", "clb/certificate", _module);
|
|
109
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "clb/clb", _module);
|
|
99
110
|
pulumi.runtime.registerResourceModule("bytepluscc", "clb/listener", _module);
|
|
100
111
|
pulumi.runtime.registerResourceModule("bytepluscc", "clb/nlb", _module);
|
|
101
112
|
pulumi.runtime.registerResourceModule("bytepluscc", "clb/nlbListener", _module);
|
package/clb/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../clb/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAIhD,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../clb/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,GAAG,GAA+B,IAAW,CAAC;AAC3D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AAIhD,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EA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W,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
|
package/config/vars.d.ts
CHANGED
|
@@ -21,6 +21,14 @@ export declare const disableSsl: boolean | undefined;
|
|
|
21
21
|
* An `endpoints` block (documented below). Only one `endpoints` block may be in the configuration.
|
|
22
22
|
*/
|
|
23
23
|
export declare const endpoints: outputs.config.Endpoints | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* The file path for Byteplus Provider configuration. It can be sourced from the `BYTEPLUS_FILE_PATH` environment variable
|
|
26
|
+
*/
|
|
27
|
+
export declare const filePath: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The profile for Byteplus Provider. It can be sourced from the `BYTEPLUS_PROFILE` environment variable
|
|
30
|
+
*/
|
|
31
|
+
export declare const profile: string | undefined;
|
|
24
32
|
/**
|
|
25
33
|
* PROXY URL for Byteplus Provider
|
|
26
34
|
*/
|
package/config/vars.js
CHANGED
|
@@ -38,6 +38,20 @@ Object.defineProperty(exports, "endpoints", {
|
|
|
38
38
|
},
|
|
39
39
|
enumerable: true,
|
|
40
40
|
});
|
|
41
|
+
Object.defineProperty(exports, "filePath", {
|
|
42
|
+
get() {
|
|
43
|
+
var _a;
|
|
44
|
+
return (_a = __config.get("filePath")) !== null && _a !== void 0 ? _a : utilities.getEnv("BYTEPLUS_FILE_PATH");
|
|
45
|
+
},
|
|
46
|
+
enumerable: true,
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "profile", {
|
|
49
|
+
get() {
|
|
50
|
+
var _a;
|
|
51
|
+
return (_a = __config.get("profile")) !== null && _a !== void 0 ? _a : utilities.getEnv("BYTEPLUS_PROFILE");
|
|
52
|
+
},
|
|
53
|
+
enumerable: true,
|
|
54
|
+
});
|
|
41
55
|
Object.defineProperty(exports, "proxyUrl", {
|
|
42
56
|
get() {
|
|
43
57
|
var _a;
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAOjD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CA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B,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 部署集是在底层硬件维度上控制实例分散部署的策略,可以实现物理层级的安全隔离。您可以通过创建部署集,使实例分散部署在不同的底层硬件上,用于保障业务的底层容灾能力及高可用性。
|
|
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 ecsDeploymentSetDemo = new bytepluscc.ecs.DeploymentSet("EcsDeploymentSetDemo", {
|
|
14
|
+
* description: "this is a test DeploymentSet",
|
|
15
|
+
* deploymentSetName: "test-deployment-set",
|
|
16
|
+
* granularity: "host",
|
|
17
|
+
* instanceIds: ["i-yedvixxxxxva4izkjtl"],
|
|
18
|
+
* deploymentSetGroupNumber: 1,
|
|
19
|
+
* strategy: "Availability",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import bytepluscc:ecs/deploymentSet:DeploymentSet example "deployment_set_id"
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class DeploymentSet extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing DeploymentSet 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?: DeploymentSetState, opts?: pulumi.CustomResourceOptions): DeploymentSet;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of DeploymentSet. 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 DeploymentSet;
|
|
45
|
+
readonly capacities: pulumi.Output<outputs.ecs.DeploymentSetCapacity[]>;
|
|
46
|
+
/**
|
|
47
|
+
* 部署集的创建时间。
|
|
48
|
+
*/
|
|
49
|
+
readonly createdAt: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 部署集组的序号,取值范围:1~7。
|
|
52
|
+
*/
|
|
53
|
+
readonly deploymentSetGroupNumber: pulumi.Output<number>;
|
|
54
|
+
/**
|
|
55
|
+
* 部署集ID。
|
|
56
|
+
*/
|
|
57
|
+
readonly deploymentSetId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* 部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
|
|
60
|
+
*/
|
|
61
|
+
readonly deploymentSetName: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* 部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* 部署粒度,取值:host:物理机。rack:机架。switch:交换机。
|
|
68
|
+
*/
|
|
69
|
+
readonly granularity: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* 部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
|
|
72
|
+
*/
|
|
73
|
+
readonly groupCount: pulumi.Output<number>;
|
|
74
|
+
/**
|
|
75
|
+
* 部署集内的ECS实例数量。
|
|
76
|
+
*/
|
|
77
|
+
readonly instanceAmount: pulumi.Output<number>;
|
|
78
|
+
/**
|
|
79
|
+
* 部署集内的ECS实例ID列表。
|
|
80
|
+
*/
|
|
81
|
+
readonly instanceIds: pulumi.Output<string[]>;
|
|
82
|
+
/**
|
|
83
|
+
* 部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
|
|
84
|
+
*/
|
|
85
|
+
readonly strategy: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Create a DeploymentSet resource with the given unique name, arguments, and options.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resource.
|
|
90
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
91
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
92
|
+
*/
|
|
93
|
+
constructor(name: string, args: DeploymentSetArgs, opts?: pulumi.CustomResourceOptions);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Input properties used for looking up and filtering DeploymentSet resources.
|
|
97
|
+
*/
|
|
98
|
+
export interface DeploymentSetState {
|
|
99
|
+
capacities?: pulumi.Input<pulumi.Input<inputs.ecs.DeploymentSetCapacity>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* 部署集的创建时间。
|
|
102
|
+
*/
|
|
103
|
+
createdAt?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* 部署集组的序号,取值范围:1~7。
|
|
106
|
+
*/
|
|
107
|
+
deploymentSetGroupNumber?: pulumi.Input<number>;
|
|
108
|
+
/**
|
|
109
|
+
* 部署集ID。
|
|
110
|
+
*/
|
|
111
|
+
deploymentSetId?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* 部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
|
|
114
|
+
*/
|
|
115
|
+
deploymentSetName?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* 部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
|
|
118
|
+
*/
|
|
119
|
+
description?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* 部署粒度,取值:host:物理机。rack:机架。switch:交换机。
|
|
122
|
+
*/
|
|
123
|
+
granularity?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* 部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
|
|
126
|
+
*/
|
|
127
|
+
groupCount?: pulumi.Input<number>;
|
|
128
|
+
/**
|
|
129
|
+
* 部署集内的ECS实例数量。
|
|
130
|
+
*/
|
|
131
|
+
instanceAmount?: pulumi.Input<number>;
|
|
132
|
+
/**
|
|
133
|
+
* 部署集内的ECS实例ID列表。
|
|
134
|
+
*/
|
|
135
|
+
instanceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* 部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
|
|
138
|
+
*/
|
|
139
|
+
strategy?: pulumi.Input<string>;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* The set of arguments for constructing a DeploymentSet resource.
|
|
143
|
+
*/
|
|
144
|
+
export interface DeploymentSetArgs {
|
|
145
|
+
/**
|
|
146
|
+
* 部署集组的序号,取值范围:1~7。
|
|
147
|
+
*/
|
|
148
|
+
deploymentSetGroupNumber?: pulumi.Input<number>;
|
|
149
|
+
/**
|
|
150
|
+
* 部署集名称。不能以数字、中划线、下划线开头。只能包含中文、字母、数字、下划线和中划线。长度限制为1~128个字符。
|
|
151
|
+
*/
|
|
152
|
+
deploymentSetName: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* 部署集的描述信息。必须以字母或中文开头。只能包含中文、字母、数字、点“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”。长度限制在255个字符以内。
|
|
155
|
+
*/
|
|
156
|
+
description?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* 部署粒度,取值:host:物理机。rack:机架。switch:交换机。
|
|
159
|
+
*/
|
|
160
|
+
granularity?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* 部署集组数量。为部署集组高可用策略设置分组数量。取值范围:1~7。默认值:7。
|
|
163
|
+
*/
|
|
164
|
+
groupCount?: pulumi.Input<number>;
|
|
165
|
+
/**
|
|
166
|
+
* 部署集内的ECS实例ID列表。
|
|
167
|
+
*/
|
|
168
|
+
instanceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* 部署策略,取值:Availability(默认):高可用策略。AvailabilityGroup:部署集组高可用策略。
|
|
171
|
+
*/
|
|
172
|
+
strategy?: pulumi.Input<string>;
|
|
173
|
+
}
|