@pulumi/alicloud 3.92.0-alpha.1768281730 → 3.92.0
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/alikafka/consumerGroup.d.ts +51 -40
- package/alikafka/consumerGroup.js +16 -33
- package/alikafka/consumerGroup.js.map +1 -1
- package/cr/registryEnterpriseInstance.d.ts +65 -6
- package/cr/registryEnterpriseInstance.js +9 -1
- package/cr/registryEnterpriseInstance.js.map +1 -1
- package/drds/polardbxInstance.d.ts +71 -13
- package/drds/polardbxInstance.js +15 -3
- package/drds/polardbxInstance.js.map +1 -1
- package/eci/getZones.d.ts +7 -4
- package/eci/getZones.js +4 -4
- package/eci/getZones.js.map +1 -1
- package/ecs/instance.d.ts +10 -7
- package/ecs/instance.js.map +1 -1
- package/ess/eciScalingConfiguration.d.ts +13 -1
- package/ess/eciScalingConfiguration.js +3 -1
- package/ess/eciScalingConfiguration.js.map +1 -1
- package/gpdb/jdbcDataSource.d.ts +4 -3
- package/gpdb/jdbcDataSource.js +4 -3
- package/gpdb/jdbcDataSource.js.map +1 -1
- package/gpdb/streamingDataService.d.ts +6 -6
- package/gpdb/streamingDataService.js +3 -3
- package/hbr/policy.d.ts +3 -9
- package/hbr/policy.js.map +1 -1
- package/hbr/policyBinding.d.ts +8 -6
- package/hbr/policyBinding.js +5 -3
- package/hbr/policyBinding.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +14 -4
- package/mongodb/shardingInstance.js +4 -4
- package/mongodb/shardingInstance.js.map +1 -1
- package/package.json +2 -2
- package/rds/aiInstance.d.ts +291 -0
- package/rds/aiInstance.js +131 -0
- package/rds/aiInstance.js.map +1 -0
- package/rds/index.d.ts +3 -0
- package/rds/index.js +7 -2
- package/rds/index.js.map +1 -1
- package/resourcemanager/resourceShare.d.ts +39 -3
- package/resourcemanager/resourceShare.js +2 -0
- package/resourcemanager/resourceShare.js.map +1 -1
- package/resourcemanager/sharedResource.d.ts +45 -30
- package/resourcemanager/sharedResource.js +4 -6
- package/resourcemanager/sharedResource.js.map +1 -1
- package/threatdetection/checkConfig.d.ts +2 -0
- package/threatdetection/checkConfig.js +2 -0
- package/threatdetection/checkConfig.js.map +1 -1
- package/threatdetection/ossScanConfig.d.ts +3 -3
- package/types/input.d.ts +81 -13
- package/types/output.d.ts +81 -13
- package/vpc/havipAttachment.d.ts +12 -12
- package/vpc/havipAttachment.js +12 -12
- package/vpc/network.d.ts +3 -3
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides
|
|
3
|
+
* Provides a Ali Kafka Consumer Group resource.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* Group in kafka.
|
|
6
|
+
*
|
|
7
|
+
* For information about Ali Kafka Consumer Group and how to use it, see [What is Consumer Group](https://next.api.alibabacloud.com/document/alikafka/2019-09-16/CreateConsumerGroup).
|
|
6
8
|
*
|
|
7
|
-
* > **NOTE:**
|
|
8
|
-
* [`cn-hangzhou`,`cn-beijing`,`cn-shenzhen`,`cn-shanghai`,`cn-qingdao`,`cn-hongkong`,`cn-huhehaote`,`cn-zhangjiakou`,`cn-chengdu`,`cn-heyuan`,`ap-southeast-1`,`ap-southeast-3`,`ap-southeast-5`,`ap-northeast-1`,`eu-central-1`,`eu-west-1`,`us-west-1`,`us-east-1`]
|
|
9
|
+
* > **NOTE:** Available since v1.56.0.
|
|
9
10
|
*
|
|
10
11
|
* ## Example Usage
|
|
11
12
|
*
|
|
@@ -14,37 +15,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
15
|
* ```typescript
|
|
15
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
17
|
-
* import * as random from "@pulumi/random";
|
|
18
18
|
*
|
|
19
19
|
* const config = new pulumi.Config();
|
|
20
|
-
* const name = config.get("name") || "
|
|
21
|
-
* const
|
|
22
|
-
* min: 10000,
|
|
23
|
-
* max: 99999,
|
|
24
|
-
* });
|
|
25
|
-
* const _default = alicloud.getZones({
|
|
26
|
-
* availableResourceCreation: "VSwitch",
|
|
27
|
-
* });
|
|
28
|
-
* const defaultNetwork = new alicloud.vpc.Network("default", {cidrBlock: "172.16.0.0/12"});
|
|
29
|
-
* const defaultSwitch = new alicloud.vpc.Switch("default", {
|
|
30
|
-
* vpcId: defaultNetwork.id,
|
|
31
|
-
* cidrBlock: "172.16.0.0/24",
|
|
32
|
-
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
33
|
-
* });
|
|
34
|
-
* const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {vpcId: defaultNetwork.id});
|
|
35
|
-
* const defaultInstance = new alicloud.alikafka.Instance("default", {
|
|
36
|
-
* name: `${name}-${defaultInteger.result}`,
|
|
37
|
-
* partitionNum: 50,
|
|
38
|
-
* diskType: 1,
|
|
39
|
-
* diskSize: 500,
|
|
40
|
-
* deployType: 5,
|
|
41
|
-
* ioMax: 20,
|
|
42
|
-
* vswitchId: defaultSwitch.id,
|
|
43
|
-
* securityGroup: defaultSecurityGroup.id,
|
|
44
|
-
* });
|
|
20
|
+
* const name = config.get("name") || "terraform-example";
|
|
21
|
+
* const _default = alicloud.actiontrail.getInstances({});
|
|
45
22
|
* const defaultConsumerGroup = new alicloud.alikafka.ConsumerGroup("default", {
|
|
23
|
+
* instanceId: _default.then(_default => _default.instances?.[0]?.id),
|
|
46
24
|
* consumerId: name,
|
|
47
|
-
* instanceId: defaultInstance.id,
|
|
48
25
|
* });
|
|
49
26
|
* ```
|
|
50
27
|
*
|
|
@@ -52,10 +29,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
52
29
|
*
|
|
53
30
|
* ## Import
|
|
54
31
|
*
|
|
55
|
-
*
|
|
32
|
+
* AliKafka Consumer Group can be imported using the id, e.g.
|
|
56
33
|
*
|
|
57
34
|
* ```sh
|
|
58
|
-
* $ pulumi import alicloud:alikafka/consumerGroup:ConsumerGroup
|
|
35
|
+
* $ pulumi import alicloud:alikafka/consumerGroup:ConsumerGroup example <instance_id>:<consumer_id>
|
|
59
36
|
* ```
|
|
60
37
|
*/
|
|
61
38
|
export declare class ConsumerGroup extends pulumi.CustomResource {
|
|
@@ -75,17 +52,31 @@ export declare class ConsumerGroup extends pulumi.CustomResource {
|
|
|
75
52
|
*/
|
|
76
53
|
static isInstance(obj: any): obj is ConsumerGroup;
|
|
77
54
|
/**
|
|
78
|
-
* ID of the consumer group.
|
|
55
|
+
* ID of the consumer group.
|
|
79
56
|
*/
|
|
80
57
|
readonly consumerId: pulumi.Output<string>;
|
|
81
58
|
/**
|
|
82
|
-
* The
|
|
59
|
+
* (Available since v1.268.0) The timestamp of when the group was created.
|
|
60
|
+
*/
|
|
61
|
+
readonly createTime: pulumi.Output<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Field `description` has been deprecated from provider version 1.268.0. New field `remark` instead.
|
|
64
|
+
*
|
|
65
|
+
* @deprecated Field `description` has been deprecated from provider version 1.268.0. New field `remark` instead.
|
|
83
66
|
*/
|
|
84
|
-
readonly description: pulumi.Output<string
|
|
67
|
+
readonly description: pulumi.Output<string>;
|
|
85
68
|
/**
|
|
86
69
|
* ID of the ALIKAFKA Instance that owns the groups.
|
|
87
70
|
*/
|
|
88
71
|
readonly instanceId: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* (Available since v1.268.0) The region ID.
|
|
74
|
+
*/
|
|
75
|
+
readonly regionId: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The remark of the resource.
|
|
78
|
+
*/
|
|
79
|
+
readonly remark: pulumi.Output<string>;
|
|
89
80
|
/**
|
|
90
81
|
* A mapping of tags to assign to the resource.
|
|
91
82
|
*/
|
|
@@ -106,17 +97,31 @@ export declare class ConsumerGroup extends pulumi.CustomResource {
|
|
|
106
97
|
*/
|
|
107
98
|
export interface ConsumerGroupState {
|
|
108
99
|
/**
|
|
109
|
-
* ID of the consumer group.
|
|
100
|
+
* ID of the consumer group.
|
|
110
101
|
*/
|
|
111
102
|
consumerId?: pulumi.Input<string>;
|
|
112
103
|
/**
|
|
113
|
-
* The
|
|
104
|
+
* (Available since v1.268.0) The timestamp of when the group was created.
|
|
105
|
+
*/
|
|
106
|
+
createTime?: pulumi.Input<number>;
|
|
107
|
+
/**
|
|
108
|
+
* Field `description` has been deprecated from provider version 1.268.0. New field `remark` instead.
|
|
109
|
+
*
|
|
110
|
+
* @deprecated Field `description` has been deprecated from provider version 1.268.0. New field `remark` instead.
|
|
114
111
|
*/
|
|
115
112
|
description?: pulumi.Input<string>;
|
|
116
113
|
/**
|
|
117
114
|
* ID of the ALIKAFKA Instance that owns the groups.
|
|
118
115
|
*/
|
|
119
116
|
instanceId?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* (Available since v1.268.0) The region ID.
|
|
119
|
+
*/
|
|
120
|
+
regionId?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The remark of the resource.
|
|
123
|
+
*/
|
|
124
|
+
remark?: pulumi.Input<string>;
|
|
120
125
|
/**
|
|
121
126
|
* A mapping of tags to assign to the resource.
|
|
122
127
|
*/
|
|
@@ -129,17 +134,23 @@ export interface ConsumerGroupState {
|
|
|
129
134
|
*/
|
|
130
135
|
export interface ConsumerGroupArgs {
|
|
131
136
|
/**
|
|
132
|
-
* ID of the consumer group.
|
|
137
|
+
* ID of the consumer group.
|
|
133
138
|
*/
|
|
134
139
|
consumerId: pulumi.Input<string>;
|
|
135
140
|
/**
|
|
136
|
-
*
|
|
141
|
+
* Field `description` has been deprecated from provider version 1.268.0. New field `remark` instead.
|
|
142
|
+
*
|
|
143
|
+
* @deprecated Field `description` has been deprecated from provider version 1.268.0. New field `remark` instead.
|
|
137
144
|
*/
|
|
138
145
|
description?: pulumi.Input<string>;
|
|
139
146
|
/**
|
|
140
147
|
* ID of the ALIKAFKA Instance that owns the groups.
|
|
141
148
|
*/
|
|
142
149
|
instanceId: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The remark of the resource.
|
|
152
|
+
*/
|
|
153
|
+
remark?: pulumi.Input<string>;
|
|
143
154
|
/**
|
|
144
155
|
* A mapping of tags to assign to the resource.
|
|
145
156
|
*/
|
|
@@ -6,12 +6,13 @@ exports.ConsumerGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides
|
|
9
|
+
* Provides a Ali Kafka Consumer Group resource.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* Group in kafka.
|
|
12
|
+
*
|
|
13
|
+
* For information about Ali Kafka Consumer Group and how to use it, see [What is Consumer Group](https://next.api.alibabacloud.com/document/alikafka/2019-09-16/CreateConsumerGroup).
|
|
12
14
|
*
|
|
13
|
-
* > **NOTE:**
|
|
14
|
-
* [`cn-hangzhou`,`cn-beijing`,`cn-shenzhen`,`cn-shanghai`,`cn-qingdao`,`cn-hongkong`,`cn-huhehaote`,`cn-zhangjiakou`,`cn-chengdu`,`cn-heyuan`,`ap-southeast-1`,`ap-southeast-3`,`ap-southeast-5`,`ap-northeast-1`,`eu-central-1`,`eu-west-1`,`us-west-1`,`us-east-1`]
|
|
15
|
+
* > **NOTE:** Available since v1.56.0.
|
|
15
16
|
*
|
|
16
17
|
* ## Example Usage
|
|
17
18
|
*
|
|
@@ -20,37 +21,13 @@ const utilities = require("../utilities");
|
|
|
20
21
|
* ```typescript
|
|
21
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
23
|
* import * as alicloud from "@pulumi/alicloud";
|
|
23
|
-
* import * as random from "@pulumi/random";
|
|
24
24
|
*
|
|
25
25
|
* const config = new pulumi.Config();
|
|
26
|
-
* const name = config.get("name") || "
|
|
27
|
-
* const
|
|
28
|
-
* min: 10000,
|
|
29
|
-
* max: 99999,
|
|
30
|
-
* });
|
|
31
|
-
* const _default = alicloud.getZones({
|
|
32
|
-
* availableResourceCreation: "VSwitch",
|
|
33
|
-
* });
|
|
34
|
-
* const defaultNetwork = new alicloud.vpc.Network("default", {cidrBlock: "172.16.0.0/12"});
|
|
35
|
-
* const defaultSwitch = new alicloud.vpc.Switch("default", {
|
|
36
|
-
* vpcId: defaultNetwork.id,
|
|
37
|
-
* cidrBlock: "172.16.0.0/24",
|
|
38
|
-
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
39
|
-
* });
|
|
40
|
-
* const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {vpcId: defaultNetwork.id});
|
|
41
|
-
* const defaultInstance = new alicloud.alikafka.Instance("default", {
|
|
42
|
-
* name: `${name}-${defaultInteger.result}`,
|
|
43
|
-
* partitionNum: 50,
|
|
44
|
-
* diskType: 1,
|
|
45
|
-
* diskSize: 500,
|
|
46
|
-
* deployType: 5,
|
|
47
|
-
* ioMax: 20,
|
|
48
|
-
* vswitchId: defaultSwitch.id,
|
|
49
|
-
* securityGroup: defaultSecurityGroup.id,
|
|
50
|
-
* });
|
|
26
|
+
* const name = config.get("name") || "terraform-example";
|
|
27
|
+
* const _default = alicloud.actiontrail.getInstances({});
|
|
51
28
|
* const defaultConsumerGroup = new alicloud.alikafka.ConsumerGroup("default", {
|
|
29
|
+
* instanceId: _default.then(_default => _default.instances?.[0]?.id),
|
|
52
30
|
* consumerId: name,
|
|
53
|
-
* instanceId: defaultInstance.id,
|
|
54
31
|
* });
|
|
55
32
|
* ```
|
|
56
33
|
*
|
|
@@ -58,10 +35,10 @@ const utilities = require("../utilities");
|
|
|
58
35
|
*
|
|
59
36
|
* ## Import
|
|
60
37
|
*
|
|
61
|
-
*
|
|
38
|
+
* AliKafka Consumer Group can be imported using the id, e.g.
|
|
62
39
|
*
|
|
63
40
|
* ```sh
|
|
64
|
-
* $ pulumi import alicloud:alikafka/consumerGroup:ConsumerGroup
|
|
41
|
+
* $ pulumi import alicloud:alikafka/consumerGroup:ConsumerGroup example <instance_id>:<consumer_id>
|
|
65
42
|
* ```
|
|
66
43
|
*/
|
|
67
44
|
class ConsumerGroup extends pulumi.CustomResource {
|
|
@@ -93,8 +70,11 @@ class ConsumerGroup extends pulumi.CustomResource {
|
|
|
93
70
|
if (opts.id) {
|
|
94
71
|
const state = argsOrState;
|
|
95
72
|
resourceInputs["consumerId"] = state?.consumerId;
|
|
73
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
96
74
|
resourceInputs["description"] = state?.description;
|
|
97
75
|
resourceInputs["instanceId"] = state?.instanceId;
|
|
76
|
+
resourceInputs["regionId"] = state?.regionId;
|
|
77
|
+
resourceInputs["remark"] = state?.remark;
|
|
98
78
|
resourceInputs["tags"] = state?.tags;
|
|
99
79
|
}
|
|
100
80
|
else {
|
|
@@ -108,7 +88,10 @@ class ConsumerGroup extends pulumi.CustomResource {
|
|
|
108
88
|
resourceInputs["consumerId"] = args?.consumerId;
|
|
109
89
|
resourceInputs["description"] = args?.description;
|
|
110
90
|
resourceInputs["instanceId"] = args?.instanceId;
|
|
91
|
+
resourceInputs["remark"] = args?.remark;
|
|
111
92
|
resourceInputs["tags"] = args?.tags;
|
|
93
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["regionId"] = undefined /*out*/;
|
|
112
95
|
}
|
|
113
96
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
97
|
super(ConsumerGroup.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consumerGroup.js","sourceRoot":"","sources":["../../alikafka/consumerGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"consumerGroup.js","sourceRoot":"","sources":["../../alikafka/consumerGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;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,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,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,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAjGL,sCAkGC;AApFG,gBAAgB;AACO,0BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -4,7 +4,9 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a CR Instance resource.
|
|
6
6
|
*
|
|
7
|
-
* For information about Container Registry
|
|
7
|
+
* For information about Container Registry Instance and how to use it, see [What is Container Registry](https://www.alibabacloud.com/help/en/acr/product-overview/what-is-container-registry).
|
|
8
|
+
*
|
|
9
|
+
* For information about CR Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/doc-detail/208144.htm).
|
|
8
10
|
*
|
|
9
11
|
* > **NOTE:** Available since v1.124.0.
|
|
10
12
|
*
|
|
@@ -118,6 +120,12 @@ export declare class RegistryEnterpriseInstance extends pulumi.CustomResource {
|
|
|
118
120
|
readonly kmsEncryptionContext: pulumi.Output<{
|
|
119
121
|
[key: string]: string;
|
|
120
122
|
} | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* The number of additional namespaces to purchase. The value is an integral multiple of `5`.
|
|
125
|
+
*
|
|
126
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
127
|
+
*/
|
|
128
|
+
readonly namespaceQuota: pulumi.Output<number | undefined>;
|
|
121
129
|
/**
|
|
122
130
|
* Login password, 8-32 digits, must contain at least two letters, symbols, or numbers
|
|
123
131
|
*/
|
|
@@ -155,15 +163,28 @@ export declare class RegistryEnterpriseInstance extends pulumi.CustomResource {
|
|
|
155
163
|
*/
|
|
156
164
|
readonly renewalStatus: pulumi.Output<string>;
|
|
157
165
|
/**
|
|
158
|
-
* The
|
|
166
|
+
* The number of additional repositories to purchase. The value is an integral multiple of `1000`.
|
|
159
167
|
*
|
|
160
|
-
* The
|
|
168
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
169
|
+
*/
|
|
170
|
+
readonly repoQuota: pulumi.Output<number | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* The ID of the resource group
|
|
161
173
|
*/
|
|
162
174
|
readonly resourceGroupId: pulumi.Output<string>;
|
|
163
175
|
/**
|
|
164
176
|
* Instance Status
|
|
165
177
|
*/
|
|
166
178
|
readonly status: pulumi.Output<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The number of VPC access controls.
|
|
181
|
+
*
|
|
182
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
183
|
+
*
|
|
184
|
+
*
|
|
185
|
+
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
186
|
+
*/
|
|
187
|
+
readonly vpcQuota: pulumi.Output<number | undefined>;
|
|
167
188
|
/**
|
|
168
189
|
* Create a RegistryEnterpriseInstance resource with the given unique name, arguments, and options.
|
|
169
190
|
*
|
|
@@ -236,6 +257,12 @@ export interface RegistryEnterpriseInstanceState {
|
|
|
236
257
|
kmsEncryptionContext?: pulumi.Input<{
|
|
237
258
|
[key: string]: pulumi.Input<string>;
|
|
238
259
|
}>;
|
|
260
|
+
/**
|
|
261
|
+
* The number of additional namespaces to purchase. The value is an integral multiple of `5`.
|
|
262
|
+
*
|
|
263
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
264
|
+
*/
|
|
265
|
+
namespaceQuota?: pulumi.Input<number>;
|
|
239
266
|
/**
|
|
240
267
|
* Login password, 8-32 digits, must contain at least two letters, symbols, or numbers
|
|
241
268
|
*/
|
|
@@ -273,15 +300,28 @@ export interface RegistryEnterpriseInstanceState {
|
|
|
273
300
|
*/
|
|
274
301
|
renewalStatus?: pulumi.Input<string>;
|
|
275
302
|
/**
|
|
276
|
-
* The
|
|
303
|
+
* The number of additional repositories to purchase. The value is an integral multiple of `1000`.
|
|
277
304
|
*
|
|
278
|
-
* The
|
|
305
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
306
|
+
*/
|
|
307
|
+
repoQuota?: pulumi.Input<number>;
|
|
308
|
+
/**
|
|
309
|
+
* The ID of the resource group
|
|
279
310
|
*/
|
|
280
311
|
resourceGroupId?: pulumi.Input<string>;
|
|
281
312
|
/**
|
|
282
313
|
* Instance Status
|
|
283
314
|
*/
|
|
284
315
|
status?: pulumi.Input<string>;
|
|
316
|
+
/**
|
|
317
|
+
* The number of VPC access controls.
|
|
318
|
+
*
|
|
319
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
320
|
+
*
|
|
321
|
+
*
|
|
322
|
+
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
323
|
+
*/
|
|
324
|
+
vpcQuota?: pulumi.Input<number>;
|
|
285
325
|
}
|
|
286
326
|
/**
|
|
287
327
|
* The set of arguments for constructing a RegistryEnterpriseInstance resource.
|
|
@@ -328,6 +368,12 @@ export interface RegistryEnterpriseInstanceArgs {
|
|
|
328
368
|
kmsEncryptionContext?: pulumi.Input<{
|
|
329
369
|
[key: string]: pulumi.Input<string>;
|
|
330
370
|
}>;
|
|
371
|
+
/**
|
|
372
|
+
* The number of additional namespaces to purchase. The value is an integral multiple of `5`.
|
|
373
|
+
*
|
|
374
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
375
|
+
*/
|
|
376
|
+
namespaceQuota?: pulumi.Input<number>;
|
|
331
377
|
/**
|
|
332
378
|
* Login password, 8-32 digits, must contain at least two letters, symbols, or numbers
|
|
333
379
|
*/
|
|
@@ -360,10 +406,23 @@ export interface RegistryEnterpriseInstanceArgs {
|
|
|
360
406
|
* Default ManualRenewal.
|
|
361
407
|
*/
|
|
362
408
|
renewalStatus?: pulumi.Input<string>;
|
|
409
|
+
/**
|
|
410
|
+
* The number of additional repositories to purchase. The value is an integral multiple of `1000`.
|
|
411
|
+
*
|
|
412
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
413
|
+
*/
|
|
414
|
+
repoQuota?: pulumi.Input<number>;
|
|
363
415
|
/**
|
|
364
416
|
* The ID of the resource group
|
|
417
|
+
*/
|
|
418
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
419
|
+
/**
|
|
420
|
+
* The number of VPC access controls.
|
|
421
|
+
*
|
|
422
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
423
|
+
*
|
|
365
424
|
*
|
|
366
425
|
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
367
426
|
*/
|
|
368
|
-
|
|
427
|
+
vpcQuota?: pulumi.Input<number>;
|
|
369
428
|
}
|
|
@@ -8,7 +8,9 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a CR Instance resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Container Registry
|
|
11
|
+
* For information about Container Registry Instance and how to use it, see [What is Container Registry](https://www.alibabacloud.com/help/en/acr/product-overview/what-is-container-registry).
|
|
12
|
+
*
|
|
13
|
+
* For information about CR Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/doc-detail/208144.htm).
|
|
12
14
|
*
|
|
13
15
|
* > **NOTE:** Available since v1.124.0.
|
|
14
16
|
*
|
|
@@ -86,14 +88,17 @@ class RegistryEnterpriseInstance extends pulumi.CustomResource {
|
|
|
86
88
|
resourceInputs["instanceType"] = state?.instanceType;
|
|
87
89
|
resourceInputs["kmsEncryptedPassword"] = state?.kmsEncryptedPassword;
|
|
88
90
|
resourceInputs["kmsEncryptionContext"] = state?.kmsEncryptionContext;
|
|
91
|
+
resourceInputs["namespaceQuota"] = state?.namespaceQuota;
|
|
89
92
|
resourceInputs["password"] = state?.password;
|
|
90
93
|
resourceInputs["paymentType"] = state?.paymentType;
|
|
91
94
|
resourceInputs["period"] = state?.period;
|
|
92
95
|
resourceInputs["regionId"] = state?.regionId;
|
|
93
96
|
resourceInputs["renewPeriod"] = state?.renewPeriod;
|
|
94
97
|
resourceInputs["renewalStatus"] = state?.renewalStatus;
|
|
98
|
+
resourceInputs["repoQuota"] = state?.repoQuota;
|
|
95
99
|
resourceInputs["resourceGroupId"] = state?.resourceGroupId;
|
|
96
100
|
resourceInputs["status"] = state?.status;
|
|
101
|
+
resourceInputs["vpcQuota"] = state?.vpcQuota;
|
|
97
102
|
}
|
|
98
103
|
else {
|
|
99
104
|
const args = argsOrState;
|
|
@@ -113,12 +118,15 @@ class RegistryEnterpriseInstance extends pulumi.CustomResource {
|
|
|
113
118
|
resourceInputs["instanceType"] = args?.instanceType;
|
|
114
119
|
resourceInputs["kmsEncryptedPassword"] = args?.kmsEncryptedPassword;
|
|
115
120
|
resourceInputs["kmsEncryptionContext"] = args?.kmsEncryptionContext;
|
|
121
|
+
resourceInputs["namespaceQuota"] = args?.namespaceQuota;
|
|
116
122
|
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
117
123
|
resourceInputs["paymentType"] = args?.paymentType;
|
|
118
124
|
resourceInputs["period"] = args?.period;
|
|
119
125
|
resourceInputs["renewPeriod"] = args?.renewPeriod;
|
|
120
126
|
resourceInputs["renewalStatus"] = args?.renewalStatus;
|
|
127
|
+
resourceInputs["repoQuota"] = args?.repoQuota;
|
|
121
128
|
resourceInputs["resourceGroupId"] = args?.resourceGroupId;
|
|
129
|
+
resourceInputs["vpcQuota"] = args?.vpcQuota;
|
|
122
130
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
123
131
|
resourceInputs["createdTime"] = undefined /*out*/;
|
|
124
132
|
resourceInputs["endTime"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryEnterpriseInstance.js","sourceRoot":"","sources":["../../cr/registryEnterpriseInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"registryEnterpriseInstance.js","sourceRoot":"","sources":["../../cr/registryEnterpriseInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,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AAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAhOL,gEAiOC;AAnNG,gBAAgB;AACO,uCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a DRDS
|
|
3
|
+
* Provides a Distributed Relational Database Service (DRDS) Polardbx Instance resource.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* PolarDB-X Database Instance.
|
|
6
|
+
*
|
|
7
|
+
* For information about Distributed Relational Database Service (DRDS) Polardbx Instance and how to use it, see [What is Polardbx Instance](https://www.alibabacloud.com/help/en/polardb/polardb-for-xscale/api-createdbinstance-1).
|
|
6
8
|
*
|
|
7
9
|
* > **NOTE:** Available since v1.211.0.
|
|
8
10
|
*
|
|
@@ -44,7 +46,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
44
46
|
*
|
|
45
47
|
* ## Import
|
|
46
48
|
*
|
|
47
|
-
* DRDS
|
|
49
|
+
* Distributed Relational Database Service (DRDS) Polardbx Instance can be imported using the id, e.g.
|
|
48
50
|
*
|
|
49
51
|
* ```sh
|
|
50
52
|
* $ pulumi import alicloud:drds/polardbxInstance:PolardbxInstance example <id>
|
|
@@ -75,9 +77,13 @@ export declare class PolardbxInstance extends pulumi.CustomResource {
|
|
|
75
77
|
*/
|
|
76
78
|
readonly cnNodeCount: pulumi.Output<number>;
|
|
77
79
|
/**
|
|
78
|
-
* The creation time of the resource
|
|
80
|
+
* The creation time of the resource
|
|
79
81
|
*/
|
|
80
82
|
readonly createTime: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Instance remarks
|
|
85
|
+
*/
|
|
86
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
81
87
|
/**
|
|
82
88
|
* Storage node specifications.
|
|
83
89
|
*/
|
|
@@ -86,10 +92,28 @@ export declare class PolardbxInstance extends pulumi.CustomResource {
|
|
|
86
92
|
* The number of storage nodes.
|
|
87
93
|
*/
|
|
88
94
|
readonly dnNodeCount: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* Engine version, default 5.7
|
|
97
|
+
*/
|
|
98
|
+
readonly engineVersion: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Whether the instance is read-only.
|
|
101
|
+
*/
|
|
102
|
+
readonly isReadDbInstance: pulumi.Output<boolean | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* If the instance is a read-only instance, you must specify the primary instance.
|
|
105
|
+
*
|
|
106
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
107
|
+
*/
|
|
108
|
+
readonly primaryDbInstanceName: pulumi.Output<string | undefined>;
|
|
89
109
|
/**
|
|
90
110
|
* Primary Availability Zone.
|
|
91
111
|
*/
|
|
92
112
|
readonly primaryZone: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The region ID of the resource
|
|
115
|
+
*/
|
|
116
|
+
readonly regionId: pulumi.Output<string>;
|
|
93
117
|
/**
|
|
94
118
|
* The resource group ID can be empty. This parameter is not supported for the time being.
|
|
95
119
|
*/
|
|
@@ -99,7 +123,7 @@ export declare class PolardbxInstance extends pulumi.CustomResource {
|
|
|
99
123
|
*/
|
|
100
124
|
readonly secondaryZone: pulumi.Output<string | undefined>;
|
|
101
125
|
/**
|
|
102
|
-
* The status of the resource
|
|
126
|
+
* The status of the resource
|
|
103
127
|
*/
|
|
104
128
|
readonly status: pulumi.Output<string>;
|
|
105
129
|
/**
|
|
@@ -108,8 +132,6 @@ export declare class PolardbxInstance extends pulumi.CustomResource {
|
|
|
108
132
|
readonly tertiaryZone: pulumi.Output<string | undefined>;
|
|
109
133
|
/**
|
|
110
134
|
* Topology type:
|
|
111
|
-
* - **3azones**: three available areas;
|
|
112
|
-
* - **1azone**: Single zone.
|
|
113
135
|
*/
|
|
114
136
|
readonly topologyType: pulumi.Output<string>;
|
|
115
137
|
/**
|
|
@@ -142,9 +164,13 @@ export interface PolardbxInstanceState {
|
|
|
142
164
|
*/
|
|
143
165
|
cnNodeCount?: pulumi.Input<number>;
|
|
144
166
|
/**
|
|
145
|
-
* The creation time of the resource
|
|
167
|
+
* The creation time of the resource
|
|
146
168
|
*/
|
|
147
169
|
createTime?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Instance remarks
|
|
172
|
+
*/
|
|
173
|
+
description?: pulumi.Input<string>;
|
|
148
174
|
/**
|
|
149
175
|
* Storage node specifications.
|
|
150
176
|
*/
|
|
@@ -153,10 +179,28 @@ export interface PolardbxInstanceState {
|
|
|
153
179
|
* The number of storage nodes.
|
|
154
180
|
*/
|
|
155
181
|
dnNodeCount?: pulumi.Input<number>;
|
|
182
|
+
/**
|
|
183
|
+
* Engine version, default 5.7
|
|
184
|
+
*/
|
|
185
|
+
engineVersion?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Whether the instance is read-only.
|
|
188
|
+
*/
|
|
189
|
+
isReadDbInstance?: pulumi.Input<boolean>;
|
|
190
|
+
/**
|
|
191
|
+
* If the instance is a read-only instance, you must specify the primary instance.
|
|
192
|
+
*
|
|
193
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
194
|
+
*/
|
|
195
|
+
primaryDbInstanceName?: pulumi.Input<string>;
|
|
156
196
|
/**
|
|
157
197
|
* Primary Availability Zone.
|
|
158
198
|
*/
|
|
159
199
|
primaryZone?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* The region ID of the resource
|
|
202
|
+
*/
|
|
203
|
+
regionId?: pulumi.Input<string>;
|
|
160
204
|
/**
|
|
161
205
|
* The resource group ID can be empty. This parameter is not supported for the time being.
|
|
162
206
|
*/
|
|
@@ -166,7 +210,7 @@ export interface PolardbxInstanceState {
|
|
|
166
210
|
*/
|
|
167
211
|
secondaryZone?: pulumi.Input<string>;
|
|
168
212
|
/**
|
|
169
|
-
* The status of the resource
|
|
213
|
+
* The status of the resource
|
|
170
214
|
*/
|
|
171
215
|
status?: pulumi.Input<string>;
|
|
172
216
|
/**
|
|
@@ -175,8 +219,6 @@ export interface PolardbxInstanceState {
|
|
|
175
219
|
tertiaryZone?: pulumi.Input<string>;
|
|
176
220
|
/**
|
|
177
221
|
* Topology type:
|
|
178
|
-
* - **3azones**: three available areas;
|
|
179
|
-
* - **1azone**: Single zone.
|
|
180
222
|
*/
|
|
181
223
|
topologyType?: pulumi.Input<string>;
|
|
182
224
|
/**
|
|
@@ -200,6 +242,10 @@ export interface PolardbxInstanceArgs {
|
|
|
200
242
|
* Number of computing nodes.
|
|
201
243
|
*/
|
|
202
244
|
cnNodeCount: pulumi.Input<number>;
|
|
245
|
+
/**
|
|
246
|
+
* Instance remarks
|
|
247
|
+
*/
|
|
248
|
+
description?: pulumi.Input<string>;
|
|
203
249
|
/**
|
|
204
250
|
* Storage node specifications.
|
|
205
251
|
*/
|
|
@@ -208,6 +254,20 @@ export interface PolardbxInstanceArgs {
|
|
|
208
254
|
* The number of storage nodes.
|
|
209
255
|
*/
|
|
210
256
|
dnNodeCount: pulumi.Input<number>;
|
|
257
|
+
/**
|
|
258
|
+
* Engine version, default 5.7
|
|
259
|
+
*/
|
|
260
|
+
engineVersion?: pulumi.Input<string>;
|
|
261
|
+
/**
|
|
262
|
+
* Whether the instance is read-only.
|
|
263
|
+
*/
|
|
264
|
+
isReadDbInstance?: pulumi.Input<boolean>;
|
|
265
|
+
/**
|
|
266
|
+
* If the instance is a read-only instance, you must specify the primary instance.
|
|
267
|
+
*
|
|
268
|
+
* > **NOTE:** The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
|
|
269
|
+
*/
|
|
270
|
+
primaryDbInstanceName?: pulumi.Input<string>;
|
|
211
271
|
/**
|
|
212
272
|
* Primary Availability Zone.
|
|
213
273
|
*/
|
|
@@ -226,8 +286,6 @@ export interface PolardbxInstanceArgs {
|
|
|
226
286
|
tertiaryZone?: pulumi.Input<string>;
|
|
227
287
|
/**
|
|
228
288
|
* Topology type:
|
|
229
|
-
* - **3azones**: three available areas;
|
|
230
|
-
* - **1azone**: Single zone.
|
|
231
289
|
*/
|
|
232
290
|
topologyType: pulumi.Input<string>;
|
|
233
291
|
/**
|