@alicloud/eas20210701 6.0.0 → 6.1.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.js CHANGED
@@ -26,12 +26,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CreateServiceMirrorResponseBody = exports.CreateServiceMirrorRequest = exports.CreateServiceCronScalerResponse = exports.CreateServiceCronScalerResponseBody = exports.CreateServiceCronScalerRequest = exports.CreateServiceAutoScalerResponse = exports.CreateServiceAutoScalerResponseBody = exports.CreateServiceAutoScalerRequest = exports.CreateServiceResponse = exports.CreateServiceResponseBody = exports.CreateServiceShrinkRequest = exports.CreateServiceRequest = exports.CreateResourceLogResponse = exports.CreateResourceLogResponseBody = exports.CreateResourceLogRequest = exports.CreateResourceInstancesResponse = exports.CreateResourceInstancesResponseBody = exports.CreateResourceInstancesRequest = exports.CreateResourceResponse = exports.CreateResourceResponseBody = exports.CreateResourceRequest = exports.CreateGatewayIntranetLinkedVpcResponse = exports.CreateGatewayIntranetLinkedVpcResponseBody = exports.CreateGatewayIntranetLinkedVpcRequest = exports.CreateGatewayResponse = exports.CreateGatewayResponseBody = exports.CreateGatewayRequest = exports.CreateBenchmarkTaskResponse = exports.CreateBenchmarkTaskResponseBody = exports.CreateBenchmarkTaskRequest = exports.CreateAppServiceResponse = exports.CreateAppServiceResponseBody = exports.CreateAppServiceRequest = exports.CreateAclPolicyResponse = exports.CreateAclPolicyResponseBody = exports.CreateAclPolicyShrinkRequest = exports.CreateAclPolicyRequest = exports.CommitServiceResponse = exports.CommitServiceResponseBody = exports.CloneServiceResponse = exports.CloneServiceResponseBody = exports.CloneServiceShrinkRequest = exports.CloneServiceRequest = exports.Service = exports.ResourceInstanceWorker = exports.ResourceInstance = exports.Resource = exports.Instance = exports.Group = exports.ContainerInfo = void 0;
30
- exports.DescribeResourceLogResponse = exports.DescribeResourceLogResponseBody = exports.DescribeResourceDLinkResponse = exports.DescribeResourceDLinkResponseBody = exports.DescribeResourceResponse = exports.DescribeResourceResponseBody = exports.DescribeGroupResponse = exports.DescribeGatewayResponse = exports.DescribeGatewayResponseBody = exports.DescribeBenchmarkTaskReportResponse = exports.DescribeBenchmarkTaskReportResponseBody = exports.DescribeBenchmarkTaskReportRequest = exports.DescribeBenchmarkTaskResponse = exports.DescribeBenchmarkTaskResponseBody = exports.DeleteServiceMirrorResponse = exports.DeleteServiceMirrorResponseBody = exports.DeleteServiceLabelResponse = exports.DeleteServiceLabelResponseBody = exports.DeleteServiceLabelShrinkRequest = exports.DeleteServiceLabelRequest = exports.DeleteServiceInstancesResponse = exports.DeleteServiceInstancesResponseBody = exports.DeleteServiceInstancesRequest = exports.DeleteServiceCronScalerResponse = exports.DeleteServiceCronScalerResponseBody = exports.DeleteServiceAutoScalerResponse = exports.DeleteServiceAutoScalerResponseBody = exports.DeleteServiceResponse = exports.DeleteServiceResponseBody = exports.DeleteResourceLogResponse = exports.DeleteResourceLogResponseBody = exports.DeleteResourceInstancesResponse = exports.DeleteResourceInstancesResponseBody = exports.DeleteResourceInstancesRequest = exports.DeleteResourceDLinkResponse = exports.DeleteResourceDLinkResponseBody = exports.DeleteResourceResponse = exports.DeleteResourceResponseBody = exports.DeleteGatewayIntranetLinkedVpcResponse = exports.DeleteGatewayIntranetLinkedVpcResponseBody = exports.DeleteGatewayIntranetLinkedVpcRequest = exports.DeleteGatewayResponse = exports.DeleteGatewayResponseBody = exports.DeleteBenchmarkTaskResponse = exports.DeleteBenchmarkTaskResponseBody = exports.DeleteAclPolicyResponse = exports.DeleteAclPolicyResponseBody = exports.DeleteAclPolicyShrinkRequest = exports.DeleteAclPolicyRequest = exports.CreateServiceMirrorResponse = void 0;
31
- exports.ListServiceContainersResponseBody = exports.ListResourcesResponse = exports.ListResourcesResponseBody = exports.ListResourcesRequest = exports.ListResourceServicesResponse = exports.ListResourceServicesResponseBody = exports.ListResourceServicesRequest = exports.ListResourceInstancesResponse = exports.ListResourceInstancesResponseBody = exports.ListResourceInstancesRequest = exports.ListResourceInstanceWorkerResponse = exports.ListResourceInstanceWorkerResponseBody = exports.ListResourceInstanceWorkerRequest = exports.ListGroupsResponse = exports.ListGroupsResponseBody = exports.ListGroupsRequest = exports.ListGatewayIntranetLinkedVpcResponse = exports.ListGatewayIntranetLinkedVpcResponseBody = exports.ListGatewayResponse = exports.ListGatewayResponseBody = exports.ListGatewayRequest = exports.ListBenchmarkTaskResponse = exports.ListBenchmarkTaskResponseBody = exports.ListBenchmarkTaskRequest = exports.ListAclPolicyResponse = exports.ListAclPolicyResponseBody = exports.ListAclPolicyRequest = exports.DevelopServiceResponse = exports.DevelopServiceResponseBody = exports.DevelopServiceRequest = exports.DescribeSpotDiscountHistoryResponse = exports.DescribeSpotDiscountHistoryResponseBody = exports.DescribeSpotDiscountHistoryRequest = exports.DescribeServiceMirrorResponse = exports.DescribeServiceMirrorResponseBody = exports.DescribeServiceLogResponse = exports.DescribeServiceLogResponseBody = exports.DescribeServiceLogRequest = exports.DescribeServiceInstanceDiagnosisResponse = exports.DescribeServiceInstanceDiagnosisResponseBody = exports.DescribeServiceEventResponse = exports.DescribeServiceEventResponseBody = exports.DescribeServiceEventRequest = exports.DescribeServiceDiagnosisResponse = exports.DescribeServiceDiagnosisResponseBody = exports.DescribeServiceCronScalerResponse = exports.DescribeServiceCronScalerResponseBody = exports.DescribeServiceAutoScalerResponse = exports.DescribeServiceAutoScalerResponseBody = exports.DescribeServiceResponse = void 0;
32
- exports.UpdateServiceAutoScalerRequest = exports.UpdateServiceResponse = exports.UpdateServiceResponseBody = exports.UpdateServiceRequest = exports.UpdateResourceInstanceResponse = exports.UpdateResourceInstanceResponseBody = exports.UpdateResourceInstanceRequest = exports.UpdateResourceDLinkResponse = exports.UpdateResourceDLinkResponseBody = exports.UpdateResourceDLinkRequest = exports.UpdateResourceResponse = exports.UpdateResourceResponseBody = exports.UpdateResourceRequest = exports.UpdateGatewayResponse = exports.UpdateGatewayResponseBody = exports.UpdateGatewayRequest = exports.UpdateBenchmarkTaskResponse = exports.UpdateBenchmarkTaskResponseBody = exports.UpdateBenchmarkTaskRequest = exports.UpdateAppServiceResponse = exports.UpdateAppServiceResponseBody = exports.UpdateAppServiceRequest = exports.StopServiceResponse = exports.StopServiceResponseBody = exports.StopBenchmarkTaskResponse = exports.StopBenchmarkTaskResponseBody = exports.StartServiceResponse = exports.StartServiceResponseBody = exports.StartBenchmarkTaskResponse = exports.StartBenchmarkTaskResponseBody = exports.RestartServiceResponse = exports.RestartServiceResponseBody = exports.ReleaseServiceResponse = exports.ReleaseServiceResponseBody = exports.ReleaseServiceRequest = exports.ReinstallTenantAddonResponse = exports.ReinstallTenantAddonResponseBody = exports.ListTenantAddonsResponse = exports.ListTenantAddonsResponseBody = exports.ListServicesResponse = exports.ListServicesResponseBody = exports.ListServicesShrinkRequest = exports.ListServicesRequest = exports.ListServiceVersionsResponse = exports.ListServiceVersionsResponseBody = exports.ListServiceVersionsRequest = exports.ListServiceInstancesResponse = exports.ListServiceInstancesResponseBody = exports.ListServiceInstancesRequest = exports.ListServiceContainersResponse = void 0;
33
- exports.UpdateServiceAutoScalerRequestBehaviorOnZero = exports.UpdateResourceRequestSelfManagedResourceOptions = exports.UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations = exports.ListTenantAddonsResponseBodyAddons = exports.ListServiceVersionsResponseBodyVersions = exports.ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList = exports.ListGatewayResponseBodyGateways = exports.ListBenchmarkTaskResponseBodyTasks = exports.ListAclPolicyResponseBodyIntranetVpcAclPolicyList = exports.ListAclPolicyResponseBodyIntranetVpcAclPolicyListAclPolicyList = exports.ListAclPolicyResponseBodyInternetAclPolicyList = exports.ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList = exports.DescribeSpotDiscountHistoryResponseBodySpotDiscounts = exports.DescribeServiceInstanceDiagnosisResponseBodyDiagnosis = exports.DescribeServiceEventResponseBodyEvents = exports.DescribeServiceDiagnosisResponseBodyDiagnosisList = exports.DescribeServiceCronScalerResponseBodyScaleJobs = exports.DescribeServiceAutoScalerResponseBodyScaleStrategies = exports.DescribeServiceAutoScalerResponseBodyCurrentMetrics = exports.DeleteAclPolicyRequestAclPolicyList = exports.CreateServiceCronScalerRequestScaleJobs = exports.CreateServiceAutoScalerRequestScaleStrategies = exports.CreateServiceAutoScalerRequestBehavior = exports.CreateServiceAutoScalerRequestBehaviorScaleUp = exports.CreateServiceAutoScalerRequestBehaviorScaleDown = exports.CreateServiceAutoScalerRequestBehaviorOnZero = exports.CreateResourceRequestSelfManagedResourceOptions = exports.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations = exports.CreateAclPolicyRequestAclPolicyList = exports.ServiceLabels = exports.UpdateServiceVersionResponse = exports.UpdateServiceVersionResponseBody = exports.UpdateServiceVersionRequest = exports.UpdateServiceSafetyLockResponse = exports.UpdateServiceSafetyLockResponseBody = exports.UpdateServiceSafetyLockRequest = exports.UpdateServiceMirrorResponse = exports.UpdateServiceMirrorResponseBody = exports.UpdateServiceMirrorRequest = exports.UpdateServiceLabelResponse = exports.UpdateServiceLabelResponseBody = exports.UpdateServiceLabelRequest = exports.UpdateServiceInstanceResponse = exports.UpdateServiceInstanceResponseBody = exports.UpdateServiceInstanceRequest = exports.UpdateServiceCronScalerResponse = exports.UpdateServiceCronScalerResponseBody = exports.UpdateServiceCronScalerRequest = exports.UpdateServiceAutoScalerResponse = exports.UpdateServiceAutoScalerResponseBody = void 0;
34
- exports.UpdateServiceCronScalerRequestScaleJobs = exports.UpdateServiceAutoScalerRequestScaleStrategies = exports.UpdateServiceAutoScalerRequestBehavior = exports.UpdateServiceAutoScalerRequestBehaviorScaleUp = exports.UpdateServiceAutoScalerRequestBehaviorScaleDown = void 0;
29
+ exports.CreateServiceResponse = exports.CreateServiceResponseBody = exports.CreateServiceShrinkRequest = exports.CreateServiceRequest = exports.CreateResourceLogResponse = exports.CreateResourceLogResponseBody = exports.CreateResourceLogRequest = exports.CreateResourceInstancesResponse = exports.CreateResourceInstancesResponseBody = exports.CreateResourceInstancesRequest = exports.CreateResourceResponse = exports.CreateResourceResponseBody = exports.CreateResourceRequest = exports.CreateGatewayIntranetLinkedVpcPeerResponse = exports.CreateGatewayIntranetLinkedVpcPeerResponseBody = exports.CreateGatewayIntranetLinkedVpcPeerShrinkRequest = exports.CreateGatewayIntranetLinkedVpcPeerRequest = exports.CreateGatewayIntranetLinkedVpcResponse = exports.CreateGatewayIntranetLinkedVpcResponseBody = exports.CreateGatewayIntranetLinkedVpcRequest = exports.CreateGatewayResponse = exports.CreateGatewayResponseBody = exports.CreateGatewayRequest = exports.CreateBenchmarkTaskResponse = exports.CreateBenchmarkTaskResponseBody = exports.CreateBenchmarkTaskRequest = exports.CreateAppServiceResponse = exports.CreateAppServiceResponseBody = exports.CreateAppServiceRequest = exports.CreateAclPolicyResponse = exports.CreateAclPolicyResponseBody = exports.CreateAclPolicyShrinkRequest = exports.CreateAclPolicyRequest = exports.CommitServiceResponse = exports.CommitServiceResponseBody = exports.CloneServiceResponse = exports.CloneServiceResponseBody = exports.CloneServiceShrinkRequest = exports.CloneServiceRequest = exports.AttachGatewayDomainResponse = exports.AttachGatewayDomainResponseBody = exports.AttachGatewayDomainShrinkRequest = exports.AttachGatewayDomainRequest = exports.Service = exports.ResourceInstanceWorker = exports.ResourceInstance = exports.Resource = exports.Instance = exports.Group = exports.ContainerInfo = void 0;
30
+ exports.DeleteServiceMirrorResponseBody = exports.DeleteServiceLabelResponse = exports.DeleteServiceLabelResponseBody = exports.DeleteServiceLabelShrinkRequest = exports.DeleteServiceLabelRequest = exports.DeleteServiceInstancesResponse = exports.DeleteServiceInstancesResponseBody = exports.DeleteServiceInstancesRequest = exports.DeleteServiceCronScalerResponse = exports.DeleteServiceCronScalerResponseBody = exports.DeleteServiceAutoScalerResponse = exports.DeleteServiceAutoScalerResponseBody = exports.DeleteServiceResponse = exports.DeleteServiceResponseBody = exports.DeleteResourceLogResponse = exports.DeleteResourceLogResponseBody = exports.DeleteResourceInstancesResponse = exports.DeleteResourceInstancesResponseBody = exports.DeleteResourceInstancesRequest = exports.DeleteResourceDLinkResponse = exports.DeleteResourceDLinkResponseBody = exports.DeleteResourceResponse = exports.DeleteResourceResponseBody = exports.DeleteGatewayIntranetLinkedVpcPeerResponse = exports.DeleteGatewayIntranetLinkedVpcPeerResponseBody = exports.DeleteGatewayIntranetLinkedVpcPeerShrinkRequest = exports.DeleteGatewayIntranetLinkedVpcPeerRequest = exports.DeleteGatewayIntranetLinkedVpcResponse = exports.DeleteGatewayIntranetLinkedVpcResponseBody = exports.DeleteGatewayIntranetLinkedVpcRequest = exports.DeleteGatewayResponse = exports.DeleteGatewayResponseBody = exports.DeleteBenchmarkTaskResponse = exports.DeleteBenchmarkTaskResponseBody = exports.DeleteAclPolicyResponse = exports.DeleteAclPolicyResponseBody = exports.DeleteAclPolicyShrinkRequest = exports.DeleteAclPolicyRequest = exports.CreateVirtualResourceResponse = exports.CreateVirtualResourceResponseBody = exports.CreateVirtualResourceRequest = exports.CreateServiceMirrorResponse = exports.CreateServiceMirrorResponseBody = exports.CreateServiceMirrorRequest = exports.CreateServiceCronScalerResponse = exports.CreateServiceCronScalerResponseBody = exports.CreateServiceCronScalerRequest = exports.CreateServiceAutoScalerResponse = exports.CreateServiceAutoScalerResponseBody = exports.CreateServiceAutoScalerRequest = void 0;
31
+ exports.ListBenchmarkTaskRequest = exports.ListAclPolicyResponse = exports.ListAclPolicyResponseBody = exports.ListAclPolicyRequest = exports.DevelopServiceResponse = exports.DevelopServiceResponseBody = exports.DevelopServiceRequest = exports.DetachGatewayDomainResponse = exports.DetachGatewayDomainResponseBody = exports.DetachGatewayDomainShrinkRequest = exports.DetachGatewayDomainRequest = exports.DescribeVirtualResourceResponse = exports.DescribeVirtualResourceResponseBody = exports.DescribeSpotDiscountHistoryResponse = exports.DescribeSpotDiscountHistoryResponseBody = exports.DescribeSpotDiscountHistoryRequest = exports.DescribeServiceMirrorResponse = exports.DescribeServiceMirrorResponseBody = exports.DescribeServiceLogResponse = exports.DescribeServiceLogResponseBody = exports.DescribeServiceLogRequest = exports.DescribeServiceInstanceDiagnosisResponse = exports.DescribeServiceInstanceDiagnosisResponseBody = exports.DescribeServiceEventResponse = exports.DescribeServiceEventResponseBody = exports.DescribeServiceEventRequest = exports.DescribeServiceDiagnosisResponse = exports.DescribeServiceDiagnosisResponseBody = exports.DescribeServiceCronScalerResponse = exports.DescribeServiceCronScalerResponseBody = exports.DescribeServiceAutoScalerResponse = exports.DescribeServiceAutoScalerResponseBody = exports.DescribeServiceResponse = exports.DescribeResourceLogResponse = exports.DescribeResourceLogResponseBody = exports.DescribeResourceDLinkResponse = exports.DescribeResourceDLinkResponseBody = exports.DescribeResourceResponse = exports.DescribeResourceResponseBody = exports.DescribeGroupResponse = exports.DescribeGatewayResponse = exports.DescribeGatewayResponseBody = exports.DescribeBenchmarkTaskReportResponse = exports.DescribeBenchmarkTaskReportResponseBody = exports.DescribeBenchmarkTaskReportRequest = exports.DescribeBenchmarkTaskResponse = exports.DescribeBenchmarkTaskResponseBody = exports.DeleteVirtualResourceResponse = exports.DeleteVirtualResourceResponseBody = exports.DeleteServiceMirrorResponse = void 0;
32
+ exports.RestartServiceResponseBody = exports.ReleaseServiceResponse = exports.ReleaseServiceResponseBody = exports.ReleaseServiceRequest = exports.ReinstallTenantAddonResponse = exports.ReinstallTenantAddonResponseBody = exports.ListVirtualResourceResponse = exports.ListVirtualResourceResponseBody = exports.ListVirtualResourceRequest = exports.ListTenantAddonsResponse = exports.ListTenantAddonsResponseBody = exports.ListServicesResponse = exports.ListServicesResponseBody = exports.ListServicesShrinkRequest = exports.ListServicesRequest = exports.ListServiceVersionsResponse = exports.ListServiceVersionsResponseBody = exports.ListServiceVersionsRequest = exports.ListServiceInstancesResponse = exports.ListServiceInstancesResponseBody = exports.ListServiceInstancesRequest = exports.ListServiceContainersResponse = exports.ListServiceContainersResponseBody = exports.ListResourcesResponse = exports.ListResourcesResponseBody = exports.ListResourcesRequest = exports.ListResourceServicesResponse = exports.ListResourceServicesResponseBody = exports.ListResourceServicesRequest = exports.ListResourceInstancesResponse = exports.ListResourceInstancesResponseBody = exports.ListResourceInstancesRequest = exports.ListResourceInstanceWorkerResponse = exports.ListResourceInstanceWorkerResponseBody = exports.ListResourceInstanceWorkerRequest = exports.ListGroupsResponse = exports.ListGroupsResponseBody = exports.ListGroupsRequest = exports.ListGatewayIntranetLinkedVpcPeerResponse = exports.ListGatewayIntranetLinkedVpcPeerResponseBody = exports.ListGatewayIntranetLinkedVpcPeerRequest = exports.ListGatewayIntranetLinkedVpcResponse = exports.ListGatewayIntranetLinkedVpcResponseBody = exports.ListGatewayDomainsResponse = exports.ListGatewayDomainsResponseBody = exports.ListGatewayResponse = exports.ListGatewayResponseBody = exports.ListGatewayRequest = exports.ListBenchmarkTaskResponse = exports.ListBenchmarkTaskResponseBody = void 0;
33
+ exports.UpdateServiceVersionResponseBody = exports.UpdateServiceVersionRequest = exports.UpdateServiceSafetyLockResponse = exports.UpdateServiceSafetyLockResponseBody = exports.UpdateServiceSafetyLockRequest = exports.UpdateServiceMirrorResponse = exports.UpdateServiceMirrorResponseBody = exports.UpdateServiceMirrorRequest = exports.UpdateServiceLabelResponse = exports.UpdateServiceLabelResponseBody = exports.UpdateServiceLabelRequest = exports.UpdateServiceInstanceResponse = exports.UpdateServiceInstanceResponseBody = exports.UpdateServiceInstanceRequest = exports.UpdateServiceCronScalerResponse = exports.UpdateServiceCronScalerResponseBody = exports.UpdateServiceCronScalerRequest = exports.UpdateServiceAutoScalerResponse = exports.UpdateServiceAutoScalerResponseBody = exports.UpdateServiceAutoScalerRequest = exports.UpdateServiceResponse = exports.UpdateServiceResponseBody = exports.UpdateServiceRequest = exports.UpdateResourceInstanceResponse = exports.UpdateResourceInstanceResponseBody = exports.UpdateResourceInstanceRequest = exports.UpdateResourceDLinkResponse = exports.UpdateResourceDLinkResponseBody = exports.UpdateResourceDLinkRequest = exports.UpdateResourceResponse = exports.UpdateResourceResponseBody = exports.UpdateResourceRequest = exports.UpdateGatewayResponse = exports.UpdateGatewayResponseBody = exports.UpdateGatewayRequest = exports.UpdateBenchmarkTaskResponse = exports.UpdateBenchmarkTaskResponseBody = exports.UpdateBenchmarkTaskRequest = exports.UpdateAppServiceResponse = exports.UpdateAppServiceResponseBody = exports.UpdateAppServiceRequest = exports.StopServiceResponse = exports.StopServiceResponseBody = exports.StopBenchmarkTaskResponse = exports.StopBenchmarkTaskResponseBody = exports.StartServiceResponse = exports.StartServiceResponseBody = exports.StartBenchmarkTaskResponse = exports.StartBenchmarkTaskResponseBody = exports.RestartServiceResponse = void 0;
34
+ exports.UpdateVirtualResourceRequestResources = exports.UpdateServiceCronScalerRequestScaleJobs = exports.UpdateServiceAutoScalerRequestScaleStrategies = exports.UpdateServiceAutoScalerRequestBehavior = exports.UpdateServiceAutoScalerRequestBehaviorScaleUp = exports.UpdateServiceAutoScalerRequestBehaviorScaleDown = exports.UpdateServiceAutoScalerRequestBehaviorOnZero = exports.UpdateResourceRequestSelfManagedResourceOptions = exports.UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations = exports.ListVirtualResourceResponseBodyVirtualResources = exports.ListTenantAddonsResponseBodyAddons = exports.ListServiceVersionsResponseBodyVersions = exports.ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList = exports.ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs = exports.ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList = exports.ListGatewayDomainsResponseBodyCustomDomains = exports.ListGatewayResponseBodyGateways = exports.ListBenchmarkTaskResponseBodyTasks = exports.ListAclPolicyResponseBodyIntranetVpcAclPolicyList = exports.ListAclPolicyResponseBodyIntranetVpcAclPolicyListAclPolicyList = exports.ListAclPolicyResponseBodyInternetAclPolicyList = exports.ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList = exports.DetachGatewayDomainRequestCustomDomain = exports.DescribeVirtualResourceResponseBodyResources = exports.DescribeSpotDiscountHistoryResponseBodySpotDiscounts = exports.DescribeServiceInstanceDiagnosisResponseBodyDiagnosis = exports.DescribeServiceEventResponseBodyEvents = exports.DescribeServiceDiagnosisResponseBodyDiagnosisList = exports.DescribeServiceCronScalerResponseBodyScaleJobs = exports.DescribeServiceAutoScalerResponseBodyScaleStrategies = exports.DescribeServiceAutoScalerResponseBodyCurrentMetrics = exports.DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs = exports.DeleteAclPolicyRequestAclPolicyList = exports.CreateVirtualResourceRequestResources = exports.CreateServiceCronScalerRequestScaleJobs = exports.CreateServiceAutoScalerRequestScaleStrategies = exports.CreateServiceAutoScalerRequestBehavior = exports.CreateServiceAutoScalerRequestBehaviorScaleUp = exports.CreateServiceAutoScalerRequestBehaviorScaleDown = exports.CreateServiceAutoScalerRequestBehaviorOnZero = exports.CreateResourceRequestSelfManagedResourceOptions = exports.CreateResourceRequestSelfManagedResourceOptionsNodeTolerations = exports.CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs = exports.CreateAclPolicyRequestAclPolicyList = exports.AttachGatewayDomainRequestCustomDomain = exports.ServiceLabels = exports.UpdateVirtualResourceResponse = exports.UpdateVirtualResourceResponseBody = exports.UpdateVirtualResourceRequest = exports.UpdateServiceVersionResponse = void 0;
35
35
  // This file is auto-generated, don't edit it
