@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/slb20140515",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
23
  "@alicloud/tea-util": "^1.4.7",
24
- "@alicloud/openapi-client": "^0.4.4",
24
+ "@alicloud/openapi-client": "^0.4.7",
25
25
  "@alicloud/openapi-util": "^0.3.2",
26
26
  "@alicloud/endpoint-util": "^0.0.1"
27
27
  },
package/src/client.ts CHANGED
@@ -819,8 +819,10 @@ export class CreateLoadBalancerHTTPListenerRequest extends $tea.Model {
819
819
  unhealthyThreshold?: number;
820
820
  VServerGroupId?: string;
821
821
  XForwardedFor?: string;
822
+ XForwardedFor_ClientSrcPort?: string;
822
823
  XForwardedFor_SLBID?: string;
823
824
  XForwardedFor_SLBIP?: string;
825
+ XForwardedFor_SLBPORT?: string;
824
826
  XForwardedFor_proto?: string;
825
827
  static names(): { [key: string]: string } {
826
828
  return {
@@ -860,8 +862,10 @@ export class CreateLoadBalancerHTTPListenerRequest extends $tea.Model {
860
862
  unhealthyThreshold: 'UnhealthyThreshold',
861
863
  VServerGroupId: 'VServerGroupId',
862
864
  XForwardedFor: 'XForwardedFor',
865
+ XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
863
866
  XForwardedFor_SLBID: 'XForwardedFor_SLBID',
864
867
  XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
868
+ XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
865
869
  XForwardedFor_proto: 'XForwardedFor_proto',
866
870
  };
867
871
  }
@@ -904,8 +908,10 @@ export class CreateLoadBalancerHTTPListenerRequest extends $tea.Model {
904
908
  unhealthyThreshold: 'number',
905
909
  VServerGroupId: 'string',
906
910
  XForwardedFor: 'string',
911
+ XForwardedFor_ClientSrcPort: 'string',
907
912
  XForwardedFor_SLBID: 'string',
908
913
  XForwardedFor_SLBIP: 'string',
914
+ XForwardedFor_SLBPORT: 'string',
909
915
  XForwardedFor_proto: 'string',
910
916
  };
911
917
  }
@@ -998,8 +1004,10 @@ export class CreateLoadBalancerHTTPSListenerRequest extends $tea.Model {
998
1004
  unhealthyThreshold?: number;
999
1005
  VServerGroupId?: string;
1000
1006
  XForwardedFor?: string;
1007
+ XForwardedFor_ClientSrcPort?: string;
1001
1008
  XForwardedFor_SLBID?: string;
1002
1009
  XForwardedFor_SLBIP?: string;
1010
+ XForwardedFor_SLBPORT?: string;
1003
1011
  XForwardedFor_proto?: string;
1004
1012
  static names(): { [key: string]: string } {
1005
1013
  return {
@@ -1041,8 +1049,10 @@ export class CreateLoadBalancerHTTPSListenerRequest extends $tea.Model {
1041
1049
  unhealthyThreshold: 'UnhealthyThreshold',
1042
1050
  VServerGroupId: 'VServerGroupId',
1043
1051
  XForwardedFor: 'XForwardedFor',
1052
+ XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
1044
1053
  XForwardedFor_SLBID: 'XForwardedFor_SLBID',
1045
1054
  XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
1055
+ XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
1046
1056
  XForwardedFor_proto: 'XForwardedFor_proto',
1047
1057
  };
1048
1058
  }
@@ -1087,8 +1097,10 @@ export class CreateLoadBalancerHTTPSListenerRequest extends $tea.Model {
1087
1097
  unhealthyThreshold: 'number',
1088
1098
  VServerGroupId: 'string',
1089
1099
  XForwardedFor: 'string',
1100
+ XForwardedFor_ClientSrcPort: 'string',
1090
1101
  XForwardedFor_SLBID: 'string',
1091
1102
  XForwardedFor_SLBIP: 'string',
1103
+ XForwardedFor_SLBPORT: 'string',
1092
1104
  XForwardedFor_proto: 'string',
1093
1105
  };
1094
1106
  }
@@ -3864,8 +3876,10 @@ export class DescribeLoadBalancerHTTPListenerAttributeResponseBody extends $tea.
3864
3876
  unhealthyThreshold?: number;
3865
3877
  VServerGroupId?: string;
3866
3878
  XForwardedFor?: string;
3879
+ XForwardedFor_ClientSrcPort?: string;
3867
3880
  XForwardedFor_SLBID?: string;
3868
3881
  XForwardedFor_SLBIP?: string;
3882
+ XForwardedFor_SLBPORT?: string;
3869
3883
  XForwardedFor_proto?: string;
3870
3884
  static names(): { [key: string]: string } {
3871
3885
  return {
@@ -3904,8 +3918,10 @@ export class DescribeLoadBalancerHTTPListenerAttributeResponseBody extends $tea.
3904
3918
  unhealthyThreshold: 'UnhealthyThreshold',
3905
3919
  VServerGroupId: 'VServerGroupId',
3906
3920
  XForwardedFor: 'XForwardedFor',
3921
+ XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
3907
3922
  XForwardedFor_SLBID: 'XForwardedFor_SLBID',
3908
3923
  XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
3924
+ XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
3909
3925
  XForwardedFor_proto: 'XForwardedFor_proto',
3910
3926
  };
3911
3927
  }
@@ -3947,8 +3963,10 @@ export class DescribeLoadBalancerHTTPListenerAttributeResponseBody extends $tea.
3947
3963
  unhealthyThreshold: 'number',
3948
3964
  VServerGroupId: 'string',
3949
3965
  XForwardedFor: 'string',
3966
+ XForwardedFor_ClientSrcPort: 'string',
3950
3967
  XForwardedFor_SLBID: 'string',
3951
3968
  XForwardedFor_SLBIP: 'string',
3969
+ XForwardedFor_SLBPORT: 'string',
3952
3970
  XForwardedFor_proto: 'string',
3953
3971
  };
3954
3972
  }
