@alicloud/ebs20210730 2.1.0 → 2.2.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/dist/client.d.ts CHANGED
@@ -1185,6 +1185,57 @@ export declare class DescribeEnterpriseSnapshotPolicyResponse extends $tea.Model
1185
1185
  [key: string]: any;
1186
1186
  });
1187
1187
  }
1188
+ export declare class DescribeEventsRequest extends $tea.Model {
1189
+ endTime?: string;
1190
+ eventName?: string;
1191
+ maxResults?: number;
1192
+ nextToken?: string;
1193
+ regionId?: string;
1194
+ resourceId?: string;
1195
+ resourceType?: string;
1196
+ startTime?: string;
1197
+ status?: string;
1198
+ static names(): {
1199
+ [key: string]: string;
1200
+ };
1201
+ static types(): {
1202
+ [key: string]: any;
1203
+ };
1204
+ constructor(map?: {
1205
+ [key: string]: any;
1206
+ });
1207
+ }
1208
+ export declare class DescribeEventsResponseBody extends $tea.Model {
1209
+ nextToken?: string;
1210
+ requestId?: string;
1211
+ resourceEvents?: DescribeEventsResponseBodyResourceEvents[];
1212
+ totalCount?: number;
1213
+ static names(): {
1214
+ [key: string]: string;
1215
+ };
1216
+ static types(): {
1217
+ [key: string]: any;
1218
+ };
1219
+ constructor(map?: {
1220
+ [key: string]: any;
1221
+ });
1222
+ }
1223
+ export declare class DescribeEventsResponse extends $tea.Model {
1224
+ headers?: {
1225
+ [key: string]: string;
1226
+ };
1227
+ statusCode?: number;
1228
+ body?: DescribeEventsResponseBody;
1229
+ static names(): {
1230
+ [key: string]: string;
1231
+ };
1232
+ static types(): {
1233
+ [key: string]: any;
1234
+ };
1235
+ constructor(map?: {
1236
+ [key: string]: any;
1237
+ });
1238
+ }
1188
1239
  export declare class DescribeLensServiceStatusResponseBody extends $tea.Model {
1189
1240
  requestId?: string;
1190
1241
  status?: string;
@@ -3271,6 +3322,28 @@ export declare class DescribeEnterpriseSnapshotPolicyResponseBodyPolicies extend
3271
3322
  [key: string]: any;
3272
3323
  });
3273
3324
  }
3325
+ export declare class DescribeEventsResponseBodyResourceEvents extends $tea.Model {
3326
+ description?: string;
3327
+ endTime?: string;
3328
+ eventLevel?: string;
3329
+ eventName?: string;
3330
+ eventType?: string;
3331
+ recommendAction?: string;
3332
+ recommendParams?: string;
3333
+ resourceId?: string;
3334
+ resourceType?: string;
3335
+ startTime?: string;
3336
+ status?: string;
3337
+ static names(): {
3338
+ [key: string]: string;
3339
+ };
3340
+ static types(): {
3341
+ [key: string]: any;
3342
+ };
3343
+ constructor(map?: {
3344
+ [key: string]: any;
3345
+ });
3346
+ }
3274
3347
  export declare class DescribeMetricDataResponseBodyDataList extends $tea.Model {
3275
3348
  datapoints?: any;
3276
3349
  labels?: any;
@@ -3987,6 +4060,8 @@ export default class Client extends OpenApi {
3987
4060
  describeDisks(request: DescribeDisksRequest): Promise<DescribeDisksResponse>;
3988
4061
  describeEnterpriseSnapshotPolicyWithOptions(request: DescribeEnterpriseSnapshotPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEnterpriseSnapshotPolicyResponse>;
3989
4062
  describeEnterpriseSnapshotPolicy(request: DescribeEnterpriseSnapshotPolicyRequest): Promise<DescribeEnterpriseSnapshotPolicyResponse>;
4063
+ describeEventsWithOptions(request: DescribeEventsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventsResponse>;
4064
+ describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse>;
3990
4065
  /**
3991
4066
  * ## Usage notes
3992
4067
  * CloudLens for EBS is in invitational preview in the China (Hangzhou), China (Shanghai), China (Zhangjiakou), China (Shenzhen), and China (Hong Kong) regions. To use the feature, [submit a ticket](https://workorder-intl.console.aliyun.com/#/ticket/createIndex).