@alicloud/cms20240330 3.2.5 → 3.3.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 +89 -2
- package/dist/client.js +208 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateIntegrationPolicyRequest.d.ts +9 -2
- package/dist/models/CreateIntegrationPolicyRequest.js.map +1 -1
- package/dist/models/CreateIntegrationPolicyResponseBody.d.ts +1 -1
- package/dist/models/DeleteUmodelCommonSchemaRefRequest.d.ts +21 -0
- package/dist/models/DeleteUmodelCommonSchemaRefRequest.js +58 -0
- package/dist/models/DeleteUmodelCommonSchemaRefRequest.js.map +1 -0
- package/dist/models/DeleteUmodelCommonSchemaRefResponse.d.ts +19 -0
- package/dist/models/DeleteUmodelCommonSchemaRefResponse.js +69 -0
- package/dist/models/DeleteUmodelCommonSchemaRefResponse.js.map +1 -0
- package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.d.ts +18 -0
- package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.js +58 -0
- package/dist/models/DeleteUmodelCommonSchemaRefResponseBody.js.map +1 -0
- package/dist/models/GetUmodelCommonSchemaRefResponse.d.ts +19 -0
- package/dist/models/GetUmodelCommonSchemaRefResponse.js +69 -0
- package/dist/models/GetUmodelCommonSchemaRefResponse.js.map +1 -0
- package/dist/models/GetUmodelCommonSchemaRefResponseBody.d.ts +36 -0
- package/dist/models/GetUmodelCommonSchemaRefResponseBody.js +82 -0
- package/dist/models/GetUmodelCommonSchemaRefResponseBody.js.map +1 -0
- package/dist/models/ListIntegrationPoliciesRequest.d.ts +10 -10
- package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +13 -6
- package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListIntegrationPoliciesShrinkRequest.d.ts +10 -10
- package/dist/models/UpdateNotifyStrategyRequest.d.ts +20 -0
- package/dist/models/UpdateNotifyStrategyRequest.js +64 -0
- package/dist/models/UpdateNotifyStrategyRequest.js.map +1 -0
- package/dist/models/UpdateNotifyStrategyResponse.d.ts +19 -0
- package/dist/models/UpdateNotifyStrategyResponse.js +69 -0
- package/dist/models/UpdateNotifyStrategyResponse.js.map +1 -0
- package/dist/models/UpdateNotifyStrategyResponseBody.d.ts +26 -0
- package/dist/models/UpdateNotifyStrategyResponseBody.js +60 -0
- package/dist/models/UpdateNotifyStrategyResponseBody.js.map +1 -0
- package/dist/models/UpdateSubscriptionRequest.d.ts +20 -0
- package/dist/models/UpdateSubscriptionRequest.js +64 -0
- package/dist/models/UpdateSubscriptionRequest.js.map +1 -0
- package/dist/models/UpdateSubscriptionResponse.d.ts +19 -0
- package/dist/models/UpdateSubscriptionResponse.js +69 -0
- package/dist/models/UpdateSubscriptionResponse.js.map +1 -0
- package/dist/models/UpdateSubscriptionResponseBody.d.ts +26 -0
- package/dist/models/UpdateSubscriptionResponseBody.js +60 -0
- package/dist/models/UpdateSubscriptionResponseBody.js.map +1 -0
- package/dist/models/UpsertUmodelCommonSchemaRefRequest.d.ts +29 -0
- package/dist/models/UpsertUmodelCommonSchemaRefRequest.js +60 -0
- package/dist/models/UpsertUmodelCommonSchemaRefRequest.js.map +1 -0
- package/dist/models/UpsertUmodelCommonSchemaRefResponse.d.ts +19 -0
- package/dist/models/UpsertUmodelCommonSchemaRefResponse.js +69 -0
- package/dist/models/UpsertUmodelCommonSchemaRefResponse.js.map +1 -0
- package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.d.ts +18 -0
- package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.js +58 -0
- package/dist/models/UpsertUmodelCommonSchemaRefResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +37 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +223 -2
- package/src/models/CreateIntegrationPolicyRequest.ts +9 -2
- package/src/models/CreateIntegrationPolicyResponseBody.ts +1 -1
- package/src/models/DeleteUmodelCommonSchemaRefRequest.ts +34 -0
- package/src/models/DeleteUmodelCommonSchemaRefResponse.ts +40 -0
- package/src/models/DeleteUmodelCommonSchemaRefResponseBody.ts +31 -0
- package/src/models/GetUmodelCommonSchemaRefResponse.ts +40 -0
- package/src/models/GetUmodelCommonSchemaRefResponseBody.ts +64 -0
- package/src/models/ListIntegrationPoliciesRequest.ts +10 -10
- package/src/models/ListIntegrationPoliciesResponseBody.ts +13 -6
- package/src/models/ListIntegrationPoliciesShrinkRequest.ts +10 -10
- package/src/models/UpdateNotifyStrategyRequest.ts +38 -0
- package/src/models/UpdateNotifyStrategyResponse.ts +40 -0
- package/src/models/UpdateNotifyStrategyResponseBody.ts +41 -0
- package/src/models/UpdateSubscriptionRequest.ts +38 -0
- package/src/models/UpdateSubscriptionResponse.ts +40 -0
- package/src/models/UpdateSubscriptionResponseBody.ts +41 -0
- package/src/models/UpsertUmodelCommonSchemaRefRequest.ts +44 -0
- package/src/models/UpsertUmodelCommonSchemaRefResponse.ts +40 -0
- package/src/models/UpsertUmodelCommonSchemaRefResponseBody.ts +31 -0
- package/src/models/model.ts +15 -0
package/src/client.ts
CHANGED
|
@@ -1055,6 +1055,51 @@ export default class Client extends OpenApi {
|
|
|
1055
1055
|
return await this.deleteUmodelWithOptions(workspace, headers, runtime);
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
+
/**
|
|
1059
|
+
* 删除Umodel配置信息
|
|
1060
|
+
*
|
|
1061
|
+
* @param request - DeleteUmodelCommonSchemaRefRequest
|
|
1062
|
+
* @param headers - map
|
|
1063
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1064
|
+
* @returns DeleteUmodelCommonSchemaRefResponse
|
|
1065
|
+
*/
|
|
1066
|
+
async deleteUmodelCommonSchemaRefWithOptions(workspace: string, request: $_model.DeleteUmodelCommonSchemaRefRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteUmodelCommonSchemaRefResponse> {
|
|
1067
|
+
request.validate();
|
|
1068
|
+
let query : {[key: string ]: any} = { };
|
|
1069
|
+
if (!$dara.isNull(request.group)) {
|
|
1070
|
+
query["group"] = request.group;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1074
|
+
headers: headers,
|
|
1075
|
+
query: OpenApiUtil.query(query),
|
|
1076
|
+
});
|
|
1077
|
+
let params = new $OpenApiUtil.Params({
|
|
1078
|
+
action: "DeleteUmodelCommonSchemaRef",
|
|
1079
|
+
version: "2024-03-30",
|
|
1080
|
+
protocol: "HTTPS",
|
|
1081
|
+
pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/umodel/common-schema-ref`,
|
|
1082
|
+
method: "DELETE",
|
|
1083
|
+
authType: "AK",
|
|
1084
|
+
style: "ROA",
|
|
1085
|
+
reqBodyType: "json",
|
|
1086
|
+
bodyType: "json",
|
|
1087
|
+
});
|
|
1088
|
+
return $dara.cast<$_model.DeleteUmodelCommonSchemaRefResponse>(await this.callApi(params, req, runtime), new $_model.DeleteUmodelCommonSchemaRefResponse({}));
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* 删除Umodel配置信息
|
|
1093
|
+
*
|
|
1094
|
+
* @param request - DeleteUmodelCommonSchemaRefRequest
|
|
1095
|
+
* @returns DeleteUmodelCommonSchemaRefResponse
|
|
1096
|
+
*/
|
|
1097
|
+
async deleteUmodelCommonSchemaRef(workspace: string, request: $_model.DeleteUmodelCommonSchemaRefRequest): Promise<$_model.DeleteUmodelCommonSchemaRefResponse> {
|
|
1098
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1099
|
+
let headers : {[key: string ]: string} = { };
|
|
1100
|
+
return await this.deleteUmodelCommonSchemaRefWithOptions(workspace, request, headers, runtime);
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1058
1103
|
/**
|
|
1059
1104
|
* Delete Umodel Elements
|
|
1060
1105
|
*
|
|
@@ -1572,6 +1617,41 @@ export default class Client extends OpenApi {
|
|
|
1572
1617
|
return await this.getUmodelWithOptions(workspace, headers, runtime);
|
|
1573
1618
|
}
|
|
1574
1619
|
|
|
1620
|
+
/**
|
|
1621
|
+
* 获取Umodel配置信息
|
|
1622
|
+
*
|
|
1623
|
+
* @param headers - map
|
|
1624
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1625
|
+
* @returns GetUmodelCommonSchemaRefResponse
|
|
1626
|
+
*/
|
|
1627
|
+
async getUmodelCommonSchemaRefWithOptions(workspace: string, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetUmodelCommonSchemaRefResponse> {
|
|
1628
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1629
|
+
headers: headers,
|
|
1630
|
+
});
|
|
1631
|
+
let params = new $OpenApiUtil.Params({
|
|
1632
|
+
action: "GetUmodelCommonSchemaRef",
|
|
1633
|
+
version: "2024-03-30",
|
|
1634
|
+
protocol: "HTTPS",
|
|
1635
|
+
pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/umodel/common-schema-ref`,
|
|
1636
|
+
method: "GET",
|
|
1637
|
+
authType: "AK",
|
|
1638
|
+
style: "ROA",
|
|
1639
|
+
reqBodyType: "json",
|
|
1640
|
+
bodyType: "json",
|
|
1641
|
+
});
|
|
1642
|
+
return $dara.cast<$_model.GetUmodelCommonSchemaRefResponse>(await this.callApi(params, req, runtime), new $_model.GetUmodelCommonSchemaRefResponse({}));
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* 获取Umodel配置信息
|
|
1647
|
+
* @returns GetUmodelCommonSchemaRefResponse
|
|
1648
|
+
*/
|
|
1649
|
+
async getUmodelCommonSchemaRef(workspace: string): Promise<$_model.GetUmodelCommonSchemaRefResponse> {
|
|
1650
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1651
|
+
let headers : {[key: string ]: string} = { };
|
|
1652
|
+
return await this.getUmodelCommonSchemaRefWithOptions(workspace, headers, runtime);
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1575
1655
|
/**
|
|
1576
1656
|
* Retrieve associated Umodel graph data
|
|
1577
1657
|
*
|
|
@@ -1869,7 +1949,7 @@ export default class Client extends OpenApi {
|
|
|
1869
1949
|
* Query Access Center Policy List Information
|
|
1870
1950
|
*
|
|
1871
1951
|
* @remarks
|
|
1872
|
-
* Query
|
|
1952
|
+
* Query integration list
|
|
1873
1953
|
*
|
|
1874
1954
|
* @param tmpReq - ListIntegrationPoliciesRequest
|
|
1875
1955
|
* @param headers - map
|
|
@@ -1963,7 +2043,7 @@ export default class Client extends OpenApi {
|
|
|
1963
2043
|
* Query Access Center Policy List Information
|
|
1964
2044
|
*
|
|
1965
2045
|
* @remarks
|
|
1966
|
-
* Query
|
|
2046
|
+
* Query integration list
|
|
1967
2047
|
*
|
|
1968
2048
|
* @param request - ListIntegrationPoliciesRequest
|
|
1969
2049
|
* @returns ListIntegrationPoliciesResponse
|
|
@@ -2933,6 +3013,52 @@ export default class Client extends OpenApi {
|
|
|
2933
3013
|
return await this.updateIntegrationPolicyWithOptions(integrationPolicyId, request, headers, runtime);
|
|
2934
3014
|
}
|
|
2935
3015
|
|
|
3016
|
+
/**
|
|
3017
|
+
* 更新订阅
|
|
3018
|
+
*
|
|
3019
|
+
* @param request - UpdateNotifyStrategyRequest
|
|
3020
|
+
* @param headers - map
|
|
3021
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3022
|
+
* @returns UpdateNotifyStrategyResponse
|
|
3023
|
+
*/
|
|
3024
|
+
async updateNotifyStrategyWithOptions(notifyStrategyId: string, request: $_model.UpdateNotifyStrategyRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateNotifyStrategyResponse> {
|
|
3025
|
+
request.validate();
|
|
3026
|
+
let query : {[key: string ]: any} = { };
|
|
3027
|
+
if (!$dara.isNull(request.workspace)) {
|
|
3028
|
+
query["workspace"] = request.workspace;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3032
|
+
headers: headers,
|
|
3033
|
+
query: OpenApiUtil.query(query),
|
|
3034
|
+
body: OpenApiUtil.parseToMap(request.body),
|
|
3035
|
+
});
|
|
3036
|
+
let params = new $OpenApiUtil.Params({
|
|
3037
|
+
action: "UpdateNotifyStrategy",
|
|
3038
|
+
version: "2024-03-30",
|
|
3039
|
+
protocol: "HTTPS",
|
|
3040
|
+
pathname: `/notifyStrategies/${$dara.URL.percentEncode(notifyStrategyId)}`,
|
|
3041
|
+
method: "PUT",
|
|
3042
|
+
authType: "AK",
|
|
3043
|
+
style: "ROA",
|
|
3044
|
+
reqBodyType: "json",
|
|
3045
|
+
bodyType: "json",
|
|
3046
|
+
});
|
|
3047
|
+
return $dara.cast<$_model.UpdateNotifyStrategyResponse>(await this.callApi(params, req, runtime), new $_model.UpdateNotifyStrategyResponse({}));
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
/**
|
|
3051
|
+
* 更新订阅
|
|
3052
|
+
*
|
|
3053
|
+
* @param request - UpdateNotifyStrategyRequest
|
|
3054
|
+
* @returns UpdateNotifyStrategyResponse
|
|
3055
|
+
*/
|
|
3056
|
+
async updateNotifyStrategy(notifyStrategyId: string, request: $_model.UpdateNotifyStrategyRequest): Promise<$_model.UpdateNotifyStrategyResponse> {
|
|
3057
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3058
|
+
let headers : {[key: string ]: string} = { };
|
|
3059
|
+
return await this.updateNotifyStrategyWithOptions(notifyStrategyId, request, headers, runtime);
|
|
3060
|
+
}
|
|
3061
|
+
|
|
2936
3062
|
/**
|
|
2937
3063
|
* Update Prometheus instance information
|
|
2938
3064
|
*
|
|
@@ -3156,6 +3282,52 @@ export default class Client extends OpenApi {
|
|
|
3156
3282
|
return await this.updateServiceWithOptions(workspace, serviceId, request, headers, runtime);
|
|
3157
3283
|
}
|
|
3158
3284
|
|
|
3285
|
+
/**
|
|
3286
|
+
* 更新订阅
|
|
3287
|
+
*
|
|
3288
|
+
* @param request - UpdateSubscriptionRequest
|
|
3289
|
+
* @param headers - map
|
|
3290
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3291
|
+
* @returns UpdateSubscriptionResponse
|
|
3292
|
+
*/
|
|
3293
|
+
async updateSubscriptionWithOptions(subscriptionId: string, request: $_model.UpdateSubscriptionRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateSubscriptionResponse> {
|
|
3294
|
+
request.validate();
|
|
3295
|
+
let query : {[key: string ]: any} = { };
|
|
3296
|
+
if (!$dara.isNull(request.workspace)) {
|
|
3297
|
+
query["workspace"] = request.workspace;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3301
|
+
headers: headers,
|
|
3302
|
+
query: OpenApiUtil.query(query),
|
|
3303
|
+
body: OpenApiUtil.parseToMap(request.body),
|
|
3304
|
+
});
|
|
3305
|
+
let params = new $OpenApiUtil.Params({
|
|
3306
|
+
action: "UpdateSubscription",
|
|
3307
|
+
version: "2024-03-30",
|
|
3308
|
+
protocol: "HTTPS",
|
|
3309
|
+
pathname: `/subscriptions/${$dara.URL.percentEncode(subscriptionId)}`,
|
|
3310
|
+
method: "PUT",
|
|
3311
|
+
authType: "AK",
|
|
3312
|
+
style: "ROA",
|
|
3313
|
+
reqBodyType: "json",
|
|
3314
|
+
bodyType: "json",
|
|
3315
|
+
});
|
|
3316
|
+
return $dara.cast<$_model.UpdateSubscriptionResponse>(await this.callApi(params, req, runtime), new $_model.UpdateSubscriptionResponse({}));
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
/**
|
|
3320
|
+
* 更新订阅
|
|
3321
|
+
*
|
|
3322
|
+
* @param request - UpdateSubscriptionRequest
|
|
3323
|
+
* @returns UpdateSubscriptionResponse
|
|
3324
|
+
*/
|
|
3325
|
+
async updateSubscription(subscriptionId: string, request: $_model.UpdateSubscriptionRequest): Promise<$_model.UpdateSubscriptionResponse> {
|
|
3326
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3327
|
+
let headers : {[key: string ]: string} = { };
|
|
3328
|
+
return await this.updateSubscriptionWithOptions(subscriptionId, request, headers, runtime);
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3159
3331
|
/**
|
|
3160
3332
|
* Update Umodel configuration information
|
|
3161
3333
|
*
|
|
@@ -3207,6 +3379,55 @@ export default class Client extends OpenApi {
|
|
|
3207
3379
|
return await this.updateUmodelWithOptions(workspace, request, headers, runtime);
|
|
3208
3380
|
}
|
|
3209
3381
|
|
|
3382
|
+
/**
|
|
3383
|
+
* 更新Umodel配置信息
|
|
3384
|
+
*
|
|
3385
|
+
* @param request - UpsertUmodelCommonSchemaRefRequest
|
|
3386
|
+
* @param headers - map
|
|
3387
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3388
|
+
* @returns UpsertUmodelCommonSchemaRefResponse
|
|
3389
|
+
*/
|
|
3390
|
+
async upsertUmodelCommonSchemaRefWithOptions(workspace: string, request: $_model.UpsertUmodelCommonSchemaRefRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpsertUmodelCommonSchemaRefResponse> {
|
|
3391
|
+
request.validate();
|
|
3392
|
+
let query : {[key: string ]: any} = { };
|
|
3393
|
+
if (!$dara.isNull(request.group)) {
|
|
3394
|
+
query["group"] = request.group;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
if (!$dara.isNull(request.version)) {
|
|
3398
|
+
query["version"] = request.version;
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3402
|
+
headers: headers,
|
|
3403
|
+
query: OpenApiUtil.query(query),
|
|
3404
|
+
});
|
|
3405
|
+
let params = new $OpenApiUtil.Params({
|
|
3406
|
+
action: "UpsertUmodelCommonSchemaRef",
|
|
3407
|
+
version: "2024-03-30",
|
|
3408
|
+
protocol: "HTTPS",
|
|
3409
|
+
pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/umodel/common-schema-ref`,
|
|
3410
|
+
method: "PATCH",
|
|
3411
|
+
authType: "AK",
|
|
3412
|
+
style: "ROA",
|
|
3413
|
+
reqBodyType: "json",
|
|
3414
|
+
bodyType: "json",
|
|
3415
|
+
});
|
|
3416
|
+
return $dara.cast<$_model.UpsertUmodelCommonSchemaRefResponse>(await this.callApi(params, req, runtime), new $_model.UpsertUmodelCommonSchemaRefResponse({}));
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* 更新Umodel配置信息
|
|
3421
|
+
*
|
|
3422
|
+
* @param request - UpsertUmodelCommonSchemaRefRequest
|
|
3423
|
+
* @returns UpsertUmodelCommonSchemaRefResponse
|
|
3424
|
+
*/
|
|
3425
|
+
async upsertUmodelCommonSchemaRef(workspace: string, request: $_model.UpsertUmodelCommonSchemaRefRequest): Promise<$_model.UpsertUmodelCommonSchemaRefResponse> {
|
|
3426
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3427
|
+
let headers : {[key: string ]: string} = { };
|
|
3428
|
+
return await this.upsertUmodelCommonSchemaRefWithOptions(workspace, request, headers, runtime);
|
|
3429
|
+
}
|
|
3430
|
+
|
|
3210
3431
|
/**
|
|
3211
3432
|
* Write Umodel Elements
|
|
3212
3433
|
*
|
|
@@ -21,7 +21,7 @@ export class CreateIntegrationPolicyRequestEntityGroup extends $dara.Model {
|
|
|
21
21
|
clusterId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Whether to disable unique binding of the Policy. If enabled, multiple Policies can be created for a single container cluster.
|
|
24
|
+
* Whether to disable the unique binding of the Policy. If enabled, multiple Policies can be created for a single container cluster.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* ture
|
|
@@ -35,10 +35,17 @@ export class CreateIntegrationPolicyRequestEntityGroup extends $dara.Model {
|
|
|
35
35
|
* eg-b79f65d11fb94e779867cf937c3a3002
|
|
36
36
|
*/
|
|
37
37
|
entityGroupId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* User ID to which the cluster belongs.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 12xxxx
|
|
44
|
+
*/
|
|
38
45
|
entityUserId?: string;
|
|
39
46
|
/**
|
|
40
47
|
* @remarks
|
|
41
|
-
* VPC
|
|
48
|
+
* VPC ID.
|
|
42
49
|
*
|
|
43
50
|
* @example
|
|
44
51
|
* vpc-bp18fgg3ffxa9czna40xt
|
|
@@ -95,7 +95,7 @@ export class CreateIntegrationPolicyResponseBodyPolicy extends $dara.Model {
|
|
|
95
95
|
export class CreateIntegrationPolicyResponseBody extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* Whether it
|
|
98
|
+
* Whether it is created.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* true
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteUmodelCommonSchemaRefRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* apm-common
|
|
12
|
+
*/
|
|
13
|
+
group?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
group: 'group',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
group: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteUmodelCommonSchemaRefResponseBody } from "./DeleteUmodelCommonSchemaRefResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteUmodelCommonSchemaRefResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteUmodelCommonSchemaRefResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DeleteUmodelCommonSchemaRefResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteUmodelCommonSchemaRefResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 8FDE2569-626B-5176-9844-28877A*****
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'requestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetUmodelCommonSchemaRefResponseBody } from "./GetUmodelCommonSchemaRefResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetUmodelCommonSchemaRefResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetUmodelCommonSchemaRefResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetUmodelCommonSchemaRefResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetUmodelCommonSchemaRefResponseBodyCommonSchemaRef extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* apm-common
|
|
9
|
+
*/
|
|
10
|
+
group?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 0.1.0
|
|
14
|
+
*/
|
|
15
|
+
version?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
group: 'group',
|
|
19
|
+
version: 'version',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
group: 'string',
|
|
26
|
+
version: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class GetUmodelCommonSchemaRefResponseBody extends $dara.Model {
|
|
40
|
+
commonSchemaRef?: GetUmodelCommonSchemaRefResponseBodyCommonSchemaRef[];
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
commonSchemaRef: 'commonSchemaRef',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
commonSchemaRef: { 'type': 'array', 'itemType': GetUmodelCommonSchemaRefResponseBodyCommonSchemaRef },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
if(Array.isArray(this.commonSchemaRef)) {
|
|
55
|
+
$dara.Model.validateArray(this.commonSchemaRef);
|
|
56
|
+
}
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -45,7 +45,7 @@ export class ListIntegrationPoliciesRequestTag extends $dara.Model {
|
|
|
45
45
|
export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* Addon
|
|
48
|
+
* Addon name.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* cs-default
|
|
@@ -53,7 +53,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
53
53
|
addonName?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* Bound
|
|
56
|
+
* Bound resource ID
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 622d27c2e87d49debceeebc7c642610e
|
|
@@ -61,7 +61,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
61
61
|
bindResourceId?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* Filter for entity IDs, separated by commas
|
|
64
|
+
* Filter for entity IDs, separated by commas
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* eg-1,eg-2,eg-3
|
|
@@ -69,7 +69,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
69
69
|
entityGroupIds?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* Used for Region query, separated by commas
|
|
72
|
+
* Used for Region query, separated by commas
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* cn-beijing,cn-hangzhou
|
|
@@ -77,7 +77,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
77
77
|
filterRegionIds?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* Maximum number of results to return
|
|
80
|
+
* Maximum number of results to return. Default is 30, with a maximum of 100.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* 30
|
|
@@ -85,7 +85,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
85
85
|
maxResults?: number;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* Used to return more results. This parameter is not required for the first query
|
|
88
|
+
* Used to return more results. This parameter is not required for the first query. For subsequent queries, use the Token obtained from the response.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* mvnX6zqg3P
|
|
@@ -101,7 +101,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
101
101
|
policyId?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* Rule
|
|
104
|
+
* Rule name.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* prod-database
|
|
@@ -109,7 +109,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
109
109
|
policyName?: string;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
* Policy
|
|
112
|
+
* Policy type
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* CS
|
|
@@ -125,7 +125,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
125
125
|
prometheusInstanceId?: string;
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* Used for general queries
|
|
128
|
+
* Used for general queries
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* test
|
|
@@ -133,7 +133,7 @@ export class ListIntegrationPoliciesRequest extends $dara.Model {
|
|
|
133
133
|
query?: string;
|
|
134
134
|
/**
|
|
135
135
|
* @remarks
|
|
136
|
-
* Resource
|
|
136
|
+
* Resource group ID.
|
|
137
137
|
*
|
|
138
138
|
* @example
|
|
139
139
|
* rg-xxxxx
|
|
@@ -73,7 +73,7 @@ export class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesAn
|
|
|
73
73
|
op?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* Tag key
|
|
76
|
+
* Tag key.
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
79
|
* key
|
|
@@ -123,7 +123,7 @@ export class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesFi
|
|
|
123
123
|
fieldKey?: string;
|
|
124
124
|
/**
|
|
125
125
|
* @remarks
|
|
126
|
-
* Field content, multiple values separated by commas.
|
|
126
|
+
* Field content, multiple values separated by English commas.
|
|
127
127
|
*/
|
|
128
128
|
fieldValues?: string[];
|
|
129
129
|
/**
|
|
@@ -335,7 +335,7 @@ export class ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRules e
|
|
|
335
335
|
labels?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRulesLabels[];
|
|
336
336
|
/**
|
|
337
337
|
* @remarks
|
|
338
|
-
* List of region IDs
|
|
338
|
+
* List of region IDs.
|
|
339
339
|
*/
|
|
340
340
|
regionIds?: string[];
|
|
341
341
|
/**
|
|
@@ -444,7 +444,7 @@ export class ListIntegrationPoliciesResponseBodyPoliciesEntityGroup extends $dar
|
|
|
444
444
|
entityRules?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroupEntityRules;
|
|
445
445
|
/**
|
|
446
446
|
* @remarks
|
|
447
|
-
* Search
|
|
447
|
+
* Search keywords, supporting document library name and description
|
|
448
448
|
*
|
|
449
449
|
* @example
|
|
450
450
|
* 哈弗
|
|
@@ -650,7 +650,7 @@ export class ListIntegrationPoliciesResponseBodyPolicies extends $dara.Model {
|
|
|
650
650
|
bindResource?: ListIntegrationPoliciesResponseBodyPoliciesBindResource;
|
|
651
651
|
/**
|
|
652
652
|
* @remarks
|
|
653
|
-
*
|
|
653
|
+
* Container environment umodel installation status.
|
|
654
654
|
*
|
|
655
655
|
* @example
|
|
656
656
|
* true
|
|
@@ -661,6 +661,13 @@ export class ListIntegrationPoliciesResponseBodyPolicies extends $dara.Model {
|
|
|
661
661
|
* Entity group
|
|
662
662
|
*/
|
|
663
663
|
entityGroup?: ListIntegrationPoliciesResponseBodyPoliciesEntityGroup;
|
|
664
|
+
/**
|
|
665
|
+
* @remarks
|
|
666
|
+
* Billing type.
|
|
667
|
+
*
|
|
668
|
+
* @example
|
|
669
|
+
* CS_Pro
|
|
670
|
+
*/
|
|
664
671
|
feePackage?: string;
|
|
665
672
|
/**
|
|
666
673
|
* @remarks
|
|
@@ -810,7 +817,7 @@ export class ListIntegrationPoliciesResponseBody extends $dara.Model {
|
|
|
810
817
|
maxResults?: number;
|
|
811
818
|
/**
|
|
812
819
|
* @remarks
|
|
813
|
-
* Pagination
|
|
820
|
+
* Pagination token
|
|
814
821
|
*
|
|
815
822
|
* @example
|
|
816
823
|
* 44ANBjKZmQeKnaB1fXRq06w7sFYK3MUcCALMD9qQbmEiE
|