@@ -7674,8 +7692,10 @@ export class SetLoadBalancerHTTPListenerAttributeRequest extends $tea.Model {
7674
7692
  VServerGroup?: string;
7675
7693
  VServerGroupId?: string;
7676
7694
  XForwardedFor?: string;
7695
+ XForwardedFor_ClientSrcPort?: string;
7677
7696
  XForwardedFor_SLBID?: string;
7678
7697
  XForwardedFor_SLBIP?: string;
7698
+ XForwardedFor_SLBPORT?: string;
7679
7699
  XForwardedFor_proto?: string;
7680
7700
  static names(): { [key: string]: string } {
7681
7701
  return {
@@ -7712,8 +7732,10 @@ export class SetLoadBalancerHTTPListenerAttributeRequest extends $tea.Model {
7712
7732
  VServerGroup: 'VServerGroup',
7713
7733
  VServerGroupId: 'VServerGroupId',
7714
7734
  XForwardedFor: 'XForwardedFor',
7735
+ XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
7715
7736
  XForwardedFor_SLBID: 'XForwardedFor_SLBID',
7716
7737
  XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
7738
+ XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
7717
7739
  XForwardedFor_proto: 'XForwardedFor_proto',
7718
7740
  };
7719
7741
  }
@@ -7753,8 +7775,10 @@ export class SetLoadBalancerHTTPListenerAttributeRequest extends $tea.Model {
7753
7775
  VServerGroup: 'string',
7754
7776
  VServerGroupId: 'string',
7755
7777
  XForwardedFor: 'string',
7778
+ XForwardedFor_ClientSrcPort: 'string',
7756
7779
  XForwardedFor_SLBID: 'string',
7757
7780
  XForwardedFor_SLBIP: 'string',
7781
+ XForwardedFor_SLBPORT: 'string',
7758
7782
  XForwardedFor_proto: 'string',
7759
7783
  };
7760
7784
  }
@@ -7846,8 +7870,10 @@ export class SetLoadBalancerHTTPSListenerAttributeRequest extends $tea.Model {
7846
7870
  VServerGroup?: string;
7847
7871
  VServerGroupId?: string;
7848
7872
  XForwardedFor?: string;
7873
+ XForwardedFor_ClientSrcPort?: string;
7849
7874
  XForwardedFor_SLBID?: string;
7850
7875
  XForwardedFor_SLBIP?: string;
7876
+ XForwardedFor_SLBPORT?: string;
7851
7877
  XForwardedFor_proto?: string;
7852
7878
  static names(): { [key: string]: string } {
7853
7879
  return {
@@ -7888,8 +7914,10 @@ export class SetLoadBalancerHTTPSListenerAttributeRequest extends $tea.Model {
7888
7914
  VServerGroup: 'VServerGroup',
7889
7915
  VServerGroupId: 'VServerGroupId',
7890
7916
  XForwardedFor: 'XForwardedFor',
7917
+ XForwardedFor_ClientSrcPort: 'XForwardedFor_ClientSrcPort',
7891
7918
  XForwardedFor_SLBID: 'XForwardedFor_SLBID',
7892
7919
  XForwardedFor_SLBIP: 'XForwardedFor_SLBIP',
7920
+ XForwardedFor_SLBPORT: 'XForwardedFor_SLBPORT',
7893
7921
  XForwardedFor_proto: 'XForwardedFor_proto',
7894
7922
  };
7895
7923
  }
@@ -7933,8 +7961,10 @@ export class SetLoadBalancerHTTPSListenerAttributeRequest extends $tea.Model {
7933
7961
  VServerGroup: 'string',
7934
7962
  VServerGroupId: 'string',
7935
7963
  XForwardedFor: 'string',
7964
+ XForwardedFor_ClientSrcPort: 'string',
7936
7965
  XForwardedFor_SLBID: 'string',
7937
7966
  XForwardedFor_SLBIP: 'string',
7967
+ XForwardedFor_SLBPORT: 'string',
7938
7968
  XForwardedFor_proto: 'string',
7939
7969
  };
7940
7970
  }
@@ -13985,6 +14015,10 @@ export default class Client extends OpenApi {
13985
14015
  query["XForwardedFor"] = request.XForwardedFor;
13986
14016
  }
13987
14017
 
14018
+ if (!Util.isUnset(request.XForwardedFor_ClientSrcPort)) {
14019
+ query["XForwardedFor_ClientSrcPort"] = request.XForwardedFor_ClientSrcPort;
14020
+ }
14021
+
13988
14022
  if (!Util.isUnset(request.XForwardedFor_SLBID)) {
13989
14023
  query["XForwardedFor_SLBID"] = request.XForwardedFor_SLBID;
13990
14024
  }
@@ -13993,6 +14027,10 @@ export default class Client extends OpenApi {
13993
14027
  query["XForwardedFor_SLBIP"] = request.XForwardedFor_SLBIP;
13994
14028
  }
13995
14029
 
14030
+ if (!Util.isUnset(request.XForwardedFor_SLBPORT)) {
14031
+ query["XForwardedFor_SLBPORT"] = request.XForwardedFor_SLBPORT;
14032
+ }
14033
+
13996
14034
  if (!Util.isUnset(request.XForwardedFor_proto)) {
13997
14035
  query["XForwardedFor_proto"] = request.XForwardedFor_proto;
13998
14036
  }
@@ -14191,6 +14229,10 @@ export default class Client extends OpenApi {
14191
14229
  query["XForwardedFor"] = request.XForwardedFor;
14192
14230
  }
14193
14231
 
14232
+ if (!Util.isUnset(request.XForwardedFor_ClientSrcPort)) {
14233
+ query["XForwardedFor_ClientSrcPort"] = request.XForwardedFor_ClientSrcPort;
14234
+ }
14235
+
14194
14236
  if (!Util.isUnset(request.XForwardedFor_SLBID)) {
14195
14237
  query["XForwardedFor_SLBID"] = request.XForwardedFor_SLBID;
14196
14238
  }
@@ -14199,6 +14241,10 @@ export default class Client extends OpenApi {
14199
14241
  query["XForwardedFor_SLBIP"] = request.XForwardedFor_SLBIP;
14200
14242
  }
14201
14243
 
14244
+ if (!Util.isUnset(request.XForwardedFor_SLBPORT)) {
14245
+ query["XForwardedFor_SLBPORT"] = request.XForwardedFor_SLBPORT;
14246
+ }
14247
+
14202
14248
  if (!Util.isUnset(request.XForwardedFor_proto)) {
14203
14249
  query["XForwardedFor_proto"] = request.XForwardedFor_proto;
14204
14250
  }
@@ -15320,6 +15366,14 @@ export default class Client extends OpenApi {
15320
15366
  return await this.deleteServerCertificateWithOptions(request, runtime);
15321
15367
  }
15322
15368
 
15369
+ /**
15370
+ * ## Debugging
15371
+ * [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)
15372
+ *
15373
+ * @param request DeleteTLSCipherPolicyRequest
15374
+ * @param runtime runtime options for this request RuntimeOptions
15375
+ * @return DeleteTLSCipherPolicyResponse
15376
+ */
15323
15377
  async deleteTLSCipherPolicyWithOptions(request: DeleteTLSCipherPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTLSCipherPolicyResponse> {
15324
15378
  Util.validateModel(request);
15325
15379
  let query = { };
@@ -15364,6 +15418,13 @@ export default class Client extends OpenApi {
15364
15418
  return $tea.cast<DeleteTLSCipherPolicyResponse>(await this.callApi(params, req, runtime), new DeleteTLSCipherPolicyResponse({}));
15365
15419
  }
15366
15420
 
15421
+ /**
15422
+ * ## Debugging
15423
+ * [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)
15424
+ *
15425
+ * @param request DeleteTLSCipherPolicyRequest
15426
+ * @return DeleteTLSCipherPolicyResponse
15427
+ */
15367
15428
  async deleteTLSCipherPolicy(request: DeleteTLSCipherPolicyRequest): Promise<DeleteTLSCipherPolicyResponse> {
15368
15429
  let runtime = new $Util.RuntimeOptions({ });
15369
15430
  return await this.deleteTLSCipherPolicyWithOptions(request, runtime);
@@ -18634,6 +18695,10 @@ export default class Client extends OpenApi {
18634
18695
  query["XForwardedFor"] = request.XForwardedFor;
18635
18696
  }
18636
18697
 
18698
+ if (!Util.isUnset(request.XForwardedFor_ClientSrcPort)) {
18699
+ query["XForwardedFor_ClientSrcPort"] = request.XForwardedFor_ClientSrcPort;
18700
+ }
18701
+
18637
18702
  if (!Util.isUnset(request.XForwardedFor_SLBID)) {
18638
18703
  query["XForwardedFor_SLBID"] = request.XForwardedFor_SLBID;
18639
18704
  }
@@ -18642,6 +18707,10 @@ export default class Client extends OpenApi {
18642
18707
  query["XForwardedFor_SLBIP"] = request.XForwardedFor_SLBIP;
18643
18708
  }
18644
18709
 
18710
+ if (!Util.isUnset(request.XForwardedFor_SLBPORT)) {
18711
+ query["XForwardedFor_SLBPORT"] = request.XForwardedFor_SLBPORT;
18712
+ }
18713
+
18645
18714
  if (!Util.isUnset(request.XForwardedFor_proto)) {
18646
18715
  query["XForwardedFor_proto"] = request.XForwardedFor_proto;
18647
18716
  }
@@ -18835,6 +18904,10 @@ export default class Client extends OpenApi {
18835
18904
  query["XForwardedFor"] = request.XForwardedFor;
18836
18905
  }
18837
18906
 
18907
+ if (!Util.isUnset(request.XForwardedFor_ClientSrcPort)) {
18908
+ query["XForwardedFor_ClientSrcPort"] = request.XForwardedFor_ClientSrcPort;
18909
+ }
18910
+
18838
18911
  if (!Util.isUnset(request.XForwardedFor_SLBID)) {
18839
18912
  query["XForwardedFor_SLBID"] = request.XForwardedFor_SLBID;
18840
18913
  }
@@ -18843,6 +18916,10 @@ export default class Client extends OpenApi {
18843
18916
  query["XForwardedFor_SLBIP"] = request.XForwardedFor_SLBIP;
18844
18917
  }
18845
18918
 
18919
+ if (!Util.isUnset(request.XForwardedFor_SLBPORT)) {
18920
+ query["XForwardedFor_SLBPORT"] = request.XForwardedFor_SLBPORT;
18921
+ }
18922
+
18846
18923
  if (!Util.isUnset(request.XForwardedFor_proto)) {
18847
18924
  query["XForwardedFor_proto"] = request.XForwardedFor_proto;
18848
18925
  }