@alicloud/eas20210701 6.7.0 → 7.0.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 +2 -100
- package/dist/client.js +6 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +8 -106
package/dist/client.d.ts
CHANGED
|
@@ -537,60 +537,11 @@ export declare class DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $
|
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
539
|
export declare class DescribeGroupEndpointsResponseBodyEndpoints extends $dara.Model {
|
|
540
|
-
/**
|
|
541
|
-
* @remarks
|
|
542
|
-
* The backend access ID, which varies based on the value of the EndpointType parameter.
|
|
543
|
-
*
|
|
544
|
-
* * If you set EndpointType to DefaultGateway, the value of this parameter is default.
|
|
545
|
-
* * If you set EndpointType to PrivateGateway, the value of this parameter is the ID of the dedicated gateway.
|
|
546
|
-
* * If you set EndpointType to Nlb, the value of this parameter is the ID of the NLB instance.
|
|
547
|
-
* * If you set EndpointType to Nacos, the value of this parameter is the ID of the Nacos instance.
|
|
548
|
-
*
|
|
549
|
-
* @example
|
|
550
|
-
* gw-26340kjxjx8l3r****
|
|
551
|
-
*/
|
|
552
540
|
backendId?: string;
|
|
553
|
-
/**
|
|
554
|
-
* @remarks
|
|
555
|
-
* The service endpoint type. Valid values:
|
|
556
|
-
*
|
|
557
|
-
* * DefaultGateway: the shared gateway.
|
|
558
|
-
* * PrivateGateway: the dedicated gateway.
|
|
559
|
-
* * Nlb: Associate the service with the Network Load Balancer (NLB) instance.
|
|
560
|
-
* * Nacos: Associate the service with the Nacos instance.
|
|
561
|
-
*
|
|
562
|
-
* @example
|
|
563
|
-
* PrivateGateway
|
|
564
|
-
*/
|
|
565
541
|
endpointType?: string;
|
|
566
|
-
/**
|
|
567
|
-
* @remarks
|
|
568
|
-
* The public endpoints.
|
|
569
|
-
*/
|
|
570
542
|
internetEndpoints?: string[];
|
|
571
|
-
/**
|
|
572
|
-
* @remarks
|
|
573
|
-
* The internal endpoints.
|
|
574
|
-
*/
|
|
575
543
|
intranetEndpoints?: string[];
|
|
576
|
-
/**
|
|
577
|
-
* @remarks
|
|
578
|
-
* The path type. Valid values:
|
|
579
|
-
*
|
|
580
|
-
* * Group: the path of the service group.
|
|
581
|
-
* * Service: the path of the service.
|
|
582
|
-
*
|
|
583
|
-
* @example
|
|
584
|
-
* Group
|
|
585
|
-
*/
|
|
586
544
|
pathType?: string;
|
|
587
|
-
/**
|
|
588
|
-
* @remarks
|
|
589
|
-
* The port number. This parameter takes effect only when you associate the service with an NLB or Nacos instance.
|
|
590
|
-
*
|
|
591
|
-
* @example
|
|
592
|
-
* 9090
|
|
593
|
-
*/
|
|
594
545
|
port?: number;
|
|
595
546
|
static names(): {
|
|
596
547
|
[key: string]: string;
|
|
@@ -938,60 +889,11 @@ export declare class DescribeServiceDiagnosisResponseBodyDiagnosisList extends $
|
|
|
938
889
|
});
|
|
939
890
|
}
|
|
940
891
|
export declare class DescribeServiceEndpointsResponseBodyEndpoints extends $dara.Model {
|
|
941
|
-
/**
|
|
942
|
-
* @remarks
|
|
943
|
-
* The backend access ID, which varies based on the value of the EndpointType parameter.
|
|
944
|
-
*
|
|
945
|
-
* * If you set EndpointType to DefaultGateway, the value of this parameter is default.
|
|
946
|
-
* * If you set EndpointType to PrivateGateway, the value of this parameter is the ID of the dedicated gateway.
|
|
947
|
-
* * If you set EndpointType to Nlb, the value of this parameter is the ID of the NLB instance.
|
|
948
|
-
* * If you set EndpointType to Nacos, the value of this parameter is the ID of the Nacos instance.
|
|
949
|
-
*
|
|
950
|
-
* @example
|
|
951
|
-
* nlb-5q4sp7u6oorkha****
|
|
952
|
-
*/
|
|
953
892
|
backendId?: string;
|
|
954
|
-
/**
|
|
955
|
-
* @remarks
|
|
956
|
-
* The service endpoint type. Valid values:
|
|
957
|
-
*
|
|
958
|
-
* * DefaultGateway: the shared gateway.
|
|
959
|
-
* * PrivateGateway: the dedicated gateway.
|
|
960
|
-
* * Nlb: Associate the service with the Network Load Balancer (NLB) instance.
|
|
961
|
-
* * Nacos: Associate the service with the Nacos instance.
|
|
962
|
-
*
|
|
963
|
-
* @example
|
|
964
|
-
* Nlb
|
|
965
|
-
*/
|
|
966
893
|
endpointType?: string;
|
|
967
|
-
/**
|
|
968
|
-
* @remarks
|
|
969
|
-
* The public endpoints.
|
|
970
|
-
*/
|
|
971
894
|
internetEndpoints?: string[];
|
|
972
|
-
/**
|
|
973
|
-
* @remarks
|
|
974
|
-
* The internal endpoints.
|
|
975
|
-
*/
|
|
976
895
|
intranetEndpoints?: string[];
|
|
977
|
-
/**
|
|
978
|
-
* @remarks
|
|
979
|
-
* The path type. Valid values:
|
|
980
|
-
*
|
|
981
|
-
* * Group: the path of the service group.
|
|
982
|
-
* * Service: the path of the service.
|
|
983
|
-
*
|
|
984
|
-
* @example
|
|
985
|
-
* Service
|
|
986
|
-
*/
|
|
987
896
|
pathType?: string;
|
|
988
|
-
/**
|
|
989
|
-
* @remarks
|
|
990
|
-
* The port number. This parameter takes effect only when you associate the service with an NLB or Nacos instance.
|
|
991
|
-
*
|
|
992
|
-
* @example
|
|
993
|
-
* 9090
|
|
994
|
-
*/
|
|
995
897
|
port?: number;
|
|
996
898
|
static names(): {
|
|
997
899
|
[key: string]: string;
|
|
@@ -6198,7 +6100,7 @@ export declare class DescribeGroupEndpointsResponseBody extends $dara.Model {
|
|
|
6198
6100
|
* @remarks
|
|
6199
6101
|
* The endpoints of service groups.
|
|
6200
6102
|
*/
|
|
6201
|
-
endpoints?: DescribeGroupEndpointsResponseBodyEndpoints;
|
|
6103
|
+
endpoints?: DescribeGroupEndpointsResponseBodyEndpoints[];
|
|
6202
6104
|
/**
|
|
6203
6105
|
* @remarks
|
|
6204
6106
|
* The response message.
|
|
@@ -6912,7 +6814,7 @@ export declare class DescribeServiceEndpointsResponseBody extends $dara.Model {
|
|
|
6912
6814
|
* @remarks
|
|
6913
6815
|
* The service endpoints.
|
|
6914
6816
|
*/
|
|
6915
|
-
endpoints?: DescribeServiceEndpointsResponseBodyEndpoints;
|
|
6817
|
+
endpoints?: DescribeServiceEndpointsResponseBodyEndpoints[];
|
|
6916
6818
|
/**
|
|
6917
6819
|
* @remarks
|
|
6918
6820
|
* The returned message.
|
package/dist/client.js
CHANGED
|
@@ -4611,14 +4611,14 @@ class DescribeGroupEndpointsResponseBody extends $dara.Model {
|
|
|
4611
4611
|
static types() {
|
|
4612
4612
|
return {
|
|
4613
4613
|
accessToken: 'string',
|
|
4614
|
-
endpoints: DescribeGroupEndpointsResponseBodyEndpoints,
|
|
4614
|
+
endpoints: { 'type': 'array', 'itemType': DescribeGroupEndpointsResponseBodyEndpoints },
|
|
4615
4615
|
message: 'string',
|
|
4616
4616
|
requestId: 'string',
|
|
4617
4617
|
};
|
|
4618
4618
|
}
|
|
4619
4619
|
validate() {
|
|
4620
|
-
if (
|
|
4621
|
-
this.endpoints
|
|
4620
|
+
if (Array.isArray(this.endpoints)) {
|
|
4621
|
+
$dara.Model.validateArray(this.endpoints);
|
|
4622
4622
|
}
|
|
4623
4623
|
super.validate();
|
|
4624
4624
|
}
|
|
@@ -5234,14 +5234,14 @@ class DescribeServiceEndpointsResponseBody extends $dara.Model {
|
|
|
5234
5234
|
static types() {
|
|
5235
5235
|
return {
|
|
5236
5236
|
accessToken: 'string',
|
|
5237
|
-
endpoints: DescribeServiceEndpointsResponseBodyEndpoints,
|
|
5237
|
+
endpoints: { 'type': 'array', 'itemType': DescribeServiceEndpointsResponseBodyEndpoints },
|
|
5238
5238
|
message: 'string',
|
|
5239
5239
|
requestId: 'string',
|
|
5240
5240
|
};
|
|
5241
5241
|
}
|
|
5242
5242
|
validate() {
|
|
5243
|
-
if (
|
|
5244
|
-
this.endpoints
|
|
5243
|
+
if (Array.isArray(this.endpoints)) {
|
|
5244
|
+
$dara.Model.validateArray(this.endpoints);
|
|
5245
5245
|
}
|
|
5246
5246
|
super.validate();
|
|
5247
5247
|
}
|