@alicloud/apig20240327 11.1.0 → 11.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 +210 -42
- package/dist/client.js +460 -42
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +20 -17
- package/dist/models/AddGatewayQuotaRuleRequest.js +2 -0
- package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +30 -6
- package/dist/models/AddGatewayQuotaRuleResponseBody.js +6 -0
- package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/AiPluginStatus.d.ts +1 -1
- package/dist/models/CreateGatewayRequest.d.ts +11 -11
- package/dist/models/CreateGatewayResponseBody.d.ts +1 -1
- package/dist/models/DeployHttpApiRequest.d.ts +10 -10
- package/dist/models/DeployHttpApiResponseBody.d.ts +1 -1
- package/dist/models/GetGatewayQuotaRuleRequest.d.ts +7 -2
- package/dist/models/GetGatewayQuotaRuleRequest.js +2 -0
- package/dist/models/GetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +62 -5
- package/dist/models/GetGatewayQuotaRuleResponseBody.js +33 -1
- package/dist/models/GetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +28 -2
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js +6 -0
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js.map +1 -1
- package/dist/models/HttpApiApiInfo.d.ts +32 -55
- package/dist/models/HttpApiApiInfo.js.map +1 -1
- package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +1 -1
- package/dist/models/HttpRoute.d.ts +36 -36
- package/dist/models/ListExternalServicesRequest.d.ts +3 -8
- package/dist/models/ListExternalServicesRequest.js.map +1 -1
- package/dist/models/ListExternalServicesResponseBody.d.ts +1 -1
- package/dist/models/ListHttpApiRoutesRequest.d.ts +5 -5
- package/dist/models/ListPluginWorkspaceRequest.d.ts +18 -0
- package/dist/models/ListPluginWorkspaceRequest.js +58 -0
- package/dist/models/ListPluginWorkspaceRequest.js.map +1 -0
- package/dist/models/ListPluginWorkspaceResponse.d.ts +19 -0
- package/dist/models/ListPluginWorkspaceResponse.js +69 -0
- package/dist/models/ListPluginWorkspaceResponse.js.map +1 -0
- package/dist/models/ListPluginWorkspaceResponseBody.d.ts +64 -0
- package/dist/models/ListPluginWorkspaceResponseBody.js +92 -0
- package/dist/models/ListPluginWorkspaceResponseBody.js.map +1 -0
- package/dist/models/ListRiskCheckResultsRequest.d.ts +33 -0
- package/dist/models/ListRiskCheckResultsRequest.js +64 -0
- package/dist/models/ListRiskCheckResultsRequest.js.map +1 -0
- package/dist/models/ListRiskCheckResultsResponse.d.ts +19 -0
- package/dist/models/ListRiskCheckResultsResponse.js +69 -0
- package/dist/models/ListRiskCheckResultsResponse.js.map +1 -0
- package/dist/models/ListRiskCheckResultsResponseBody.d.ts +71 -0
- package/dist/models/ListRiskCheckResultsResponseBody.js +100 -0
- package/dist/models/ListRiskCheckResultsResponseBody.js.map +1 -0
- package/dist/models/ListSourcesRequest.d.ts +55 -0
- package/dist/models/ListSourcesRequest.js +66 -0
- package/dist/models/ListSourcesRequest.js.map +1 -0
- package/dist/models/ListSourcesResponse.d.ts +19 -0
- package/dist/models/ListSourcesResponse.js +69 -0
- package/dist/models/ListSourcesResponse.js.map +1 -0
- package/dist/models/ListSourcesResponseBody.d.ts +208 -0
- package/dist/models/ListSourcesResponseBody.js +178 -0
- package/dist/models/ListSourcesResponseBody.js.map +1 -0
- package/dist/models/ListSyncMcpserverRequest.d.ts +28 -0
- package/dist/models/ListSyncMcpserverRequest.js +62 -0
- package/dist/models/ListSyncMcpserverRequest.js.map +1 -0
- package/dist/models/ListSyncMcpserverResponse.d.ts +19 -0
- package/dist/models/ListSyncMcpserverResponse.js +69 -0
- package/dist/models/ListSyncMcpserverResponse.js.map +1 -0
- package/dist/models/ListSyncMcpserverResponseBody.d.ts +46 -0
- package/dist/models/ListSyncMcpserverResponseBody.js +94 -0
- package/dist/models/ListSyncMcpserverResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesRequest.d.ts +4 -4
- package/dist/models/ListTagResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +4 -4
- package/dist/models/RefreshPluginOauthCodeRequest.d.ts +18 -0
- package/dist/models/RefreshPluginOauthCodeRequest.js +58 -0
- package/dist/models/RefreshPluginOauthCodeRequest.js.map +1 -0
- package/dist/models/RefreshPluginOauthCodeResponse.d.ts +19 -0
- package/dist/models/RefreshPluginOauthCodeResponse.js +69 -0
- package/dist/models/RefreshPluginOauthCodeResponse.js.map +1 -0
- package/dist/models/RefreshPluginOauthCodeResponseBody.d.ts +31 -0
- package/dist/models/RefreshPluginOauthCodeResponseBody.js +62 -0
- package/dist/models/RefreshPluginOauthCodeResponseBody.js.map +1 -0
- package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +10 -9
- package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +37 -11
- package/dist/models/ResetGatewayQuotaRuleResponseBody.js +6 -0
- package/dist/models/ResetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/RunPluginPipelineRequest.d.ts +13 -0
- package/dist/models/RunPluginPipelineRequest.js +54 -0
- package/dist/models/RunPluginPipelineRequest.js.map +1 -0
- package/dist/models/RunPluginPipelineResponse.d.ts +19 -0
- package/dist/models/RunPluginPipelineResponse.js +69 -0
- package/dist/models/RunPluginPipelineResponse.js.map +1 -0
- package/dist/models/RunPluginPipelineResponseBody.d.ts +31 -0
- package/dist/models/RunPluginPipelineResponseBody.js +62 -0
- package/dist/models/RunPluginPipelineResponseBody.js.map +1 -0
- package/dist/models/UpdateAuthorizationRuleRequest.d.ts +14 -0
- package/dist/models/UpdateAuthorizationRuleRequest.js +61 -0
- package/dist/models/UpdateAuthorizationRuleRequest.js.map +1 -0
- package/dist/models/UpdateAuthorizationRuleResponse.d.ts +19 -0
- package/dist/models/UpdateAuthorizationRuleResponse.js +69 -0
- package/dist/models/UpdateAuthorizationRuleResponse.js.map +1 -0
- package/dist/models/UpdateAuthorizationRuleResponseBody.d.ts +31 -0
- package/dist/models/UpdateAuthorizationRuleResponseBody.js +62 -0
- package/dist/models/UpdateAuthorizationRuleResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayElasticPolicyRequest.d.ts +97 -0
- package/dist/models/UpdateGatewayElasticPolicyRequest.js +140 -0
- package/dist/models/UpdateGatewayElasticPolicyRequest.js.map +1 -0
- package/dist/models/UpdateGatewayElasticPolicyResponse.d.ts +19 -0
- package/dist/models/UpdateGatewayElasticPolicyResponse.js +69 -0
- package/dist/models/UpdateGatewayElasticPolicyResponse.js.map +1 -0
- package/dist/models/UpdateGatewayElasticPolicyResponseBody.d.ts +31 -0
- package/dist/models/UpdateGatewayElasticPolicyResponseBody.js +62 -0
- package/dist/models/UpdateGatewayElasticPolicyResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayLoadBalancerRequest.d.ts +125 -0
- package/dist/models/UpdateGatewayLoadBalancerRequest.js +168 -0
- package/dist/models/UpdateGatewayLoadBalancerRequest.js.map +1 -0
- package/dist/models/UpdateGatewayLoadBalancerResponse.d.ts +19 -0
- package/dist/models/UpdateGatewayLoadBalancerResponse.js +69 -0
- package/dist/models/UpdateGatewayLoadBalancerResponse.js.map +1 -0
- package/dist/models/UpdateGatewayLoadBalancerResponseBody.d.ts +118 -0
- package/dist/models/UpdateGatewayLoadBalancerResponseBody.js +135 -0
- package/dist/models/UpdateGatewayLoadBalancerResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +8 -8
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +32 -8
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js +6 -0
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +44 -0
- package/dist/models/model.js +109 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +499 -42
- package/src/models/AddGatewayQuotaRuleRequest.ts +22 -17
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +36 -6
- package/src/models/AiPluginStatus.ts +1 -1
- package/src/models/CreateGatewayRequest.ts +11 -11
- package/src/models/CreateGatewayResponseBody.ts +1 -1
- package/src/models/DeployHttpApiRequest.ts +10 -10
- package/src/models/DeployHttpApiResponseBody.ts +1 -1
- package/src/models/GetGatewayQuotaRuleRequest.ts +9 -2
- package/src/models/GetGatewayQuotaRuleResponseBody.ts +85 -5
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +34 -2
- package/src/models/HttpApiApiInfo.ts +32 -55
- package/src/models/HttpApiApiInfoDeployCntMapValue.ts +1 -1
- package/src/models/HttpRoute.ts +36 -36
- package/src/models/ListExternalServicesRequest.ts +3 -8
- package/src/models/ListExternalServicesResponseBody.ts +1 -1
- package/src/models/ListHttpApiRoutesRequest.ts +5 -5
- package/src/models/ListPluginWorkspaceRequest.ts +31 -0
- package/src/models/ListPluginWorkspaceResponse.ts +40 -0
- package/src/models/ListPluginWorkspaceResponseBody.ts +102 -0
- package/src/models/ListRiskCheckResultsRequest.ts +52 -0
- package/src/models/ListRiskCheckResultsResponse.ts +40 -0
- package/src/models/ListRiskCheckResultsResponseBody.ts +116 -0
- package/src/models/ListSourcesRequest.ts +76 -0
- package/src/models/ListSourcesResponse.ts +40 -0
- package/src/models/ListSourcesResponseBody.ts +305 -0
- package/src/models/ListSyncMcpserverRequest.ts +45 -0
- package/src/models/ListSyncMcpserverResponse.ts +40 -0
- package/src/models/ListSyncMcpserverResponseBody.ts +86 -0
- package/src/models/ListTagResourcesRequest.ts +4 -4
- package/src/models/ListTagResourcesResponseBody.ts +1 -1
- package/src/models/ListTagResourcesShrinkRequest.ts +4 -4
- package/src/models/RefreshPluginOauthCodeRequest.ts +31 -0
- package/src/models/RefreshPluginOauthCodeResponse.ts +40 -0
- package/src/models/RefreshPluginOauthCodeResponseBody.ts +48 -0
- package/src/models/ResetGatewayQuotaRuleRequest.ts +10 -9
- package/src/models/ResetGatewayQuotaRuleResponseBody.ts +43 -11
- package/src/models/RunPluginPipelineRequest.ts +24 -0
- package/src/models/RunPluginPipelineResponse.ts +40 -0
- package/src/models/RunPluginPipelineResponseBody.ts +48 -0
- package/src/models/UpdateAuthorizationRuleRequest.ts +30 -0
- package/src/models/UpdateAuthorizationRuleResponse.ts +40 -0
- package/src/models/UpdateAuthorizationRuleResponseBody.ts +48 -0
- package/src/models/UpdateGatewayElasticPolicyRequest.ts +165 -0
- package/src/models/UpdateGatewayElasticPolicyResponse.ts +40 -0
- package/src/models/UpdateGatewayElasticPolicyResponseBody.ts +48 -0
- package/src/models/UpdateGatewayLoadBalancerRequest.ts +212 -0
- package/src/models/UpdateGatewayLoadBalancerResponse.ts +40 -0
- package/src/models/UpdateGatewayLoadBalancerResponseBody.ts +190 -0
- package/src/models/UpdateGatewayQuotaRuleRequest.ts +8 -8
- package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +38 -8
- package/src/models/model.ts +44 -0
|
@@ -2,11 +2,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The conflict snapshot hash, used to prevent concurrent dirty overwrites during confirmation. Obtain this value from the response of a previous
|
|
5
|
+
* The conflict snapshot hash, used to prevent concurrent dirty overwrites during confirmation. Obtain this value from the response of a previous dryRun=true request.
|
|
6
6
|
*
|
|
7
|
-
* This parameter is not required in the following cases: no conflicts exist, the request is a dry run (dryRun=true), or overwrite
|
|
7
|
+
* This parameter is not required in the following cases: no conflicts exist, the request is a dry run (dryRun=true), or overwrite=false (no overwrite confirmation).
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* When dryRun=false and overwrite=true, if this parameter is not provided or the value has expired and no longer matches, the backend returns accepted=false with a new conflict preview. Perform a dry run again to confirm the new conflicts.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541fxxxxxxxx
|
|
@@ -14,17 +14,15 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
14
14
|
conflictHash?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The list of consumer group IDs
|
|
17
|
+
* The list of consumer group IDs (not supported currently).
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* group1,group2
|
|
21
|
-
*
|
|
22
|
-
* @deprecated
|
|
23
21
|
*/
|
|
24
22
|
consumerGroupIds?: string[];
|
|
25
23
|
/**
|
|
26
24
|
* @remarks
|
|
27
|
-
* The list of consumer IDs to bind to the rule.
|
|
25
|
+
* The list of consumer IDs to bind to the rule. A maximum of 1000 consumers can be specified in a single request.
|
|
28
26
|
*
|
|
29
27
|
* @example
|
|
30
28
|
* 1001,1002,1003
|
|
@@ -32,7 +30,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
32
30
|
consumerIds?: string[];
|
|
33
31
|
/**
|
|
34
32
|
* @remarks
|
|
35
|
-
* Specifies whether to perform only a dry run without applying the configuration. A dry run checks whether conflicting rules exist on the bound consumers. For example, a consumer that already has a calendar-day quota
|
|
33
|
+
* Specifies whether to perform only a dry run without applying the configuration. A dry run checks whether conflicting rules exist on the bound consumers. For example, a consumer that already has a calendar-day quota cannot have another calendar-day quota rule added.
|
|
36
34
|
*
|
|
37
35
|
* @example
|
|
38
36
|
* false
|
|
@@ -40,7 +38,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
40
38
|
dryRun?: boolean;
|
|
41
39
|
/**
|
|
42
40
|
* @remarks
|
|
43
|
-
* Specifies whether to allow overwriting when conflicts exist. If overwriting is allowed, the conflicting consumers are unbound from the old rule and bound to the new rule.
|
|
41
|
+
* Specifies whether to allow overwriting when conflicts exist. If overwriting is allowed, the conflicting subjects (consumers) are unbound from the old rule and bound to the new rule.
|
|
44
42
|
*
|
|
45
43
|
* @example
|
|
46
44
|
* false
|
|
@@ -48,7 +46,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
48
46
|
overwrite?: boolean;
|
|
49
47
|
/**
|
|
50
48
|
* @remarks
|
|
51
|
-
* The period multiplier
|
|
49
|
+
* The period multiplier. This parameter applies to epoch period rules.
|
|
52
50
|
*
|
|
53
51
|
* @example
|
|
54
52
|
* 10
|
|
@@ -56,7 +54,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
56
54
|
periodMultiplier?: number;
|
|
57
55
|
/**
|
|
58
56
|
* @remarks
|
|
59
|
-
* The period
|
|
57
|
+
* The period type. For calendar periods, statistics are collected by day, week, or month. Valid values: day, week, and month. For epoch periods, only day is supported.
|
|
60
58
|
*
|
|
61
59
|
* This parameter is required.
|
|
62
60
|
*
|
|
@@ -66,7 +64,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
66
64
|
periodType?: string;
|
|
67
65
|
/**
|
|
68
66
|
* @remarks
|
|
69
|
-
* The quota dimension or throttling type. Valid values: token and credit. The credit quota applies only to dedicated instances
|
|
67
|
+
* The quota dimension or throttling type. Valid values: token and credit. The credit quota applies only to dedicated instances running version 2.1.19 or later.
|
|
70
68
|
*
|
|
71
69
|
* This parameter is required.
|
|
72
70
|
*
|
|
@@ -76,7 +74,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
76
74
|
quotaDimension?: string;
|
|
77
75
|
/**
|
|
78
76
|
* @remarks
|
|
79
|
-
* The total available quota per period (
|
|
77
|
+
* The total available quota per period (limit).
|
|
80
78
|
*
|
|
81
79
|
* This parameter is required.
|
|
82
80
|
*
|
|
@@ -94,6 +92,14 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
94
92
|
* team-rule
|
|
95
93
|
*/
|
|
96
94
|
ruleName?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The rule subject type. Valid values: consumer (a consumer) and consumer_group (a consumer group). Default value: consumer.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* consumer_group
|
|
101
|
+
*/
|
|
102
|
+
subjectType?: string;
|
|
97
103
|
/**
|
|
98
104
|
* @remarks
|
|
99
105
|
* The time zone for the calendar period, in UTC+x format.
|
|
@@ -104,10 +110,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
104
110
|
timezone?: string;
|
|
105
111
|
/**
|
|
106
112
|
* @remarks
|
|
107
|
-
* The reset period type. Valid values:
|
|
108
|
-
*
|
|
109
|
-
* - calendar: calendar period. The period starts from the beginning of a calendar day, week, or month.
|
|
110
|
-
* - epoch: custom period. The period starts from the time the rule is applied. The custom period applies only to dedicated instances of version 2.1.19 or later.
|
|
113
|
+
* The reset period type. Valid values: calendar (the period starts from the beginning of a calendar day, week, or month) and epoch (the period starts from when the rule is applied). The epoch type applies only to dedicated instances running version 2.1.19 or later.
|
|
111
114
|
*
|
|
112
115
|
* @example
|
|
113
116
|
* calendar
|
|
@@ -49,6 +49,7 @@ class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
49
49
|
quotaDimension: 'quotaDimension',
|
|
50
50
|
quotaLimit: 'quotaLimit',
|
|
51
51
|
ruleName: 'ruleName',
|
|
52
|
+
subjectType: 'subjectType',
|
|
52
53
|
timezone: 'timezone',
|
|
53
54
|
windowAlignment: 'windowAlignment',
|
|
54
55
|
};
|
|
@@ -65,6 +66,7 @@ class AddGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
65
66
|
quotaDimension: 'string',
|
|
66
67
|
quotaLimit: 'number',
|
|
67
68
|
ruleName: 'string',
|
|
69
|
+
subjectType: 'string',
|
|
68
70
|
timezone: 'string',
|
|
69
71
|
windowAlignment: 'string',
|
|
70
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddGatewayQuotaRuleRequest.js","sourceRoot":"","sources":["../../src/models/AddGatewayQuotaRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"AddGatewayQuotaRuleRequest.js","sourceRoot":"","sources":["../../src/models/AddGatewayQuotaRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAqHzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,gBAAgB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC3D,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACtD,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,SAAS;YACpB,gBAAgB,EAAE,QAAQ;YAC1B,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC;YACxC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACnD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtKD,gEAsKC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The period type of the existing conflicting rule on the consumer. A value of day, week, or month indicates
|
|
5
|
+
* The period type of the existing conflicting rule on the consumer. A value of day, week, or month indicates the conflicting rule has a daily, weekly, or monthly period respectively.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* week
|
|
@@ -10,7 +10,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems ext
|
|
|
10
10
|
conflictPeriodType?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The type of the existing conflicting rule on the consumer. A value of calendar indicates
|
|
13
|
+
* The type of the existing conflicting rule on the consumer. A value of calendar indicates the conflicting rule uses a calendar period. A value of epoch indicates the conflicting rule uses an epoch period.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* calendar
|
|
@@ -32,6 +32,30 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems ext
|
|
|
32
32
|
* consumer-a
|
|
33
33
|
*/
|
|
34
34
|
consumerName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The ID of the conflicting subject.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* cs-xxx
|
|
41
|
+
*/
|
|
42
|
+
subjectId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The name of the conflicting subject.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* consumer-a
|
|
49
|
+
*/
|
|
50
|
+
subjectName?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The type of the conflicting subject. Valid values: consumer and consumer_group.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* consumer
|
|
57
|
+
*/
|
|
58
|
+
subjectType?: string;
|
|
35
59
|
static names(): {
|
|
36
60
|
[key: string]: string;
|
|
37
61
|
};
|
|
@@ -46,7 +70,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems ext
|
|
|
46
70
|
export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreview extends $dara.Model {
|
|
47
71
|
/**
|
|
48
72
|
* @remarks
|
|
49
|
-
* The
|
|
73
|
+
* The conflict hash.
|
|
50
74
|
*
|
|
51
75
|
* @example
|
|
52
76
|
* f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541fxxxxxxxx
|
|
@@ -54,7 +78,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreview extends
|
|
|
54
78
|
conflictHash?: string;
|
|
55
79
|
/**
|
|
56
80
|
* @remarks
|
|
57
|
-
* The list of conflicting
|
|
81
|
+
* The list of conflicting subjects (consumers).
|
|
58
82
|
*/
|
|
59
83
|
items?: AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems[];
|
|
60
84
|
/**
|
|
@@ -79,7 +103,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreview extends
|
|
|
79
103
|
export declare class AddGatewayQuotaRuleResponseBodyData extends $dara.Model {
|
|
80
104
|
/**
|
|
81
105
|
* @remarks
|
|
82
|
-
* Indicates whether the write request is accepted by the system. A value of false typically indicates a retryable scenario
|
|
106
|
+
* Indicates whether the write request is accepted by the system. A value of false typically indicates a retryable scenario such as an unconfirmed conflict overwrite.
|
|
83
107
|
*
|
|
84
108
|
* @example
|
|
85
109
|
* true
|
|
@@ -144,7 +168,7 @@ export declare class AddGatewayQuotaRuleResponseBody extends $dara.Model {
|
|
|
144
168
|
message?: string;
|
|
145
169
|
/**
|
|
146
170
|
* @remarks
|
|
147
|
-
* The request
|
|
171
|
+
* The unique identifier of the request.
|
|
148
172
|
*
|
|
149
173
|
* @example
|
|
150
174
|
* 1234567890
|
|
@@ -43,6 +43,9 @@ class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends $dara.Mode
|
|
|
43
43
|
conflictType: 'conflictType',
|
|
44
44
|
consumerId: 'consumerId',
|
|
45
45
|
consumerName: 'consumerName',
|
|
46
|
+
subjectId: 'subjectId',
|
|
47
|
+
subjectName: 'subjectName',
|
|
48
|
+
subjectType: 'subjectType',
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
static types() {
|
|
@@ -51,6 +54,9 @@ class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends $dara.Mode
|
|
|
51
54
|
conflictType: 'string',
|
|
52
55
|
consumerId: 'string',
|
|
53
56
|
consumerName: 'string',
|
|
57
|
+
subjectId: 'string',
|
|
58
|
+
subjectName: 'string',
|
|
59
|
+
subjectType: 'string',
|
|
54
60
|
};
|
|
55
61
|
}
|
|
56
62
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddGatewayQuotaRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/AddGatewayQuotaRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"AddGatewayQuotaRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/AddGatewayQuotaRuleResponseBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -17,7 +17,7 @@ export declare class AiPluginStatus extends $dara.Model {
|
|
|
17
17
|
pluginId?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* Indicates whether the backend service that the
|
|
20
|
+
* Indicates whether the backend service that the plugin depends on is healthy.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* true
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateGatewayRequestLogConfigSls extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to enable
|
|
5
|
+
* Specifies whether to enable log collection.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* false
|
|
@@ -148,7 +148,7 @@ export declare class CreateGatewayRequestZoneConfig extends $dara.Model {
|
|
|
148
148
|
export declare class CreateGatewayRequest extends $dara.Model {
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* The billing method.
|
|
151
|
+
* The billing method. This parameter is required for the Serverless edition and must be set to POSTPAY.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* POSTPAY
|
|
@@ -160,9 +160,9 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
160
160
|
*
|
|
161
161
|
* - Professional: standard instance.
|
|
162
162
|
*
|
|
163
|
-
* - Serverless: Serverless.
|
|
163
|
+
* - Serverless: Serverless instance.
|
|
164
164
|
*
|
|
165
|
-
* - MultiTenantServerless: multi-tenant Serverless.
|
|
165
|
+
* - MultiTenantServerless: multi-tenant Serverless instance.
|
|
166
166
|
*
|
|
167
167
|
* - Unknown: unknown.
|
|
168
168
|
*
|
|
@@ -172,7 +172,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
172
172
|
gatewayEdition?: string;
|
|
173
173
|
/**
|
|
174
174
|
* @remarks
|
|
175
|
-
* The running mode for AI multi-tenant V2. Default value: ENTERPRISE. This parameter
|
|
175
|
+
* The running mode for AI multi-tenant V2. Default value: ENTERPRISE. This parameter is allowed only when gatewayType is AI and gatewayEdition is MultiTenantServerless.
|
|
176
176
|
*
|
|
177
177
|
* @example
|
|
178
178
|
* ENTERPRISE
|
|
@@ -180,7 +180,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
180
180
|
gatewayMode?: string;
|
|
181
181
|
/**
|
|
182
182
|
* @remarks
|
|
183
|
-
* The gateway type.
|
|
183
|
+
* The gateway type. This parameter must be explicitly set to AI for AI Serverless or multi-tenant gateways.
|
|
184
184
|
*
|
|
185
185
|
* @example
|
|
186
186
|
* API
|
|
@@ -193,7 +193,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
193
193
|
logConfig?: CreateGatewayRequestLogConfig;
|
|
194
194
|
/**
|
|
195
195
|
* @remarks
|
|
196
|
-
* The gateway name.
|
|
196
|
+
* The gateway name. This parameter is required for all gateway editions.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* test-ceshi
|
|
@@ -201,7 +201,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
201
201
|
name?: string;
|
|
202
202
|
/**
|
|
203
203
|
* @remarks
|
|
204
|
-
* The network access configuration.
|
|
204
|
+
* The network access configuration. This parameter is required. If not provided, the service returns InvalidParameter.IsEmpty (400).
|
|
205
205
|
*/
|
|
206
206
|
networkAccessConfig?: CreateGatewayRequestNetworkAccessConfig;
|
|
207
207
|
/**
|
|
@@ -214,7 +214,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
214
214
|
resourceGroupId?: string;
|
|
215
215
|
/**
|
|
216
216
|
* @remarks
|
|
217
|
-
* The node specifications.
|
|
217
|
+
* The node specifications. This parameter is required for the Serverless edition.
|
|
218
218
|
*
|
|
219
219
|
* @example
|
|
220
220
|
* apigw.dev.x1
|
|
@@ -227,7 +227,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
227
227
|
tag?: CreateGatewayRequestTag[];
|
|
228
228
|
/**
|
|
229
229
|
* @remarks
|
|
230
|
-
* The VPC ID.
|
|
230
|
+
* The VPC ID. This parameter is required for all gateway editions.
|
|
231
231
|
*
|
|
232
232
|
* @example
|
|
233
233
|
* vpc-zm0x16tomfiat1mk9f6rs
|
|
@@ -235,7 +235,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
235
235
|
vpcId?: string;
|
|
236
236
|
/**
|
|
237
237
|
* @remarks
|
|
238
|
-
* The zone configuration.
|
|
238
|
+
* The zone configuration. This parameter is required for all gateway editions.
|
|
239
239
|
*/
|
|
240
240
|
zoneConfig?: CreateGatewayRequestZoneConfig;
|
|
241
241
|
static names(): {
|
|
@@ -28,7 +28,7 @@ export declare class DeployHttpApiRequestHttpApiConfig extends $dara.Model {
|
|
|
28
28
|
export declare class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends $dara.Model {
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The match condition configuration
|
|
31
|
+
* The match condition configuration related to API publishing.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* {\\"change_order_revision\\":\\"3.657.33_fc-hz-yunqi.1662568293908382_faas-eerouter\\"}
|
|
@@ -45,8 +45,8 @@ export declare class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs
|
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
47
|
* The service protocol. Valid values:
|
|
48
|
-
* - HTTP
|
|
49
|
-
* - HTTPS
|
|
48
|
+
* - HTTP
|
|
49
|
+
* - HTTPS
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* HTTP
|
|
@@ -70,7 +70,7 @@ export declare class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs
|
|
|
70
70
|
version?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The weight. Valid values: 1 to 100. This parameter takes effect only in ratio-based
|
|
73
|
+
* The weight. Valid values: 1 to 100. This parameter takes effect only in the ratio-based scenario.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* 49
|
|
@@ -115,7 +115,7 @@ export declare class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.
|
|
|
115
115
|
environmentId?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The existing service configurations. In the single
|
|
118
|
+
* The existing service configurations. In the single-service scenario, only one entry is allowed. In ratio-based or content-based scenarios, multiple entries are allowed. Backend configurations cannot be specified during publishing. Configure them in advance by using UpdateHttpApi or UpdateHttpApiOperation before publishing.
|
|
119
119
|
*
|
|
120
120
|
* **if can be null:**
|
|
121
121
|
* true
|
|
@@ -173,7 +173,7 @@ export declare class DeployHttpApiRequestRestApiConfig extends $dara.Model {
|
|
|
173
173
|
description?: string;
|
|
174
174
|
/**
|
|
175
175
|
* @remarks
|
|
176
|
-
* Specifies whether to enable REST API route compression. If omitted or set to false, operations are published individually. If set to true, the API is published as a single prefix route. This
|
|
176
|
+
* Specifies whether to enable REST API route compression. If this parameter is omitted or set to false, operations are published individually. If set to true, the API is published as a single prefix route. This field is ignored for historical revision publishing, which uses the route mode saved in the historical revision. When set to true, operationDeployments must not be specified because prefix route publishing supports only full publishing.
|
|
177
177
|
*
|
|
178
178
|
* @example
|
|
179
179
|
* true
|
|
@@ -194,7 +194,7 @@ export declare class DeployHttpApiRequestRestApiConfig extends $dara.Model {
|
|
|
194
194
|
gatewayId?: string;
|
|
195
195
|
/**
|
|
196
196
|
* @remarks
|
|
197
|
-
* The operation-level deployment control list.
|
|
197
|
+
* The operation-level deployment control list. This parameter takes effect only when enableRouteCompression is omitted or set to false. This field must not be specified when enableRouteCompression is set to true.
|
|
198
198
|
*/
|
|
199
199
|
operationDeployments?: DeployHttpApiRequestRestApiConfigOperationDeployments[];
|
|
200
200
|
/**
|
|
@@ -206,7 +206,7 @@ export declare class DeployHttpApiRequestRestApiConfig extends $dara.Model {
|
|
|
206
206
|
operationIds?: string[];
|
|
207
207
|
/**
|
|
208
208
|
* @remarks
|
|
209
|
-
* The historical
|
|
209
|
+
* The historical revision ID. If this field is specified, the publish information is based on the historical revision.
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* apr-xxx
|
|
@@ -233,12 +233,12 @@ export declare class DeployHttpApiRequest extends $dara.Model {
|
|
|
233
233
|
httpApiConfig?: DeployHttpApiRequestHttpApiConfig;
|
|
234
234
|
/**
|
|
235
235
|
* @remarks
|
|
236
|
-
* The REST API deployment configuration.
|
|
236
|
+
* The REST API deployment configuration. This parameter is required when the HTTP API being published is a REST API. At least one of revisionId, environment, or gatewayId must be provided to specify the publish target.
|
|
237
237
|
*/
|
|
238
238
|
restApiConfig?: DeployHttpApiRequestRestApiConfig;
|
|
239
239
|
/**
|
|
240
240
|
* @remarks
|
|
241
|
-
* The route ID.
|
|
241
|
+
* The route ID. This parameter is required when publishing a route of an HTTP API.
|
|
242
242
|
*
|
|
243
243
|
* @example
|
|
244
244
|
* hr-cr82undlhtgrl***
|
|
@@ -12,7 +12,7 @@ export declare class GetGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
12
12
|
consumerPageNumber?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The
|
|
15
|
+
* The page size of the consumer list.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* 10
|
|
@@ -22,9 +22,14 @@ export declare class GetGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
22
22
|
consumerPageSize?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* Specifies whether to
|
|
25
|
+
* Specifies whether to return the consumer list.
|
|
26
26
|
*/
|
|
27
27
|
withConsumers?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* Specifies whether to return the general subject list. This parameter applies to both consumer and consumer group rules.
|
|
31
|
+
*/
|
|
32
|
+
withSubjects?: boolean;
|
|
28
33
|
static names(): {
|
|
29
34
|
[key: string]: string;
|
|
30
35
|
};
|
|
@@ -42,6 +42,7 @@ class GetGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
42
42
|
consumerPageNumber: 'consumerPageNumber',
|
|
43
43
|
consumerPageSize: 'consumerPageSize',
|
|
44
44
|
withConsumers: 'withConsumers',
|
|
45
|
+
withSubjects: 'withSubjects',
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
static types() {
|
|
@@ -49,6 +50,7 @@ class GetGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
49
50
|
consumerPageNumber: 'string',
|
|
50
51
|
consumerPageSize: 'string',
|
|
51
52
|
withConsumers: 'boolean',
|
|
53
|
+
withSubjects: 'boolean',
|
|
52
54
|
};
|
|
53
55
|
}
|
|
54
56
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetGatewayQuotaRuleRequest.js","sourceRoot":"","sources":["../../src/models/GetGatewayQuotaRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetGatewayQuotaRuleRequest.js","sourceRoot":"","sources":["../../src/models/GetGatewayQuotaRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IA+BzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,gBAAgB,EAAE,kBAAkB;YACpC,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,QAAQ;YAC5B,gBAAgB,EAAE,QAAQ;YAC1B,aAAa,EAAE,SAAS;YACxB,YAAY,EAAE,SAAS;SACxB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxDD,gEAwDC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class GetGatewayQuotaRuleResponseBodyDataConsumers extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The subject (consumer) ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* c-aaa
|
|
@@ -10,7 +10,7 @@ export declare class GetGatewayQuotaRuleResponseBodyDataConsumers extends $dara.
|
|
|
10
10
|
id?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The subject (consumer) name.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* consumer-a
|
|
@@ -27,10 +27,46 @@ export declare class GetGatewayQuotaRuleResponseBodyDataConsumers extends $dara.
|
|
|
27
27
|
[key: string]: any;
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
+
export declare class GetGatewayQuotaRuleResponseBodyDataSubjects extends $dara.Model {
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The subject ID.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* cs-xxx
|
|
37
|
+
*/
|
|
38
|
+
id?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The subject name.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* consumer-a
|
|
45
|
+
*/
|
|
46
|
+
name?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The subject type. Valid values: consumer or consumer_group.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* consumer
|
|
53
|
+
*/
|
|
54
|
+
subjectType?: string;
|
|
55
|
+
static names(): {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
static types(): {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
};
|
|
61
|
+
validate(): void;
|
|
62
|
+
constructor(map?: {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
30
66
|
export declare class GetGatewayQuotaRuleResponseBodyData extends $dara.Model {
|
|
31
67
|
/**
|
|
32
68
|
* @remarks
|
|
33
|
-
* The base timestamp
|
|
69
|
+
* The period base timestamp.
|
|
34
70
|
*
|
|
35
71
|
* @example
|
|
36
72
|
* 1745846400000
|
|
@@ -46,7 +82,7 @@ export declare class GetGatewayQuotaRuleResponseBodyData extends $dara.Model {
|
|
|
46
82
|
consumerCount?: number;
|
|
47
83
|
/**
|
|
48
84
|
* @remarks
|
|
49
|
-
* The list of
|
|
85
|
+
* The list of subjects (consumers) bound to this rule.
|
|
50
86
|
*/
|
|
51
87
|
consumers?: GetGatewayQuotaRuleResponseBodyDataConsumers[];
|
|
52
88
|
/**
|
|
@@ -99,7 +135,28 @@ export declare class GetGatewayQuotaRuleResponseBodyData extends $dara.Model {
|
|
|
99
135
|
ruleStatus?: string;
|
|
100
136
|
/**
|
|
101
137
|
* @remarks
|
|
102
|
-
* The
|
|
138
|
+
* The number of associated subjects.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* 120
|
|
142
|
+
*/
|
|
143
|
+
subjectCount?: number;
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The rule subject type. Valid values: consumer or consumer_group.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* consumer_group
|
|
150
|
+
*/
|
|
151
|
+
subjectType?: string;
|
|
152
|
+
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* The general subject list bound to this rule. Returned only when withSubjects is set to true.
|
|
155
|
+
*/
|
|
156
|
+
subjects?: GetGatewayQuotaRuleResponseBodyDataSubjects[];
|
|
157
|
+
/**
|
|
158
|
+
* @remarks
|
|
159
|
+
* The time zone corresponding to the calendar period, in UTC+x format.
|
|
103
160
|
*
|
|
104
161
|
* @example
|
|
105
162
|
* GMT+8
|