@alicloud/ros-cdk-cloudstoragegateway 1.11.0 → 1.13.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.
@@ -1,4 +1,292 @@
1
1
  import * as ros from '@alicloud/ros-cdk-core';
2
+ /**
3
+ * Properties for defining a `RosExpressSync`.
4
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-expresssync
5
+ */
6
+ export interface RosExpressSyncProps {
7
+ /**
8
+ * @Property bucketName: The name of the OSS bucket.
9
+ */
10
+ readonly bucketName: string | ros.IResolvable;
11
+ /**
12
+ * @Property bucketRegion: The region of the OSS bucket.
13
+ */
14
+ readonly bucketRegion: string | ros.IResolvable;
15
+ /**
16
+ * @Property name: The name of the ExpressSync.
17
+ */
18
+ readonly name: string | ros.IResolvable;
19
+ /**
20
+ * @Property bucketPrefix: The prefix of the OSS bucket.
21
+ */
22
+ readonly bucketPrefix?: string | ros.IResolvable;
23
+ /**
24
+ * @Property description: The description of the ExpressSync.
25
+ */
26
+ readonly description?: string | ros.IResolvable;
27
+ }
28
+ /**
29
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::CloudStorageGateway::ExpressSync`.
30
+ * @Note This class does not contain additional functions, so it is recommended to use the `ExpressSync` class instead of this class for a more convenient development experience.
31
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-expresssync
32
+ */
33
+ export declare class RosExpressSync extends ros.RosResource {
34
+ /**
35
+ * The resource type name for this resource class.
36
+ */
37
+ static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::CloudStorageGateway::ExpressSync";
38
+ /**
39
+ * @Attribute ExpressSyncId: The ID of the ExpressSync.
40
+ */
41
+ readonly attrExpressSyncId: ros.IResolvable;
42
+ enableResourcePropertyConstraint: boolean;
43
+ /**
44
+ * @Property bucketName: The name of the OSS bucket.
45
+ */
46
+ bucketName: string | ros.IResolvable;
47
+ /**
48
+ * @Property bucketRegion: The region of the OSS bucket.
49
+ */
50
+ bucketRegion: string | ros.IResolvable;
51
+ /**
52
+ * @Property name: The name of the ExpressSync.
53
+ */
54
+ name: string | ros.IResolvable;
55
+ /**
56
+ * @Property bucketPrefix: The prefix of the OSS bucket.
57
+ */
58
+ bucketPrefix: string | ros.IResolvable | undefined;
59
+ /**
60
+ * @Property description: The description of the ExpressSync.
61
+ */
62
+ description: string | ros.IResolvable | undefined;
63
+ /**
64
+ * @param scope - scope in which this resource is defined
65
+ * @param id - scoped id of the resource
66
+ * @param props - resource properties
67
+ */
68
+ constructor(scope: ros.Construct, id: string, props: RosExpressSyncProps, enableResourcePropertyConstraint: boolean);
69
+ protected get rosProperties(): {
70
+ [key: string]: any;
71
+ };
72
+ protected renderProperties(props: {
73
+ [key: string]: any;
74
+ }): {
75
+ [key: string]: any;
76
+ };
77
+ }
78
+ /**
79
+ * Properties for defining a `RosGateway`.
80
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-gateway
81
+ */
82
+ export interface RosGatewayProps {
83
+ /**
84
+ * @Property category: The category of the gateway.
85
+ */
86
+ readonly category: string | ros.IResolvable;
87
+ /**
88
+ * @Property location: The location of the gateway.
89
+ */
90
+ readonly location: string | ros.IResolvable;
91
+ /**
92
+ * @Property name: The name of the gateway.
93
+ */
94
+ readonly name: string | ros.IResolvable;
95
+ /**
96
+ * @Property type: The type of the gateway.
97
+ */
98
+ readonly type: string | ros.IResolvable;
99
+ /**
100
+ * @Property description: The description of the gateway.
101
+ */
102
+ readonly description?: string | ros.IResolvable;
103
+ /**
104
+ * @Property gatewayClass: The class of the gateway.
105
+ */
106
+ readonly gatewayClass?: string | ros.IResolvable;
107
+ /**
108
+ * @Property postPaid: Whether the gateway is pay-as-you-go.
109
+ */
110
+ readonly postPaid?: boolean | ros.IResolvable;
111
+ /**
112
+ * @Property publicNetworkBandwidth: The public network bandwidth of the gateway.
113
+ */
114
+ readonly publicNetworkBandwidth?: number | ros.IResolvable;
115
+ /**
116
+ * @Property releaseAfterExpiration: Whether to release the gateway after expiration.
117
+ */
118
+ readonly releaseAfterExpiration?: boolean | ros.IResolvable;
119
+ /**
120
+ * @Property resourceRegionId: The region ID of the resource.
121
+ */
122
+ readonly resourceRegionId?: string | ros.IResolvable;
123
+ /**
124
+ * @Property secondaryVSwitchId: The ID of the secondary VSwitch.
125
+ */
126
+ readonly secondaryVSwitchId?: string | ros.IResolvable;
127
+ /**
128
+ * @Property storageBundleId: The ID of the storage bundle.
129
+ */
130
+ readonly storageBundleId?: string | ros.IResolvable;
131
+ /**
132
+ * @Property untrustedEnvId: The ID of the untrusted environment.
133
+ */
134
+ readonly untrustedEnvId?: string | ros.IResolvable;
135
+ /**
136
+ * @Property untrustedEnvInstanceType: The instance type of the untrusted environment.
137
+ */
138
+ readonly untrustedEnvInstanceType?: string | ros.IResolvable;
139
+ /**
140
+ * @Property vSwitchId: The ID of the VSwitch.
141
+ */
142
+ readonly vSwitchId?: string | ros.IResolvable;
143
+ }
144
+ /**
145
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::CloudStorageGateway::Gateway`.
146
+ * @Note This class does not contain additional functions, so it is recommended to use the `Gateway` class instead of this class for a more convenient development experience.
147
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-gateway
148
+ */
149
+ export declare class RosGateway extends ros.RosResource {
150
+ /**
151
+ * The resource type name for this resource class.
152
+ */
153
+ static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::CloudStorageGateway::Gateway";
154
+ /**
155
+ * @Attribute GatewayId: The ID of the gateway.
156
+ */
157
+ readonly attrGatewayId: ros.IResolvable;
158
+ enableResourcePropertyConstraint: boolean;
159
+ /**
160
+ * @Property category: The category of the gateway.
161
+ */
162
+ category: string | ros.IResolvable;
163
+ /**
164
+ * @Property location: The location of the gateway.
165
+ */
166
+ location: string | ros.IResolvable;
167
+ /**
168
+ * @Property name: The name of the gateway.
169
+ */
170
+ name: string | ros.IResolvable;
171
+ /**
172
+ * @Property type: The type of the gateway.
173
+ */
174
+ type: string | ros.IResolvable;
175
+ /**
176
+ * @Property description: The description of the gateway.
177
+ */
178
+ description: string | ros.IResolvable | undefined;
179
+ /**
180
+ * @Property gatewayClass: The class of the gateway.
181
+ */
182
+ gatewayClass: string | ros.IResolvable | undefined;
183
+ /**
184
+ * @Property postPaid: Whether the gateway is pay-as-you-go.
185
+ */
186
+ postPaid: boolean | ros.IResolvable | undefined;
187
+ /**
188
+ * @Property publicNetworkBandwidth: The public network bandwidth of the gateway.
189
+ */
190
+ publicNetworkBandwidth: number | ros.IResolvable | undefined;
191
+ /**
192
+ * @Property releaseAfterExpiration: Whether to release the gateway after expiration.
193
+ */
194
+ releaseAfterExpiration: boolean | ros.IResolvable | undefined;
195
+ /**
196
+ * @Property resourceRegionId: The region ID of the resource.
197
+ */
198
+ resourceRegionId: string | ros.IResolvable | undefined;
199
+ /**
200
+ * @Property secondaryVSwitchId: The ID of the secondary VSwitch.
201
+ */
202
+ secondaryVSwitchId: string | ros.IResolvable | undefined;
203
+ /**
204
+ * @Property storageBundleId: The ID of the storage bundle.
205
+ */
206
+ storageBundleId: string | ros.IResolvable | undefined;
207
+ /**
208
+ * @Property untrustedEnvId: The ID of the untrusted environment.
209
+ */
210
+ untrustedEnvId: string | ros.IResolvable | undefined;
211
+ /**
212
+ * @Property untrustedEnvInstanceType: The instance type of the untrusted environment.
213
+ */
214
+ untrustedEnvInstanceType: string | ros.IResolvable | undefined;
215
+ /**
216
+ * @Property vSwitchId: The ID of the VSwitch.
217
+ */
218
+ vSwitchId: string | ros.IResolvable | undefined;
219
+ /**
220
+ * @param scope - scope in which this resource is defined
221
+ * @param id - scoped id of the resource
222
+ * @param props - resource properties
223
+ */
224
+ constructor(scope: ros.Construct, id: string, props: RosGatewayProps, enableResourcePropertyConstraint: boolean);
225
+ protected get rosProperties(): {
226
+ [key: string]: any;
227
+ };
228
+ protected renderProperties(props: {
229
+ [key: string]: any;
230
+ }): {
231
+ [key: string]: any;
232
+ };
233
+ }
234
+ /**
235
+ * Properties for defining a `RosGatewayLogging`.
236
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-gatewaylogging
237
+ */
238
+ export interface RosGatewayLoggingProps {
239
+ /**
240
+ * @Property gatewayId: The ID of the gateway.
241
+ */
242
+ readonly gatewayId: string | ros.IResolvable;
243
+ /**
244
+ * @Property slsLogstore: The name of the SLS log store.
245
+ */
246
+ readonly slsLogstore: string | ros.IResolvable;
247
+ /**
248
+ * @Property slsProject: The name of the SLS project.
249
+ */
250
+ readonly slsProject: string | ros.IResolvable;
251
+ }
252
+ /**
253
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::CloudStorageGateway::GatewayLogging`.
254
+ * @Note This class does not contain additional functions, so it is recommended to use the `GatewayLogging` class instead of this class for a more convenient development experience.
255
+ * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-gatewaylogging
256
+ */
257
+ export declare class RosGatewayLogging extends ros.RosResource {
258
+ /**
259
+ * The resource type name for this resource class.
260
+ */
261
+ static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::CloudStorageGateway::GatewayLogging";
262
+ enableResourcePropertyConstraint: boolean;
263
+ /**
264
+ * @Property gatewayId: The ID of the gateway.
265
+ */
266
+ gatewayId: string | ros.IResolvable;
267
+ /**
268
+ * @Property slsLogstore: The name of the SLS log store.
269
+ */
270
+ slsLogstore: string | ros.IResolvable;
271
+ /**
272
+ * @Property slsProject: The name of the SLS project.
273
+ */
274
+ slsProject: string | ros.IResolvable;
275
+ /**
276
+ * @param scope - scope in which this resource is defined
277
+ * @param id - scoped id of the resource
278
+ * @param props - resource properties
279
+ */
280
+ constructor(scope: ros.Construct, id: string, props: RosGatewayLoggingProps, enableResourcePropertyConstraint: boolean);
281
+ protected get rosProperties(): {
282
+ [key: string]: any;
283
+ };
284
+ protected renderProperties(props: {
285
+ [key: string]: any;
286
+ }): {
287
+ [key: string]: any;
288
+ };
289
+ }
2
290
  /**
3
291
  * Properties for defining a `RosStorageBundle`.
4
292
  * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-storagebundle
@@ -14,7 +302,7 @@ export interface RosStorageBundleProps {
14
302
  readonly description?: string | ros.IResolvable;
15
303
  }
16
304
  /**
17
- * This class is a base encapsulation around the ROS resource type `ALIYUN::CloudStorageGateway::StorageBundle`.
305
+ * This class is a base encapsulation around the ROS resource type `ALIYUN::CloudStorageGateway::StorageBundle`, which is used to create a gateway cluster.
18
306
  * @Note This class does not contain additional functions, so it is recommended to use the `StorageBundle` class instead of this class for a more convenient development experience.
19
307
  * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-storagebundle
20
308
  */