@alicloud/sae20190506 1.24.2 → 1.24.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 +8 -0
- package/dist/client.js +28 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -7247,6 +7247,7 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7247
7247
|
* cn-beijing:sae-test
|
|
7248
7248
|
*/
|
|
7249
7249
|
namespaceId?: string;
|
|
7250
|
+
requestTimeout?: number;
|
|
7250
7251
|
/**
|
|
7251
7252
|
* @remarks
|
|
7252
7253
|
* This parameter is required.
|
|
@@ -7255,6 +7256,7 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7255
7256
|
* [{"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080,"domain":"www.sae.site","path":"/path1"},{"appId":"666403ce-d25b-47cf-87fe-497565d2****","containerPort":8080,"domain":"sae.site","path":"/path2"}]
|
|
7256
7257
|
*/
|
|
7257
7258
|
rules?: string;
|
|
7259
|
+
securityPolicyId?: string;
|
|
7258
7260
|
/**
|
|
7259
7261
|
* @remarks
|
|
7260
7262
|
* This parameter is required.
|
|
@@ -7273,7 +7275,9 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7273
7275
|
listenerProtocol: 'ListenerProtocol',
|
|
7274
7276
|
loadBalanceType: 'LoadBalanceType',
|
|
7275
7277
|
namespaceId: 'NamespaceId',
|
|
7278
|
+
requestTimeout: 'RequestTimeout',
|
|
7276
7279
|
rules: 'Rules',
|
|
7280
|
+
securityPolicyId: 'SecurityPolicyId',
|
|
7277
7281
|
slbId: 'SlbId',
|
|
7278
7282
|
};
|
|
7279
7283
|
}
|
|
@@ -7288,7 +7292,9 @@ export class CreateIngressRequest extends $tea.Model {
|
|
|
7288
7292
|
listenerProtocol: 'string',
|
|
7289
7293
|
loadBalanceType: 'string',
|
|
7290
7294
|
namespaceId: 'string',
|
|
7295
|
+
requestTimeout: 'number',
|
|
7291
7296
|
rules: 'string',
|
|
7297
|
+
securityPolicyId: 'string',
|
|
7292
7298
|
slbId: 'string',
|
|
7293
7299
|
};
|
|
7294
7300
|
}
|
|
@@ -23239,11 +23245,13 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23239
23245
|
* clb
|
|
23240
23246
|
*/
|
|
23241
23247
|
loadBalanceType?: string;
|
|
23248
|
+
requestTimeout?: number;
|
|
23242
23249
|
/**
|
|
23243
23250
|
* @example
|
|
23244
23251
|
* [{"appId":"395b60e4-0550-458d-9c54-a265d036****","containerPort":8080,"domain":"www.sae.site","path":"/path1"},{"appId":"666403ce-d25b-47cf-87fe-497565d2****","containerPort":8080,"domain":"sae.site","path":"/path2"}]
|
|
23245
23252
|
*/
|
|
23246
23253
|
rules?: string;
|
|
23254
|
+
securityPolicyId?: string;
|
|
23247
23255
|
static names(): { [key: string]: string } {
|
|
23248
23256
|
return {
|
|
23249
23257
|
certId: 'CertId',
|
|
@@ -23254,7 +23262,9 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23254
23262
|
listenerPort: 'ListenerPort',
|
|
23255
23263
|
listenerProtocol: 'ListenerProtocol',
|
|
23256
23264
|
loadBalanceType: 'LoadBalanceType',
|
|
23265
|
+
requestTimeout: 'RequestTimeout',
|
|
23257
23266
|
rules: 'Rules',
|
|
23267
|
+
securityPolicyId: 'SecurityPolicyId',
|
|
23258
23268
|
};
|
|
23259
23269
|
}
|
|
23260
23270
|
|
|
@@ -23268,7 +23278,9 @@ export class UpdateIngressRequest extends $tea.Model {
|
|
|
23268
23278
|
listenerPort: 'string',
|
|
23269
23279
|
listenerProtocol: 'string',
|
|
23270
23280
|
loadBalanceType: 'string',
|
|
23281
|
+
requestTimeout: 'number',
|
|
23271
23282
|
rules: 'string',
|
|
23283
|
+
securityPolicyId: 'string',
|
|
23272
23284
|
};
|
|
23273
23285
|
}
|
|
23274
23286
|
|
|
@@ -27318,6 +27330,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27318
27330
|
* false
|
|
27319
27331
|
*/
|
|
27320
27332
|
enableGreyTagRoute?: boolean;
|
|
27333
|
+
enableIdle?: boolean;
|
|
27321
27334
|
/**
|
|
27322
27335
|
* @remarks
|
|
27323
27336
|
* The environment variables. Variable description:
|
|
@@ -27449,6 +27462,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27449
27462
|
* "0"
|
|
27450
27463
|
*/
|
|
27451
27464
|
microRegistration?: string;
|
|
27465
|
+
microRegistrationConfig?: string;
|
|
27452
27466
|
/**
|
|
27453
27467
|
* @remarks
|
|
27454
27468
|
* The percentage of the minimum number of available instances. Valid values:
|
|
@@ -27828,6 +27842,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27828
27842
|
edasContainerVersion: 'EdasContainerVersion',
|
|
27829
27843
|
enableAhas: 'EnableAhas',
|
|
27830
27844
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
27845
|
+
enableIdle: 'EnableIdle',
|
|
27831
27846
|
envs: 'Envs',
|
|
27832
27847
|
imagePullSecrets: 'ImagePullSecrets',
|
|
27833
27848
|
imageUrl: 'ImageUrl',
|
|
@@ -27838,6 +27853,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27838
27853
|
liveness: 'Liveness',
|
|
27839
27854
|
memory: 'Memory',
|
|
27840
27855
|
microRegistration: 'MicroRegistration',
|
|
27856
|
+
microRegistrationConfig: 'MicroRegistrationConfig',
|
|
27841
27857
|
minReadyInstanceRatio: 'MinReadyInstanceRatio',
|
|
27842
27858
|
minReadyInstances: 'MinReadyInstances',
|
|
27843
27859
|
mountDesc: 'MountDesc',
|
|
@@ -27899,6 +27915,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27899
27915
|
edasContainerVersion: 'string',
|
|
27900
27916
|
enableAhas: 'string',
|
|
27901
27917
|
enableGreyTagRoute: 'boolean',
|
|
27918
|
+
enableIdle: 'boolean',
|
|
27902
27919
|
envs: 'string',
|
|
27903
27920
|
imagePullSecrets: 'string',
|
|
27904
27921
|
imageUrl: 'string',
|
|
@@ -27909,6 +27926,7 @@ export class DescribeApplicationConfigResponseBodyData extends $tea.Model {
|
|
|
27909
27926
|
liveness: 'string',
|
|
27910
27927
|
memory: 'number',
|
|
27911
27928
|
microRegistration: 'string',
|
|
27929
|
+
microRegistrationConfig: 'string',
|
|
27912
27930
|
minReadyInstanceRatio: 'number',
|
|
27913
27931
|
minReadyInstances: 'number',
|
|
27914
27932
|
mountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataMountDesc },
|
|
@@ -31883,11 +31901,13 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
31883
31901
|
* cn-beijing:sae-test
|
|
31884
31902
|
*/
|
|
31885
31903
|
namespaceId?: string;
|
|
31904
|
+
requestTimeout?: number;
|
|
31886
31905
|
/**
|
|
31887
31906
|
* @remarks
|
|
31888
31907
|
* The ID of the application specified in the forwarding rule.
|
|
31889
31908
|
*/
|
|
31890
31909
|
rules?: DescribeIngressResponseBodyDataRules[];
|
|
31910
|
+
securityPolicyId?: string;
|
|
31891
31911
|
/**
|
|
31892
31912
|
* @remarks
|
|
31893
31913
|
* The type of the SLB instance based on the IP address. Valid values:
|
|
@@ -31919,7 +31939,9 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
31919
31939
|
loadBalanceType: 'LoadBalanceType',
|
|
31920
31940
|
name: 'Name',
|
|
31921
31941
|
namespaceId: 'NamespaceId',
|
|
31942
|
+
requestTimeout: 'RequestTimeout',
|
|
31922
31943
|
rules: 'Rules',
|
|
31944
|
+
securityPolicyId: 'SecurityPolicyId',
|
|
31923
31945
|
slbId: 'SlbId',
|
|
31924
31946
|
slbType: 'SlbType',
|
|
31925
31947
|
};
|
|
@@ -31937,7 +31959,9 @@ export class DescribeIngressResponseBodyData extends $tea.Model {
|
|
|
31937
31959
|
loadBalanceType: 'string',
|
|
31938
31960
|
name: 'string',
|
|
31939
31961
|
namespaceId: 'string',
|
|
31962
|
+
requestTimeout: 'number',
|
|
31940
31963
|
rules: { 'type': 'array', 'itemType': DescribeIngressResponseBodyDataRules },
|
|
31964
|
+
securityPolicyId: 'string',
|
|
31941
31965
|
slbId: 'string',
|
|
31942
31966
|
slbType: 'string',
|
|
31943
31967
|
};
|
|
@@ -39304,6 +39328,14 @@ export default class Client extends OpenApi {
|
|
|
39304
39328
|
query["NamespaceId"] = request.namespaceId;
|
|
39305
39329
|
}
|
|
39306
39330
|
|
|
39331
|
+
if (!Util.isUnset(request.requestTimeout)) {
|
|
39332
|
+
query["RequestTimeout"] = request.requestTimeout;
|
|
39333
|
+
}
|
|
39334
|
+
|
|
39335
|
+
if (!Util.isUnset(request.securityPolicyId)) {
|
|
39336
|
+
query["SecurityPolicyId"] = request.securityPolicyId;
|
|
39337
|
+
}
|
|
39338
|
+
|
|
39307
39339
|
if (!Util.isUnset(request.slbId)) {
|
|
39308
39340
|
query["SlbId"] = request.slbId;
|
|
39309
39341
|
}
|
|
@@ -45103,6 +45135,14 @@ export default class Client extends OpenApi {
|
|
|
45103
45135
|
query["LoadBalanceType"] = request.loadBalanceType;
|
|
45104
45136
|
}
|
|
45105
45137
|
|
|
45138
|
+
if (!Util.isUnset(request.requestTimeout)) {
|
|
45139
|
+
query["RequestTimeout"] = request.requestTimeout;
|
|
45140
|
+
}
|
|
45141
|
+
|
|
45142
|
+
if (!Util.isUnset(request.securityPolicyId)) {
|
|
45143
|
+
query["SecurityPolicyId"] = request.securityPolicyId;
|
|
45144
|
+
}
|
|
45145
|
+
|
|
45106
45146
|
let body : {[key: string ]: any} = { };
|
|
45107
45147
|
if (!Util.isUnset(request.rules)) {
|
|
45108
45148
|
body["Rules"] = request.rules;
|