@alicloud/apig20240327 11.3.2 → 11.3.4
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 +20 -20
- package/dist/client.js +33 -20
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +16 -16
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +6 -11
- package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/CreateConsumerRequest.d.ts +16 -4
- package/dist/models/CreateConsumerRequest.js +4 -0
- package/dist/models/CreateConsumerRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRequest.d.ts +35 -13
- package/dist/models/CreateHttpApiRequest.js +2 -0
- package/dist/models/CreateHttpApiRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRouteRequest.d.ts +10 -10
- package/dist/models/CreatePluginAttachmentRequest.d.ts +2 -2
- package/dist/models/CreatePolicyAttachmentRequest.d.ts +2 -2
- package/dist/models/CreatePolicyAttachmentResponseBody.d.ts +1 -1
- package/dist/models/CreatePolicyRequest.d.ts +21 -21
- package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +1 -1
- package/dist/models/DeployHttpApiRequest.d.ts +11 -11
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +2 -3
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetDashboardRequest.d.ts +3 -0
- package/dist/models/GetDashboardRequest.js.map +1 -1
- package/dist/models/GetDashboardResponseBody.d.ts +1 -1
- package/dist/models/GetDashboardShrinkRequest.d.ts +3 -0
- package/dist/models/GetDashboardShrinkRequest.js.map +1 -1
- package/dist/models/GetHttpApiRequest.d.ts +1 -1
- package/dist/models/HttpApiDeployConfig.d.ts +25 -9
- package/dist/models/HttpApiDeployConfig.js +7 -0
- package/dist/models/HttpApiDeployConfig.js.map +1 -1
- package/dist/models/ImportHttpApiRequest.d.ts +14 -9
- package/dist/models/ImportHttpApiRequest.js.map +1 -1
- package/dist/models/ImportHttpApiResponseBody.d.ts +12 -8
- package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
- package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +1 -1
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +2 -4
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/ListHttpApiOperationsRequest.d.ts +10 -10
- package/dist/models/ListHttpApiOperationsResponseBody.d.ts +3 -3
- package/dist/models/ListHttpApisRequest.d.ts +9 -9
- package/dist/models/ListPluginAttachmentsRequest.d.ts +4 -4
- package/dist/models/ListPluginAttachmentsResponseBody.d.ts +7 -7
- package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +6 -6
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +8 -10
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/UpdateHttpApiRequest.d.ts +5 -5
- package/dist/models/UpdatePluginAttachmentRequest.d.ts +2 -2
- package/package.json +1 -1
- package/src/client.ts +36 -20
- package/src/models/AddGatewayQuotaRuleRequest.ts +16 -16
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +6 -11
- package/src/models/CreateConsumerRequest.ts +20 -4
- package/src/models/CreateHttpApiRequest.ts +37 -13
- package/src/models/CreateHttpApiRouteRequest.ts +10 -10
- package/src/models/CreatePluginAttachmentRequest.ts +2 -2
- package/src/models/CreatePolicyAttachmentRequest.ts +2 -2
- package/src/models/CreatePolicyAttachmentResponseBody.ts +1 -1
- package/src/models/CreatePolicyRequest.ts +21 -21
- package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +1 -1
- package/src/models/DeployHttpApiRequest.ts +11 -11
- package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +2 -3
- package/src/models/GetDashboardRequest.ts +3 -0
- package/src/models/GetDashboardResponseBody.ts +1 -1
- package/src/models/GetDashboardShrinkRequest.ts +3 -0
- package/src/models/GetHttpApiRequest.ts +1 -1
- package/src/models/HttpApiDeployConfig.ts +32 -9
- package/src/models/ImportHttpApiRequest.ts +14 -9
- package/src/models/ImportHttpApiResponseBody.ts +12 -8
- package/src/models/ListConsumerAuthorizationRulesRequest.ts +1 -1
- package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +2 -4
- package/src/models/ListHttpApiOperationsRequest.ts +10 -10
- package/src/models/ListHttpApiOperationsResponseBody.ts +3 -3
- package/src/models/ListHttpApisRequest.ts +9 -9
- package/src/models/ListPluginAttachmentsRequest.ts +4 -4
- package/src/models/ListPluginAttachmentsResponseBody.ts +7 -7
- package/src/models/QueryConsumerAuthorizationRulesRequest.ts +6 -6
- package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +8 -10
- package/src/models/UpdateHttpApiRequest.ts +5 -5
- package/src/models/UpdatePluginAttachmentRequest.ts +2 -2
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Filters the API operation list by a specific consumer authorization rule ID. Only authorized API operations are included in the response.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* cas-xxx
|
|
@@ -13,7 +13,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
13
13
|
consumerAuthorizationRuleId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The authentication
|
|
16
|
+
* The authentication enable filter.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* true
|
|
@@ -37,7 +37,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
37
37
|
gatewayId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* Filters API operations by HTTP method.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* GET
|
|
@@ -45,7 +45,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
45
45
|
method?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* Filters API operations by exact name match.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* getUserInfo
|
|
@@ -53,7 +53,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
53
53
|
name?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* Filters API operations by name prefix.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* GetUser
|
|
@@ -61,7 +61,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
61
61
|
nameLike?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The page number
|
|
64
|
+
* The page number. Starts from 1. Default value: 1.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 1
|
|
@@ -77,7 +77,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
77
77
|
pageSize?: number;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
*
|
|
80
|
+
* Filters API operations by path prefix match.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* /v1
|
|
@@ -85,7 +85,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
85
85
|
pathLike?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
*
|
|
88
|
+
* Includes the authorization rule list for the specified consumer in the specified environment ID in each API operation\\"s information in the response. You must also specify the withConsumerInfoById field.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* env-xxx
|
|
@@ -93,7 +93,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
93
93
|
withConsumerInEnvironmentId?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
*
|
|
96
|
+
* Includes the authorization rule list for the specified consumer in the specified environment ID in each API operation\\"s information in the response. You must also specify the withConsumerInEnvironmentId field.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* cs-xxx
|
|
@@ -101,7 +101,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
101
101
|
withConsumerInfoById?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The
|
|
104
|
+
* The plug-in ID. Retrieves plug-in publish information based on this plug-in ID.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* pl-xxx
|
|
@@ -6,7 +6,7 @@ import { HttpApiOperationInfo } from "./HttpApiOperationInfo";
|
|
|
6
6
|
export class ListHttpApiOperationsResponseBodyData extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The
|
|
9
|
+
* The API operation list.
|
|
10
10
|
*/
|
|
11
11
|
items?: HttpApiOperationInfo[];
|
|
12
12
|
/**
|
|
@@ -27,7 +27,7 @@ export class ListHttpApiOperationsResponseBodyData extends $dara.Model {
|
|
|
27
27
|
pageSize?: number;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The total
|
|
30
|
+
* The total count.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 10
|
|
@@ -74,7 +74,7 @@ export class ListHttpApiOperationsResponseBody extends $dara.Model {
|
|
|
74
74
|
code?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The
|
|
77
|
+
* The API operation list.
|
|
78
78
|
*/
|
|
79
79
|
data?: ListHttpApiOperationsResponseBodyData;
|
|
80
80
|
/**
|
|
@@ -13,7 +13,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
13
13
|
gatewayId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The gateway
|
|
16
|
+
* The type of gateway associated with the HTTP API. Valid values:
|
|
17
17
|
* - API: cloud-native API gateway.
|
|
18
18
|
* - AI: AI gateway.
|
|
19
19
|
*
|
|
@@ -31,7 +31,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
31
31
|
keyword?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* Searches by exact name match.
|
|
34
|
+
* Searches for an HTTP API by exact name match.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* login
|
|
@@ -47,7 +47,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
47
47
|
pageNumber?: number;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The page size. Valid
|
|
50
|
+
* The page size. Valid values: 1 to 100. Default value: 10.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* 10
|
|
@@ -55,7 +55,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
55
55
|
pageSize?: number;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The resource group
|
|
58
|
+
* The ID of the resource group.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* rg-ahr5uil8raz0rq3b
|
|
@@ -75,7 +75,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
75
75
|
types?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* Specifies whether to return
|
|
78
|
+
* Specifies whether to return information about APIs published to the specified environment.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* true
|
|
@@ -83,7 +83,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
83
83
|
withAPIsPublishedToEnvironment?: boolean;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
*
|
|
86
|
+
* The environment ID. If specified, the response includes consumer authentication policy information for each API in the specified environment.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* env-xxx
|
|
@@ -91,7 +91,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
91
91
|
withAuthPolicyInEnvironmentId?: string;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* Specifies whether permission authentication
|
|
94
|
+
* Specifies whether the permission authentication policy is enabled.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* true
|
|
@@ -99,7 +99,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
99
99
|
withAuthPolicyList?: boolean;
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
*
|
|
102
|
+
* The consumer ID. If specified, the response includes the authorization rule list for the specified consumer for each API.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* cs-xxx
|
|
@@ -131,7 +131,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
131
131
|
withIngressInfo?: boolean;
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The plug-in ID.
|
|
134
|
+
* The plug-in ID. If specified, the response includes plug-in publishing information for the specified plug-in.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* pl-ct9qn3um1hktue8dqol0
|
|
@@ -13,7 +13,7 @@ export class ListPluginAttachmentsRequest extends $dara.Model {
|
|
|
13
13
|
attachResourceId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The plug-in mount point type. Not enabled yet.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* GatewayRoute
|
|
@@ -21,7 +21,7 @@ export class ListPluginAttachmentsRequest extends $dara.Model {
|
|
|
21
21
|
attachResourceType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The mount point types. Separate multiple
|
|
24
|
+
* The mount point types. Separate multiple values with commas.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* GatewayRoute
|
|
@@ -61,7 +61,7 @@ export class ListPluginAttachmentsRequest extends $dara.Model {
|
|
|
61
61
|
pageSize?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The
|
|
64
|
+
* The plug-in ID.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* pl-ct8181um1hkiqns9f6e0
|
|
@@ -69,7 +69,7 @@ export class ListPluginAttachmentsRequest extends $dara.Model {
|
|
|
69
69
|
pluginId?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* Specifies whether to return parent resource
|
|
72
|
+
* Specifies whether to return the parent resource mount.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* false
|
|
@@ -9,7 +9,7 @@ import { ResourceInfo } from "./ResourceInfo";
|
|
|
9
9
|
export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* The
|
|
12
|
+
* The plug-in mount resource type. Valid values: GatewayRoute, Gateway, GatewayDomain, HttpApi, Operation.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* GatewayRoute
|
|
@@ -17,7 +17,7 @@ export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
|
17
17
|
attachResourceType?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
*
|
|
20
|
+
* Specifies whether the plug-in is enabled.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* true
|
|
@@ -35,7 +35,7 @@ export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
|
35
35
|
parentResourceInfo?: ParentResourceInfo;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
38
|
+
* The plug-in mount ID.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* pa-d0j9t5em1hkncrlo51mg
|
|
@@ -43,12 +43,12 @@ export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
|
43
43
|
pluginAttachmentId?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The plug-in type information.
|
|
47
47
|
*/
|
|
48
48
|
pluginClassInfo?: PluginClassInfo;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The Base64-encoded content of the original
|
|
51
|
+
* The Base64-encoded content of the original plug-in configuration.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* bGltaXRfYnlfaGVhZGVyOiB4LWFwaS1rZXkKbGltaXRfa2V5czoKLSBrZXk6IGV4YW1wbGUta2V5LWEKICBxdWVyeV9wZXJfc2Vjb25kOiAxMAotIGtleTogZXhhbXBsZS1rZXktYgogIHF1ZXJ5X3Blcl9zZWNvbmQ6IDEK
|
|
@@ -56,7 +56,7 @@ export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
|
56
56
|
pluginConfig?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The
|
|
59
|
+
* The plug-in ID.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* pl-cvu6r4um1hko3b3ti0a0
|
|
@@ -140,7 +140,7 @@ export class ListPluginAttachmentsResponseBodyData extends $dara.Model {
|
|
|
140
140
|
pageSize?: number;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The total
|
|
143
|
+
* The total number of entries.
|
|
144
144
|
*
|
|
145
145
|
* @example
|
|
146
146
|
* 10
|
|
@@ -13,7 +13,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
|
|
|
13
13
|
apiNameLike?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The consumer group ID. If specified, the authorization rules of
|
|
16
|
+
* The consumer group ID. If specified, the authorization rules of the consumer group are queried. At least one of the following parameters must be specified: resourceId, parentResourceId, consumerId, and consumerGroupId.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* csg-8c13d2b4f8a1
|
|
@@ -29,7 +29,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
|
|
|
29
29
|
consumerGroupNameLike?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The consumer ID.
|
|
32
|
+
* The consumer ID. At least one of the following parameters must be specified: resourceId, parentResourceId, consumerId, and consumerGroupId.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* cs-ct21c16m1hkp64hk6qmg
|
|
@@ -77,7 +77,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
|
|
|
77
77
|
pageSize?: number;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The parent resource ID.
|
|
80
|
+
* The parent resource ID. At least one of the following parameters must be specified: resourceId, parentResourceId, consumerId, and consumerGroupId.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* ha-cn-li942gy8p01
|
|
@@ -85,7 +85,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
|
|
|
85
85
|
parentResourceId?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The principal type. Valid values: Consumer
|
|
88
|
+
* The principal type. Valid values: Consumer and ConsumerGroup.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* ConsumerGroup
|
|
@@ -93,7 +93,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
|
|
|
93
93
|
principalType?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The resource ID.
|
|
96
|
+
* The resource ID. At least one of the following parameters must be specified: resourceId, parentResourceId, consumerId, and consumerGroupId.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* ha-cn-li942gy8p03
|
|
@@ -109,7 +109,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
|
|
|
109
109
|
resourceType?: string;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
* The service source
|
|
112
|
+
* The service source type.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* K8S
|
|
@@ -12,7 +12,7 @@ import { HttpRoute } from "./HttpRoute";
|
|
|
12
12
|
export class QueryConsumerAuthorizationRulesResponseBodyDataItemsResourceInfo extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The operation information.
|
|
15
|
+
* The API operation information.
|
|
16
16
|
*/
|
|
17
17
|
operationInfo?: HttpApiOperationInfo;
|
|
18
18
|
/**
|
|
@@ -52,7 +52,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItemsResourceInfo ex
|
|
|
52
52
|
export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.Model {
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The API information
|
|
55
|
+
* The API information.
|
|
56
56
|
*/
|
|
57
57
|
apiInfo?: HttpApiApiInfo;
|
|
58
58
|
/**
|
|
@@ -86,7 +86,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
|
|
|
86
86
|
consumerId?: string;
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* The consumer information
|
|
89
|
+
* The consumer information.
|
|
90
90
|
*/
|
|
91
91
|
consumerInfo?: ConsumerInfo;
|
|
92
92
|
/**
|
|
@@ -99,7 +99,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
|
|
|
99
99
|
createTimestamp?: number;
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
* The
|
|
102
|
+
* The deployment status of the API in the current environment.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* {}
|
|
@@ -112,9 +112,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
|
|
|
112
112
|
environmentInfo?: EnvironmentInfo;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The expiration mode. Valid values:
|
|
116
|
-
* - LongTerm
|
|
117
|
-
* - ShortTerm
|
|
115
|
+
* The expiration mode. Valid values: LongTerm and ShortTerm.
|
|
118
116
|
*
|
|
119
117
|
* @example
|
|
120
118
|
* ShortTerm
|
|
@@ -143,7 +141,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
|
|
|
143
141
|
gatewayInfo?: GatewayInfo;
|
|
144
142
|
/**
|
|
145
143
|
* @remarks
|
|
146
|
-
* The principal type. Valid values: Consumer
|
|
144
|
+
* The principal type. Valid values: Consumer and ConsumerGroup.
|
|
147
145
|
*
|
|
148
146
|
* @example
|
|
149
147
|
* ConsumerGroup
|
|
@@ -159,7 +157,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
|
|
|
159
157
|
resourceId?: string;
|
|
160
158
|
/**
|
|
161
159
|
* @remarks
|
|
162
|
-
* The resource information
|
|
160
|
+
* The resource information.
|
|
163
161
|
*/
|
|
164
162
|
resourceInfo?: QueryConsumerAuthorizationRulesResponseBodyDataItemsResourceInfo;
|
|
165
163
|
/**
|
|
@@ -254,7 +252,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
|
|
|
254
252
|
export class QueryConsumerAuthorizationRulesResponseBodyData extends $dara.Model {
|
|
255
253
|
/**
|
|
256
254
|
* @remarks
|
|
257
|
-
* The list of consumer rules.
|
|
255
|
+
* The list of consumer authorization rules.
|
|
258
256
|
*/
|
|
259
257
|
items?: QueryConsumerAuthorizationRulesResponseBodyDataItems[];
|
|
260
258
|
/**
|
|
@@ -16,7 +16,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
|
|
|
16
16
|
environmentId?: string;
|
|
17
17
|
/**
|
|
18
18
|
* @remarks
|
|
19
|
-
* The Ingress
|
|
19
|
+
* The Ingress class to listen on.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* mse
|
|
@@ -24,7 +24,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
|
|
|
24
24
|
ingressClass?: string;
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* Specifies whether to update the address in the Ingress
|
|
27
|
+
* Specifies whether to update the address in the Ingress status.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* false
|
|
@@ -108,7 +108,7 @@ export class UpdateHttpApiRequest extends $dara.Model {
|
|
|
108
108
|
deployConfigs?: HttpApiDeployConfig[];
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
* The description
|
|
111
|
+
* The API description.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* Update API description
|
|
@@ -158,12 +158,12 @@ export class UpdateHttpApiRequest extends $dara.Model {
|
|
|
158
158
|
removeBasePathOnForward?: boolean;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The versioning configuration
|
|
161
|
+
* The API versioning configuration.
|
|
162
162
|
*/
|
|
163
163
|
versionConfig?: HttpApiVersionConfig;
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
* Specifies whether to perform only a dry run. If set to true, all synchronous validations identical to
|
|
166
|
+
* Specifies whether to perform only a dry run. If set to true, all synchronous validations identical to an actual update are performed, but no configurations are modified and no side effects are produced. If set to false or left empty, the behavior is the same as the existing version.
|
|
167
167
|
*/
|
|
168
168
|
dryRun?: boolean;
|
|
169
169
|
static names(): { [key: string]: string } {
|
|
@@ -10,7 +10,7 @@ export class UpdatePluginAttachmentRequest extends $dara.Model {
|
|
|
10
10
|
attachResourceIds?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Specifies whether to enable the plugin.
|
|
13
|
+
* Specifies whether to enable the plugin mount.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* false
|
|
@@ -18,7 +18,7 @@ export class UpdatePluginAttachmentRequest extends $dara.Model {
|
|
|
18
18
|
enable?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The Base64-encoded content of the
|
|
21
|
+
* The Base64-encoded content of the raw plugin configuration.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* cHJlcGVuZDoKLSByb2xlOiBzeXN0ZW0KICBjb250ZW50OiDor7fkvb/nlKjoi7Hor63lm57nrZTpl67popgKYXBwZW5kOgotIHJvbGU6IHVzZXIKICBjb250ZW50OiDmr4/mrKHlm57nrZTlrozpl67popjvvIzlsJ3or5Xov5vooYzlj43pl64K
|