@pulumi/alicloud 3.46.0 → 3.46.1
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 +15 -10
- package/alikafka/consumerGroup.js +15 -10
- package/alikafka/consumerGroup.js.map +1 -1
- package/alikafka/instance.d.ts +71 -15
- package/alikafka/instance.js +18 -2
- package/alikafka/instance.js.map +1 -1
- package/alikafka/topic.d.ts +16 -15
- package/alikafka/topic.js +13 -12
- package/alikafka/topic.js.map +1 -1
- package/bastionhost/host.d.ts +8 -9
- package/bastionhost/host.js +8 -9
- package/bastionhost/host.js.map +1 -1
- package/bastionhost/hostAccount.d.ts +8 -9
- package/bastionhost/hostAccount.js +8 -9
- package/bastionhost/hostAccount.js.map +1 -1
- package/bastionhost/hostAccountUserAttachment.d.ts +8 -9
- package/bastionhost/hostAccountUserAttachment.js +8 -9
- package/bastionhost/hostAccountUserAttachment.js.map +1 -1
- package/bastionhost/hostAccountUserGroupAttachment.d.ts +8 -9
- package/bastionhost/hostAccountUserGroupAttachment.js +8 -9
- package/bastionhost/hostAccountUserGroupAttachment.js.map +1 -1
- package/bastionhost/hostAttachment.d.ts +8 -9
- package/bastionhost/hostAttachment.js +8 -9
- package/bastionhost/hostAttachment.js.map +1 -1
- package/bastionhost/hostGroup.d.ts +8 -9
- package/bastionhost/hostGroup.js +8 -9
- package/bastionhost/hostGroup.js.map +1 -1
- package/bastionhost/hostGroupAccountUserAttachment.d.ts +8 -9
- package/bastionhost/hostGroupAccountUserAttachment.js +8 -9
- package/bastionhost/hostGroupAccountUserAttachment.js.map +1 -1
- package/bastionhost/hostGroupAccountUserGroupAttachment.d.ts +8 -9
- package/bastionhost/hostGroupAccountUserGroupAttachment.js +8 -9
- package/bastionhost/hostGroupAccountUserGroupAttachment.js.map +1 -1
- package/bastionhost/user.d.ts +8 -9
- package/bastionhost/user.js +8 -9
- package/bastionhost/user.js.map +1 -1
- package/bastionhost/userAttachment.d.ts +8 -9
- package/bastionhost/userAttachment.js +8 -9
- package/bastionhost/userAttachment.js.map +1 -1
- package/bastionhost/userGroup.d.ts +8 -9
- package/bastionhost/userGroup.js +8 -9
- package/bastionhost/userGroup.js.map +1 -1
- package/cen/transitRouterMulticastDomainPeerMember.d.ts +40 -15
- package/cen/transitRouterMulticastDomainPeerMember.js +40 -15
- package/cen/transitRouterMulticastDomainPeerMember.js.map +1 -1
- package/dms/enterpriseInstance.d.ts +1 -1
- package/ess/eciScalingConfiguration.d.ts +84 -0
- package/ess/eciScalingConfiguration.js +14 -0
- package/ess/eciScalingConfiguration.js.map +1 -1
- package/log/store.d.ts +84 -32
- package/log/store.js +12 -7
- package/log/store.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +1 -1
- package/package.json +1 -1
- package/rds/rdsUpgradeDbInstance.d.ts +57 -0
- package/rds/rdsUpgradeDbInstance.js +57 -0
- package/rds/rdsUpgradeDbInstance.js.map +1 -1
- package/types/input.d.ts +46 -11
- package/types/output.d.ts +46 -11
- package/vpc/peerConnection.d.ts +18 -24
- package/vpc/peerConnection.js +1 -1
- package/vpc/peerConnection.js.map +1 -1
|
@@ -101,7 +101,9 @@ class EciScalingConfiguration extends pulumi.CustomResource {
|
|
|
101
101
|
const state = argsOrState;
|
|
102
102
|
resourceInputs["acrRegistryInfos"] = state ? state.acrRegistryInfos : undefined;
|
|
103
103
|
resourceInputs["active"] = state ? state.active : undefined;
|
|
104
|
+
resourceInputs["activeDeadlineSeconds"] = state ? state.activeDeadlineSeconds : undefined;
|
|
104
105
|
resourceInputs["autoCreateEip"] = state ? state.autoCreateEip : undefined;
|
|
106
|
+
resourceInputs["autoMatchImageCache"] = state ? state.autoMatchImageCache : undefined;
|
|
105
107
|
resourceInputs["containerGroupName"] = state ? state.containerGroupName : undefined;
|
|
106
108
|
resourceInputs["containers"] = state ? state.containers : undefined;
|
|
107
109
|
resourceInputs["cpu"] = state ? state.cpu : undefined;
|
|
@@ -110,12 +112,16 @@ class EciScalingConfiguration extends pulumi.CustomResource {
|
|
|
110
112
|
resourceInputs["egressBandwidth"] = state ? state.egressBandwidth : undefined;
|
|
111
113
|
resourceInputs["eipBandwidth"] = state ? state.eipBandwidth : undefined;
|
|
112
114
|
resourceInputs["enableSls"] = state ? state.enableSls : undefined;
|
|
115
|
+
resourceInputs["ephemeralStorage"] = state ? state.ephemeralStorage : undefined;
|
|
113
116
|
resourceInputs["forceDelete"] = state ? state.forceDelete : undefined;
|
|
114
117
|
resourceInputs["hostAliases"] = state ? state.hostAliases : undefined;
|
|
115
118
|
resourceInputs["hostName"] = state ? state.hostName : undefined;
|
|
116
119
|
resourceInputs["imageRegistryCredentials"] = state ? state.imageRegistryCredentials : undefined;
|
|
120
|
+
resourceInputs["imageSnapshotId"] = state ? state.imageSnapshotId : undefined;
|
|
117
121
|
resourceInputs["ingressBandwidth"] = state ? state.ingressBandwidth : undefined;
|
|
118
122
|
resourceInputs["initContainers"] = state ? state.initContainers : undefined;
|
|
123
|
+
resourceInputs["ipv6AddressCount"] = state ? state.ipv6AddressCount : undefined;
|
|
124
|
+
resourceInputs["loadBalancerWeight"] = state ? state.loadBalancerWeight : undefined;
|
|
119
125
|
resourceInputs["memory"] = state ? state.memory : undefined;
|
|
120
126
|
resourceInputs["ramRoleName"] = state ? state.ramRoleName : undefined;
|
|
121
127
|
resourceInputs["resourceGroupId"] = state ? state.resourceGroupId : undefined;
|
|
@@ -126,6 +132,7 @@ class EciScalingConfiguration extends pulumi.CustomResource {
|
|
|
126
132
|
resourceInputs["spotPriceLimit"] = state ? state.spotPriceLimit : undefined;
|
|
127
133
|
resourceInputs["spotStrategy"] = state ? state.spotStrategy : undefined;
|
|
128
134
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
135
|
+
resourceInputs["terminationGracePeriodSeconds"] = state ? state.terminationGracePeriodSeconds : undefined;
|
|
129
136
|
resourceInputs["volumes"] = state ? state.volumes : undefined;
|
|
130
137
|
}
|
|
131
138
|
else {
|
|
@@ -135,7 +142,9 @@ class EciScalingConfiguration extends pulumi.CustomResource {
|
|
|
135
142
|
}
|
|
136
143
|
resourceInputs["acrRegistryInfos"] = args ? args.acrRegistryInfos : undefined;
|
|
137
144
|
resourceInputs["active"] = args ? args.active : undefined;
|
|
145
|
+
resourceInputs["activeDeadlineSeconds"] = args ? args.activeDeadlineSeconds : undefined;
|
|
138
146
|
resourceInputs["autoCreateEip"] = args ? args.autoCreateEip : undefined;
|
|
147
|
+
resourceInputs["autoMatchImageCache"] = args ? args.autoMatchImageCache : undefined;
|
|
139
148
|
resourceInputs["containerGroupName"] = args ? args.containerGroupName : undefined;
|
|
140
149
|
resourceInputs["containers"] = args ? args.containers : undefined;
|
|
141
150
|
resourceInputs["cpu"] = args ? args.cpu : undefined;
|
|
@@ -144,12 +153,16 @@ class EciScalingConfiguration extends pulumi.CustomResource {
|
|
|
144
153
|
resourceInputs["egressBandwidth"] = args ? args.egressBandwidth : undefined;
|
|
145
154
|
resourceInputs["eipBandwidth"] = args ? args.eipBandwidth : undefined;
|
|
146
155
|
resourceInputs["enableSls"] = args ? args.enableSls : undefined;
|
|
156
|
+
resourceInputs["ephemeralStorage"] = args ? args.ephemeralStorage : undefined;
|
|
147
157
|
resourceInputs["forceDelete"] = args ? args.forceDelete : undefined;
|
|
148
158
|
resourceInputs["hostAliases"] = args ? args.hostAliases : undefined;
|
|
149
159
|
resourceInputs["hostName"] = args ? args.hostName : undefined;
|
|
150
160
|
resourceInputs["imageRegistryCredentials"] = args ? args.imageRegistryCredentials : undefined;
|
|
161
|
+
resourceInputs["imageSnapshotId"] = args ? args.imageSnapshotId : undefined;
|
|
151
162
|
resourceInputs["ingressBandwidth"] = args ? args.ingressBandwidth : undefined;
|
|
152
163
|
resourceInputs["initContainers"] = args ? args.initContainers : undefined;
|
|
164
|
+
resourceInputs["ipv6AddressCount"] = args ? args.ipv6AddressCount : undefined;
|
|
165
|
+
resourceInputs["loadBalancerWeight"] = args ? args.loadBalancerWeight : undefined;
|
|
153
166
|
resourceInputs["memory"] = args ? args.memory : undefined;
|
|
154
167
|
resourceInputs["ramRoleName"] = args ? args.ramRoleName : undefined;
|
|
155
168
|
resourceInputs["resourceGroupId"] = args ? args.resourceGroupId : undefined;
|
|
@@ -160,6 +173,7 @@ class EciScalingConfiguration extends pulumi.CustomResource {
|
|
|
160
173
|
resourceInputs["spotPriceLimit"] = args ? args.spotPriceLimit : undefined;
|
|
161
174
|
resourceInputs["spotStrategy"] = args ? args.spotStrategy : undefined;
|
|
162
175
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
176
|
+
resourceInputs["terminationGracePeriodSeconds"] = args ? args.terminationGracePeriodSeconds : undefined;
|
|
163
177
|
resourceInputs["volumes"] = args ? args.volumes : undefined;
|
|
164
178
|
}
|
|
165
179
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eciScalingConfiguration.js","sourceRoot":"","sources":["../../ess/eciScalingConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,KA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C,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,+BAA+B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC,SAAS,CAAC;YACxG,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAjRL,0DAkRC;AApQG,gBAAgB;AACO,oCAAY,GAAG,8DAA8D,CAAC"}
|
package/log/store.d.ts
CHANGED
|
@@ -2,10 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Provides a SLS Log Store resource.
|
|
6
|
+
*
|
|
7
|
+
* For information about SLS Log Store and how to use it, see [What is Log Store](https://www.alibabacloud.com/help/doc-detail/48874.htm).
|
|
7
8
|
*
|
|
8
9
|
* > **NOTE:** Available since v1.0.0.
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
13
|
* Basic Usage
|
|
@@ -72,10 +74,10 @@ import * as outputs from "../types/output";
|
|
|
72
74
|
*
|
|
73
75
|
* ## Import
|
|
74
76
|
*
|
|
75
|
-
* Log
|
|
77
|
+
* SLS Log Store can be imported using the id, e.g.
|
|
76
78
|
*
|
|
77
79
|
* ```sh
|
|
78
|
-
* $ pulumi import alicloud:log/store:Store example
|
|
80
|
+
* $ pulumi import alicloud:log/store:Store example <project_name>:<logstore_name>
|
|
79
81
|
* ```
|
|
80
82
|
*/
|
|
81
83
|
export declare class Store extends pulumi.CustomResource {
|
|
@@ -103,39 +105,55 @@ export declare class Store extends pulumi.CustomResource {
|
|
|
103
105
|
*/
|
|
104
106
|
readonly autoSplit: pulumi.Output<boolean | undefined>;
|
|
105
107
|
/**
|
|
106
|
-
*
|
|
108
|
+
* Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
|
|
109
|
+
*/
|
|
110
|
+
readonly createTime: pulumi.Output<number>;
|
|
111
|
+
/**
|
|
112
|
+
* Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
|
|
107
113
|
*/
|
|
108
114
|
readonly enableWebTracking: pulumi.Output<boolean | undefined>;
|
|
109
115
|
/**
|
|
110
|
-
* Encrypted storage of data, providing data static protection capability,
|
|
116
|
+
* Encrypted storage of data, providing data static protection capability, encryptConf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encryptConf` below.
|
|
111
117
|
*/
|
|
112
|
-
readonly encryptConf: pulumi.Output<outputs.log.StoreEncryptConf
|
|
118
|
+
readonly encryptConf: pulumi.Output<outputs.log.StoreEncryptConf>;
|
|
113
119
|
/**
|
|
114
|
-
* The ttl of hot storage. Default to
|
|
120
|
+
* The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
|
|
115
121
|
*/
|
|
116
122
|
readonly hotTtl: pulumi.Output<number | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* The log store, which is unique in the same project. You need to specify one of the attributes: `logstoreName`, `name`.
|
|
125
|
+
*/
|
|
126
|
+
readonly logstoreName: pulumi.Output<string>;
|
|
117
127
|
/**
|
|
118
128
|
* The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
|
|
119
129
|
*/
|
|
120
130
|
readonly maxSplitShardCount: pulumi.Output<number | undefined>;
|
|
121
131
|
/**
|
|
122
|
-
* The mode of storage. Default to `standard`, must be `standard` or `query`.
|
|
132
|
+
* The mode of storage. Default to `standard`, must be `standard` or `query`, `lite`.
|
|
123
133
|
*/
|
|
124
|
-
readonly mode: pulumi.Output<string
|
|
134
|
+
readonly mode: pulumi.Output<string>;
|
|
125
135
|
/**
|
|
126
|
-
*
|
|
136
|
+
* . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.
|
|
137
|
+
*
|
|
138
|
+
* @deprecated Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.
|
|
127
139
|
*/
|
|
128
140
|
readonly name: pulumi.Output<string>;
|
|
129
141
|
/**
|
|
130
|
-
*
|
|
142
|
+
* . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.
|
|
143
|
+
*
|
|
144
|
+
* @deprecated Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.
|
|
131
145
|
*/
|
|
132
146
|
readonly project: pulumi.Output<string>;
|
|
133
147
|
/**
|
|
134
|
-
* The
|
|
148
|
+
* The project name to the log store belongs. You need to specify one of the attributes: `projectName`, `project`.
|
|
149
|
+
*/
|
|
150
|
+
readonly projectName: pulumi.Output<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
|
|
135
153
|
*/
|
|
136
154
|
readonly retentionPeriod: pulumi.Output<number | undefined>;
|
|
137
155
|
/**
|
|
138
|
-
* The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/
|
|
156
|
+
* The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/zh/sls/product-overview/shard).
|
|
139
157
|
*/
|
|
140
158
|
readonly shardCount: pulumi.Output<number | undefined>;
|
|
141
159
|
/**
|
|
@@ -144,6 +162,8 @@ export declare class Store extends pulumi.CustomResource {
|
|
|
144
162
|
readonly shards: pulumi.Output<outputs.log.StoreShard[]>;
|
|
145
163
|
/**
|
|
146
164
|
* Determines whether store type is metric. `Metrics` means metric store, empty means log store.
|
|
165
|
+
*
|
|
166
|
+
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
147
167
|
*/
|
|
148
168
|
readonly telemetryType: pulumi.Output<string | undefined>;
|
|
149
169
|
/**
|
|
@@ -153,7 +173,7 @@ export declare class Store extends pulumi.CustomResource {
|
|
|
153
173
|
* @param args The arguments to use to populate this resource's properties.
|
|
154
174
|
* @param opts A bag of options that control this resource's behavior.
|
|
155
175
|
*/
|
|
156
|
-
constructor(name: string, args
|
|
176
|
+
constructor(name: string, args?: StoreArgs, opts?: pulumi.CustomResourceOptions);
|
|
157
177
|
}
|
|
158
178
|
/**
|
|
159
179
|
* Input properties used for looking up and filtering Store resources.
|
|
@@ -168,39 +188,55 @@ export interface StoreState {
|
|
|
168
188
|
*/
|
|
169
189
|
autoSplit?: pulumi.Input<boolean>;
|
|
170
190
|
/**
|
|
171
|
-
*
|
|
191
|
+
* Log library creation time. Unix timestamp format that represents the number of seconds from 1970-1-1 00:00:00 UTC calculation.
|
|
192
|
+
*/
|
|
193
|
+
createTime?: pulumi.Input<number>;
|
|
194
|
+
/**
|
|
195
|
+
* Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
|
|
172
196
|
*/
|
|
173
197
|
enableWebTracking?: pulumi.Input<boolean>;
|
|
174
198
|
/**
|
|
175
|
-
* Encrypted storage of data, providing data static protection capability,
|
|
199
|
+
* Encrypted storage of data, providing data static protection capability, encryptConf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encryptConf` below.
|
|
176
200
|
*/
|
|
177
201
|
encryptConf?: pulumi.Input<inputs.log.StoreEncryptConf>;
|
|
178
202
|
/**
|
|
179
|
-
* The ttl of hot storage. Default to
|
|
203
|
+
* The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
|
|
180
204
|
*/
|
|
181
205
|
hotTtl?: pulumi.Input<number>;
|
|
206
|
+
/**
|
|
207
|
+
* The log store, which is unique in the same project. You need to specify one of the attributes: `logstoreName`, `name`.
|
|
208
|
+
*/
|
|
209
|
+
logstoreName?: pulumi.Input<string>;
|
|
182
210
|
/**
|
|
183
211
|
* The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
|
|
184
212
|
*/
|
|
185
213
|
maxSplitShardCount?: pulumi.Input<number>;
|
|
186
214
|
/**
|
|
187
|
-
* The mode of storage. Default to `standard`, must be `standard` or `query`.
|
|
215
|
+
* The mode of storage. Default to `standard`, must be `standard` or `query`, `lite`.
|
|
188
216
|
*/
|
|
189
217
|
mode?: pulumi.Input<string>;
|
|
190
218
|
/**
|
|
191
|
-
*
|
|
219
|
+
* . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.
|
|
220
|
+
*
|
|
221
|
+
* @deprecated Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.
|
|
192
222
|
*/
|
|
193
223
|
name?: pulumi.Input<string>;
|
|
194
224
|
/**
|
|
195
|
-
*
|
|
225
|
+
* . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.
|
|
226
|
+
*
|
|
227
|
+
* @deprecated Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.
|
|
196
228
|
*/
|
|
197
229
|
project?: pulumi.Input<string>;
|
|
198
230
|
/**
|
|
199
|
-
* The
|
|
231
|
+
* The project name to the log store belongs. You need to specify one of the attributes: `projectName`, `project`.
|
|
232
|
+
*/
|
|
233
|
+
projectName?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
|
|
200
236
|
*/
|
|
201
237
|
retentionPeriod?: pulumi.Input<number>;
|
|
202
238
|
/**
|
|
203
|
-
* The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/
|
|
239
|
+
* The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/zh/sls/product-overview/shard).
|
|
204
240
|
*/
|
|
205
241
|
shardCount?: pulumi.Input<number>;
|
|
206
242
|
/**
|
|
@@ -209,6 +245,8 @@ export interface StoreState {
|
|
|
209
245
|
shards?: pulumi.Input<pulumi.Input<inputs.log.StoreShard>[]>;
|
|
210
246
|
/**
|
|
211
247
|
* Determines whether store type is metric. `Metrics` means metric store, empty means log store.
|
|
248
|
+
*
|
|
249
|
+
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
212
250
|
*/
|
|
213
251
|
telemetryType?: pulumi.Input<string>;
|
|
214
252
|
}
|
|
@@ -225,43 +263,57 @@ export interface StoreArgs {
|
|
|
225
263
|
*/
|
|
226
264
|
autoSplit?: pulumi.Input<boolean>;
|
|
227
265
|
/**
|
|
228
|
-
*
|
|
266
|
+
* Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
|
|
229
267
|
*/
|
|
230
268
|
enableWebTracking?: pulumi.Input<boolean>;
|
|
231
269
|
/**
|
|
232
|
-
* Encrypted storage of data, providing data static protection capability,
|
|
270
|
+
* Encrypted storage of data, providing data static protection capability, encryptConf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encryptConf` below.
|
|
233
271
|
*/
|
|
234
272
|
encryptConf?: pulumi.Input<inputs.log.StoreEncryptConf>;
|
|
235
273
|
/**
|
|
236
|
-
* The ttl of hot storage. Default to
|
|
274
|
+
* The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
|
|
237
275
|
*/
|
|
238
276
|
hotTtl?: pulumi.Input<number>;
|
|
277
|
+
/**
|
|
278
|
+
* The log store, which is unique in the same project. You need to specify one of the attributes: `logstoreName`, `name`.
|
|
279
|
+
*/
|
|
280
|
+
logstoreName?: pulumi.Input<string>;
|
|
239
281
|
/**
|
|
240
282
|
* The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
|
|
241
283
|
*/
|
|
242
284
|
maxSplitShardCount?: pulumi.Input<number>;
|
|
243
285
|
/**
|
|
244
|
-
* The mode of storage. Default to `standard`, must be `standard` or `query`.
|
|
286
|
+
* The mode of storage. Default to `standard`, must be `standard` or `query`, `lite`.
|
|
245
287
|
*/
|
|
246
288
|
mode?: pulumi.Input<string>;
|
|
247
289
|
/**
|
|
248
|
-
*
|
|
290
|
+
* . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.
|
|
291
|
+
*
|
|
292
|
+
* @deprecated Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.
|
|
249
293
|
*/
|
|
250
294
|
name?: pulumi.Input<string>;
|
|
251
295
|
/**
|
|
252
|
-
*
|
|
296
|
+
* . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.
|
|
297
|
+
*
|
|
298
|
+
* @deprecated Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.
|
|
253
299
|
*/
|
|
254
|
-
project
|
|
300
|
+
project?: pulumi.Input<string>;
|
|
255
301
|
/**
|
|
256
|
-
* The
|
|
302
|
+
* The project name to the log store belongs. You need to specify one of the attributes: `projectName`, `project`.
|
|
303
|
+
*/
|
|
304
|
+
projectName?: pulumi.Input<string>;
|
|
305
|
+
/**
|
|
306
|
+
* The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.
|
|
257
307
|
*/
|
|
258
308
|
retentionPeriod?: pulumi.Input<number>;
|
|
259
309
|
/**
|
|
260
|
-
* The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/
|
|
310
|
+
* The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/zh/sls/product-overview/shard).
|
|
261
311
|
*/
|
|
262
312
|
shardCount?: pulumi.Input<number>;
|
|
263
313
|
/**
|
|
264
314
|
* Determines whether store type is metric. `Metrics` means metric store, empty means log store.
|
|
315
|
+
*
|
|
316
|
+
* The following arguments will be discarded. Please use new fields as soon as possible:
|
|
265
317
|
*/
|
|
266
318
|
telemetryType?: pulumi.Input<string>;
|
|
267
319
|
}
|
package/log/store.js
CHANGED
|
@@ -6,10 +6,12 @@ exports.Store = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Provides a SLS Log Store resource.
|
|
10
|
+
*
|
|
11
|
+
* For information about SLS Log Store and how to use it, see [What is Log Store](https://www.alibabacloud.com/help/doc-detail/48874.htm).
|
|
11
12
|
*
|
|
12
13
|
* > **NOTE:** Available since v1.0.0.
|
|
14
|
+
*
|
|
13
15
|
* ## Example Usage
|
|
14
16
|
*
|
|
15
17
|
* Basic Usage
|
|
@@ -76,10 +78,10 @@ const utilities = require("../utilities");
|
|
|
76
78
|
*
|
|
77
79
|
* ## Import
|
|
78
80
|
*
|
|
79
|
-
* Log
|
|
81
|
+
* SLS Log Store can be imported using the id, e.g.
|
|
80
82
|
*
|
|
81
83
|
* ```sh
|
|
82
|
-
* $ pulumi import alicloud:log/store:Store example
|
|
84
|
+
* $ pulumi import alicloud:log/store:Store example <project_name>:<logstore_name>
|
|
83
85
|
* ```
|
|
84
86
|
*/
|
|
85
87
|
class Store extends pulumi.CustomResource {
|
|
@@ -112,13 +114,16 @@ class Store extends pulumi.CustomResource {
|
|
|
112
114
|
const state = argsOrState;
|
|
113
115
|
resourceInputs["appendMeta"] = state ? state.appendMeta : undefined;
|
|
114
116
|
resourceInputs["autoSplit"] = state ? state.autoSplit : undefined;
|
|
117
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
115
118
|
resourceInputs["enableWebTracking"] = state ? state.enableWebTracking : undefined;
|
|
116
119
|
resourceInputs["encryptConf"] = state ? state.encryptConf : undefined;
|
|
117
120
|
resourceInputs["hotTtl"] = state ? state.hotTtl : undefined;
|
|
121
|
+
resourceInputs["logstoreName"] = state ? state.logstoreName : undefined;
|
|
118
122
|
resourceInputs["maxSplitShardCount"] = state ? state.maxSplitShardCount : undefined;
|
|
119
123
|
resourceInputs["mode"] = state ? state.mode : undefined;
|
|
120
124
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
121
125
|
resourceInputs["project"] = state ? state.project : undefined;
|
|
126
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
122
127
|
resourceInputs["retentionPeriod"] = state ? state.retentionPeriod : undefined;
|
|
123
128
|
resourceInputs["shardCount"] = state ? state.shardCount : undefined;
|
|
124
129
|
resourceInputs["shards"] = state ? state.shards : undefined;
|
|
@@ -126,21 +131,21 @@ class Store extends pulumi.CustomResource {
|
|
|
126
131
|
}
|
|
127
132
|
else {
|
|
128
133
|
const args = argsOrState;
|
|
129
|
-
if ((!args || args.project === undefined) && !opts.urn) {
|
|
130
|
-
throw new Error("Missing required property 'project'");
|
|
131
|
-
}
|
|
132
134
|
resourceInputs["appendMeta"] = args ? args.appendMeta : undefined;
|
|
133
135
|
resourceInputs["autoSplit"] = args ? args.autoSplit : undefined;
|
|
134
136
|
resourceInputs["enableWebTracking"] = args ? args.enableWebTracking : undefined;
|
|
135
137
|
resourceInputs["encryptConf"] = args ? args.encryptConf : undefined;
|
|
136
138
|
resourceInputs["hotTtl"] = args ? args.hotTtl : undefined;
|
|
139
|
+
resourceInputs["logstoreName"] = args ? args.logstoreName : undefined;
|
|
137
140
|
resourceInputs["maxSplitShardCount"] = args ? args.maxSplitShardCount : undefined;
|
|
138
141
|
resourceInputs["mode"] = args ? args.mode : undefined;
|
|
139
142
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
140
143
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
144
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
141
145
|
resourceInputs["retentionPeriod"] = args ? args.retentionPeriod : undefined;
|
|
142
146
|
resourceInputs["shardCount"] = args ? args.shardCount : undefined;
|
|
143
147
|
resourceInputs["telemetryType"] = args ? args.telemetryType : undefined;
|
|
148
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
144
149
|
resourceInputs["shards"] = undefined /*out*/;
|
|
145
150
|
}
|
|
146
151
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/log/store.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../log/store.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../log/store.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAiFD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,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;IAC1D,CAAC;;AArJL,sBAsJC;AAxIG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
|
@@ -195,7 +195,7 @@ export declare class ShardingInstance extends pulumi.CustomResource {
|
|
|
195
195
|
/**
|
|
196
196
|
* The virtual switch ID to launch DB instances in one VPC.
|
|
197
197
|
*/
|
|
198
|
-
readonly vswitchId: pulumi.Output<string
|
|
198
|
+
readonly vswitchId: pulumi.Output<string>;
|
|
199
199
|
/**
|
|
200
200
|
* The Zone to launch the DB instance. MongoDB sharding instance does not support multiple-zone.
|
|
201
201
|
* If it is a multi-zone and `vswitchId` is specified, the vswitch must in one of them.
|
package/package.json
CHANGED
|
@@ -9,6 +9,63 @@ import * as outputs from "../types/output";
|
|
|
9
9
|
* > **NOTE:** Available since v1.153.0+.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
* ### Create a RDS PostgreSQL upgrade instance
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
17
|
+
*
|
|
18
|
+
* const exampleZones = alicloud.rds.getZones({
|
|
19
|
+
* engine: "PostgreSQL",
|
|
20
|
+
* engineVersion: "13.0",
|
|
21
|
+
* instanceChargeType: "PostPaid",
|
|
22
|
+
* category: "HighAvailability",
|
|
23
|
+
* dbInstanceStorageType: "cloud_essd",
|
|
24
|
+
* });
|
|
25
|
+
* const exampleInstanceClasses = exampleZones.then(exampleZones => alicloud.rds.getInstanceClasses({
|
|
26
|
+
* zoneId: exampleZones.zones?.[0]?.id,
|
|
27
|
+
* engine: "PostgreSQL",
|
|
28
|
+
* engineVersion: "13.0",
|
|
29
|
+
* category: "HighAvailability",
|
|
30
|
+
* dbInstanceStorageType: "cloud_essd",
|
|
31
|
+
* instanceChargeType: "PostPaid",
|
|
32
|
+
* }));
|
|
33
|
+
* const exampleCrossRegions = alicloud.rds.getCrossRegions({});
|
|
34
|
+
* const exampleNetwork = new alicloud.vpc.Network("exampleNetwork", {
|
|
35
|
+
* vpcName: "terraform-example",
|
|
36
|
+
* cidrBlock: "172.16.0.0/16",
|
|
37
|
+
* });
|
|
38
|
+
* const exampleSwitch = new alicloud.vpc.Switch("exampleSwitch", {
|
|
39
|
+
* vpcId: exampleNetwork.id,
|
|
40
|
+
* cidrBlock: "172.16.0.0/24",
|
|
41
|
+
* zoneId: exampleZones.then(exampleZones => exampleZones.zones?.[0]?.id),
|
|
42
|
+
* vswitchName: "terraform-example",
|
|
43
|
+
* });
|
|
44
|
+
* const exampleInstance = new alicloud.rds.Instance("exampleInstance", {
|
|
45
|
+
* engine: "PostgreSQL",
|
|
46
|
+
* engineVersion: "13.0",
|
|
47
|
+
* dbInstanceStorageType: "cloud_essd",
|
|
48
|
+
* instanceType: exampleInstanceClasses.then(exampleInstanceClasses => exampleInstanceClasses.instanceClasses?.[0]?.instanceClass),
|
|
49
|
+
* instanceStorage: exampleInstanceClasses.then(exampleInstanceClasses => exampleInstanceClasses.instanceClasses?.[0]?.storageRange?.min),
|
|
50
|
+
* instanceChargeType: "Postpaid",
|
|
51
|
+
* instanceName: "terraform-example",
|
|
52
|
+
* vswitchId: exampleSwitch.id,
|
|
53
|
+
* monitoringPeriod: 60,
|
|
54
|
+
* });
|
|
55
|
+
* const exampleRdsUpgradeDbInstance = new alicloud.rds.RdsUpgradeDbInstance("exampleRdsUpgradeDbInstance", {
|
|
56
|
+
* sourceDbInstanceId: exampleInstance.id,
|
|
57
|
+
* targetMajorVersion: "14.0",
|
|
58
|
+
* dbInstanceClass: exampleInstance.instanceType,
|
|
59
|
+
* dbInstanceStorage: exampleInstance.instanceStorage,
|
|
60
|
+
* dbInstanceStorageType: exampleInstance.dbInstanceStorageType,
|
|
61
|
+
* instanceNetworkType: "VPC",
|
|
62
|
+
* collectStatMode: "After",
|
|
63
|
+
* switchOver: "false",
|
|
64
|
+
* paymentType: "PayAsYouGo",
|
|
65
|
+
* dbInstanceDescription: "terraform-example",
|
|
66
|
+
* vswitchId: exampleSwitch.id,
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
12
69
|
*
|
|
13
70
|
* ## Import
|
|
14
71
|
*
|
|
@@ -13,6 +13,63 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* > **NOTE:** Available since v1.153.0+.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
|
+
* ### Create a RDS PostgreSQL upgrade instance
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
21
|
+
*
|
|
22
|
+
* const exampleZones = alicloud.rds.getZones({
|
|
23
|
+
* engine: "PostgreSQL",
|
|
24
|
+
* engineVersion: "13.0",
|
|
25
|
+
* instanceChargeType: "PostPaid",
|
|
26
|
+
* category: "HighAvailability",
|
|
27
|
+
* dbInstanceStorageType: "cloud_essd",
|
|
28
|
+
* });
|
|
29
|
+
* const exampleInstanceClasses = exampleZones.then(exampleZones => alicloud.rds.getInstanceClasses({
|
|
30
|
+
* zoneId: exampleZones.zones?.[0]?.id,
|
|
31
|
+
* engine: "PostgreSQL",
|
|
32
|
+
* engineVersion: "13.0",
|
|
33
|
+
* category: "HighAvailability",
|
|
34
|
+
* dbInstanceStorageType: "cloud_essd",
|
|
35
|
+
* instanceChargeType: "PostPaid",
|
|
36
|
+
* }));
|
|
37
|
+
* const exampleCrossRegions = alicloud.rds.getCrossRegions({});
|
|
38
|
+
* const exampleNetwork = new alicloud.vpc.Network("exampleNetwork", {
|
|
39
|
+
* vpcName: "terraform-example",
|
|
40
|
+
* cidrBlock: "172.16.0.0/16",
|
|
41
|
+
* });
|
|
42
|
+
* const exampleSwitch = new alicloud.vpc.Switch("exampleSwitch", {
|
|
43
|
+
* vpcId: exampleNetwork.id,
|
|
44
|
+
* cidrBlock: "172.16.0.0/24",
|
|
45
|
+
* zoneId: exampleZones.then(exampleZones => exampleZones.zones?.[0]?.id),
|
|
46
|
+
* vswitchName: "terraform-example",
|
|
47
|
+
* });
|
|
48
|
+
* const exampleInstance = new alicloud.rds.Instance("exampleInstance", {
|
|
49
|
+
* engine: "PostgreSQL",
|
|
50
|
+
* engineVersion: "13.0",
|
|
51
|
+
* dbInstanceStorageType: "cloud_essd",
|
|
52
|
+
* instanceType: exampleInstanceClasses.then(exampleInstanceClasses => exampleInstanceClasses.instanceClasses?.[0]?.instanceClass),
|
|
53
|
+
* instanceStorage: exampleInstanceClasses.then(exampleInstanceClasses => exampleInstanceClasses.instanceClasses?.[0]?.storageRange?.min),
|
|
54
|
+
* instanceChargeType: "Postpaid",
|
|
55
|
+
* instanceName: "terraform-example",
|
|
56
|
+
* vswitchId: exampleSwitch.id,
|
|
57
|
+
* monitoringPeriod: 60,
|
|
58
|
+
* });
|
|
59
|
+
* const exampleRdsUpgradeDbInstance = new alicloud.rds.RdsUpgradeDbInstance("exampleRdsUpgradeDbInstance", {
|
|
60
|
+
* sourceDbInstanceId: exampleInstance.id,
|
|
61
|
+
* targetMajorVersion: "14.0",
|
|
62
|
+
* dbInstanceClass: exampleInstance.instanceType,
|
|
63
|
+
* dbInstanceStorage: exampleInstance.instanceStorage,
|
|
64
|
+
* dbInstanceStorageType: exampleInstance.dbInstanceStorageType,
|
|
65
|
+
* instanceNetworkType: "VPC",
|
|
66
|
+
* collectStatMode: "After",
|
|
67
|
+
* switchOver: "false",
|
|
68
|
+
* paymentType: "PayAsYouGo",
|
|
69
|
+
* dbInstanceDescription: "terraform-example",
|
|
70
|
+
* vswitchId: exampleSwitch.id,
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
16
73
|
*
|
|
17
74
|
* ## Import
|
|
18
75
|
*
|