@alicloud/config20200907 3.0.6 → 3.0.7
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 +15 -4
- package/dist/client.js +38 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +55 -4
package/dist/client.d.ts
CHANGED
|
@@ -9033,6 +9033,8 @@ export declare class ListAggregateDiscoveredResourcesRequest extends $tea.Model
|
|
|
9033
9033
|
* ca-c560626622af0005****
|
|
9034
9034
|
*/
|
|
9035
9035
|
aggregatorId?: string;
|
|
9036
|
+
endUpdateTimestamp?: number;
|
|
9037
|
+
excludeResourceTypes?: string;
|
|
9036
9038
|
/**
|
|
9037
9039
|
* @remarks
|
|
9038
9040
|
* The maximum number of entries to return for a single request. Valid values: 1 to 100.
|
|
@@ -9101,6 +9103,7 @@ export declare class ListAggregateDiscoveredResourcesRequest extends $tea.Model
|
|
|
9101
9103
|
* ACS::ECS::NetworkInterface
|
|
9102
9104
|
*/
|
|
9103
9105
|
resourceTypes?: string;
|
|
9106
|
+
startUpdateTimestamp?: number;
|
|
9104
9107
|
static names(): {
|
|
9105
9108
|
[key: string]: string;
|
|
9106
9109
|
};
|
|
@@ -10279,6 +10282,8 @@ export declare class ListConfigRulesResponse extends $tea.Model {
|
|
|
10279
10282
|
});
|
|
10280
10283
|
}
|
|
10281
10284
|
export declare class ListDiscoveredResourcesRequest extends $tea.Model {
|
|
10285
|
+
endUpdateTimestamp?: number;
|
|
10286
|
+
excludeResourceTypes?: string;
|
|
10282
10287
|
/**
|
|
10283
10288
|
* @remarks
|
|
10284
10289
|
* The maximum number of entries returned for a single request. Valid values: 1 to 100.
|
|
@@ -10287,6 +10292,9 @@ export declare class ListDiscoveredResourcesRequest extends $tea.Model {
|
|
|
10287
10292
|
*
|
|
10288
10293
|
* @example
|
|
10289
10294
|
* 10
|
|
10295
|
+
*
|
|
10296
|
+
* **if can be null:**
|
|
10297
|
+
* true
|
|
10290
10298
|
*/
|
|
10291
10299
|
maxResults?: number;
|
|
10292
10300
|
/**
|
|
@@ -10332,6 +10340,7 @@ export declare class ListDiscoveredResourcesRequest extends $tea.Model {
|
|
|
10332
10340
|
* ACS::ECS::NetworkInterface
|
|
10333
10341
|
*/
|
|
10334
10342
|
resourceTypes?: string;
|
|
10343
|
+
startUpdateTimestamp?: number;
|
|
10335
10344
|
static names(): {
|
|
10336
10345
|
[key: string]: string;
|
|
10337
10346
|
};
|
|
@@ -22605,6 +22614,7 @@ export declare class ListAggregateDiscoveredResourcesResponseBodyDiscoveredResou
|
|
|
22605
22614
|
* {\\"key1\\":[\\"value2\\"]}
|
|
22606
22615
|
*/
|
|
22607
22616
|
tags?: string;
|
|
22617
|
+
updateTime?: number;
|
|
22608
22618
|
/**
|
|
22609
22619
|
* @remarks
|
|
22610
22620
|
* The build version of the resource.
|
|
@@ -24492,6 +24502,7 @@ export declare class ListDiscoveredResourcesResponseBodyDiscoveredResourceProfil
|
|
|
24492
24502
|
* {\\"key1\\":[\\"value2\\"]}
|
|
24493
24503
|
*/
|
|
24494
24504
|
tags?: string;
|
|
24505
|
+
updateTime?: number;
|
|
24495
24506
|
/**
|
|
24496
24507
|
* @remarks
|
|
24497
24508
|
* The version of the resource change.
|
|
@@ -28314,7 +28325,7 @@ export default class Client extends OpenApi {
|
|
|
28314
28325
|
* Obtains resources in a specific account group based on the fields in the resource properties by using a SELECT statement.
|
|
28315
28326
|
*
|
|
28316
28327
|
* @remarks
|
|
28317
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
28328
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
28318
28329
|
* >
|
|
28319
28330
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
28320
28331
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -28329,7 +28340,7 @@ export default class Client extends OpenApi {
|
|
|
28329
28340
|
* Obtains resources in a specific account group based on the fields in the resource properties by using a SELECT statement.
|
|
28330
28341
|
*
|
|
28331
28342
|
* @remarks
|
|
28332
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
28343
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
28333
28344
|
* >
|
|
28334
28345
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
28335
28346
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -28671,7 +28682,7 @@ export default class Client extends OpenApi {
|
|
|
28671
28682
|
* Obtains resources based on the fields in the resource properties by using a SELECT statement.
|
|
28672
28683
|
*
|
|
28673
28684
|
* @remarks
|
|
28674
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
28685
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema].
|
|
28675
28686
|
* >
|
|
28676
28687
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
28677
28688
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -28686,7 +28697,7 @@ export default class Client extends OpenApi {
|
|
|
28686
28697
|
* Obtains resources based on the fields in the resource properties by using a SELECT statement.
|
|
28687
28698
|
*
|
|
28688
28699
|
* @remarks
|
|
28689
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
28700
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema].
|
|
28690
28701
|
* >
|
|
28691
28702
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
28692
28703
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
package/dist/client.js
CHANGED
|
@@ -5734,6 +5734,8 @@ class ListAggregateDiscoveredResourcesRequest extends $tea.Model {
|
|
|
5734
5734
|
static names() {
|
|
5735
5735
|
return {
|
|
5736
5736
|
aggregatorId: 'AggregatorId',
|
|
5737
|
+
endUpdateTimestamp: 'EndUpdateTimestamp',
|
|
5738
|
+
excludeResourceTypes: 'ExcludeResourceTypes',
|
|
5737
5739
|
maxResults: 'MaxResults',
|
|
5738
5740
|
nextToken: 'NextToken',
|
|
5739
5741
|
regions: 'Regions',
|
|
@@ -5742,11 +5744,14 @@ class ListAggregateDiscoveredResourcesRequest extends $tea.Model {
|
|
|
5742
5744
|
resourceId: 'ResourceId',
|
|
5743
5745
|
resourceOwnerId: 'ResourceOwnerId',
|
|
5744
5746
|
resourceTypes: 'ResourceTypes',
|
|
5747
|
+
startUpdateTimestamp: 'StartUpdateTimestamp',
|
|
5745
5748
|
};
|
|
5746
5749
|
}
|
|
5747
5750
|
static types() {
|
|
5748
5751
|
return {
|
|
5749
5752
|
aggregatorId: 'string',
|
|
5753
|
+
endUpdateTimestamp: 'number',
|
|
5754
|
+
excludeResourceTypes: 'string',
|
|
5750
5755
|
maxResults: 'number',
|
|
5751
5756
|
nextToken: 'string',
|
|
5752
5757
|
regions: 'string',
|
|
@@ -5755,6 +5760,7 @@ class ListAggregateDiscoveredResourcesRequest extends $tea.Model {
|
|
|
5755
5760
|
resourceId: 'string',
|
|
5756
5761
|
resourceOwnerId: 'number',
|
|
5757
5762
|
resourceTypes: 'string',
|
|
5763
|
+
startUpdateTimestamp: 'number',
|
|
5758
5764
|
};
|
|
5759
5765
|
}
|
|
5760
5766
|
constructor(map) {
|
|
@@ -6519,22 +6525,28 @@ exports.ListConfigRulesResponse = ListConfigRulesResponse;
|
|
|
6519
6525
|
class ListDiscoveredResourcesRequest extends $tea.Model {
|
|
6520
6526
|
static names() {
|
|
6521
6527
|
return {
|
|
6528
|
+
endUpdateTimestamp: 'EndUpdateTimestamp',
|
|
6529
|
+
excludeResourceTypes: 'ExcludeResourceTypes',
|
|
6522
6530
|
maxResults: 'MaxResults',
|
|
6523
6531
|
nextToken: 'NextToken',
|
|
6524
6532
|
regions: 'Regions',
|
|
6525
6533
|
resourceDeleted: 'ResourceDeleted',
|
|
6526
6534
|
resourceId: 'ResourceId',
|
|
6527
6535
|
resourceTypes: 'ResourceTypes',
|
|
6536
|
+
startUpdateTimestamp: 'StartUpdateTimestamp',
|
|
6528
6537
|
};
|
|
6529
6538
|
}
|
|
6530
6539
|
static types() {
|
|
6531
6540
|
return {
|
|
6541
|
+
endUpdateTimestamp: 'number',
|
|
6542
|
+
excludeResourceTypes: 'string',
|
|
6532
6543
|
maxResults: 'number',
|
|
6533
6544
|
nextToken: 'string',
|
|
6534
6545
|
regions: 'string',
|
|
6535
6546
|
resourceDeleted: 'number',
|
|
6536
6547
|
resourceId: 'string',
|
|
6537
6548
|
resourceTypes: 'string',
|
|
6549
|
+
startUpdateTimestamp: 'number',
|
|
6538
6550
|
};
|
|
6539
6551
|
}
|
|
6540
6552
|
constructor(map) {
|
|
@@ -12838,6 +12850,7 @@ class ListAggregateDiscoveredResourcesResponseBodyDiscoveredResourceProfilesDisc
|
|
|
12838
12850
|
resourceStatus: 'ResourceStatus',
|
|
12839
12851
|
resourceType: 'ResourceType',
|
|
12840
12852
|
tags: 'Tags',
|
|
12853
|
+
updateTime: 'UpdateTime',
|
|
12841
12854
|
version: 'Version',
|
|
12842
12855
|
};
|
|
12843
12856
|
}
|
|
@@ -12854,6 +12867,7 @@ class ListAggregateDiscoveredResourcesResponseBodyDiscoveredResourceProfilesDisc
|
|
|
12854
12867
|
resourceStatus: 'string',
|
|
12855
12868
|
resourceType: 'string',
|
|
12856
12869
|
tags: 'string',
|
|
12870
|
+
updateTime: 'number',
|
|
12857
12871
|
version: 'number',
|
|
12858
12872
|
};
|
|
12859
12873
|
}
|
|
@@ -13653,6 +13667,7 @@ class ListDiscoveredResourcesResponseBodyDiscoveredResourceProfilesDiscoveredRes
|
|
|
13653
13667
|
resourceStatus: 'ResourceStatus',
|
|
13654
13668
|
resourceType: 'ResourceType',
|
|
13655
13669
|
tags: 'Tags',
|
|
13670
|
+
updateTime: 'UpdateTime',
|
|
13656
13671
|
version: 'Version',
|
|
13657
13672
|
};
|
|
13658
13673
|
}
|
|
@@ -13668,6 +13683,7 @@ class ListDiscoveredResourcesResponseBodyDiscoveredResourceProfilesDiscoveredRes
|
|
|
13668
13683
|
resourceStatus: 'string',
|
|
13669
13684
|
resourceType: 'string',
|
|
13670
13685
|
tags: 'string',
|
|
13686
|
+
updateTime: 'number',
|
|
13671
13687
|
version: 'number',
|
|
13672
13688
|
};
|
|
13673
13689
|
}
|
|
@@ -19482,6 +19498,12 @@ class Client extends openapi_client_1.default {
|
|
|
19482
19498
|
if (!tea_util_1.default.isUnset(request.aggregatorId)) {
|
|
19483
19499
|
query["AggregatorId"] = request.aggregatorId;
|
|
19484
19500
|
}
|
|
19501
|
+
if (!tea_util_1.default.isUnset(request.endUpdateTimestamp)) {
|
|
19502
|
+
query["EndUpdateTimestamp"] = request.endUpdateTimestamp;
|
|
19503
|
+
}
|
|
19504
|
+
if (!tea_util_1.default.isUnset(request.excludeResourceTypes)) {
|
|
19505
|
+
query["ExcludeResourceTypes"] = request.excludeResourceTypes;
|
|
19506
|
+
}
|
|
19485
19507
|
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
19486
19508
|
query["MaxResults"] = request.maxResults;
|
|
19487
19509
|
}
|
|
@@ -19506,6 +19528,9 @@ class Client extends openapi_client_1.default {
|
|
|
19506
19528
|
if (!tea_util_1.default.isUnset(request.resourceTypes)) {
|
|
19507
19529
|
query["ResourceTypes"] = request.resourceTypes;
|
|
19508
19530
|
}
|
|
19531
|
+
if (!tea_util_1.default.isUnset(request.startUpdateTimestamp)) {
|
|
19532
|
+
query["StartUpdateTimestamp"] = request.startUpdateTimestamp;
|
|
19533
|
+
}
|
|
19509
19534
|
let req = new $OpenApi.OpenApiRequest({
|
|
19510
19535
|
query: openapi_util_1.default.query(query),
|
|
19511
19536
|
});
|
|
@@ -19782,7 +19807,7 @@ class Client extends openapi_client_1.default {
|
|
|
19782
19807
|
* Obtains resources in a specific account group based on the fields in the resource properties by using a SELECT statement.
|
|
19783
19808
|
*
|
|
19784
19809
|
* @remarks
|
|
19785
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
19810
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
19786
19811
|
* >
|
|
19787
19812
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
19788
19813
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -19821,7 +19846,7 @@ class Client extends openapi_client_1.default {
|
|
|
19821
19846
|
* Obtains resources in a specific account group based on the fields in the resource properties by using a SELECT statement.
|
|
19822
19847
|
*
|
|
19823
19848
|
* @remarks
|
|
19824
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
19849
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
19825
19850
|
* >
|
|
19826
19851
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
19827
19852
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -20177,6 +20202,12 @@ class Client extends openapi_client_1.default {
|
|
|
20177
20202
|
async listDiscoveredResourcesWithOptions(request, runtime) {
|
|
20178
20203
|
tea_util_1.default.validateModel(request);
|
|
20179
20204
|
let query = {};
|
|
20205
|
+
if (!tea_util_1.default.isUnset(request.endUpdateTimestamp)) {
|
|
20206
|
+
query["EndUpdateTimestamp"] = request.endUpdateTimestamp;
|
|
20207
|
+
}
|
|
20208
|
+
if (!tea_util_1.default.isUnset(request.excludeResourceTypes)) {
|
|
20209
|
+
query["ExcludeResourceTypes"] = request.excludeResourceTypes;
|
|
20210
|
+
}
|
|
20180
20211
|
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
20181
20212
|
query["MaxResults"] = request.maxResults;
|
|
20182
20213
|
}
|
|
@@ -20195,6 +20226,9 @@ class Client extends openapi_client_1.default {
|
|
|
20195
20226
|
if (!tea_util_1.default.isUnset(request.resourceTypes)) {
|
|
20196
20227
|
query["ResourceTypes"] = request.resourceTypes;
|
|
20197
20228
|
}
|
|
20229
|
+
if (!tea_util_1.default.isUnset(request.startUpdateTimestamp)) {
|
|
20230
|
+
query["StartUpdateTimestamp"] = request.startUpdateTimestamp;
|
|
20231
|
+
}
|
|
20198
20232
|
let req = new $OpenApi.OpenApiRequest({
|
|
20199
20233
|
query: openapi_util_1.default.query(query),
|
|
20200
20234
|
});
|
|
@@ -20670,7 +20704,7 @@ class Client extends openapi_client_1.default {
|
|
|
20670
20704
|
* Obtains resources based on the fields in the resource properties by using a SELECT statement.
|
|
20671
20705
|
*
|
|
20672
20706
|
* @remarks
|
|
20673
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
20707
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema].
|
|
20674
20708
|
* >
|
|
20675
20709
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
20676
20710
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -20706,7 +20740,7 @@ class Client extends openapi_client_1.default {
|
|
|
20706
20740
|
* Obtains resources based on the fields in the resource properties by using a SELECT statement.
|
|
20707
20741
|
*
|
|
20708
20742
|
* @remarks
|
|
20709
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema]
|
|
20743
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema].
|
|
20710
20744
|
* >
|
|
20711
20745
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
20712
20746
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|