@byteplus/pulumi-bytepluscc 0.0.16 → 0.0.17
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/getLoadBalancer.d.ts +8 -0
- package/alb/getLoadBalancer.js.map +1 -1
- package/alb/getServerGroup.d.ts +4 -0
- package/alb/getServerGroup.js.map +1 -1
- package/alb/loadBalancer.d.ts +24 -0
- package/alb/loadBalancer.js +4 -0
- package/alb/loadBalancer.js.map +1 -1
- package/alb/serverGroup.d.ts +12 -0
- package/alb/serverGroup.js +2 -0
- package/alb/serverGroup.js.map +1 -1
- package/apig/gatewayService.d.ts +40 -23
- package/apig/gatewayService.js +7 -21
- package/apig/gatewayService.js.map +1 -1
- package/apig/getGatewayService.d.ts +13 -1
- package/apig/getGatewayService.js.map +1 -1
- package/apig/getUpstream.d.ts +4 -0
- package/apig/getUpstream.js.map +1 -1
- package/apig/upstream.d.ts +12 -0
- package/apig/upstream.js +2 -0
- package/apig/upstream.js.map +1 -1
- package/autoscaling/getScalingPolicies.d.ts +22 -0
- package/autoscaling/getScalingPolicies.js +24 -0
- package/autoscaling/getScalingPolicies.js.map +1 -0
- package/autoscaling/getScalingPolicy.d.ts +81 -0
- package/autoscaling/getScalingPolicy.js +28 -0
- package/autoscaling/getScalingPolicy.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.js +12 -1
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/scalingPolicy.d.ts +171 -0
- package/autoscaling/scalingPolicy.js +87 -0
- package/autoscaling/scalingPolicy.js.map +1 -0
- package/directconnect/directConnectGateway.d.ts +8 -0
- package/directconnect/directConnectGateway.js +2 -0
- package/directconnect/directConnectGateway.js.map +1 -1
- package/directconnect/getDirectConnectGateway.d.ts +4 -0
- package/directconnect/getDirectConnectGateway.js.map +1 -1
- package/ecs/getHpcCluster.d.ts +73 -0
- package/ecs/getHpcCluster.js +28 -0
- package/ecs/getHpcCluster.js.map +1 -0
- package/ecs/getHpcClusters.d.ts +22 -0
- package/ecs/getHpcClusters.js +24 -0
- package/ecs/getHpcClusters.js.map +1 -0
- package/ecs/hpcCluster.d.ts +148 -0
- package/ecs/hpcCluster.js +98 -0
- package/ecs/hpcCluster.js.map +1 -0
- package/ecs/index.d.ts +9 -0
- package/ecs/index.js +12 -1
- package/ecs/index.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/kms/getKey.d.ts +12 -0
- package/kms/getKey.js.map +1 -1
- package/kms/key.d.ts +36 -27
- package/kms/key.js +7 -24
- package/kms/key.js.map +1 -1
- package/mongodb/allowList.d.ts +146 -0
- package/mongodb/allowList.js +82 -0
- package/mongodb/allowList.js.map +1 -0
- package/mongodb/getAllowList.d.ts +77 -0
- package/mongodb/getAllowList.js +28 -0
- package/mongodb/getAllowList.js.map +1 -0
- package/mongodb/getAllowLists.d.ts +22 -0
- package/mongodb/getAllowLists.js +24 -0
- package/mongodb/getAllowLists.js.map +1 -0
- package/mongodb/getInstance.d.ts +213 -0
- package/mongodb/getInstance.js +28 -0
- package/mongodb/getInstance.js.map +1 -0
- package/mongodb/getInstances.d.ts +22 -0
- package/mongodb/getInstances.js +24 -0
- package/mongodb/getInstances.js.map +1 -0
- package/mongodb/index.d.ts +18 -0
- package/mongodb/index.js +39 -0
- package/mongodb/index.js.map +1 -0
- package/mongodb/instance.d.ts +499 -0
- package/mongodb/instance.js +197 -0
- package/mongodb/instance.js.map +1 -0
- package/package.json +1 -1
- package/privatezone/getRecord.d.ts +88 -0
- package/privatezone/getRecord.js +28 -0
- package/privatezone/getRecord.js.map +1 -0
- package/privatezone/getRecords.d.ts +22 -0
- package/privatezone/getRecords.js +24 -0
- package/privatezone/getRecords.js.map +1 -0
- package/privatezone/getResolverEndpoint.d.ts +89 -0
- package/privatezone/getResolverEndpoint.js +28 -0
- package/privatezone/getResolverEndpoint.js.map +1 -0
- package/privatezone/getResolverEndpoints.d.ts +22 -0
- package/privatezone/getResolverEndpoints.js +24 -0
- package/privatezone/getResolverEndpoints.js.map +1 -0
- package/privatezone/getResolverRule.d.ts +93 -0
- package/privatezone/getResolverRule.js +28 -0
- package/privatezone/getResolverRule.js.map +1 -0
- package/privatezone/getResolverRules.d.ts +22 -0
- package/privatezone/getResolverRules.js +24 -0
- package/privatezone/getResolverRules.js.map +1 -0
- package/privatezone/index.d.ts +27 -0
- package/privatezone/index.js +50 -0
- package/privatezone/index.js.map +1 -0
- package/privatezone/record.d.ts +204 -0
- package/privatezone/record.js +113 -0
- package/privatezone/record.js.map +1 -0
- package/privatezone/resolverEndpoint.d.ts +165 -0
- package/privatezone/resolverEndpoint.js +91 -0
- package/privatezone/resolverEndpoint.js.map +1 -0
- package/privatezone/resolverRule.d.ts +168 -0
- package/privatezone/resolverRule.js +90 -0
- package/privatezone/resolverRule.js.map +1 -0
- package/rdsmssql/allowList.d.ts +174 -0
- package/rdsmssql/allowList.js +83 -0
- package/rdsmssql/allowList.js.map +1 -0
- package/rdsmssql/getAllowList.d.ts +85 -0
- package/rdsmssql/getAllowList.js +28 -0
- package/rdsmssql/getAllowList.js.map +1 -0
- package/rdsmssql/getAllowLists.d.ts +22 -0
- package/rdsmssql/getAllowLists.js +24 -0
- package/rdsmssql/getAllowLists.js.map +1 -0
- package/rdsmssql/index.d.ts +9 -0
- package/rdsmssql/index.js +12 -1
- package/rdsmssql/index.js.map +1 -1
- package/rdspostgresql/database.d.ts +141 -0
- package/rdspostgresql/database.js +92 -0
- package/rdspostgresql/database.js.map +1 -0
- package/rdspostgresql/dbEndpoint.d.ts +220 -0
- package/rdspostgresql/dbEndpoint.js +103 -0
- package/rdspostgresql/dbEndpoint.js.map +1 -0
- package/rdspostgresql/getDatabase.d.ts +64 -0
- package/rdspostgresql/getDatabase.js +28 -0
- package/rdspostgresql/getDatabase.js.map +1 -0
- package/rdspostgresql/getDatabases.d.ts +22 -0
- package/rdspostgresql/getDatabases.js +24 -0
- package/rdspostgresql/getDatabases.js.map +1 -0
- package/rdspostgresql/getDbEndpoint.d.ts +101 -0
- package/rdspostgresql/getDbEndpoint.js +28 -0
- package/rdspostgresql/getDbEndpoint.js.map +1 -0
- package/rdspostgresql/getDbEndpoints.d.ts +22 -0
- package/rdspostgresql/getDbEndpoints.js +24 -0
- package/rdspostgresql/getDbEndpoints.js.map +1 -0
- package/rdspostgresql/getSchema.d.ts +52 -0
- package/rdspostgresql/getSchema.js +28 -0
- package/rdspostgresql/getSchema.js.map +1 -0
- package/rdspostgresql/getSchemas.d.ts +22 -0
- package/rdspostgresql/getSchemas.js +24 -0
- package/rdspostgresql/getSchemas.js.map +1 -0
- package/rdspostgresql/index.d.ts +27 -0
- package/rdspostgresql/index.js +34 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/schema.d.ts +107 -0
- package/rdspostgresql/schema.js +90 -0
- package/rdspostgresql/schema.js.map +1 -0
- package/transitrouter/getTransitRouter.d.ts +8 -0
- package/transitrouter/getTransitRouter.js.map +1 -1
- package/transitrouter/getTransitRouterRouteEntry.d.ts +8 -0
- package/transitrouter/getTransitRouterRouteEntry.js.map +1 -1
- package/transitrouter/transitRouter.d.ts +20 -0
- package/transitrouter/transitRouter.js +4 -0
- package/transitrouter/transitRouter.js.map +1 -1
- package/transitrouter/transitRouterRouteEntry.d.ts +16 -0
- package/transitrouter/transitRouterRouteEntry.js +4 -0
- package/transitrouter/transitRouterRouteEntry.js.map +1 -1
- package/types/input.d.ts +641 -9
- package/types/output.d.ts +1384 -30
- package/vedbm/getInstance.d.ts +157 -0
- package/vedbm/getInstance.js +28 -0
- package/vedbm/getInstance.js.map +1 -0
- package/vedbm/getInstances.d.ts +22 -0
- package/vedbm/getInstances.js +24 -0
- package/vedbm/getInstances.js.map +1 -0
- package/vedbm/index.d.ts +9 -0
- package/vedbm/index.js +28 -0
- package/vedbm/index.js.map +1 -0
- package/vedbm/instance.d.ts +355 -0
- package/vedbm/instance.js +134 -0
- package/vedbm/instance.js.map +1 -0
- package/vpc/eip.d.ts +29 -0
- package/vpc/eip.js +26 -1
- package/vpc/eip.js.map +1 -1
package/kms/key.js
CHANGED
|
@@ -8,29 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* 密钥管理服务(Key Management Service)是火山引擎上一站式的密钥管理和数据加密服务平台。提供简单易用的加密接口,KMS 帮助用户轻松管理密钥、保护云上核心数据的安全。同时极大降低用户自行部署密码基础设施的采购、研发成本。帮助业务轻松满足监管和合规需求。
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
16
|
-
*
|
|
17
|
-
* const kMSKeyDemo = new bytepluscc.kms.Key("KMSKeyDemo", {
|
|
18
|
-
* keyringName: "KMSKeyDemo",
|
|
19
|
-
* keyName: "KMSKeyDemoKeyName",
|
|
20
|
-
* keySpec: "SYMMETRIC_256",
|
|
21
|
-
* description: "description KMSKeyDemo",
|
|
22
|
-
* keyUsage: "ENCRYPT_DECRYPT",
|
|
23
|
-
* protectionLevel: "HSM",
|
|
24
|
-
* rotateState: "Enable",
|
|
25
|
-
* origin: "CloudKMS",
|
|
26
|
-
* multiRegion: false,
|
|
27
|
-
* tags: [{
|
|
28
|
-
* key: "env",
|
|
29
|
-
* value: "test",
|
|
30
|
-
* }],
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
11
|
* ## Import
|
|
35
12
|
*
|
|
36
13
|
* ```sh
|
|
@@ -67,9 +44,12 @@ class Key extends pulumi.CustomResource {
|
|
|
67
44
|
const state = argsOrState;
|
|
68
45
|
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
69
46
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
47
|
+
resourceInputs["keyArchiveOperation"] = state ? state.keyArchiveOperation : undefined;
|
|
48
|
+
resourceInputs["keyEnableOperation"] = state ? state.keyEnableOperation : undefined;
|
|
70
49
|
resourceInputs["keyId"] = state ? state.keyId : undefined;
|
|
71
50
|
resourceInputs["keyMaterialExpireTime"] = state ? state.keyMaterialExpireTime : undefined;
|
|
72
51
|
resourceInputs["keyName"] = state ? state.keyName : undefined;
|
|
52
|
+
resourceInputs["keyRotationOperation"] = state ? state.keyRotationOperation : undefined;
|
|
73
53
|
resourceInputs["keySpec"] = state ? state.keySpec : undefined;
|
|
74
54
|
resourceInputs["keyState"] = state ? state.keyState : undefined;
|
|
75
55
|
resourceInputs["keyUsage"] = state ? state.keyUsage : undefined;
|
|
@@ -96,7 +76,10 @@ class Key extends pulumi.CustomResource {
|
|
|
96
76
|
throw new Error("Missing required property 'keyringName'");
|
|
97
77
|
}
|
|
98
78
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
79
|
+
resourceInputs["keyArchiveOperation"] = args ? args.keyArchiveOperation : undefined;
|
|
80
|
+
resourceInputs["keyEnableOperation"] = args ? args.keyEnableOperation : undefined;
|
|
99
81
|
resourceInputs["keyName"] = args ? args.keyName : undefined;
|
|
82
|
+
resourceInputs["keyRotationOperation"] = args ? args.keyRotationOperation : undefined;
|
|
100
83
|
resourceInputs["keySpec"] = args ? args.keySpec : undefined;
|
|
101
84
|
resourceInputs["keyUsage"] = args ? args.keyUsage : undefined;
|
|
102
85
|
resourceInputs["keyringName"] = args ? args.keyringName : undefined;
|
|
@@ -104,7 +87,6 @@ class Key extends pulumi.CustomResource {
|
|
|
104
87
|
resourceInputs["origin"] = args ? args.origin : undefined;
|
|
105
88
|
resourceInputs["protectionLevel"] = args ? args.protectionLevel : undefined;
|
|
106
89
|
resourceInputs["rotateInterval"] = args ? args.rotateInterval : undefined;
|
|
107
|
-
resourceInputs["rotateState"] = args ? args.rotateState : undefined;
|
|
108
90
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
109
91
|
resourceInputs["createdTime"] = undefined /*out*/;
|
|
110
92
|
resourceInputs["keyId"] = undefined /*out*/;
|
|
@@ -112,6 +94,7 @@ class Key extends pulumi.CustomResource {
|
|
|
112
94
|
resourceInputs["keyState"] = undefined /*out*/;
|
|
113
95
|
resourceInputs["lastRotationTime"] = undefined /*out*/;
|
|
114
96
|
resourceInputs["multiRegionConfiguration"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["rotateState"] = undefined /*out*/;
|
|
115
98
|
resourceInputs["scheduleDeleteTime"] = undefined /*out*/;
|
|
116
99
|
resourceInputs["scheduleRotationTime"] = undefined /*out*/;
|
|
117
100
|
resourceInputs["trn"] = undefined /*out*/;
|
package/kms/key.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../kms/key.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../kms/key.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IAwGD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F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ACvD,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAlML,kBAmMC;AArLG,gBAAgB;AACO,gBAAY,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 文档数据库 MongoDB 版实例创建成功后,您可以为实例设置白名单,以允许外部设备访问该实例。本文介绍如何通过控制台设置白名单。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import bytepluscc:mongodb/allowList:AllowList example "allow_list_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class AllowList extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing AllowList resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AllowListState, opts?: pulumi.CustomResourceOptions): AllowList;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of AllowList. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is AllowList;
|
|
29
|
+
/**
|
|
30
|
+
* 白名单类型。取值范围如下:Ordinary:普通白名单;Default:默认白名单。
|
|
31
|
+
*/
|
|
32
|
+
readonly allowListCategory: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* 白名单的备注信息,长度不可超过 200 个字符。
|
|
35
|
+
*/
|
|
36
|
+
readonly allowListDesc: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* 白名单 ID。
|
|
39
|
+
*/
|
|
40
|
+
readonly allowListId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* 白名单内的 IP 地址(或地址段)总数。
|
|
43
|
+
*/
|
|
44
|
+
readonly allowListIpNum: pulumi.Output<number>;
|
|
45
|
+
/**
|
|
46
|
+
* 白名单名称,名称需同时满足如下要求:不能以数字、中划线(-)开头。只能包含中文、字母、数字、下划线(_)和中划线(-)。长度需为 1~128 个字符。
|
|
47
|
+
*/
|
|
48
|
+
readonly allowListName: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* 白名单内的 IP 地址类型。当前仅支持 IPv4 地址。
|
|
51
|
+
*/
|
|
52
|
+
readonly allowListType: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* 输入 IP 地址或 CIDR 格式的 IP 地址段。
|
|
55
|
+
*/
|
|
56
|
+
readonly allowLists: pulumi.Output<string[]>;
|
|
57
|
+
/**
|
|
58
|
+
* 已绑定当前白名单的实例总数。
|
|
59
|
+
*/
|
|
60
|
+
readonly associatedInstanceNum: pulumi.Output<number>;
|
|
61
|
+
readonly associatedInstances: pulumi.Output<outputs.mongodb.AllowListAssociatedInstance[]>;
|
|
62
|
+
/**
|
|
63
|
+
* 当前白名单所属的项目。
|
|
64
|
+
*/
|
|
65
|
+
readonly projectName: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Create a AllowList resource with the given unique name, arguments, and options.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resource.
|
|
70
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
71
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
72
|
+
*/
|
|
73
|
+
constructor(name: string, args: AllowListArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Input properties used for looking up and filtering AllowList resources.
|
|
77
|
+
*/
|
|
78
|
+
export interface AllowListState {
|
|
79
|
+
/**
|
|
80
|
+
* 白名单类型。取值范围如下:Ordinary:普通白名单;Default:默认白名单。
|
|
81
|
+
*/
|
|
82
|
+
allowListCategory?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* 白名单的备注信息,长度不可超过 200 个字符。
|
|
85
|
+
*/
|
|
86
|
+
allowListDesc?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* 白名单 ID。
|
|
89
|
+
*/
|
|
90
|
+
allowListId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* 白名单内的 IP 地址(或地址段)总数。
|
|
93
|
+
*/
|
|
94
|
+
allowListIpNum?: pulumi.Input<number>;
|
|
95
|
+
/**
|
|
96
|
+
* 白名单名称,名称需同时满足如下要求:不能以数字、中划线(-)开头。只能包含中文、字母、数字、下划线(_)和中划线(-)。长度需为 1~128 个字符。
|
|
97
|
+
*/
|
|
98
|
+
allowListName?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* 白名单内的 IP 地址类型。当前仅支持 IPv4 地址。
|
|
101
|
+
*/
|
|
102
|
+
allowListType?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* 输入 IP 地址或 CIDR 格式的 IP 地址段。
|
|
105
|
+
*/
|
|
106
|
+
allowLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
107
|
+
/**
|
|
108
|
+
* 已绑定当前白名单的实例总数。
|
|
109
|
+
*/
|
|
110
|
+
associatedInstanceNum?: pulumi.Input<number>;
|
|
111
|
+
associatedInstances?: pulumi.Input<pulumi.Input<inputs.mongodb.AllowListAssociatedInstance>[]>;
|
|
112
|
+
/**
|
|
113
|
+
* 当前白名单所属的项目。
|
|
114
|
+
*/
|
|
115
|
+
projectName?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The set of arguments for constructing a AllowList resource.
|
|
119
|
+
*/
|
|
120
|
+
export interface AllowListArgs {
|
|
121
|
+
/**
|
|
122
|
+
* 白名单类型。取值范围如下:Ordinary:普通白名单;Default:默认白名单。
|
|
123
|
+
*/
|
|
124
|
+
allowListCategory?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* 白名单的备注信息,长度不可超过 200 个字符。
|
|
127
|
+
*/
|
|
128
|
+
allowListDesc?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* 白名单名称,名称需同时满足如下要求:不能以数字、中划线(-)开头。只能包含中文、字母、数字、下划线(_)和中划线(-)。长度需为 1~128 个字符。
|
|
131
|
+
*/
|
|
132
|
+
allowListName: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* 白名单内的 IP 地址类型。当前仅支持 IPv4 地址。
|
|
135
|
+
*/
|
|
136
|
+
allowListType?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* 输入 IP 地址或 CIDR 格式的 IP 地址段。
|
|
139
|
+
*/
|
|
140
|
+
allowLists: pulumi.Input<pulumi.Input<string>[]>;
|
|
141
|
+
associatedInstances?: pulumi.Input<pulumi.Input<inputs.mongodb.AllowListAssociatedInstance>[]>;
|
|
142
|
+
/**
|
|
143
|
+
* 当前白名单所属的项目。
|
|
144
|
+
*/
|
|
145
|
+
projectName?: pulumi.Input<string>;
|
|
146
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.AllowList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 文档数据库 MongoDB 版实例创建成功后,您可以为实例设置白名单,以允许外部设备访问该实例。本文介绍如何通过控制台设置白名单。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import bytepluscc:mongodb/allowList:AllowList example "allow_list_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class AllowList extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing AllowList resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new AllowList(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of AllowList. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === AllowList.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["allowListCategory"] = state ? state.allowListCategory : undefined;
|
|
46
|
+
resourceInputs["allowListDesc"] = state ? state.allowListDesc : undefined;
|
|
47
|
+
resourceInputs["allowListId"] = state ? state.allowListId : undefined;
|
|
48
|
+
resourceInputs["allowListIpNum"] = state ? state.allowListIpNum : undefined;
|
|
49
|
+
resourceInputs["allowListName"] = state ? state.allowListName : undefined;
|
|
50
|
+
resourceInputs["allowListType"] = state ? state.allowListType : undefined;
|
|
51
|
+
resourceInputs["allowLists"] = state ? state.allowLists : undefined;
|
|
52
|
+
resourceInputs["associatedInstanceNum"] = state ? state.associatedInstanceNum : undefined;
|
|
53
|
+
resourceInputs["associatedInstances"] = state ? state.associatedInstances : undefined;
|
|
54
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const args = argsOrState;
|
|
58
|
+
if ((!args || args.allowListName === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'allowListName'");
|
|
60
|
+
}
|
|
61
|
+
if ((!args || args.allowLists === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'allowLists'");
|
|
63
|
+
}
|
|
64
|
+
resourceInputs["allowListCategory"] = args ? args.allowListCategory : undefined;
|
|
65
|
+
resourceInputs["allowListDesc"] = args ? args.allowListDesc : undefined;
|
|
66
|
+
resourceInputs["allowListName"] = args ? args.allowListName : undefined;
|
|
67
|
+
resourceInputs["allowListType"] = args ? args.allowListType : undefined;
|
|
68
|
+
resourceInputs["allowLists"] = args ? args.allowLists : undefined;
|
|
69
|
+
resourceInputs["associatedInstances"] = args ? args.associatedInstances : undefined;
|
|
70
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
71
|
+
resourceInputs["allowListId"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["allowListIpNum"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["associatedInstanceNum"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
super(AllowList.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.AllowList = AllowList;
|
|
80
|
+
/** @internal */
|
|
81
|
+
AllowList.__pulumiType = 'bytepluscc:mongodb/allowList:AllowList';
|
|
82
|
+
//# sourceMappingURL=allowList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allowList.js","sourceRoot":"","sources":["../../mongodb/allowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAgDD,YAAY,IAAY,EAAE,WAA4C,EA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OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA9GL,8BA+GC;AAjGG,gBAAgB;AACO,sBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::MongoDB::AllowList
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAllowList(args: GetAllowListArgs, opts?: pulumi.InvokeOptions): Promise<GetAllowListResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getAllowList.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetAllowListArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getAllowList.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAllowListResult {
|
|
20
|
+
/**
|
|
21
|
+
* 白名单类型。取值范围如下:Ordinary:普通白名单;Default:默认白名单。
|
|
22
|
+
*/
|
|
23
|
+
readonly allowListCategory: string;
|
|
24
|
+
/**
|
|
25
|
+
* 白名单的备注信息,长度不可超过 200 个字符。
|
|
26
|
+
*/
|
|
27
|
+
readonly allowListDesc: string;
|
|
28
|
+
/**
|
|
29
|
+
* 白名单 ID。
|
|
30
|
+
*/
|
|
31
|
+
readonly allowListId: string;
|
|
32
|
+
/**
|
|
33
|
+
* 白名单内的 IP 地址(或地址段)总数。
|
|
34
|
+
*/
|
|
35
|
+
readonly allowListIpNum: number;
|
|
36
|
+
/**
|
|
37
|
+
* 白名单名称,名称需同时满足如下要求:不能以数字、中划线(-)开头。只能包含中文、字母、数字、下划线(_)和中划线(-)。长度需为 1~128 个字符。
|
|
38
|
+
*/
|
|
39
|
+
readonly allowListName: string;
|
|
40
|
+
/**
|
|
41
|
+
* 白名单内的 IP 地址类型。当前仅支持 IPv4 地址。
|
|
42
|
+
*/
|
|
43
|
+
readonly allowListType: string;
|
|
44
|
+
/**
|
|
45
|
+
* 输入 IP 地址或 CIDR 格式的 IP 地址段。
|
|
46
|
+
*/
|
|
47
|
+
readonly allowLists: string[];
|
|
48
|
+
/**
|
|
49
|
+
* 已绑定当前白名单的实例总数。
|
|
50
|
+
*/
|
|
51
|
+
readonly associatedInstanceNum: number;
|
|
52
|
+
/**
|
|
53
|
+
* 已绑定当前白名单的实例信息。
|
|
54
|
+
*/
|
|
55
|
+
readonly associatedInstances: outputs.mongodb.GetAllowListAssociatedInstance[];
|
|
56
|
+
/**
|
|
57
|
+
* Uniquely identifies the resource.
|
|
58
|
+
*/
|
|
59
|
+
readonly id: string;
|
|
60
|
+
/**
|
|
61
|
+
* 当前白名单所属的项目。
|
|
62
|
+
*/
|
|
63
|
+
readonly projectName: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Data Source schema for Byteplus::MongoDB::AllowList
|
|
67
|
+
*/
|
|
68
|
+
export declare function getAllowListOutput(args: GetAllowListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListResult>;
|
|
69
|
+
/**
|
|
70
|
+
* A collection of arguments for invoking getAllowList.
|
|
71
|
+
*/
|
|
72
|
+
export interface GetAllowListOutputArgs {
|
|
73
|
+
/**
|
|
74
|
+
* Uniquely identifies the resource.
|
|
75
|
+
*/
|
|
76
|
+
id: pulumi.Input<string>;
|
|
77
|
+
}
|
|
@@ -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.getAllowListOutput = exports.getAllowList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Byteplus::MongoDB::AllowList
|
|
10
|
+
*/
|
|
11
|
+
function getAllowList(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:mongodb/getAllowList:getAllowList", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getAllowList = getAllowList;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Byteplus::MongoDB::AllowList
|
|
20
|
+
*/
|
|
21
|
+
function getAllowListOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("bytepluscc:mongodb/getAllowList:getAllowList", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getAllowListOutput = getAllowListOutput;
|
|
28
|
+
//# sourceMappingURL=getAllowList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllowList.js","sourceRoot":"","sources":["../../mongodb/getAllowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AA6DD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::MongoDB::AllowList
|
|
4
|
+
*/
|
|
5
|
+
export declare function getAllowLists(opts?: pulumi.InvokeOptions): Promise<GetAllowListsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getAllowLists.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetAllowListsResult {
|
|
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::MongoDB::AllowList
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAllowListsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListsResult>;
|
|
@@ -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.getAllowListsOutput = exports.getAllowLists = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Byteplus::MongoDB::AllowList
|
|
10
|
+
*/
|
|
11
|
+
function getAllowLists(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("bytepluscc:mongodb/getAllowLists:getAllowLists", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getAllowLists = getAllowLists;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Byteplus::MongoDB::AllowList
|
|
18
|
+
*/
|
|
19
|
+
function getAllowListsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("bytepluscc:mongodb/getAllowLists:getAllowLists", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAllowListsOutput = getAllowListsOutput;
|
|
24
|
+
//# sourceMappingURL=getAllowLists.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllowLists.js","sourceRoot":"","sources":["../../mongodb/getAllowLists.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAiC;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE,EACpF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
|