36
36
  /**
37
37
  */
@@ -412,6 +412,78 @@ class Service extends $tea.Model {
412
412
  }
413
413
  }
414
414
  exports.Service = Service;
415
+ class AttachGatewayDomainRequest extends $tea.Model {
416
+ static names() {
417
+ return {
418
+ customDomain: 'CustomDomain',
419
+ };
420
+ }
421
+ static types() {
422
+ return {
423
+ customDomain: AttachGatewayDomainRequestCustomDomain,
424
+ };
425
+ }
426
+ constructor(map) {
427
+ super(map);
428
+ }
429
+ }
430
+ exports.AttachGatewayDomainRequest = AttachGatewayDomainRequest;
431
+ class AttachGatewayDomainShrinkRequest extends $tea.Model {
432
+ static names() {
433
+ return {
434
+ customDomainShrink: 'CustomDomain',
435
+ };
436
+ }
437
+ static types() {
438
+ return {
439
+ customDomainShrink: 'string',
440
+ };
441
+ }
442
+ constructor(map) {
443
+ super(map);
444
+ }
445
+ }
446
+ exports.AttachGatewayDomainShrinkRequest = AttachGatewayDomainShrinkRequest;
447
+ class AttachGatewayDomainResponseBody extends $tea.Model {
448
+ static names() {
449
+ return {
450
+ gatewayId: 'GatewayId',
451
+ message: 'Message',
452
+ requestId: 'RequestId',
453
+ };
454
+ }
455
+ static types() {
456
+ return {
457
+ gatewayId: 'string',
458
+ message: 'string',
459
+ requestId: 'string',
460
+ };
461
+ }
462
+ constructor(map) {
463
+ super(map);
464
+ }
465
+ }
466
+ exports.AttachGatewayDomainResponseBody = AttachGatewayDomainResponseBody;
467
+ class AttachGatewayDomainResponse extends $tea.Model {
468
+ static names() {
469
+ return {
470
+ headers: 'headers',
471
+ statusCode: 'statusCode',
472
+ body: 'body',
473
+ };
474
+ }
475
+ static types() {
476
+ return {
477
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
478
+ statusCode: 'number',
479
+ body: AttachGatewayDomainResponseBody,
480
+ };
481
+ }
482
+ constructor(map) {
483
+ super(map);
484
+ }
485
+ }
486
+ exports.AttachGatewayDomainResponse = AttachGatewayDomainResponse;
415
487
  class CloneServiceRequest extends $tea.Model {
416
488
  static names() {
417
489
  return {
@@ -748,6 +820,8 @@ class CreateGatewayRequest extends $tea.Model {
748
820
  static names() {
749
821
  return {
750
822
  resourceName: 'ResourceName',
823
+ autoRenewal: 'AutoRenewal',
824
+ chargeType: 'ChargeType',
751
825
  enableInternet: 'EnableInternet',
752
826
  enableIntranet: 'EnableIntranet',
753
827
  instanceType: 'InstanceType',
@@ -758,6 +832,8 @@ class CreateGatewayRequest extends $tea.Model {
758
832
  static types() {
759
833
  return {
760
834
  resourceName: 'string',
835
+ autoRenewal: 'boolean',
836
+ chargeType: 'string',
761
837
  enableInternet: 'boolean',
762
838
  enableIntranet: 'boolean',
763
839
  instanceType: 'string',
@@ -870,6 +946,82 @@ class CreateGatewayIntranetLinkedVpcResponse extends $tea.Model {
870
946
  }
871
947
  }
872
948
  exports.CreateGatewayIntranetLinkedVpcResponse = CreateGatewayIntranetLinkedVpcResponse;
949
+ class CreateGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
950
+ static names() {
951
+ return {
952
+ peerVpcs: 'PeerVpcs',
953
+ vpcId: 'VpcId',
954
+ };
955
+ }
956
+ static types() {
957
+ return {
958
+ peerVpcs: { 'type': 'array', 'itemType': CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs },
959
+ vpcId: 'string',
960
+ };
961
+ }
962
+ constructor(map) {
963
+ super(map);
964
+ }
965
+ }
966
+ exports.CreateGatewayIntranetLinkedVpcPeerRequest = CreateGatewayIntranetLinkedVpcPeerRequest;
967
+ class CreateGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model {
968
+ static names() {
969
+ return {
970
+ peerVpcsShrink: 'PeerVpcs',
971
+ vpcId: 'VpcId',
972
+ };
973
+ }
974
+ static types() {
975
+ return {
976
+ peerVpcsShrink: 'string',
977
+ vpcId: 'string',
978
+ };
979
+ }
980
+ constructor(map) {
981
+ super(map);
982
+ }
983
+ }
984
+ exports.CreateGatewayIntranetLinkedVpcPeerShrinkRequest = CreateGatewayIntranetLinkedVpcPeerShrinkRequest;
985
+ class CreateGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
986
+ static names() {
987
+ return {
988
+ gatewayId: 'GatewayId',
989
+ message: 'Message',
990
+ requestId: 'requestId',
991
+ };
992
+ }
993
+ static types() {
994
+ return {
995
+ gatewayId: 'string',
996
+ message: 'string',
997
+ requestId: 'string',
998
+ };
999
+ }
1000
+ constructor(map) {
1001
+ super(map);
1002
+ }
1003
+ }
1004
+ exports.CreateGatewayIntranetLinkedVpcPeerResponseBody = CreateGatewayIntranetLinkedVpcPeerResponseBody;
1005
+ class CreateGatewayIntranetLinkedVpcPeerResponse extends $tea.Model {
1006
+ static names() {
1007
+ return {
1008
+ headers: 'headers',
1009
+ statusCode: 'statusCode',
1010
+ body: 'body',
1011
+ };
1012
+ }
1013
+ static types() {
1014
+ return {
1015
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1016
+ statusCode: 'number',
1017
+ body: CreateGatewayIntranetLinkedVpcPeerResponseBody,
1018
+ };
1019
+ }
1020
+ constructor(map) {
1021
+ super(map);
1022
+ }
1023
+ }
1024
+ exports.CreateGatewayIntranetLinkedVpcPeerResponse = CreateGatewayIntranetLinkedVpcPeerResponse;
873
1025
  class CreateResourceRequest extends $tea.Model {
874
1026
  static names() {
875
1027
  return {
@@ -1334,6 +1486,64 @@ class CreateServiceMirrorResponse extends $tea.Model {
1334
1486
  }
1335
1487
  }
1336
1488
  exports.CreateServiceMirrorResponse = CreateServiceMirrorResponse;
1489
+ class CreateVirtualResourceRequest extends $tea.Model {
1490
+ static names() {
1491
+ return {
1492
+ resources: 'Resources',
1493
+ virtualResourceName: 'VirtualResourceName',
1494
+ };
1495
+ }
1496
+ static types() {
1497
+ return {
1498
+ resources: { 'type': 'array', 'itemType': CreateVirtualResourceRequestResources },
1499
+ virtualResourceName: 'string',
1500
+ };
1501
+ }
1502
+ constructor(map) {
1503
+ super(map);
1504
+ }
1505
+ }
1506
+ exports.CreateVirtualResourceRequest = CreateVirtualResourceRequest;
1507
+ class CreateVirtualResourceResponseBody extends $tea.Model {
1508
+ static names() {
1509
+ return {
1510
+ message: 'Message',
1511
+ requestId: 'RequestId',
1512
+ virtualResourceId: 'VirtualResourceId',
1513
+ };
1514
+ }
1515
+ static types() {
1516
+ return {
1517
+ message: 'string',
1518
+ requestId: 'string',
1519
+ virtualResourceId: 'string',
1520
+ };
1521
+ }
1522
+ constructor(map) {
1523
+ super(map);
1524
+ }
1525
+ }
1526
+ exports.CreateVirtualResourceResponseBody = CreateVirtualResourceResponseBody;
1527
+ class CreateVirtualResourceResponse extends $tea.Model {
1528
+ static names() {
1529
+ return {
1530
+ headers: 'headers',
1531
+ statusCode: 'statusCode',
1532
+ body: 'body',
1533
+ };
1534
+ }
1535
+ static types() {
1536
+ return {
1537
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1538
+ statusCode: 'number',
1539
+ body: CreateVirtualResourceResponseBody,
1540
+ };
1541
+ }
1542
+ constructor(map) {
1543
+ super(map);
1544
+ }
1545
+ }
1546
+ exports.CreateVirtualResourceResponse = CreateVirtualResourceResponse;
1337
1547
  class DeleteAclPolicyRequest extends $tea.Model {
1338
1548
  static names() {
1339
1549
  return {
@@ -1546,6 +1756,82 @@ class DeleteGatewayIntranetLinkedVpcResponse extends $tea.Model {
1546
1756
  }
1547
1757
  }
1548
1758
  exports.DeleteGatewayIntranetLinkedVpcResponse = DeleteGatewayIntranetLinkedVpcResponse;
1759
+ class DeleteGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
1760
+ static names() {
1761
+ return {
1762
+ peerVpcs: 'PeerVpcs',
1763
+ vpcId: 'VpcId',
1764
+ };
1765
+ }
1766
+ static types() {
1767
+ return {
1768
+ peerVpcs: { 'type': 'array', 'itemType': DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs },
1769
+ vpcId: 'string',
1770
+ };
1771
+ }
1772
+ constructor(map) {
1773
+ super(map);
1774
+ }
1775
+ }
1776
+ exports.DeleteGatewayIntranetLinkedVpcPeerRequest = DeleteGatewayIntranetLinkedVpcPeerRequest;
1777
+ class DeleteGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model {
1778
+ static names() {
1779
+ return {
1780
+ peerVpcsShrink: 'PeerVpcs',
1781
+ vpcId: 'VpcId',
1782
+ };
1783
+ }
1784
+ static types() {
1785
+ return {
1786
+ peerVpcsShrink: 'string',
1787
+ vpcId: 'string',
1788
+ };
1789
+ }
1790
+ constructor(map) {
1791
+ super(map);
1792
+ }
1793
+ }
1794
+ exports.DeleteGatewayIntranetLinkedVpcPeerShrinkRequest = DeleteGatewayIntranetLinkedVpcPeerShrinkRequest;
1795
+ class DeleteGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
1796
+ static names() {
1797
+ return {
1798
+ gatewayId: 'GatewayId',
1799
+ message: 'Message',
1800
+ requestId: 'requestId',
1801
+ };
1802
+ }
1803
+ static types() {
1804
+ return {
1805
+ gatewayId: 'string',
1806
+ message: 'string',
1807
+ requestId: 'string',
1808
+ };
1809
+ }
1810
+ constructor(map) {
1811
+ super(map);
1812
+ }
1813
+ }
1814
+ exports.DeleteGatewayIntranetLinkedVpcPeerResponseBody = DeleteGatewayIntranetLinkedVpcPeerResponseBody;
1815
+ class DeleteGatewayIntranetLinkedVpcPeerResponse extends $tea.Model {
1816
+ static names() {
1817
+ return {
1818
+ headers: 'headers',
1819
+ statusCode: 'statusCode',
1820
+ body: 'body',
1821
+ };
1822
+ }
1823
+ static types() {
1824
+ return {
1825
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1826
+ statusCode: 'number',
1827
+ body: DeleteGatewayIntranetLinkedVpcPeerResponseBody,
1828
+ };
1829
+ }
1830
+ constructor(map) {
1831
+ super(map);
1832
+ }
1833
+ }
1834
+ exports.DeleteGatewayIntranetLinkedVpcPeerResponse = DeleteGatewayIntranetLinkedVpcPeerResponse;
1549
1835
  class DeleteResourceResponseBody extends $tea.Model {
1550
1836
  static names() {
1551
1837
  return {
@@ -1996,39 +2282,77 @@ class DeleteServiceMirrorResponse extends $tea.Model {
1996
2282
  }
1997
2283
  }
1998
2284
  exports.DeleteServiceMirrorResponse = DeleteServiceMirrorResponse;
1999
- class DescribeBenchmarkTaskResponseBody extends $tea.Model {
2285
+ class DeleteVirtualResourceResponseBody extends $tea.Model {
2000
2286
  static names() {
2001
2287
  return {
2002
- availableAgent: 'AvailableAgent',
2003
- callerUid: 'CallerUid',
2004
- desiredAgent: 'DesiredAgent',
2005
- endpoint: 'Endpoint',
2006
2288
  message: 'Message',
2007
- parentUid: 'ParentUid',
2008
- reason: 'Reason',
2009
2289
  requestId: 'RequestId',
2010
- serviceName: 'ServiceName',
2011
- status: 'Status',
2012
- taskId: 'TaskId',
2013
- taskName: 'TaskName',
2014
- token: 'Token',
2015
2290
  };
2016
2291
  }
2017
2292
  static types() {
2018
2293
  return {
2019
- availableAgent: 'number',
2020
- callerUid: 'string',
2021
- desiredAgent: 'number',
2022
- endpoint: 'string',
2023
2294
  message: 'string',
2024
- parentUid: 'string',
2025
- reason: 'string',
2026
2295
  requestId: 'string',
2027
- serviceName: 'string',
2028
- status: 'string',
2029
- taskId: 'string',
2030
- taskName: 'string',
2031
- token: 'string',
2296
+ };
2297
+ }
2298
+ constructor(map) {
2299
+ super(map);
2300
+ }
2301
+ }
2302
+ exports.DeleteVirtualResourceResponseBody = DeleteVirtualResourceResponseBody;
2303
+ class DeleteVirtualResourceResponse extends $tea.Model {
2304
+ static names() {
2305
+ return {
2306
+ headers: 'headers',
2307
+ statusCode: 'statusCode',
2308
+ body: 'body',
2309
+ };
2310
+ }
2311
+ static types() {
2312
+ return {
2313
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2314
+ statusCode: 'number',
2315
+ body: DeleteVirtualResourceResponseBody,
2316
+ };
2317
+ }
2318
+ constructor(map) {
2319
+ super(map);
2320
+ }
2321
+ }
2322
+ exports.DeleteVirtualResourceResponse = DeleteVirtualResourceResponse;
2323
+ class DescribeBenchmarkTaskResponseBody extends $tea.Model {
2324
+ static names() {
2325
+ return {
2326
+ availableAgent: 'AvailableAgent',
2327
+ callerUid: 'CallerUid',
2328
+ desiredAgent: 'DesiredAgent',
2329
+ endpoint: 'Endpoint',
2330
+ message: 'Message',
2331
+ parentUid: 'ParentUid',
2332
+ reason: 'Reason',
2333
+ requestId: 'RequestId',
2334
+ serviceName: 'ServiceName',
2335
+ status: 'Status',
2336
+ taskId: 'TaskId',
2337
+ taskName: 'TaskName',
2338
+ token: 'Token',
2339
+ };
2340
+ }
2341
+ static types() {
2342
+ return {
2343
+ availableAgent: 'number',
2344
+ callerUid: 'string',
2345
+ desiredAgent: 'number',
2346
+ endpoint: 'string',
2347
+ message: 'string',
2348
+ parentUid: 'string',
2349
+ reason: 'string',
2350
+ requestId: 'string',
2351
+ serviceName: 'string',
2352
+ status: 'string',
2353
+ taskId: 'string',
2354
+ taskName: 'string',
2355
+ token: 'string',
2032
2356
  };
2033
2357
  }
2034
2358
  constructor(map) {
@@ -2780,6 +3104,124 @@ class DescribeSpotDiscountHistoryResponse extends $tea.Model {
2780
3104
  }
2781
3105
  }
2782
3106
  exports.DescribeSpotDiscountHistoryResponse = DescribeSpotDiscountHistoryResponse;
3107
+ class DescribeVirtualResourceResponseBody extends $tea.Model {
3108
+ static names() {
3109
+ return {
3110
+ createTime: 'CreateTime',
3111
+ requestId: 'RequestId',
3112
+ resources: 'Resources',
3113
+ updateTime: 'UpdateTime',
3114
+ virtualResourceId: 'VirtualResourceId',
3115
+ virtualResourceName: 'VirtualResourceName',
3116
+ };
3117
+ }
3118
+ static types() {
3119
+ return {
3120
+ createTime: 'string',
3121
+ requestId: 'string',
3122
+ resources: { 'type': 'array', 'itemType': DescribeVirtualResourceResponseBodyResources },
3123
+ updateTime: 'string',
3124
+ virtualResourceId: 'string',
3125
+ virtualResourceName: 'string',
3126
+ };
3127
+ }
3128
+ constructor(map) {
3129
+ super(map);
3130
+ }
3131
+ }
3132
+ exports.DescribeVirtualResourceResponseBody = DescribeVirtualResourceResponseBody;
3133
+ class DescribeVirtualResourceResponse extends $tea.Model {
3134
+ static names() {
3135
+ return {
3136
+ headers: 'headers',
3137
+ statusCode: 'statusCode',
3138
+ body: 'body',
3139
+ };
3140
+ }
3141
+ static types() {
3142
+ return {
3143
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3144
+ statusCode: 'number',
3145
+ body: DescribeVirtualResourceResponseBody,
3146
+ };
3147
+ }
3148
+ constructor(map) {
3149
+ super(map);
3150
+ }
3151
+ }
3152
+ exports.DescribeVirtualResourceResponse = DescribeVirtualResourceResponse;
3153
+ class DetachGatewayDomainRequest extends $tea.Model {
3154
+ static names() {
3155
+ return {
3156
+ customDomain: 'CustomDomain',
3157
+ };
3158
+ }
3159
+ static types() {
3160
+ return {
3161
+ customDomain: DetachGatewayDomainRequestCustomDomain,
3162
+ };
3163
+ }
3164
+ constructor(map) {
3165
+ super(map);
3166
+ }
3167
+ }
3168
+ exports.DetachGatewayDomainRequest = DetachGatewayDomainRequest;
3169
+ class DetachGatewayDomainShrinkRequest extends $tea.Model {
3170
+ static names() {
3171
+ return {
3172
+ customDomainShrink: 'CustomDomain',
3173
+ };
3174
+ }
3175
+ static types() {
3176
+ return {
3177
+ customDomainShrink: 'string',
3178
+ };
3179
+ }
3180
+ constructor(map) {
3181
+ super(map);
3182
+ }
3183
+ }
3184
+ exports.DetachGatewayDomainShrinkRequest = DetachGatewayDomainShrinkRequest;
3185
+ class DetachGatewayDomainResponseBody extends $tea.Model {
3186
+ static names() {
3187
+ return {
3188
+ gatewayId: 'GatewayId',
3189
+ message: 'Message',
3190
+ requestId: 'RequestId',
3191
+ };
3192
+ }
3193
+ static types() {
3194
+ return {
3195
+ gatewayId: 'string',
3196
+ message: 'string',
3197
+ requestId: 'string',
3198
+ };
3199
+ }
3200
+ constructor(map) {
3201
+ super(map);
3202
+ }
3203
+ }
3204
+ exports.DetachGatewayDomainResponseBody = DetachGatewayDomainResponseBody;
3205
+ class DetachGatewayDomainResponse extends $tea.Model {
3206
+ static names() {
3207
+ return {
3208
+ headers: 'headers',
3209
+ statusCode: 'statusCode',
3210
+ body: 'body',
3211
+ };
3212
+ }
3213
+ static types() {
3214
+ return {
3215
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3216
+ statusCode: 'number',
3217
+ body: DetachGatewayDomainResponseBody,
3218
+ };
3219
+ }
3220
+ constructor(map) {
3221
+ super(map);
3222
+ }
3223
+ }
3224
+ exports.DetachGatewayDomainResponse = DetachGatewayDomainResponse;
2783
3225
  class DevelopServiceRequest extends $tea.Model {
2784
3226
  static names() {
2785
3227
  return {
@@ -2965,6 +3407,7 @@ class ListGatewayRequest extends $tea.Model {
2965
3407
  gatewayName: 'GatewayName',
2966
3408
  pageNumber: 'PageNumber',
2967
3409
  pageSize: 'PageSize',
3410
+ resourceName: 'ResourceName',
2968
3411
  };
2969
3412
  }
2970
3413
  static types() {
@@ -2973,6 +3416,7 @@ class ListGatewayRequest extends $tea.Model {
2973
3416
  gatewayName: 'string',
2974
3417
  pageNumber: 'number',
2975
3418
  pageSize: 'number',
3419
+ resourceName: 'string',
2976
3420
  };
2977
3421
  }
2978
3422
  constructor(map) {
@@ -3024,6 +3468,46 @@ class ListGatewayResponse extends $tea.Model {
3024
3468
  }
3025
3469
  }
3026
3470
  exports.ListGatewayResponse = ListGatewayResponse;
3471
+ class ListGatewayDomainsResponseBody extends $tea.Model {
3472
+ static names() {
3473
+ return {
3474
+ customDomains: 'CustomDomains',
3475
+ message: 'Message',
3476
+ requestId: 'RequestId',
3477
+ };
3478
+ }
3479
+ static types() {
3480
+ return {
3481
+ customDomains: { 'type': 'array', 'itemType': ListGatewayDomainsResponseBodyCustomDomains },
3482
+ message: 'string',
3483
+ requestId: 'string',
3484
+ };
3485
+ }
3486
+ constructor(map) {
3487
+ super(map);
3488
+ }
3489
+ }
3490
+ exports.ListGatewayDomainsResponseBody = ListGatewayDomainsResponseBody;
3491
+ class ListGatewayDomainsResponse extends $tea.Model {
3492
+ static names() {
3493
+ return {
3494
+ headers: 'headers',
3495
+ statusCode: 'statusCode',
3496
+ body: 'body',
3497
+ };
3498
+ }
3499
+ static types() {
3500
+ return {
3501
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3502
+ statusCode: 'number',
3503
+ body: ListGatewayDomainsResponseBody,
3504
+ };
3505
+ }
3506
+ constructor(map) {
3507
+ super(map);
3508
+ }
3509
+ }
3510
+ exports.ListGatewayDomainsResponse = ListGatewayDomainsResponse;
3027
3511
  class ListGatewayIntranetLinkedVpcResponseBody extends $tea.Model {
3028
3512
  static names() {
3029
3513
  return {
@@ -3064,6 +3548,62 @@ class ListGatewayIntranetLinkedVpcResponse extends $tea.Model {
3064
3548
  }
3065
3549
  }
3066
3550
  exports.ListGatewayIntranetLinkedVpcResponse = ListGatewayIntranetLinkedVpcResponse;
3551
+ class ListGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
3552
+ static names() {
3553
+ return {
3554
+ vpcId: 'VpcId',
3555
+ };
3556
+ }
3557
+ static types() {
3558
+ return {
3559
+ vpcId: 'string',
3560
+ };
3561
+ }
3562
+ constructor(map) {
3563
+ super(map);
3564
+ }
3565
+ }
3566
+ exports.ListGatewayIntranetLinkedVpcPeerRequest = ListGatewayIntranetLinkedVpcPeerRequest;
3567
+ class ListGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
3568
+ static names() {
3569
+ return {
3570
+ gatewayId: 'GatewayId',
3571
+ peerVpcList: 'PeerVpcList',
3572
+ requestId: 'requestId',
3573
+ };
3574
+ }
3575
+ static types() {
3576
+ return {
3577
+ gatewayId: 'string',
3578
+ peerVpcList: { 'type': 'array', 'itemType': ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList },
3579
+ requestId: 'string',
3580
+ };
3581
+ }
3582
+ constructor(map) {
3583
+ super(map);
3584
+ }
3585
+ }
3586
+ exports.ListGatewayIntranetLinkedVpcPeerResponseBody = ListGatewayIntranetLinkedVpcPeerResponseBody;
3587
+ class ListGatewayIntranetLinkedVpcPeerResponse extends $tea.Model {
3588
+ static names() {
3589
+ return {
3590
+ headers: 'headers',
3591
+ statusCode: 'statusCode',
3592
+ body: 'body',
3593
+ };
3594
+ }
3595
+ static types() {
3596
+ return {
3597
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3598
+ statusCode: 'number',
3599
+ body: ListGatewayIntranetLinkedVpcPeerResponseBody,
3600
+ };
3601
+ }
3602
+ constructor(map) {
3603
+ super(map);
3604
+ }
3605
+ }
3606
+ exports.ListGatewayIntranetLinkedVpcPeerResponse = ListGatewayIntranetLinkedVpcPeerResponse;
3067
3607
  class ListGroupsRequest extends $tea.Model {
3068
3608
  static names() {
3069
3609
  return {
@@ -3599,6 +4139,7 @@ class ListServicesRequest extends $tea.Model {
3599
4139
  parentServiceUid: 'ParentServiceUid',
3600
4140
  quotaId: 'QuotaId',
3601
4141
  resourceName: 'ResourceName',
4142
+ role: 'Role',
3602
4143
  serviceName: 'ServiceName',
3603
4144
  serviceStatus: 'ServiceStatus',
3604
4145
  serviceType: 'ServiceType',
@@ -3619,6 +4160,7 @@ class ListServicesRequest extends $tea.Model {
3619
4160
  parentServiceUid: 'string',
3620
4161
  quotaId: 'string',
3621
4162
  resourceName: 'string',
4163
+ role: 'string',
3622
4164
  serviceName: 'string',
3623
4165
  serviceStatus: 'string',
3624
4166
  serviceType: 'string',
@@ -3645,6 +4187,7 @@ class ListServicesShrinkRequest extends $tea.Model {
3645
4187
  parentServiceUid: 'ParentServiceUid',
3646
4188
  quotaId: 'QuotaId',
3647
4189
  resourceName: 'ResourceName',
4190
+ role: 'Role',
3648
4191
  serviceName: 'ServiceName',
3649
4192
  serviceStatus: 'ServiceStatus',
3650
4193
  serviceType: 'ServiceType',
@@ -3665,6 +4208,7 @@ class ListServicesShrinkRequest extends $tea.Model {
3665
4208
  parentServiceUid: 'string',
3666
4209
  quotaId: 'string',
3667
4210
  resourceName: 'string',
4211
+ role: 'string',
3668
4212
  serviceName: 'string',
3669
4213
  serviceStatus: 'string',
3670
4214
  serviceType: 'string',
@@ -3760,36 +4304,102 @@ class ListTenantAddonsResponse extends $tea.Model {
3760
4304
  }
3761
4305
  }
3762
4306
  exports.ListTenantAddonsResponse = ListTenantAddonsResponse;
3763
- class ReinstallTenantAddonResponseBody extends $tea.Model {
4307
+ class ListVirtualResourceRequest extends $tea.Model {
3764
4308
  static names() {
3765
4309
  return {
3766
- message: 'Message',
3767
- requestId: 'RequestId',
4310
+ pageNumber: 'PageNumber',
4311
+ pageSize: 'PageSize',
4312
+ virtualResourceId: 'VirtualResourceId',
4313
+ virtualResourceName: 'VirtualResourceName',
3768
4314
  };
3769
4315
  }
3770
4316
  static types() {
3771
4317
  return {
3772
- message: 'string',
3773
- requestId: 'string',
4318
+ pageNumber: 'number',
4319
+ pageSize: 'number',
4320
+ virtualResourceId: 'string',
4321
+ virtualResourceName: 'string',
3774
4322
  };
3775
4323
  }
3776
4324
  constructor(map) {
3777
4325
  super(map);
3778
4326
  }
3779
4327
  }
3780
- exports.ReinstallTenantAddonResponseBody = ReinstallTenantAddonResponseBody;
3781
- class ReinstallTenantAddonResponse extends $tea.Model {
4328
+ exports.ListVirtualResourceRequest = ListVirtualResourceRequest;
4329
+ class ListVirtualResourceResponseBody extends $tea.Model {
3782
4330
  static names() {
3783
4331
  return {
3784
- headers: 'headers',
3785
- statusCode: 'statusCode',
3786
- body: 'body',
4332
+ pageNumber: 'PageNumber',
4333
+ pageSize: 'PageSize',
4334
+ requestId: 'RequestId',
4335
+ totalCount: 'TotalCount',
4336
+ virtualResources: 'VirtualResources',
3787
4337
  };
3788
4338
  }
3789
4339
  static types() {
3790
4340
  return {
3791
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3792
- statusCode: 'number',
4341
+ pageNumber: 'number',
4342
+ pageSize: 'number',
4343
+ requestId: 'string',
4344
+ totalCount: 'number',
4345
+ virtualResources: { 'type': 'array', 'itemType': ListVirtualResourceResponseBodyVirtualResources },
4346
+ };
4347
+ }
4348
+ constructor(map) {
4349
+ super(map);
4350
+ }
4351
+ }
4352
+ exports.ListVirtualResourceResponseBody = ListVirtualResourceResponseBody;
4353
+ class ListVirtualResourceResponse extends $tea.Model {
4354
+ static names() {
4355
+ return {
4356
+ headers: 'headers',
4357
+ statusCode: 'statusCode',
4358
+ body: 'body',
4359
+ };
4360
+ }
4361
+ static types() {
4362
+ return {
4363
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4364
+ statusCode: 'number',
4365
+ body: ListVirtualResourceResponseBody,
4366
+ };
4367
+ }
4368
+ constructor(map) {
4369
+ super(map);
4370
+ }
4371
+ }
4372
+ exports.ListVirtualResourceResponse = ListVirtualResourceResponse;
4373
+ class ReinstallTenantAddonResponseBody extends $tea.Model {
4374
+ static names() {
4375
+ return {
4376
+ message: 'Message',
4377
+ requestId: 'RequestId',
4378
+ };
4379
+ }
4380
+ static types() {
4381
+ return {
4382
+ message: 'string',
4383
+ requestId: 'string',
4384
+ };
4385
+ }
4386
+ constructor(map) {
4387
+ super(map);
4388
+ }
4389
+ }
4390
+ exports.ReinstallTenantAddonResponseBody = ReinstallTenantAddonResponseBody;
4391
+ class ReinstallTenantAddonResponse extends $tea.Model {
4392
+ static names() {
4393
+ return {
4394
+ headers: 'headers',
4395
+ statusCode: 'statusCode',
4396
+ body: 'body',
4397
+ };
4398
+ }
4399
+ static types() {
4400
+ return {
4401
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4402
+ statusCode: 'number',
3793
4403
  body: ReinstallTenantAddonResponseBody,
3794
4404
  };
3795
4405
  }
@@ -4848,6 +5458,62 @@ class UpdateServiceVersionResponse extends $tea.Model {
4848
5458
  }
4849
5459
  }
4850
5460
  exports.UpdateServiceVersionResponse = UpdateServiceVersionResponse;
5461
+ class UpdateVirtualResourceRequest extends $tea.Model {
5462
+ static names() {
5463
+ return {
5464
+ resources: 'Resources',
5465
+ virtualResourceName: 'VirtualResourceName',
5466
+ };
5467
+ }
5468
+ static types() {
5469
+ return {
5470
+ resources: { 'type': 'array', 'itemType': UpdateVirtualResourceRequestResources },
5471
+ virtualResourceName: 'string',
5472
+ };
5473
+ }
5474
+ constructor(map) {
5475
+ super(map);
5476
+ }
5477
+ }
5478
+ exports.UpdateVirtualResourceRequest = UpdateVirtualResourceRequest;
5479
+ class UpdateVirtualResourceResponseBody extends $tea.Model {
5480
+ static names() {
5481
+ return {
5482
+ message: 'Message',
5483
+ requestId: 'RequestId',
5484
+ };
5485
+ }
5486
+ static types() {
5487
+ return {
5488
+ message: 'string',
5489
+ requestId: 'string',
5490
+ };
5491
+ }
5492
+ constructor(map) {
5493
+ super(map);
5494
+ }
5495
+ }
5496
+ exports.UpdateVirtualResourceResponseBody = UpdateVirtualResourceResponseBody;
5497
+ class UpdateVirtualResourceResponse extends $tea.Model {
5498
+ static names() {
5499
+ return {
5500
+ headers: 'headers',
5501
+ statusCode: 'statusCode',
5502
+ body: 'body',
5503
+ };
5504
+ }
5505
+ static types() {
5506
+ return {
5507
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5508
+ statusCode: 'number',
5509
+ body: UpdateVirtualResourceResponseBody,
5510
+ };
5511
+ }
5512
+ constructor(map) {
5513
+ super(map);
5514
+ }
5515
+ }
5516
+ exports.UpdateVirtualResourceResponse = UpdateVirtualResourceResponse;
4851
5517
  class ServiceLabels extends $tea.Model {
4852
5518
  static names() {
4853
5519
  return {
@@ -4866,6 +5532,26 @@ class ServiceLabels extends $tea.Model {
4866
5532
  }
4867
5533
  }
4868
5534
  exports.ServiceLabels = ServiceLabels;
5535
+ class AttachGatewayDomainRequestCustomDomain extends $tea.Model {
5536
+ static names() {
5537
+ return {
5538
+ certificateId: 'CertificateId',
5539
+ domain: 'Domain',
5540
+ type: 'Type',
5541
+ };
5542
+ }
5543
+ static types() {
5544
+ return {
5545
+ certificateId: 'string',
5546
+ domain: 'string',
5547
+ type: 'string',
5548
+ };
5549
+ }
5550
+ constructor(map) {
5551
+ super(map);
5552
+ }
5553
+ }
5554
+ exports.AttachGatewayDomainRequestCustomDomain = AttachGatewayDomainRequestCustomDomain;
4869
5555
  class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
4870
5556
  static names() {
4871
5557
  return {
@@ -4884,6 +5570,24 @@ class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
4884
5570
  }
4885
5571
  }
4886
5572
  exports.CreateAclPolicyRequestAclPolicyList = CreateAclPolicyRequestAclPolicyList;
5573
+ class CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $tea.Model {
5574
+ static names() {
5575
+ return {
5576
+ region: 'Region',
5577
+ vpcId: 'VpcId',
5578
+ };
5579
+ }
5580
+ static types() {
5581
+ return {
5582
+ region: 'string',
5583
+ vpcId: 'string',
5584
+ };
5585
+ }
5586
+ constructor(map) {
5587
+ super(map);
5588
+ }
5589
+ }
5590
+ exports.CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs = CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs;
4887
5591
  class CreateResourceRequestSelfManagedResourceOptionsNodeTolerations extends $tea.Model {
4888
5592
  static names() {
4889
5593
  return {
@@ -5038,6 +5742,32 @@ class CreateServiceCronScalerRequestScaleJobs extends $tea.Model {
5038
5742
  }
5039
5743
  }
5040
5744
  exports.CreateServiceCronScalerRequestScaleJobs = CreateServiceCronScalerRequestScaleJobs;
5745
+ class CreateVirtualResourceRequestResources extends $tea.Model {
5746
+ static names() {
5747
+ return {
5748
+ instanceType: 'InstanceType',
5749
+ priority: 'Priority',
5750
+ quotaId: 'QuotaId',
5751
+ region: 'Region',
5752
+ resourceId: 'ResourceId',
5753
+ spotPriceLimit: 'SpotPriceLimit',
5754
+ };
5755
+ }
5756
+ static types() {
5757
+ return {
5758
+ instanceType: 'string',
5759
+ priority: 'number',
5760
+ quotaId: 'string',
5761
+ region: 'string',
5762
+ resourceId: 'string',
5763
+ spotPriceLimit: 'number',
5764
+ };
5765
+ }
5766
+ constructor(map) {
5767
+ super(map);
5768
+ }
5769
+ }
5770
+ exports.CreateVirtualResourceRequestResources = CreateVirtualResourceRequestResources;
5041
5771
  class DeleteAclPolicyRequestAclPolicyList extends $tea.Model {
5042
5772
  static names() {
5043
5773
  return {
@@ -5056,6 +5786,24 @@ class DeleteAclPolicyRequestAclPolicyList extends $tea.Model {
5056
5786
  }
5057
5787
  }
5058
5788
  exports.DeleteAclPolicyRequestAclPolicyList = DeleteAclPolicyRequestAclPolicyList;
5789
+ class DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $tea.Model {
5790
+ static names() {
5791
+ return {
5792
+ region: 'Region',
5793
+ vpcId: 'VpcId',
5794
+ };
5795
+ }
5796
+ static types() {
5797
+ return {
5798
+ region: 'string',
5799
+ vpcId: 'string',
5800
+ };
5801
+ }
5802
+ constructor(map) {
5803
+ super(map);
5804
+ }
5805
+ }
5806
+ exports.DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs = DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs;
5059
5807
  class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $tea.Model {
5060
5808
  static names() {
5061
5809
  return {
@@ -5208,6 +5956,50 @@ class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.Model {
5208
5956
  }
5209
5957
  }
5210
5958
  exports.DescribeSpotDiscountHistoryResponseBodySpotDiscounts = DescribeSpotDiscountHistoryResponseBodySpotDiscounts;
5959
+ class DescribeVirtualResourceResponseBodyResources extends $tea.Model {
5960
+ static names() {
5961
+ return {
5962
+ instanceType: 'InstanceType',
5963
+ priority: 'Priority',
5964
+ quotaId: 'QuotaId',
5965
+ region: 'Region',
5966
+ resourceId: 'ResourceId',
5967
+ spotPriceLimit: 'SpotPriceLimit',
5968
+ };
5969
+ }
5970
+ static types() {
5971
+ return {
5972
+ instanceType: 'string',
5973
+ priority: 'number',
5974
+ quotaId: 'string',
5975
+ region: 'string',
5976
+ resourceId: 'string',
5977
+ spotPriceLimit: 'number',
5978
+ };
5979
+ }
5980
+ constructor(map) {
5981
+ super(map);
5982
+ }
5983
+ }
5984
+ exports.DescribeVirtualResourceResponseBodyResources = DescribeVirtualResourceResponseBodyResources;
5985
+ class DetachGatewayDomainRequestCustomDomain extends $tea.Model {
5986
+ static names() {
5987
+ return {
5988
+ domain: 'Domain',
5989
+ type: 'Type',
5990
+ };
5991
+ }
5992
+ static types() {
5993
+ return {
5994
+ domain: 'string',
5995
+ type: 'string',
5996
+ };
5997
+ }
5998
+ constructor(map) {
5999
+ super(map);
6000
+ }
6001
+ }
6002
+ exports.DetachGatewayDomainRequestCustomDomain = DetachGatewayDomainRequestCustomDomain;
5211
6003
  class ListAclPolicyResponseBodyInternetAclPolicyListAclPolicyList extends $tea.Model {
5212
6004
  static names() {
5213
6005
  return {
@@ -5313,6 +6105,7 @@ exports.ListBenchmarkTaskResponseBodyTasks = ListBenchmarkTaskResponseBodyTasks;
5313
6105
  class ListGatewayResponseBodyGateways extends $tea.Model {
5314
6106
  static names() {
5315
6107
  return {
6108
+ chargeType: 'ChargeType',
5316
6109
  createTime: 'CreateTime',
5317
6110
  gatewayId: 'GatewayId',
5318
6111
  gatewayName: 'GatewayName',
@@ -5328,6 +6121,7 @@ class ListGatewayResponseBodyGateways extends $tea.Model {
5328
6121
  }
5329
6122
  static types() {
5330
6123
  return {
6124
+ chargeType: 'string',
5331
6125
  createTime: 'string',
5332
6126
  gatewayId: 'string',
5333
6127
  gatewayName: 'string',
@@ -5346,6 +6140,26 @@ class ListGatewayResponseBodyGateways extends $tea.Model {
5346
6140
  }
5347
6141
  }
5348
6142
  exports.ListGatewayResponseBodyGateways = ListGatewayResponseBodyGateways;
6143
+ class ListGatewayDomainsResponseBodyCustomDomains extends $tea.Model {
6144
+ static names() {
6145
+ return {
6146
+ certificateId: 'CertificateId',
6147
+ domain: 'Domain',
6148
+ type: 'Type',
6149
+ };
6150
+ }
6151
+ static types() {
6152
+ return {
6153
+ certificateId: 'string',
6154
+ domain: 'string',
6155
+ type: 'string',
6156
+ };
6157
+ }
6158
+ constructor(map) {
6159
+ super(map);
6160
+ }
6161
+ }
6162
+ exports.ListGatewayDomainsResponseBodyCustomDomains = ListGatewayDomainsResponseBodyCustomDomains;
5349
6163
  class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $tea.Model {
5350
6164
  static names() {
5351
6165
  return {
@@ -5370,6 +6184,42 @@ class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList extends $tea
5370
6184
  }
5371
6185
  }
5372
6186
  exports.ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList = ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList;
6187
+ class ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs extends $tea.Model {
6188
+ static names() {
6189
+ return {
6190
+ region: 'Region',
6191
+ vpcId: 'VpcId',
6192
+ };
6193
+ }
6194
+ static types() {
6195
+ return {
6196
+ region: 'string',
6197
+ vpcId: 'string',
6198
+ };
6199
+ }
6200
+ constructor(map) {
6201
+ super(map);
6202
+ }
6203
+ }
6204
+ exports.ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs = ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs;
6205
+ class ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList extends $tea.Model {
6206
+ static names() {
6207
+ return {
6208
+ peerVpcs: 'PeerVpcs',
6209
+ vpcId: 'VpcId',
6210
+ };
6211
+ }
6212
+ static types() {
6213
+ return {
6214
+ peerVpcs: { 'type': 'array', 'itemType': ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs },
6215
+ vpcId: 'string',
6216
+ };
6217
+ }
6218
+ constructor(map) {
6219
+ super(map);
6220
+ }
6221
+ }
6222
+ exports.ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList = ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList;
5373
6223
  class ListServiceVersionsResponseBodyVersions extends $tea.Model {
5374
6224
  static names() {
5375
6225
  return {
@@ -5414,6 +6264,28 @@ class ListTenantAddonsResponseBodyAddons extends $tea.Model {
5414
6264
  }
5415
6265
  }
5416
6266
  exports.ListTenantAddonsResponseBodyAddons = ListTenantAddonsResponseBodyAddons;
6267
+ class ListVirtualResourceResponseBodyVirtualResources extends $tea.Model {
6268
+ static names() {
6269
+ return {
6270
+ createTime: 'CreateTime',
6271
+ updateTime: 'UpdateTime',
6272
+ virtualResourceId: 'VirtualResourceId',
6273
+ virtualResourceName: 'VirtualResourceName',
6274
+ };
6275
+ }
6276
+ static types() {
6277
+ return {
6278
+ createTime: 'string',
6279
+ updateTime: 'string',
6280
+ virtualResourceId: 'string',
6281
+ virtualResourceName: 'string',
6282
+ };
6283
+ }
6284
+ constructor(map) {
6285
+ super(map);
6286
+ }
6287
+ }
6288
+ exports.ListVirtualResourceResponseBodyVirtualResources = ListVirtualResourceResponseBodyVirtualResources;
5417
6289
  class UpdateResourceRequestSelfManagedResourceOptionsNodeTolerations extends $tea.Model {
5418
6290
  static names() {
5419
6291
  return {
@@ -5564,6 +6436,32 @@ class UpdateServiceCronScalerRequestScaleJobs extends $tea.Model {
5564
6436
  }
5565
6437
  }
5566
6438
  exports.UpdateServiceCronScalerRequestScaleJobs = UpdateServiceCronScalerRequestScaleJobs;
6439
+ class UpdateVirtualResourceRequestResources extends $tea.Model {
6440
+ static names() {
6441
+ return {
6442
+ instanceType: 'InstanceType',
6443
+ priority: 'Priority',
6444
+ quotaId: 'QuotaId',
6445
+ region: 'Region',
6446
+ resourceId: 'ResourceId',
6447
+ spotPriceLimit: 'SpotPriceLimit',
6448
+ };
6449
+ }
6450
+ static types() {
6451
+ return {
6452
+ instanceType: 'string',
6453
+ priority: 'number',
6454
+ quotaId: 'string',
6455
+ region: 'string',
6456
+ resourceId: 'string',
6457
+ spotPriceLimit: 'number',
6458
+ };
6459
+ }
6460
+ constructor(map) {
6461
+ super(map);
6462
+ }
6463
+ }
6464
+ exports.UpdateVirtualResourceRequestResources = UpdateVirtualResourceRequestResources;
5567
6465
  class Client extends openapi_client_1.default {
5568
6466
  constructor(config) {
5569
6467
  super(config);
@@ -5597,6 +6495,53 @@ class Client extends openapi_client_1.default {
5597
6495
  }
5598
6496
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
5599
6497
  }
6498
+ /**
6499
+ * Binds a custom domain name to a private gateway.
6500
+ *
6501
+ * @param tmpReq - AttachGatewayDomainRequest
6502
+ * @param headers - map
6503
+ * @param runtime - runtime options for this request RuntimeOptions
6504
+ * @returns AttachGatewayDomainResponse
6505
+ */
6506
+ async attachGatewayDomainWithOptions(ClusterId, GatewayId, tmpReq, headers, runtime) {
6507
+ tea_util_1.default.validateModel(tmpReq);
6508
+ let request = new AttachGatewayDomainShrinkRequest({});
6509
+ openapi_util_1.default.convert(tmpReq, request);
6510
+ if (!tea_util_1.default.isUnset(tmpReq.customDomain)) {
6511
+ request.customDomainShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.customDomain, "CustomDomain", "json");
6512
+ }
6513
+ let query = {};
6514
+ if (!tea_util_1.default.isUnset(request.customDomainShrink)) {
6515
+ query["CustomDomain"] = request.customDomainShrink;
6516
+ }
6517
+ let req = new $OpenApi.OpenApiRequest({
6518
+ headers: headers,
6519
+ query: openapi_util_1.default.query(query),
6520
+ });
6521
+ let params = new $OpenApi.Params({
6522
+ action: "AttachGatewayDomain",
6523
+ version: "2021-07-01",
6524
+ protocol: "HTTPS",
6525
+ pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/domain/attach`,
6526
+ method: "PUT",
6527
+ authType: "AK",
6528
+ style: "ROA",
6529
+ reqBodyType: "json",
6530
+ bodyType: "json",
6531
+ });
6532
+ return $tea.cast(await this.callApi(params, req, runtime), new AttachGatewayDomainResponse({}));
6533
+ }
6534
+ /**
6535
+ * Binds a custom domain name to a private gateway.
6536
+ *
6537
+ * @param request - AttachGatewayDomainRequest
6538
+ * @returns AttachGatewayDomainResponse
6539
+ */
6540
+ async attachGatewayDomain(ClusterId, GatewayId, request) {
6541
+ let runtime = new $Util.RuntimeOptions({});
6542
+ let headers = {};
6543
+ return await this.attachGatewayDomainWithOptions(ClusterId, GatewayId, request, headers, runtime);
6544
+ }
5600
6545
  /**
5601
6546
  * Clones a service.
5602
6547
  *
@@ -5679,7 +6624,7 @@ class Client extends openapi_client_1.default {
5679
6624
  return await this.commitServiceWithOptions(ClusterId, ServiceName, headers, runtime);
5680
6625
  }
5681
6626
  /**
5682
- * 创建网关访问权限ACL Policy
6627
+ * Creates an access control list (ACL) for a private gateway. The IP CIDR blocks added to the ACL can access the private gateway.
5683
6628
  *
5684
6629
  * @param tmpReq - CreateAclPolicyRequest
5685
6630
  * @param headers - map
@@ -5718,7 +6663,7 @@ class Client extends openapi_client_1.default {
5718
6663
  return $tea.cast(await this.callApi(params, req, runtime), new CreateAclPolicyResponse({}));
5719
6664
  }
5720
6665
  /**
5721
- * 创建网关访问权限ACL Policy
6666
+ * Creates an access control list (ACL) for a private gateway. The IP CIDR blocks added to the ACL can access the private gateway.
5722
6667
  *
5723
6668
  * @param request - CreateAclPolicyRequest
5724
6669
  * @returns CreateAclPolicyResponse
@@ -5832,7 +6777,7 @@ class Client extends openapi_client_1.default {
5832
6777
  return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
5833
6778
  }
5834
6779
  /**
5835
- * Creates a private gateway. You can create a private gateway only in a self-managed resource group.
6780
+ * Creates a gateway.
5836
6781
  *
5837
6782
  * @param request - CreateGatewayRequest
5838
6783
  * @param headers - map
@@ -5846,6 +6791,12 @@ class Client extends openapi_client_1.default {
5846
6791
  query["ResourceName"] = request.resourceName;
5847
6792
  }
5848
6793
  let body = {};
6794
+ if (!tea_util_1.default.isUnset(request.autoRenewal)) {
6795
+ body["AutoRenewal"] = request.autoRenewal;
6796
+ }
6797
+ if (!tea_util_1.default.isUnset(request.chargeType)) {
6798
+ body["ChargeType"] = request.chargeType;
6799
+ }
5849
6800
  if (!tea_util_1.default.isUnset(request.enableInternet)) {
5850
6801
  body["EnableInternet"] = request.enableInternet;
5851
6802
  }
@@ -5880,7 +6831,7 @@ class Client extends openapi_client_1.default {
5880
6831
  return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayResponse({}));
5881
6832
  }
5882
6833
  /**
5883
- * Creates a private gateway. You can create a private gateway only in a self-managed resource group.
6834
+ * Creates a gateway.
5884
6835
  *
5885
6836
  * @param request - CreateGatewayRequest
5886
6837
  * @returns CreateGatewayResponse
@@ -5935,6 +6886,56 @@ class Client extends openapi_client_1.default {
5935
6886
  let headers = {};
5936
6887
  return await this.createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
5937
6888
  }
6889
+ /**
6890
+ * 创建网关内网访问端点跨VPC连接
6891
+ *
6892
+ * @param tmpReq - CreateGatewayIntranetLinkedVpcPeerRequest
6893
+ * @param headers - map
6894
+ * @param runtime - runtime options for this request RuntimeOptions
6895
+ * @returns CreateGatewayIntranetLinkedVpcPeerResponse
6896
+ */
6897
+ async createGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, tmpReq, headers, runtime) {
6898
+ tea_util_1.default.validateModel(tmpReq);
6899
+ let request = new CreateGatewayIntranetLinkedVpcPeerShrinkRequest({});
6900
+ openapi_util_1.default.convert(tmpReq, request);
6901
+ if (!tea_util_1.default.isUnset(tmpReq.peerVpcs)) {
6902
+ request.peerVpcsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.peerVpcs, "PeerVpcs", "json");
6903
+ }
6904
+ let query = {};
6905
+ if (!tea_util_1.default.isUnset(request.peerVpcsShrink)) {
6906
+ query["PeerVpcs"] = request.peerVpcsShrink;
6907
+ }
6908
+ if (!tea_util_1.default.isUnset(request.vpcId)) {
6909
+ query["VpcId"] = request.vpcId;
6910
+ }
6911
+ let req = new $OpenApi.OpenApiRequest({
6912
+ headers: headers,
6913
+ query: openapi_util_1.default.query(query),
6914
+ });
6915
+ let params = new $OpenApi.Params({
6916
+ action: "CreateGatewayIntranetLinkedVpcPeer",
6917
+ version: "2021-07-01",
6918
+ protocol: "HTTPS",
6919
+ pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc_peer`,
6920
+ method: "POST",
6921
+ authType: "AK",
6922
+ style: "ROA",
6923
+ reqBodyType: "json",
6924
+ bodyType: "json",
6925
+ });
6926
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcPeerResponse({}));
6927
+ }
6928
+ /**
6929
+ * 创建网关内网访问端点跨VPC连接
6930
+ *
6931
+ * @param request - CreateGatewayIntranetLinkedVpcPeerRequest
6932
+ * @returns CreateGatewayIntranetLinkedVpcPeerResponse
6933
+ */
6934
+ async createGatewayIntranetLinkedVpcPeer(ClusterId, GatewayId, request) {
6935
+ let runtime = new $Util.RuntimeOptions({});
6936
+ let headers = {};
6937
+ return await this.createGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
6938
+ }
5938
6939
  /**
5939
6940
  * Creates a resource group.
5940
6941
  *
@@ -6257,61 +7258,106 @@ class Client extends openapi_client_1.default {
6257
7258
  /**
6258
7259
  * Enables the Cron Horizontal Pod Autoscaler (CronHPA) feature for a service.
6259
7260
  *
6260
- * @param request - CreateServiceCronScalerRequest
6261
- * @returns CreateServiceCronScalerResponse
7261
+ * @param request - CreateServiceCronScalerRequest
7262
+ * @returns CreateServiceCronScalerResponse
7263
+ */
7264
+ async createServiceCronScaler(ClusterId, ServiceName, request) {
7265
+ let runtime = new $Util.RuntimeOptions({});
7266
+ let headers = {};
7267
+ return await this.createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
7268
+ }
7269
+ /**
7270
+ * Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
7271
+ *
7272
+ * @param request - CreateServiceMirrorRequest
7273
+ * @param headers - map
7274
+ * @param runtime - runtime options for this request RuntimeOptions
7275
+ * @returns CreateServiceMirrorResponse
7276
+ */
7277
+ async createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7278
+ tea_util_1.default.validateModel(request);
7279
+ let body = {};
7280
+ if (!tea_util_1.default.isUnset(request.ratio)) {
7281
+ body["Ratio"] = request.ratio;
7282
+ }
7283
+ if (!tea_util_1.default.isUnset(request.target)) {
7284
+ body["Target"] = request.target;
7285
+ }
7286
+ let req = new $OpenApi.OpenApiRequest({
7287
+ headers: headers,
7288
+ body: openapi_util_1.default.parseToMap(body),
7289
+ });
7290
+ let params = new $OpenApi.Params({
7291
+ action: "CreateServiceMirror",
7292
+ version: "2021-07-01",
7293
+ protocol: "HTTPS",
7294
+ pathname: `/api/v2/services/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(ServiceName)}/mirror`,
7295
+ method: "POST",
7296
+ authType: "AK",
7297
+ style: "ROA",
7298
+ reqBodyType: "json",
7299
+ bodyType: "json",
7300
+ });
7301
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
7302
+ }
7303
+ /**
7304
+ * Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
7305
+ *
7306
+ * @param request - CreateServiceMirrorRequest
7307
+ * @returns CreateServiceMirrorResponse
6262
7308
  */
6263
- async createServiceCronScaler(ClusterId, ServiceName, request) {
7309
+ async createServiceMirror(ClusterId, ServiceName, request) {
6264
7310
  let runtime = new $Util.RuntimeOptions({});
6265
7311
  let headers = {};
6266
- return await this.createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
7312
+ return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
6267
7313
  }
6268
7314
  /**
6269
- * Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
7315
+ * Creates a virtual resource group.
6270
7316
  *
6271
- * @param request - CreateServiceMirrorRequest
7317
+ * @param request - CreateVirtualResourceRequest
6272
7318
  * @param headers - map
6273
7319
  * @param runtime - runtime options for this request RuntimeOptions
6274
- * @returns CreateServiceMirrorResponse
7320
+ * @returns CreateVirtualResourceResponse
6275
7321
  */
6276
- async createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime) {
7322
+ async createVirtualResourceWithOptions(request, headers, runtime) {
6277
7323
  tea_util_1.default.validateModel(request);
6278
7324
  let body = {};
6279
- if (!tea_util_1.default.isUnset(request.ratio)) {
6280
- body["Ratio"] = request.ratio;
7325
+ if (!tea_util_1.default.isUnset(request.resources)) {
7326
+ body["Resources"] = request.resources;
6281
7327
  }
6282
- if (!tea_util_1.default.isUnset(request.target)) {
6283
- body["Target"] = request.target;
7328
+ if (!tea_util_1.default.isUnset(request.virtualResourceName)) {
7329
+ body["VirtualResourceName"] = request.virtualResourceName;
6284
7330
  }
6285
7331
  let req = new $OpenApi.OpenApiRequest({
6286
7332
  headers: headers,
6287
7333
  body: openapi_util_1.default.parseToMap(body),
6288
7334
  });
6289
7335
  let params = new $OpenApi.Params({
6290
- action: "CreateServiceMirror",
7336
+ action: "CreateVirtualResource",
6291
7337
  version: "2021-07-01",
6292
7338
  protocol: "HTTPS",
6293
- pathname: `/api/v2/services/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(ServiceName)}/mirror`,
7339
+ pathname: `/api/v2/virtualresources`,
6294
7340
  method: "POST",
6295
7341
  authType: "AK",
6296
7342
  style: "ROA",
6297
7343
  reqBodyType: "json",
6298
7344
  bodyType: "json",
6299
7345
  });
6300
- return $tea.cast(await this.callApi(params, req, runtime), new CreateServiceMirrorResponse({}));
7346
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateVirtualResourceResponse({}));
6301
7347
  }
6302
7348
  /**
6303
- * Enables the traffic mirroring feature for a service. After the feature is enabled, requests received by the service can be mirrored to another service.
7349
+ * Creates a virtual resource group.
6304
7350
  *
6305
- * @param request - CreateServiceMirrorRequest
6306
- * @returns CreateServiceMirrorResponse
7351
+ * @param request - CreateVirtualResourceRequest
7352
+ * @returns CreateVirtualResourceResponse
6307
7353
  */
6308
- async createServiceMirror(ClusterId, ServiceName, request) {
7354
+ async createVirtualResource(request) {
6309
7355
  let runtime = new $Util.RuntimeOptions({});
6310
7356
  let headers = {};
6311
- return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
7357
+ return await this.createVirtualResourceWithOptions(request, headers, runtime);
6312
7358
  }
6313
7359
  /**
6314
- * 移除网关acl policy entry
7360
+ * Deletes an access control list (ACL) for a private gateway. The IP CIDR block that is deleted from the ACL cannot access the private gateway.
6315
7361
  *
6316
7362
  * @param tmpReq - DeleteAclPolicyRequest
6317
7363
  * @param headers - map
@@ -6350,7 +7396,7 @@ class Client extends openapi_client_1.default {
6350
7396
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteAclPolicyResponse({}));
6351
7397
  }
6352
7398
  /**
6353
- * 移除网关acl policy entry
7399
+ * Deletes an access control list (ACL) for a private gateway. The IP CIDR block that is deleted from the ACL cannot access the private gateway.
6354
7400
  *
6355
7401
  * @param request - DeleteAclPolicyRequest
6356
7402
  * @returns DeleteAclPolicyResponse
@@ -6471,6 +7517,56 @@ class Client extends openapi_client_1.default {
6471
7517
  let headers = {};
6472
7518
  return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
6473
7519
  }
7520
+ /**
7521
+ * 删除网关内网访问端点跨VPC连接
7522
+ *
7523
+ * @param tmpReq - DeleteGatewayIntranetLinkedVpcPeerRequest
7524
+ * @param headers - map
7525
+ * @param runtime - runtime options for this request RuntimeOptions
7526
+ * @returns DeleteGatewayIntranetLinkedVpcPeerResponse
7527
+ */
7528
+ async deleteGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, tmpReq, headers, runtime) {
7529
+ tea_util_1.default.validateModel(tmpReq);
7530
+ let request = new DeleteGatewayIntranetLinkedVpcPeerShrinkRequest({});
7531
+ openapi_util_1.default.convert(tmpReq, request);
7532
+ if (!tea_util_1.default.isUnset(tmpReq.peerVpcs)) {
7533
+ request.peerVpcsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.peerVpcs, "PeerVpcs", "json");
7534
+ }
7535
+ let query = {};
7536
+ if (!tea_util_1.default.isUnset(request.peerVpcsShrink)) {
7537
+ query["PeerVpcs"] = request.peerVpcsShrink;
7538
+ }
7539
+ if (!tea_util_1.default.isUnset(request.vpcId)) {
7540
+ query["VpcId"] = request.vpcId;
7541
+ }
7542
+ let req = new $OpenApi.OpenApiRequest({
7543
+ headers: headers,
7544
+ query: openapi_util_1.default.query(query),
7545
+ });
7546
+ let params = new $OpenApi.Params({
7547
+ action: "DeleteGatewayIntranetLinkedVpcPeer",
7548
+ version: "2021-07-01",
7549
+ protocol: "HTTPS",
7550
+ pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc_peer`,
7551
+ method: "DELETE",
7552
+ authType: "AK",
7553
+ style: "ROA",
7554
+ reqBodyType: "json",
7555
+ bodyType: "json",
7556
+ });
7557
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcPeerResponse({}));
7558
+ }
7559
+ /**
7560
+ * 删除网关内网访问端点跨VPC连接
7561
+ *
7562
+ * @param request - DeleteGatewayIntranetLinkedVpcPeerRequest
7563
+ * @returns DeleteGatewayIntranetLinkedVpcPeerResponse
7564
+ */
7565
+ async deleteGatewayIntranetLinkedVpcPeer(ClusterId, GatewayId, request) {
7566
+ let runtime = new $Util.RuntimeOptions({});
7567
+ let headers = {};
7568
+ return await this.deleteGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
7569
+ }
6474
7570
  /**
6475
7571
  * Deletes a resource group that contains no resources or instances.
6476
7572
  *
@@ -6842,6 +7938,39 @@ class Client extends openapi_client_1.default {
6842
7938
  let headers = {};
6843
7939
  return await this.deleteServiceMirrorWithOptions(ClusterId, ServiceName, headers, runtime);
6844
7940
  }
7941
+ /**
7942
+ * Deletes a virtual resource group that contains no resources or instances.
7943
+ *
7944
+ * @param headers - map
7945
+ * @param runtime - runtime options for this request RuntimeOptions
7946
+ * @returns DeleteVirtualResourceResponse
7947
+ */
7948
+ async deleteVirtualResourceWithOptions(ClusterId, VirtualResourceId, headers, runtime) {
7949
+ let req = new $OpenApi.OpenApiRequest({
7950
+ headers: headers,
7951
+ });
7952
+ let params = new $OpenApi.Params({
7953
+ action: "DeleteVirtualResource",
7954
+ version: "2021-07-01",
7955
+ protocol: "HTTPS",
7956
+ pathname: `/api/v2/virtualresources/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(VirtualResourceId)}`,
7957
+ method: "DELETE",
7958
+ authType: "AK",
7959
+ style: "ROA",
7960
+ reqBodyType: "json",
7961
+ bodyType: "json",
7962
+ });
7963
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteVirtualResourceResponse({}));
7964
+ }
7965
+ /**
7966
+ * Deletes a virtual resource group that contains no resources or instances.
7967
+ * @returns DeleteVirtualResourceResponse
7968
+ */
7969
+ async deleteVirtualResource(ClusterId, VirtualResourceId) {
7970
+ let runtime = new $Util.RuntimeOptions({});
7971
+ let headers = {};
7972
+ return await this.deleteVirtualResourceWithOptions(ClusterId, VirtualResourceId, headers, runtime);
7973
+ }
6845
7974
  /**
6846
7975
  * Queries details about the configurations of a stress testing task.
6847
7976
  *
@@ -7448,6 +8577,86 @@ class Client extends openapi_client_1.default {
7448
8577
  let headers = {};
7449
8578
  return await this.describeSpotDiscountHistoryWithOptions(request, headers, runtime);
7450
8579
  }
8580
+ /**
8581
+ * Views the details of a virtual resource group.
8582
+ *
8583
+ * @param headers - map
8584
+ * @param runtime - runtime options for this request RuntimeOptions
8585
+ * @returns DescribeVirtualResourceResponse
8586
+ */
8587
+ async describeVirtualResourceWithOptions(ClusterId, VirtualResourceId, headers, runtime) {
8588
+ let req = new $OpenApi.OpenApiRequest({
8589
+ headers: headers,
8590
+ });
8591
+ let params = new $OpenApi.Params({
8592
+ action: "DescribeVirtualResource",
8593
+ version: "2021-07-01",
8594
+ protocol: "HTTPS",
8595
+ pathname: `/api/v2/virtualresources/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(VirtualResourceId)}`,
8596
+ method: "GET",
8597
+ authType: "AK",
8598
+ style: "ROA",
8599
+ reqBodyType: "json",
8600
+ bodyType: "json",
8601
+ });
8602
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeVirtualResourceResponse({}));
8603
+ }
8604
+ /**
8605
+ * Views the details of a virtual resource group.
8606
+ * @returns DescribeVirtualResourceResponse
8607
+ */
8608
+ async describeVirtualResource(ClusterId, VirtualResourceId) {
8609
+ let runtime = new $Util.RuntimeOptions({});
8610
+ let headers = {};
8611
+ return await this.describeVirtualResourceWithOptions(ClusterId, VirtualResourceId, headers, runtime);
8612
+ }
8613
+ /**
8614
+ * Unbinds a custom domain name from a private gateway.
8615
+ *
8616
+ * @param tmpReq - DetachGatewayDomainRequest
8617
+ * @param headers - map
8618
+ * @param runtime - runtime options for this request RuntimeOptions
8619
+ * @returns DetachGatewayDomainResponse
8620
+ */
8621
+ async detachGatewayDomainWithOptions(ClusterId, GatewayId, tmpReq, headers, runtime) {
8622
+ tea_util_1.default.validateModel(tmpReq);
8623
+ let request = new DetachGatewayDomainShrinkRequest({});
8624
+ openapi_util_1.default.convert(tmpReq, request);
8625
+ if (!tea_util_1.default.isUnset(tmpReq.customDomain)) {
8626
+ request.customDomainShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.customDomain, "CustomDomain", "json");
8627
+ }
8628
+ let query = {};
8629
+ if (!tea_util_1.default.isUnset(request.customDomainShrink)) {
8630
+ query["CustomDomain"] = request.customDomainShrink;
8631
+ }
8632
+ let req = new $OpenApi.OpenApiRequest({
8633
+ headers: headers,
8634
+ query: openapi_util_1.default.query(query),
8635
+ });
8636
+ let params = new $OpenApi.Params({
8637
+ action: "DetachGatewayDomain",
8638
+ version: "2021-07-01",
8639
+ protocol: "HTTPS",
8640
+ pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/domain/detach`,
8641
+ method: "PUT",
8642
+ authType: "AK",
8643
+ style: "ROA",
8644
+ reqBodyType: "json",
8645
+ bodyType: "json",
8646
+ });
8647
+ return $tea.cast(await this.callApi(params, req, runtime), new DetachGatewayDomainResponse({}));
8648
+ }
8649
+ /**
8650
+ * Unbinds a custom domain name from a private gateway.
8651
+ *
8652
+ * @param request - DetachGatewayDomainRequest
8653
+ * @returns DetachGatewayDomainResponse
8654
+ */
8655
+ async detachGatewayDomain(ClusterId, GatewayId, request) {
8656
+ let runtime = new $Util.RuntimeOptions({});
8657
+ let headers = {};
8658
+ return await this.detachGatewayDomainWithOptions(ClusterId, GatewayId, request, headers, runtime);
8659
+ }
7451
8660
  /**
7452
8661
  * Switches a container service to development mode or exits development mode.
7453
8662
  *
@@ -7491,7 +8700,7 @@ class Client extends openapi_client_1.default {
7491
8700
  return await this.developServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
7492
8701
  }
7493
8702
  /**
7494
- * 查询网关所有ACL Policy
8703
+ * Queries access control lists (ACLs) created for a private gateway.
7495
8704
  *
7496
8705
  * @param request - ListAclPolicyRequest
7497
8706
  * @param headers - map
@@ -7522,7 +8731,7 @@ class Client extends openapi_client_1.default {
7522
8731
  return $tea.cast(await this.callApi(params, req, runtime), new ListAclPolicyResponse({}));
7523
8732
  }
7524
8733
  /**
7525
- * 查询网关所有ACL Policy
8734
+ * Queries access control lists (ACLs) created for a private gateway.
7526
8735
  *
7527
8736
  * @param request - ListAclPolicyRequest
7528
8737
  * @returns ListAclPolicyResponse
@@ -7584,7 +8793,7 @@ class Client extends openapi_client_1.default {
7584
8793
  return await this.listBenchmarkTaskWithOptions(request, headers, runtime);
7585
8794
  }
7586
8795
  /**
7587
- * 列举gateway
8796
+ * Queries a list of private gateways.
7588
8797
  *
7589
8798
  * @param request - ListGatewayRequest
7590
8799
  * @param headers - map
@@ -7606,6 +8815,9 @@ class Client extends openapi_client_1.default {
7606
8815
  if (!tea_util_1.default.isUnset(request.pageSize)) {
7607
8816
  query["PageSize"] = request.pageSize;
7608
8817
  }
8818
+ if (!tea_util_1.default.isUnset(request.resourceName)) {
8819
+ query["ResourceName"] = request.resourceName;
8820
+ }
7609
8821
  let req = new $OpenApi.OpenApiRequest({
7610
8822
  headers: headers,
7611
8823
  query: openapi_util_1.default.query(query),
@@ -7624,7 +8836,7 @@ class Client extends openapi_client_1.default {
7624
8836
  return $tea.cast(await this.callApi(params, req, runtime), new ListGatewayResponse({}));
7625
8837
  }
7626
8838
  /**
7627
- * 列举gateway
8839
+ * Queries a list of private gateways.
7628
8840
  *
7629
8841
  * @param request - ListGatewayRequest
7630
8842
  * @returns ListGatewayResponse
@@ -7634,6 +8846,39 @@ class Client extends openapi_client_1.default {
7634
8846
  let headers = {};
7635
8847
  return await this.listGatewayWithOptions(request, headers, runtime);
7636
8848
  }
8849
+ /**
8850
+ * Queries a list of custom domain names of a private gateway.
8851
+ *
8852
+ * @param headers - map
8853
+ * @param runtime - runtime options for this request RuntimeOptions
8854
+ * @returns ListGatewayDomainsResponse
8855
+ */
8856
+ async listGatewayDomainsWithOptions(ClusterId, GatewayId, headers, runtime) {
8857
+ let req = new $OpenApi.OpenApiRequest({
8858
+ headers: headers,
8859
+ });
8860
+ let params = new $OpenApi.Params({
8861
+ action: "ListGatewayDomains",
8862
+ version: "2021-07-01",
8863
+ protocol: "HTTPS",
8864
+ pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/domains`,
8865
+ method: "GET",
8866
+ authType: "AK",
8867
+ style: "ROA",
8868
+ reqBodyType: "json",
8869
+ bodyType: "json",
8870
+ });
8871
+ return $tea.cast(await this.callApi(params, req, runtime), new ListGatewayDomainsResponse({}));
8872
+ }
8873
+ /**
8874
+ * Queries a list of custom domain names of a private gateway.
8875
+ * @returns ListGatewayDomainsResponse
8876
+ */
8877
+ async listGatewayDomains(ClusterId, GatewayId) {
8878
+ let runtime = new $Util.RuntimeOptions({});
8879
+ let headers = {};
8880
+ return await this.listGatewayDomainsWithOptions(ClusterId, GatewayId, headers, runtime);
8881
+ }
7637
8882
  /**
7638
8883
  * Queries a list of the internal endpoints of a private gateway.
7639
8884
  *
@@ -7667,6 +8912,48 @@ class Client extends openapi_client_1.default {
7667
8912
  let headers = {};
7668
8913
  return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
7669
8914
  }
8915
+ /**
8916
+ * 获取网关内网访问端点跨VPC连接列表
8917
+ *
8918
+ * @param request - ListGatewayIntranetLinkedVpcPeerRequest
8919
+ * @param headers - map
8920
+ * @param runtime - runtime options for this request RuntimeOptions
8921
+ * @returns ListGatewayIntranetLinkedVpcPeerResponse
8922
+ */
8923
+ async listGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime) {
8924
+ tea_util_1.default.validateModel(request);
8925
+ let query = {};
8926
+ if (!tea_util_1.default.isUnset(request.vpcId)) {
8927
+ query["VpcId"] = request.vpcId;
8928
+ }
8929
+ let req = new $OpenApi.OpenApiRequest({
8930
+ headers: headers,
8931
+ query: openapi_util_1.default.query(query),
8932
+ });
8933
+ let params = new $OpenApi.Params({
8934
+ action: "ListGatewayIntranetLinkedVpcPeer",
8935
+ version: "2021-07-01",
8936
+ protocol: "HTTPS",
8937
+ pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/intranet_endpoint_linked_vpc_peer`,
8938
+ method: "GET",
8939
+ authType: "AK",
8940
+ style: "ROA",
8941
+ reqBodyType: "json",
8942
+ bodyType: "json",
8943
+ });
8944
+ return $tea.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcPeerResponse({}));
8945
+ }
8946
+ /**
8947
+ * 获取网关内网访问端点跨VPC连接列表
8948
+ *
8949
+ * @param request - ListGatewayIntranetLinkedVpcPeerRequest
8950
+ * @returns ListGatewayIntranetLinkedVpcPeerResponse
8951
+ */
8952
+ async listGatewayIntranetLinkedVpcPeer(ClusterId, GatewayId, request) {
8953
+ let runtime = new $Util.RuntimeOptions({});
8954
+ let headers = {};
8955
+ return await this.listGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
8956
+ }
7670
8957
  /**
7671
8958
  * Queries created service groups.
7672
8959
  *
@@ -8094,7 +9381,7 @@ class Client extends openapi_client_1.default {
8094
9381
  return await this.listServiceVersionsWithOptions(ClusterId, ServiceName, request, headers, runtime);
8095
9382
  }
8096
9383
  /**
8097
- * Queries a list of services that are created by the current user.
9384
+ * Lists services.
8098
9385
  *
8099
9386
  * @param tmpReq - ListServicesRequest
8100
9387
  * @param headers - map
@@ -8139,6 +9426,9 @@ class Client extends openapi_client_1.default {
8139
9426
  if (!tea_util_1.default.isUnset(request.resourceName)) {
8140
9427
  query["ResourceName"] = request.resourceName;
8141
9428
  }
9429
+ if (!tea_util_1.default.isUnset(request.role)) {
9430
+ query["Role"] = request.role;
9431
+ }
8142
9432
  if (!tea_util_1.default.isUnset(request.serviceName)) {
8143
9433
  query["ServiceName"] = request.serviceName;
8144
9434
  }
@@ -8175,7 +9465,7 @@ class Client extends openapi_client_1.default {
8175
9465
  return $tea.cast(await this.callApi(params, req, runtime), new ListServicesResponse({}));
8176
9466
  }
8177
9467
  /**
8178
- * Queries a list of services that are created by the current user.
9468
+ * Lists services.
8179
9469
  *
8180
9470
  * @param request - ListServicesRequest
8181
9471
  * @returns ListServicesResponse
@@ -8186,7 +9476,7 @@ class Client extends openapi_client_1.default {
8186
9476
  return await this.listServicesWithOptions(request, headers, runtime);
8187
9477
  }
8188
9478
  /**
8189
- * 获取租户配置列表
9479
+ * Queries a list of tenant plug-ins.
8190
9480
  *
8191
9481
  * @param headers - map
8192
9482
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8210,7 +9500,7 @@ class Client extends openapi_client_1.default {
8210
9500
  return $tea.cast(await this.callApi(params, req, runtime), new ListTenantAddonsResponse({}));
8211
9501
  }
8212
9502
  /**
8213
- * 获取租户配置列表
9503
+ * Queries a list of tenant plug-ins.
8214
9504
  * @returns ListTenantAddonsResponse
8215
9505
  */
8216
9506
  async listTenantAddons() {
@@ -8219,7 +9509,58 @@ class Client extends openapi_client_1.default {
8219
9509
  return await this.listTenantAddonsWithOptions(headers, runtime);
8220
9510
  }
8221
9511
  /**
8222
- * 重置租户配置
9512
+ * Queries a list of virtual resource groups for the current user.
9513
+ *
9514
+ * @param request - ListVirtualResourceRequest
9515
+ * @param headers - map
9516
+ * @param runtime - runtime options for this request RuntimeOptions
9517
+ * @returns ListVirtualResourceResponse
9518
+ */
9519
+ async listVirtualResourceWithOptions(request, headers, runtime) {
9520
+ tea_util_1.default.validateModel(request);
9521
+ let query = {};
9522
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
9523
+ query["PageNumber"] = request.pageNumber;
9524
+ }
9525
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
9526
+ query["PageSize"] = request.pageSize;
9527
+ }
9528
+ if (!tea_util_1.default.isUnset(request.virtualResourceId)) {
9529
+ query["VirtualResourceId"] = request.virtualResourceId;
9530
+ }
9531
+ if (!tea_util_1.default.isUnset(request.virtualResourceName)) {
9532
+ query["VirtualResourceName"] = request.virtualResourceName;
9533
+ }
9534
+ let req = new $OpenApi.OpenApiRequest({
9535
+ headers: headers,
9536
+ query: openapi_util_1.default.query(query),
9537
+ });
9538
+ let params = new $OpenApi.Params({
9539
+ action: "ListVirtualResource",
9540
+ version: "2021-07-01",
9541
+ protocol: "HTTPS",
9542
+ pathname: `/api/v2/virtualresources`,
9543
+ method: "GET",
9544
+ authType: "AK",
9545
+ style: "ROA",
9546
+ reqBodyType: "json",
9547
+ bodyType: "json",
9548
+ });
9549
+ return $tea.cast(await this.callApi(params, req, runtime), new ListVirtualResourceResponse({}));
9550
+ }
9551
+ /**
9552
+ * Queries a list of virtual resource groups for the current user.
9553
+ *
9554
+ * @param request - ListVirtualResourceRequest
9555
+ * @returns ListVirtualResourceResponse
9556
+ */
9557
+ async listVirtualResource(request) {
9558
+ let runtime = new $Util.RuntimeOptions({});
9559
+ let headers = {};
9560
+ return await this.listVirtualResourceWithOptions(request, headers, runtime);
9561
+ }
9562
+ /**
9563
+ * Resets tenant configurations.
8223
9564
  *
8224
9565
  * @param headers - map
8225
9566
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8243,7 +9584,7 @@ class Client extends openapi_client_1.default {
8243
9584
  return $tea.cast(await this.callApi(params, req, runtime), new ReinstallTenantAddonResponse({}));
8244
9585
  }
8245
9586
  /**
8246
- * 重置租户配置
9587
+ * Resets tenant configurations.
8247
9588
  * @returns ReinstallTenantAddonResponse
8248
9589
  */
8249
9590
  async reinstallTenantAddon(ClusterId, TenantAddonName) {
@@ -9108,6 +10449,51 @@ class Client extends openapi_client_1.default {
9108
10449
  let headers = {};
9109
10450
  return await this.updateServiceVersionWithOptions(ClusterId, ServiceName, request, headers, runtime);
9110
10451
  }
10452
+ /**
10453
+ * Updates the information about a virtual resource group.
10454
+ *
10455
+ * @param request - UpdateVirtualResourceRequest
10456
+ * @param headers - map
10457
+ * @param runtime - runtime options for this request RuntimeOptions
10458
+ * @returns UpdateVirtualResourceResponse
10459
+ */
10460
+ async updateVirtualResourceWithOptions(ClusterId, VirtualResourceId, request, headers, runtime) {
10461
+ tea_util_1.default.validateModel(request);
10462
+ let body = {};
10463
+ if (!tea_util_1.default.isUnset(request.resources)) {
10464
+ body["Resources"] = request.resources;
10465
+ }
10466
+ if (!tea_util_1.default.isUnset(request.virtualResourceName)) {
10467
+ body["VirtualResourceName"] = request.virtualResourceName;
10468
+ }
10469
+ let req = new $OpenApi.OpenApiRequest({
10470
+ headers: headers,
10471
+ body: openapi_util_1.default.parseToMap(body),
10472
+ });
10473
+ let params = new $OpenApi.Params({
10474
+ action: "UpdateVirtualResource",
10475
+ version: "2021-07-01",
10476
+ protocol: "HTTPS",
10477
+ pathname: `/api/v2/virtualresources/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(VirtualResourceId)}`,
10478
+ method: "PUT",
10479
+ authType: "AK",
10480
+ style: "ROA",
10481
+ reqBodyType: "json",
10482
+ bodyType: "json",
10483
+ });
10484
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateVirtualResourceResponse({}));
10485
+ }
10486
+ /**
10487
+ * Updates the information about a virtual resource group.
10488
+ *
10489
+ * @param request - UpdateVirtualResourceRequest
10490
+ * @returns UpdateVirtualResourceResponse
10491
+ */
10492
+ async updateVirtualResource(ClusterId, VirtualResourceId, request) {
10493
+ let runtime = new $Util.RuntimeOptions({});
10494
+ let headers = {};
10495
+ return await this.updateVirtualResourceWithOptions(ClusterId, VirtualResourceId, request, headers, runtime);
10496
+ }
9111
10497
  }
9112
10498
  exports.default = Client;
9113
10499
  //# sourceMappingURL=client.js.map