@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/eas20210701",
3
- "version": "6.7.0",
3
+ "version": "7.0.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -764,60 +764,11 @@ export class DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $dara.Mod
764
764
  }
765
765
 
766
766
  export class DescribeGroupEndpointsResponseBodyEndpoints extends $dara.Model {
767
- /**
768
- * @remarks
769
- * The backend access ID, which varies based on the value of the EndpointType parameter.
770
- *
771
- * * If you set EndpointType to DefaultGateway, the value of this parameter is default.
772
- * * If you set EndpointType to PrivateGateway, the value of this parameter is the ID of the dedicated gateway.
773
- * * If you set EndpointType to Nlb, the value of this parameter is the ID of the NLB instance.
774
- * * If you set EndpointType to Nacos, the value of this parameter is the ID of the Nacos instance.
775
- *
776
- * @example
777
- * gw-26340kjxjx8l3r****
778
- */
779
767
  backendId?: string;
780
- /**
781
- * @remarks
782
- * The service endpoint type. Valid values:
783
- *
784
- * * DefaultGateway: the shared gateway.
785
- * * PrivateGateway: the dedicated gateway.
786
- * * Nlb: Associate the service with the Network Load Balancer (NLB) instance.
787
- * * Nacos: Associate the service with the Nacos instance.
788
- *
789
- * @example
790
- * PrivateGateway
791
- */
792
768
  endpointType?: string;
793
- /**
794
- * @remarks
795
- * The public endpoints.
796
- */
797
769
  internetEndpoints?: string[];
798
- /**
799
- * @remarks
800
- * The internal endpoints.
801
- */
802
770
  intranetEndpoints?: string[];
803
- /**
804
- * @remarks
805
- * The path type. Valid values:
806
- *
807
- * * Group: the path of the service group.
808
- * * Service: the path of the service.
809
- *
810
- * @example
811
- * Group
812
- */
813
771
  pathType?: string;
814
- /**
815
- * @remarks
816
- * The port number. This parameter takes effect only when you associate the service with an NLB or Nacos instance.
817
- *
818
- * @example
819
- * 9090
820
- */
821
772
  port?: number;
822
773
  static names(): { [key: string]: string } {
823
774
  return {
@@ -1318,60 +1269,11 @@ export class DescribeServiceDiagnosisResponseBodyDiagnosisList extends $dara.Mod
1318
1269
  }
1319
1270
 
1320
1271
  export class DescribeServiceEndpointsResponseBodyEndpoints extends $dara.Model {
1321
- /**
1322
- * @remarks
1323
- * The backend access ID, which varies based on the value of the EndpointType parameter.
1324
- *
1325
- * * If you set EndpointType to DefaultGateway, the value of this parameter is default.
1326
- * * If you set EndpointType to PrivateGateway, the value of this parameter is the ID of the dedicated gateway.
1327
- * * If you set EndpointType to Nlb, the value of this parameter is the ID of the NLB instance.
1328
- * * If you set EndpointType to Nacos, the value of this parameter is the ID of the Nacos instance.
1329
- *
1330
- * @example
1331
- * nlb-5q4sp7u6oorkha****
1332
- */
1333
1272
  backendId?: string;
1334
- /**
1335
- * @remarks
1336
- * The service endpoint type. Valid values:
1337
- *
1338
- * * DefaultGateway: the shared gateway.
1339
- * * PrivateGateway: the dedicated gateway.
1340
- * * Nlb: Associate the service with the Network Load Balancer (NLB) instance.
1341
- * * Nacos: Associate the service with the Nacos instance.
1342
- *
1343
- * @example
1344
- * Nlb
1345
- */
1346
1273
  endpointType?: string;
1347
- /**
1348
- * @remarks
1349
- * The public endpoints.
1350
- */
1351
1274
  internetEndpoints?: string[];
1352
- /**
1353
- * @remarks
1354
- * The internal endpoints.
1355
- */
1356
1275
  intranetEndpoints?: string[];
1357
- /**
1358
- * @remarks
1359
- * The path type. Valid values:
1360
- *
1361
- * * Group: the path of the service group.
1362
- * * Service: the path of the service.
1363
- *
1364
- * @example
1365
- * Service
1366
- */
1367
1276
  pathType?: string;
1368
- /**
1369
- * @remarks
1370
- * The port number. This parameter takes effect only when you associate the service with an NLB or Nacos instance.
1371
- *
1372
- * @example
1373
- * 9090
1374
- */
1375
1277
  port?: number;
1376
1278
  static names(): { [key: string]: string } {
1377
1279
  return {
@@ -9151,7 +9053,7 @@ export class DescribeGroupEndpointsResponseBody extends $dara.Model {
9151
9053
  * @remarks
9152
9054
  * The endpoints of service groups.
9153
9055
  */
9154
- endpoints?: DescribeGroupEndpointsResponseBodyEndpoints;
9056
+ endpoints?: DescribeGroupEndpointsResponseBodyEndpoints[];
9155
9057
  /**
9156
9058
  * @remarks
9157
9059
  * The response message.
@@ -9180,15 +9082,15 @@ export class DescribeGroupEndpointsResponseBody extends $dara.Model {
9180
9082
  static types(): { [key: string]: any } {
9181
9083
  return {
9182
9084
  accessToken: 'string',
9183
- endpoints: DescribeGroupEndpointsResponseBodyEndpoints,
9085
+ endpoints: { 'type': 'array', 'itemType': DescribeGroupEndpointsResponseBodyEndpoints },
9184
9086
  message: 'string',
9185
9087
  requestId: 'string',
9186
9088
  };
9187
9089
  }
9188
9090
 
9189
9091
  validate() {
9190
- if(this.endpoints && typeof (this.endpoints as any).validate === 'function') {
9191
- (this.endpoints as any).validate();
9092
+ if(Array.isArray(this.endpoints)) {
9093
+ $dara.Model.validateArray(this.endpoints);
9192
9094
  }
9193
9095
  super.validate();
9194
9096
  }
@@ -10277,7 +10179,7 @@ export class DescribeServiceEndpointsResponseBody extends $dara.Model {
10277
10179
  * @remarks
10278
10180
  * The service endpoints.
10279
10181
  */
10280
- endpoints?: DescribeServiceEndpointsResponseBodyEndpoints;
10182
+ endpoints?: DescribeServiceEndpointsResponseBodyEndpoints[];
10281
10183
  /**
10282
10184
  * @remarks
10283
10185
  * The returned message.
@@ -10306,15 +10208,15 @@ export class DescribeServiceEndpointsResponseBody extends $dara.Model {
10306
10208
  static types(): { [key: string]: any } {
10307
10209
  return {
10308
10210
  accessToken: 'string',
10309
- endpoints: DescribeServiceEndpointsResponseBodyEndpoints,
10211
+ endpoints: { 'type': 'array', 'itemType': DescribeServiceEndpointsResponseBodyEndpoints },
10310
10212
  message: 'string',
10311
10213
  requestId: 'string',
10312
10214
  };
10313
10215
  }
10314
10216
 
10315
10217
  validate() {
10316
- if(this.endpoints && typeof (this.endpoints as any).validate === 'function') {
10317
- (this.endpoints as any).validate();
10218
+ if(Array.isArray(this.endpoints)) {
10219
+ $dara.Model.validateArray(this.endpoints);
10318
10220
  }
10319
10221
  super.validate();
10320
10222
  }