@alicloud/slb20140515 2.0.4 → 2.0.5
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 +25 -0
- package/dist/client.js +59 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +77 -0
package/dist/client.d.ts
CHANGED
|
@@ -451,8 +451,10 @@ export declare class CreateLoadBalancerHTTPListenerRequest extends $tea.Model {
|
|
|
451
451
|
unhealthyThreshold?: number;
|
|
452
452
|
VServerGroupId?: string;
|
|
453
453
|
XForwardedFor?: string;
|
|
454
|
+
XForwardedFor_ClientSrcPort?: string;
|
|
454
455
|
XForwardedFor_SLBID?: string;
|
|
455
456
|
XForwardedFor_SLBIP?: string;
|
|
457
|
+
XForwardedFor_SLBPORT?: string;
|
|
456
458
|
XForwardedFor_proto?: string;
|
|
457
459
|
static names(): {
|
|
458
460
|
[key: string]: string;
|
|
@@ -531,8 +533,10 @@ export declare class CreateLoadBalancerHTTPSListenerRequest extends $tea.Model {
|
|
|
531
533
|
unhealthyThreshold?: number;
|
|
532
534
|
VServerGroupId?: string;
|
|
533
535
|
XForwardedFor?: string;
|
|
536
|
+
XForwardedFor_ClientSrcPort?: string;
|
|
534
537
|
XForwardedFor_SLBID?: string;
|
|
535
538
|
XForwardedFor_SLBIP?: string;
|
|
539
|
+
XForwardedFor_SLBPORT?: string;
|
|
536
540
|
XForwardedFor_proto?: string;
|
|
537
541
|
static names(): {
|
|
538
542
|
[key: string]: string;
|
|
@@ -2041,8 +2045,10 @@ export declare class DescribeLoadBalancerHTTPListenerAttributeResponseBody exten
|
|
|
2041
2045
|
unhealthyThreshold?: number;
|
|
2042
2046
|
VServerGroupId?: string;
|
|
2043
2047
|
XForwardedFor?: string;
|
|
2048
|
+
XForwardedFor_ClientSrcPort?: string;
|
|
2044
2049
|
XForwardedFor_SLBID?: string;
|
|
2045
2050
|
XForwardedFor_SLBIP?: string;
|
|
2051
|
+
XForwardedFor_SLBPORT?: string;
|
|
2046
2052
|
XForwardedFor_proto?: string;
|
|
2047
2053
|
static names(): {
|
|
2048
2054
|
[key: string]: string;
|
|
@@ -4026,8 +4032,10 @@ export declare class SetLoadBalancerHTTPListenerAttributeRequest extends $tea.Mo
|
|
|
4026
4032
|
VServerGroup?: string;
|
|
4027
4033
|
VServerGroupId?: string;
|
|
4028
4034
|
XForwardedFor?: string;
|
|
4035
|
+
XForwardedFor_ClientSrcPort?: string;
|
|
4029
4036
|
XForwardedFor_SLBID?: string;
|
|
4030
4037
|
XForwardedFor_SLBIP?: string;
|
|
4038
|
+
XForwardedFor_SLBPORT?: string;
|
|
4031
4039
|
XForwardedFor_proto?: string;
|
|
4032
4040
|
static names(): {
|
|
4033
4041
|
[key: string]: string;
|
|
@@ -4105,8 +4113,10 @@ export declare class SetLoadBalancerHTTPSListenerAttributeRequest extends $tea.M
|
|
|
4105
4113
|
VServerGroup?: string;
|
|
4106
4114
|
VServerGroupId?: string;
|
|
4107
4115
|
XForwardedFor?: string;
|
|
4116
|
+
XForwardedFor_ClientSrcPort?: string;
|
|
4108
4117
|
XForwardedFor_SLBID?: string;
|
|
4109
4118
|
XForwardedFor_SLBIP?: string;
|
|
4119
|
+
XForwardedFor_SLBPORT?: string;
|
|
4110
4120
|
XForwardedFor_proto?: string;
|
|
4111
4121
|
static names(): {
|
|
4112
4122
|
[key: string]: string;
|
|
@@ -7229,7 +7239,22 @@ export default class Client extends OpenApi {
|
|
|
7229
7239
|
* @return DeleteServerCertificateResponse
|
|
7230
7240
|
*/
|
|
7231
7241
|
deleteServerCertificate(request: DeleteServerCertificateRequest): Promise<DeleteServerCertificateResponse>;
|
|
7242
|
+
/**
|
|
7243
|
+
* ## Debugging
|
|
7244
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Slb\\&api=DeleteTLSCipherPolicy\\&type=RPC\\&version=2014-05-15)
|
|
7245
|
+
*
|
|
7246
|
+
* @param request DeleteTLSCipherPolicyRequest
|
|
7247
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7248
|
+
* @return DeleteTLSCipherPolicyResponse
|
|
7249
|
+
*/
|
|
7232
7250
|
deleteTLSCipherPolicyWithOptions(request: DeleteTLSCipherPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTLSCipherPolicyResponse>;
|
|
7251
|
+
/**
|
|
7252
|
+
* ## Debugging
|
|
7253
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Slb\\&api=DeleteTLSCipherPolicy\\&type=RPC\\&version=2014-05-15)
|
|
7254
|
+
*
|
|
7255
|
+
* @param request DeleteTLSCipherPolicyRequest
|
|
7256
|
+
* @return DeleteTLSCipherPolicyResponse
|
|
7257
|
+
*/
|
|
7233
7258
|
deleteTLSCipherPolicy(request: DeleteTLSCipherPolicyRequest): Promise<DeleteTLSCipherPolicyResponse>;
|
|
7234
7259
|
deleteVServerGroupWithOptions(request: DeleteVServerGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteVServerGroupResponse>;
|
|
7235
7260
|
deleteVServerGroup(request: DeleteVServerGroupRequest): Promise<DeleteVServerGroupResponse>;
|
package/dist/client.js
CHANGED
|
@@ -657,8 +657,10 @@ class CreateLoadBalancerHTTPListenerRequest extends $tea.Model {
|
|
|
657
657
|
unhealthyThreshold: 'UnhealthyThreshold',
|
|
658
658
|
VServerGroupId: 'VServerGroupId',
|
|
659
659
|
XForwardedFor: 'XForwardedFor',
|
|
660
|
+
XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
|
|
660
661
|
XForwardedFor_SLBID: 'XForwardedFor_SLBID',
|
|
661
662
|
XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
|
|
663
|
+
XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
|
|
662
664
|
XForwardedFor_proto: 'XForwardedFor_proto',
|
|
663
665
|
};
|
|
664
666
|
}
|
|
@@ -700,8 +702,10 @@ class CreateLoadBalancerHTTPListenerRequest extends $tea.Model {
|
|
|
700
702
|
unhealthyThreshold: 'number',
|
|
701
703
|
VServerGroupId: 'string',
|
|
702
704
|
XForwardedFor: 'string',
|
|
705
|
+
XForwardedFor_ClientSrcPort: 'string',
|
|
703
706
|
XForwardedFor_SLBID: 'string',
|
|
704
707
|
XForwardedFor_SLBIP: 'string',
|
|
708
|
+
XForwardedFor_SLBPORT: 'string',
|
|
705
709
|
XForwardedFor_proto: 'string',
|
|
706
710
|
};
|
|
707
711
|
}
|
|
@@ -787,8 +791,10 @@ class CreateLoadBalancerHTTPSListenerRequest extends $tea.Model {
|
|
|
787
791
|
unhealthyThreshold: 'UnhealthyThreshold',
|
|
788
792
|
VServerGroupId: 'VServerGroupId',
|
|
789
793
|
XForwardedFor: 'XForwardedFor',
|
|
794
|
+
XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
|
|
790
795
|
XForwardedFor_SLBID: 'XForwardedFor_SLBID',
|
|
791
796
|
XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
|
|
797
|
+
XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
|
|
792
798
|
XForwardedFor_proto: 'XForwardedFor_proto',
|
|
793
799
|
};
|
|
794
800
|
}
|
|
@@ -832,8 +838,10 @@ class CreateLoadBalancerHTTPSListenerRequest extends $tea.Model {
|
|
|
832
838
|
unhealthyThreshold: 'number',
|
|
833
839
|
VServerGroupId: 'string',
|
|
834
840
|
XForwardedFor: 'string',
|
|
841
|
+
XForwardedFor_ClientSrcPort: 'string',
|
|
835
842
|
XForwardedFor_SLBID: 'string',
|
|
836
843
|
XForwardedFor_SLBIP: 'string',
|
|
844
|
+
XForwardedFor_SLBPORT: 'string',
|
|
837
845
|
XForwardedFor_proto: 'string',
|
|
838
846
|
};
|
|
839
847
|
}
|
|
@@ -2990,8 +2998,10 @@ class DescribeLoadBalancerHTTPListenerAttributeResponseBody extends $tea.Model {
|
|
|
2990
2998
|
unhealthyThreshold: 'UnhealthyThreshold',
|
|
2991
2999
|
VServerGroupId: 'VServerGroupId',
|
|
2992
3000
|
XForwardedFor: 'XForwardedFor',
|
|
3001
|
+
XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
|
|
2993
3002
|
XForwardedFor_SLBID: 'XForwardedFor_SLBID',
|
|
2994
3003
|
XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
|
|
3004
|
+
XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
|
|
2995
3005
|
XForwardedFor_proto: 'XForwardedFor_proto',
|
|
2996
3006
|
};
|
|
2997
3007
|
}
|
|
@@ -3032,8 +3042,10 @@ class DescribeLoadBalancerHTTPListenerAttributeResponseBody extends $tea.Model {
|
|
|
3032
3042
|
unhealthyThreshold: 'number',
|
|
3033
3043
|
VServerGroupId: 'string',
|
|
3034
3044
|
XForwardedFor: 'string',
|
|
3045
|
+
XForwardedFor_ClientSrcPort: 'string',
|
|
3035
3046
|
XForwardedFor_SLBID: 'string',
|
|
3036
3047
|
XForwardedFor_SLBIP: 'string',
|
|
3048
|
+
XForwardedFor_SLBPORT: 'string',
|
|
3037
3049
|
XForwardedFor_proto: 'string',
|
|
3038
3050
|
};
|
|
3039
3051
|
}
|
|
@@ -5906,8 +5918,10 @@ class SetLoadBalancerHTTPListenerAttributeRequest extends $tea.Model {
|
|
|
5906
5918
|
VServerGroup: 'VServerGroup',
|
|
5907
5919
|
VServerGroupId: 'VServerGroupId',
|
|
5908
5920
|
XForwardedFor: 'XForwardedFor',
|
|
5921
|
+
XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
|
|
5909
5922
|
XForwardedFor_SLBID: 'XForwardedFor_SLBID',
|
|
5910
5923
|
XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
|
|
5924
|
+
XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
|
|
5911
5925
|
XForwardedFor_proto: 'XForwardedFor_proto',
|
|
5912
5926
|
};
|
|
5913
5927
|
}
|
|
@@ -5946,8 +5960,10 @@ class SetLoadBalancerHTTPListenerAttributeRequest extends $tea.Model {
|
|
|
5946
5960
|
VServerGroup: 'string',
|
|
5947
5961
|
VServerGroupId: 'string',
|
|
5948
5962
|
XForwardedFor: 'string',
|
|
5963
|
+
XForwardedFor_ClientSrcPort: 'string',
|
|
5949
5964
|
XForwardedFor_SLBID: 'string',
|
|
5950
5965
|
XForwardedFor_SLBIP: 'string',
|
|
5966
|
+
XForwardedFor_SLBPORT: 'string',
|
|
5951
5967
|
XForwardedFor_proto: 'string',
|
|
5952
5968
|
};
|
|
5953
5969
|
}
|
|
@@ -6032,8 +6048,10 @@ class SetLoadBalancerHTTPSListenerAttributeRequest extends $tea.Model {
|
|
|
6032
6048
|
VServerGroup: 'VServerGroup',
|
|
6033
6049
|
VServerGroupId: 'VServerGroupId',
|
|
6034
6050
|
XForwardedFor: 'XForwardedFor',
|
|
6051
|
+
XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
|
|
6035
6052
|
XForwardedFor_SLBID: 'XForwardedFor_SLBID',
|
|
6036
6053
|
XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
|
|
6054
|
+
XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
|
|
6037
6055
|
XForwardedFor_proto: 'XForwardedFor_proto',
|
|
6038
6056
|
};
|
|
6039
6057
|
}
|
|
@@ -6076,8 +6094,10 @@ class SetLoadBalancerHTTPSListenerAttributeRequest extends $tea.Model {
|
|
|
6076
6094
|
VServerGroup: 'string',
|
|
6077
6095
|
VServerGroupId: 'string',
|
|
6078
6096
|
XForwardedFor: 'string',
|
|
6097
|
+
XForwardedFor_ClientSrcPort: 'string',
|
|
6079
6098
|
XForwardedFor_SLBID: 'string',
|
|
6080
6099
|
XForwardedFor_SLBIP: 'string',
|
|
6100
|
+
XForwardedFor_SLBPORT: 'string',
|
|
6081
6101
|
XForwardedFor_proto: 'string',
|
|
6082
6102
|
};
|
|
6083
6103
|
}
|
|
@@ -10873,12 +10893,18 @@ class Client extends openapi_client_1.default {
|
|
|
10873
10893
|
if (!tea_util_1.default.isUnset(request.XForwardedFor)) {
|
|
10874
10894
|
query["XForwardedFor"] = request.XForwardedFor;
|
|
10875
10895
|
}
|
|
10896
|
+
if (!tea_util_1.default.isUnset(request.XForwardedFor_ClientSrcPort)) {
|
|
10897
|
+
query["XForwardedFor_ClientSrcPort"] = request.XForwardedFor_ClientSrcPort;
|
|
10898
|
+
}
|
|
10876
10899
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBID)) {
|
|
10877
10900
|
query["XForwardedFor_SLBID"] = request.XForwardedFor_SLBID;
|
|
10878
10901
|
}
|
|
10879
10902
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBIP)) {
|
|
10880
10903
|
query["XForwardedFor_SLBIP"] = request.XForwardedFor_SLBIP;
|
|
10881
10904
|
}
|
|
10905
|
+
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBPORT)) {
|
|
10906
|
+
query["XForwardedFor_SLBPORT"] = request.XForwardedFor_SLBPORT;
|
|
10907
|
+
}
|
|
10882
10908
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_proto)) {
|
|
10883
10909
|
query["XForwardedFor_proto"] = request.XForwardedFor_proto;
|
|
10884
10910
|
}
|
|
@@ -11036,12 +11062,18 @@ class Client extends openapi_client_1.default {
|
|
|
11036
11062
|
if (!tea_util_1.default.isUnset(request.XForwardedFor)) {
|
|
11037
11063
|
query["XForwardedFor"] = request.XForwardedFor;
|
|
11038
11064
|
}
|
|
11065
|
+
if (!tea_util_1.default.isUnset(request.XForwardedFor_ClientSrcPort)) {
|
|
11066
|
+
query["XForwardedFor_ClientSrcPort"] = request.XForwardedFor_ClientSrcPort;
|
|
11067
|
+
}
|
|
11039
11068
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBID)) {
|
|
11040
11069
|
query["XForwardedFor_SLBID"] = request.XForwardedFor_SLBID;
|
|
11041
11070
|
}
|
|
11042
11071
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBIP)) {
|
|
11043
11072
|
query["XForwardedFor_SLBIP"] = request.XForwardedFor_SLBIP;
|
|
11044
11073
|
}
|
|
11074
|
+
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBPORT)) {
|
|
11075
|
+
query["XForwardedFor_SLBPORT"] = request.XForwardedFor_SLBPORT;
|
|
11076
|
+
}
|
|
11045
11077
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_proto)) {
|
|
11046
11078
|
query["XForwardedFor_proto"] = request.XForwardedFor_proto;
|
|
11047
11079
|
}
|
|
@@ -11979,6 +12011,14 @@ class Client extends openapi_client_1.default {
|
|
|
11979
12011
|
let runtime = new $Util.RuntimeOptions({});
|
|
11980
12012
|
return await this.deleteServerCertificateWithOptions(request, runtime);
|
|
11981
12013
|
}
|
|
12014
|
+
/**
|
|
12015
|
+
* ## Debugging
|
|
12016
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Slb\\&api=DeleteTLSCipherPolicy\\&type=RPC\\&version=2014-05-15)
|
|
12017
|
+
*
|
|
12018
|
+
* @param request DeleteTLSCipherPolicyRequest
|
|
12019
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12020
|
+
* @return DeleteTLSCipherPolicyResponse
|
|
12021
|
+
*/
|
|
11982
12022
|
async deleteTLSCipherPolicyWithOptions(request, runtime) {
|
|
11983
12023
|
tea_util_1.default.validateModel(request);
|
|
11984
12024
|
let query = {};
|
|
@@ -12016,6 +12056,13 @@ class Client extends openapi_client_1.default {
|
|
|
12016
12056
|
});
|
|
12017
12057
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTLSCipherPolicyResponse({}));
|
|
12018
12058
|
}
|
|
12059
|
+
/**
|
|
12060
|
+
* ## Debugging
|
|
12061
|
+
* [OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.](https://api.aliyun.com/#product=Slb\\&api=DeleteTLSCipherPolicy\\&type=RPC\\&version=2014-05-15)
|
|
12062
|
+
*
|
|
12063
|
+
* @param request DeleteTLSCipherPolicyRequest
|
|
12064
|
+
* @return DeleteTLSCipherPolicyResponse
|
|
12065
|
+
*/
|
|
12019
12066
|
async deleteTLSCipherPolicy(request) {
|
|
12020
12067
|
let runtime = new $Util.RuntimeOptions({});
|
|
12021
12068
|
return await this.deleteTLSCipherPolicyWithOptions(request, runtime);
|
|
@@ -14742,12 +14789,18 @@ class Client extends openapi_client_1.default {
|
|
|
14742
14789
|
if (!tea_util_1.default.isUnset(request.XForwardedFor)) {
|
|
14743
14790
|
query["XForwardedFor"] = request.XForwardedFor;
|
|
14744
14791
|
}
|
|
14792
|
+
if (!tea_util_1.default.isUnset(request.XForwardedFor_ClientSrcPort)) {
|
|
14793
|
+
query["XForwardedFor_ClientSrcPort"] = request.XForwardedFor_ClientSrcPort;
|
|
14794
|
+
}
|
|
14745
14795
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBID)) {
|
|
14746
14796
|
query["XForwardedFor_SLBID"] = request.XForwardedFor_SLBID;
|
|
14747
14797
|
}
|
|
14748
14798
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBIP)) {
|
|
14749
14799
|
query["XForwardedFor_SLBIP"] = request.XForwardedFor_SLBIP;
|
|
14750
14800
|
}
|
|
14801
|
+
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBPORT)) {
|
|
14802
|
+
query["XForwardedFor_SLBPORT"] = request.XForwardedFor_SLBPORT;
|
|
14803
|
+
}
|
|
14751
14804
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_proto)) {
|
|
14752
14805
|
query["XForwardedFor_proto"] = request.XForwardedFor_proto;
|
|
14753
14806
|
}
|
|
@@ -14901,12 +14954,18 @@ class Client extends openapi_client_1.default {
|
|
|
14901
14954
|
if (!tea_util_1.default.isUnset(request.XForwardedFor)) {
|
|
14902
14955
|
query["XForwardedFor"] = request.XForwardedFor;
|
|
14903
14956
|
}
|
|
14957
|
+
if (!tea_util_1.default.isUnset(request.XForwardedFor_ClientSrcPort)) {
|
|
14958
|
+
query["XForwardedFor_ClientSrcPort"] = request.XForwardedFor_ClientSrcPort;
|
|
14959
|
+
}
|
|
14904
14960
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBID)) {
|
|
14905
14961
|
query["XForwardedFor_SLBID"] = request.XForwardedFor_SLBID;
|
|
14906
14962
|
}
|
|
14907
14963
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBIP)) {
|
|
14908
14964
|
query["XForwardedFor_SLBIP"] = request.XForwardedFor_SLBIP;
|
|
14909
14965
|
}
|
|
14966
|
+
if (!tea_util_1.default.isUnset(request.XForwardedFor_SLBPORT)) {
|
|
14967
|
+
query["XForwardedFor_SLBPORT"] = request.XForwardedFor_SLBPORT;
|
|
14968
|
+
}
|
|
14910
14969
|
if (!tea_util_1.default.isUnset(request.XForwardedFor_proto)) {
|
|
14911
14970
|
query["XForwardedFor_proto"] = request.XForwardedFor_proto;
|
|
14912
14971
|
}
|