@alicloud/eas20210701 7.6.0 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +336 -110
- package/dist/client.js +515 -111
- package/dist/client.js.map +1 -1
- package/dist/models/ContainerInfo.d.ts +15 -35
- package/dist/models/ContainerInfo.js.map +1 -1
- package/dist/models/CreateAppServiceRequest.d.ts +1 -1
- package/dist/models/CreateConfigRequest.d.ts +21 -0
- package/dist/models/CreateConfigRequest.js +58 -0
- package/dist/models/CreateConfigRequest.js.map +1 -0
- package/dist/models/CreateConfigResponse.d.ts +19 -0
- package/dist/models/CreateConfigResponse.js +69 -0
- package/dist/models/CreateConfigResponse.js.map +1 -0
- package/dist/models/CreateConfigResponseBody.d.ts +45 -0
- package/dist/models/CreateConfigResponseBody.js +64 -0
- package/dist/models/CreateConfigResponseBody.js.map +1 -0
- package/dist/models/CreateFaultInjectionRequest.d.ts +27 -0
- package/dist/models/CreateFaultInjectionRequest.js.map +1 -1
- package/dist/models/CreateFaultInjectionResponseBody.d.ts +4 -1
- package/dist/models/CreateFaultInjectionResponseBody.js.map +1 -1
- package/dist/models/CreateGatewayIntranetLinkedVpcRequest.d.ts +16 -2
- package/dist/models/CreateGatewayIntranetLinkedVpcRequest.js.map +1 -1
- package/dist/models/CreateGatewayIntranetLinkedVpcResponseBody.d.ts +2 -2
- package/dist/models/CreateGatewayRequest.d.ts +19 -24
- package/dist/models/CreateGatewayRequest.js.map +1 -1
- package/dist/models/CreateGatewayResponseBody.d.ts +5 -5
- package/dist/models/CreateGroupRequest.d.ts +85 -0
- package/dist/models/CreateGroupRequest.js +95 -0
- package/dist/models/CreateGroupRequest.js.map +1 -0
- package/dist/models/CreateGroupResponse.d.ts +19 -0
- package/dist/models/CreateGroupResponse.js +69 -0
- package/dist/models/CreateGroupResponse.js.map +1 -0
- package/dist/models/CreateGroupResponseBody.d.ts +29 -0
- package/dist/models/CreateGroupResponseBody.js +60 -0
- package/dist/models/CreateGroupResponseBody.js.map +1 -0
- package/dist/models/CreateResourceInstancesRequest.d.ts +13 -11
- package/dist/models/CreateResourceInstancesRequest.js.map +1 -1
- package/dist/models/CreateResourceInstancesResponseBody.d.ts +2 -2
- package/dist/models/CreateResourceLogResponseBody.d.ts +1 -1
- package/dist/models/CreateResourceRequest.d.ts +29 -34
- package/dist/models/CreateResourceRequest.js.map +1 -1
- package/dist/models/CreateResourceResponseBody.d.ts +3 -3
- package/dist/models/CreateServiceAutoScalerRequest.d.ts +10 -6
- package/dist/models/CreateServiceAutoScalerRequest.js.map +1 -1
- package/dist/models/CreateServiceCronScalerRequest.d.ts +12 -5
- package/dist/models/CreateServiceCronScalerRequest.js.map +1 -1
- package/dist/models/CreateServiceCronScalerResponseBody.d.ts +1 -1
- package/dist/models/CreateServiceInstanceTokenRequest.d.ts +8 -0
- package/dist/models/CreateServiceInstanceTokenRequest.js.map +1 -1
- package/dist/models/CreateServiceInstanceTokenResponseBody.d.ts +16 -0
- package/dist/models/CreateServiceInstanceTokenResponseBody.js.map +1 -1
- package/dist/models/CreateServiceMirrorResponseBody.d.ts +1 -1
- package/dist/models/CreateServiceRequest.d.ts +65 -65
- package/dist/models/CreateServiceRolloutRequest.d.ts +20 -0
- package/dist/models/CreateServiceRolloutRequest.js.map +1 -1
- package/dist/models/CreateServiceRolloutResponseBody.d.ts +6 -0
- package/dist/models/CreateServiceRolloutResponseBody.js.map +1 -1
- package/dist/models/CreateServiceShrinkRequest.d.ts +65 -65
- package/dist/models/DeleteConfigRequest.d.ts +13 -0
- package/dist/models/DeleteConfigRequest.js +54 -0
- package/dist/models/DeleteConfigRequest.js.map +1 -0
- package/dist/models/DeleteConfigResponse.d.ts +19 -0
- package/dist/models/DeleteConfigResponse.js +69 -0
- package/dist/models/DeleteConfigResponse.js.map +1 -0
- package/dist/models/DeleteConfigResponseBody.d.ts +29 -0
- package/dist/models/DeleteConfigResponseBody.js +60 -0
- package/dist/models/DeleteConfigResponseBody.js.map +1 -0
- package/dist/models/DeleteFaultInjectionResponseBody.d.ts +4 -1
- package/dist/models/DeleteFaultInjectionResponseBody.js.map +1 -1
- package/dist/models/DeleteGatewayLabelRequest.d.ts +2 -0
- package/dist/models/DeleteGatewayLabelRequest.js.map +1 -1
- package/dist/models/DeleteGatewayLabelResponseBody.d.ts +6 -0
- package/dist/models/DeleteGatewayLabelResponseBody.js.map +1 -1
- package/dist/models/DeleteGatewayLabelShrinkRequest.d.ts +2 -0
- package/dist/models/DeleteGatewayLabelShrinkRequest.js.map +1 -1
- package/dist/models/DeleteGatewayResponseBody.d.ts +1 -1
- package/dist/models/DeleteGroupRequest.d.ts +21 -0
- package/dist/models/DeleteGroupRequest.js +58 -0
- package/dist/models/DeleteGroupRequest.js.map +1 -0
- package/dist/models/DeleteGroupResponse.d.ts +19 -0
- package/dist/models/DeleteGroupResponse.js +69 -0
- package/dist/models/DeleteGroupResponse.js.map +1 -0
- package/dist/models/DeleteGroupResponseBody.d.ts +29 -0
- package/dist/models/DeleteGroupResponseBody.js +60 -0
- package/dist/models/DeleteGroupResponseBody.js.map +1 -0
- package/dist/models/DeleteResourceInstanceLabelRequest.d.ts +7 -3
- package/dist/models/DeleteResourceInstanceLabelRequest.js.map +1 -1
- package/dist/models/DeleteResourceInstanceLabelResponseBody.d.ts +1 -1
- package/dist/models/DeleteResourceInstanceLabelShrinkRequest.d.ts +7 -3
- package/dist/models/DeleteResourceInstanceLabelShrinkRequest.js.map +1 -1
- package/dist/models/DeleteResourceInstancesResponseBody.d.ts +1 -1
- package/dist/models/DeleteResourceLogResponseBody.d.ts +1 -1
- package/dist/models/DeleteResourceResponseBody.d.ts +2 -2
- package/dist/models/DeleteServiceInstancesRequest.d.ts +10 -3
- package/dist/models/DeleteServiceInstancesRequest.js.map +1 -1
- package/dist/models/DeleteServiceInstancesResponseBody.d.ts +1 -1
- package/dist/models/DeleteServiceLabelRequest.d.ts +5 -1
- package/dist/models/DeleteServiceLabelRequest.js.map +1 -1
- package/dist/models/DeleteServiceLabelResponseBody.d.ts +1 -1
- package/dist/models/DeleteServiceLabelShrinkRequest.d.ts +5 -1
- package/dist/models/DeleteServiceLabelShrinkRequest.js.map +1 -1
- package/dist/models/DeleteServiceRolloutResponseBody.d.ts +18 -0
- package/dist/models/DeleteServiceRolloutResponseBody.js.map +1 -1
- package/dist/models/DescribeGatewayResponseBody.d.ts +20 -38
- package/dist/models/DescribeGatewayResponseBody.js.map +1 -1
- package/dist/models/DescribeGroupEndpointsResponseBody.d.ts +16 -10
- package/dist/models/DescribeGroupEndpointsResponseBody.js.map +1 -1
- package/dist/models/DescribeMachineSpecRequest.d.ts +17 -0
- package/dist/models/DescribeMachineSpecRequest.js.map +1 -1
- package/dist/models/DescribeMachineSpecResponseBody.d.ts +12 -24
- package/dist/models/DescribeMachineSpecResponseBody.js.map +1 -1
- package/dist/models/DescribeMachineSpecShrinkRequest.d.ts +17 -0
- package/dist/models/DescribeMachineSpecShrinkRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +3 -0
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeResourceDlinkResponseBody.d.ts +2 -2
- package/dist/models/DescribeResourceResponseBody.d.ts +55 -15
- package/dist/models/DescribeResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeServiceAutoScalerResponseBody.d.ts +10 -7
- package/dist/models/DescribeServiceAutoScalerResponseBody.js.map +1 -1
- package/dist/models/DescribeServiceEndpointsResponseBody.d.ts +43 -3
- package/dist/models/DescribeServiceEndpointsResponseBody.js.map +1 -1
- package/dist/models/DescribeServiceEventRequest.d.ts +8 -7
- package/dist/models/DescribeServiceEventRequest.js.map +1 -1
- package/dist/models/DescribeServiceEventResponseBody.d.ts +21 -9
- package/dist/models/DescribeServiceEventResponseBody.js.map +1 -1
- package/dist/models/DescribeServiceRolloutResponseBody.d.ts +60 -0
- package/dist/models/DescribeServiceRolloutResponseBody.js.map +1 -1
- package/dist/models/DescribeVirtualResourceResponseBody.d.ts +10 -6
- package/dist/models/DescribeVirtualResourceResponseBody.js.map +1 -1
- package/dist/models/Group.d.ts +41 -10
- package/dist/models/Group.js +63 -1
- package/dist/models/Group.js.map +1 -1
- package/dist/models/Instance.d.ts +56 -30
- package/dist/models/Instance.js.map +1 -1
- package/dist/models/ListAclPolicyResponseBody.d.ts +3 -3
- package/dist/models/ListBenchmarkTaskRequest.d.ts +2 -2
- package/dist/models/ListBenchmarkTaskResponseBody.d.ts +12 -86
- package/dist/models/ListBenchmarkTaskResponseBody.js.map +1 -1
- package/dist/models/ListConfigsRequest.d.ts +29 -0
- package/dist/models/ListConfigsRequest.js +60 -0
- package/dist/models/ListConfigsRequest.js.map +1 -0
- package/dist/models/ListConfigsResponse.d.ts +19 -0
- package/dist/models/ListConfigsResponse.js +69 -0
- package/dist/models/ListConfigsResponse.js.map +1 -0
- package/dist/models/ListConfigsResponseBody.d.ts +113 -0
- package/dist/models/ListConfigsResponseBody.js +98 -0
- package/dist/models/ListConfigsResponseBody.js.map +1 -0
- package/dist/models/ListGatewayDomainsResponseBody.d.ts +47 -10
- package/dist/models/ListGatewayDomainsResponseBody.js.map +1 -1
- package/dist/models/ListGatewayIntranetLinkedVpcPeerRequest.d.ts +4 -3
- package/dist/models/ListGatewayIntranetLinkedVpcPeerRequest.js.map +1 -1
- package/dist/models/ListGatewayIntranetLinkedVpcPeerResponseBody.d.ts +6 -6
- package/dist/models/ListGatewayIntranetLinkedVpcResponseBody.d.ts +22 -30
- package/dist/models/ListGatewayIntranetLinkedVpcResponseBody.js.map +1 -1
- package/dist/models/ListGatewayRequest.d.ts +51 -5
- package/dist/models/ListGatewayRequest.js.map +1 -1
- package/dist/models/ListGatewayResponseBody.d.ts +32 -27
- package/dist/models/ListGatewayResponseBody.js.map +1 -1
- package/dist/models/ListGatewayShrinkRequest.d.ts +51 -5
- package/dist/models/ListGatewayShrinkRequest.js.map +1 -1
- package/dist/models/ListGroupsRequest.d.ts +31 -3
- package/dist/models/ListGroupsRequest.js +5 -0
- package/dist/models/ListGroupsRequest.js.map +1 -1
- package/dist/models/ListGroupsResponseBody.d.ts +4 -4
- package/dist/models/ListGroupsShrinkRequest.d.ts +74 -0
- package/dist/models/ListGroupsShrinkRequest.js +72 -0
- package/dist/models/ListGroupsShrinkRequest.js.map +1 -0
- package/dist/models/ListResourceInstanceWorkerRequest.d.ts +42 -3
- package/dist/models/ListResourceInstanceWorkerRequest.js.map +1 -1
- package/dist/models/ListResourceInstanceWorkerResponseBody.d.ts +4 -4
- package/dist/models/ListResourceInstancesRequest.d.ts +21 -187
- package/dist/models/ListResourceInstancesRequest.js.map +1 -1
- package/dist/models/ListResourceInstancesResponseBody.d.ts +4 -4
- package/dist/models/ListResourceInstancesShrinkRequest.d.ts +21 -187
- package/dist/models/ListResourceInstancesShrinkRequest.js.map +1 -1
- package/dist/models/ListResourcesRequest.d.ts +19 -23
- package/dist/models/ListResourcesRequest.js.map +1 -1
- package/dist/models/ListResourcesResponseBody.d.ts +3 -3
- package/dist/models/ListServiceInstanceFaultInjectionInfoResponseBody.d.ts +47 -1
- package/dist/models/ListServiceInstanceFaultInjectionInfoResponseBody.js.map +1 -1
- package/dist/models/ListServiceInstancesRequest.d.ts +47 -126
- package/dist/models/ListServiceInstancesRequest.js.map +1 -1
- package/dist/models/ListServiceInstancesResponseBody.d.ts +4 -4
- package/dist/models/ListServiceVersionsResponseBody.d.ts +10 -6
- package/dist/models/ListServiceVersionsResponseBody.js.map +1 -1
- package/dist/models/ListServicesRequest.d.ts +95 -200
- package/dist/models/ListServicesRequest.js.map +1 -1
- package/dist/models/ListServicesResponseBody.d.ts +4 -4
- package/dist/models/ListServicesShrinkRequest.d.ts +95 -200
- package/dist/models/ListServicesShrinkRequest.js.map +1 -1
- package/dist/models/ListVirtualResourceRequest.d.ts +20 -2
- package/dist/models/ListVirtualResourceRequest.js.map +1 -1
- package/dist/models/ListVirtualResourceResponseBody.d.ts +5 -5
- package/dist/models/MigrateResourceInstanceRequest.d.ts +8 -1
- package/dist/models/MigrateResourceInstanceRequest.js.map +1 -1
- package/dist/models/MigrateResourceInstanceResponseBody.d.ts +3 -3
- package/dist/models/Resource.d.ts +83 -20
- package/dist/models/Resource.js.map +1 -1
- package/dist/models/ResourceInstance.d.ts +36 -23
- package/dist/models/ResourceInstance.js +0 -2
- package/dist/models/ResourceInstance.js.map +1 -1
- package/dist/models/ResourceInstanceWorker.d.ts +11 -61
- package/dist/models/ResourceInstanceWorker.js.map +1 -1
- package/dist/models/ScaleServiceRequest.d.ts +5 -0
- package/dist/models/ScaleServiceRequest.js.map +1 -1
- package/dist/models/ScaleServiceResponseBody.d.ts +6 -0
- package/dist/models/ScaleServiceResponseBody.js.map +1 -1
- package/dist/models/Service.d.ts +103 -71
- package/dist/models/Service.js.map +1 -1
- package/dist/models/StopBenchmarkTaskResponseBody.d.ts +1 -1
- package/dist/models/UpdateAppServiceRequest.d.ts +1 -1
- package/dist/models/UpdateConfigRequest.d.ts +21 -0
- package/dist/models/UpdateConfigRequest.js +58 -0
- package/dist/models/UpdateConfigRequest.js.map +1 -0
- package/dist/models/UpdateConfigResponse.d.ts +19 -0
- package/dist/models/UpdateConfigResponse.js +69 -0
- package/dist/models/UpdateConfigResponse.js.map +1 -0
- package/dist/models/UpdateConfigResponseBody.d.ts +45 -0
- package/dist/models/UpdateConfigResponseBody.js +64 -0
- package/dist/models/UpdateConfigResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayLabelRequest.d.ts +2 -0
- package/dist/models/UpdateGatewayLabelRequest.js.map +1 -1
- package/dist/models/UpdateGatewayLabelResponseBody.d.ts +6 -0
- package/dist/models/UpdateGatewayLabelResponseBody.js.map +1 -1
- package/dist/models/UpdateGatewayRequest.d.ts +25 -21
- package/dist/models/UpdateGatewayRequest.js.map +1 -1
- package/dist/models/UpdateGatewayResponseBody.d.ts +2 -2
- package/dist/models/UpdateGroupRequest.d.ts +59 -1
- package/dist/models/UpdateGroupRequest.js +36 -1
- package/dist/models/UpdateGroupRequest.js.map +1 -1
- package/dist/models/UpdateGroupResponseBody.d.ts +9 -1
- package/dist/models/UpdateGroupResponseBody.js +2 -0
- package/dist/models/UpdateGroupResponseBody.js.map +1 -1
- package/dist/models/UpdateResourceDlinkRequest.d.ts +2 -2
- package/dist/models/UpdateResourceInstanceRequest.d.ts +6 -4
- package/dist/models/UpdateResourceInstanceRequest.js.map +1 -1
- package/dist/models/UpdateResourceResponseBody.d.ts +1 -1
- package/dist/models/UpdateServiceAutoScalerRequest.d.ts +6 -4
- package/dist/models/UpdateServiceAutoScalerRequest.js.map +1 -1
- package/dist/models/UpdateServiceCronScalerRequest.d.ts +12 -5
- package/dist/models/UpdateServiceCronScalerRequest.js.map +1 -1
- package/dist/models/UpdateServiceInstanceRequest.d.ts +27 -3
- package/dist/models/UpdateServiceInstanceRequest.js.map +1 -1
- package/dist/models/UpdateServiceInstanceResponseBody.d.ts +2 -2
- package/dist/models/UpdateServiceMirrorResponseBody.d.ts +1 -1
- package/dist/models/UpdateServiceRequest.d.ts +10 -1
- package/dist/models/UpdateServiceRequest.js.map +1 -1
- package/dist/models/UpdateServiceRolloutRequest.d.ts +52 -0
- package/dist/models/UpdateServiceRolloutRequest.js.map +1 -1
- package/dist/models/UpdateServiceRolloutResponseBody.d.ts +12 -0
- package/dist/models/UpdateServiceRolloutResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +24 -0
- package/dist/models/model.js +61 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +540 -111
- package/src/models/ContainerInfo.ts +15 -35
- package/src/models/CreateAppServiceRequest.ts +1 -1
- package/src/models/CreateConfigRequest.ts +34 -0
- package/src/models/CreateConfigResponse.ts +40 -0
- package/src/models/CreateConfigResponseBody.ts +64 -0
- package/src/models/CreateFaultInjectionRequest.ts +27 -0
- package/src/models/CreateFaultInjectionResponseBody.ts +4 -1
- package/src/models/CreateGatewayIntranetLinkedVpcRequest.ts +16 -2
- package/src/models/CreateGatewayIntranetLinkedVpcResponseBody.ts +2 -2
- package/src/models/CreateGatewayRequest.ts +19 -24
- package/src/models/CreateGatewayResponseBody.ts +5 -5
- package/src/models/CreateGroupRequest.ts +124 -0
- package/src/models/CreateGroupResponse.ts +40 -0
- package/src/models/CreateGroupResponseBody.ts +44 -0
- package/src/models/CreateResourceInstancesRequest.ts +13 -11
- package/src/models/CreateResourceInstancesResponseBody.ts +2 -2
- package/src/models/CreateResourceLogResponseBody.ts +1 -1
- package/src/models/CreateResourceRequest.ts +29 -34
- package/src/models/CreateResourceResponseBody.ts +3 -3
- package/src/models/CreateServiceAutoScalerRequest.ts +10 -6
- package/src/models/CreateServiceCronScalerRequest.ts +12 -5
- package/src/models/CreateServiceCronScalerResponseBody.ts +1 -1
- package/src/models/CreateServiceInstanceTokenRequest.ts +8 -0
- package/src/models/CreateServiceInstanceTokenResponseBody.ts +16 -0
- package/src/models/CreateServiceMirrorResponseBody.ts +1 -1
- package/src/models/CreateServiceRequest.ts +65 -65
- package/src/models/CreateServiceRolloutRequest.ts +20 -0
- package/src/models/CreateServiceRolloutResponseBody.ts +6 -0
- package/src/models/CreateServiceShrinkRequest.ts +65 -65
- package/src/models/DeleteConfigRequest.ts +24 -0
- package/src/models/DeleteConfigResponse.ts +40 -0
- package/src/models/DeleteConfigResponseBody.ts +44 -0
- package/src/models/DeleteFaultInjectionResponseBody.ts +4 -1
- package/src/models/DeleteGatewayLabelRequest.ts +2 -0
- package/src/models/DeleteGatewayLabelResponseBody.ts +6 -0
- package/src/models/DeleteGatewayLabelShrinkRequest.ts +2 -0
- package/src/models/DeleteGatewayResponseBody.ts +1 -1
- package/src/models/DeleteGroupRequest.ts +34 -0
- package/src/models/DeleteGroupResponse.ts +40 -0
- package/src/models/DeleteGroupResponseBody.ts +44 -0
- package/src/models/DeleteResourceInstanceLabelRequest.ts +7 -3
- package/src/models/DeleteResourceInstanceLabelResponseBody.ts +1 -1
- package/src/models/DeleteResourceInstanceLabelShrinkRequest.ts +7 -3
- package/src/models/DeleteResourceInstancesResponseBody.ts +1 -1
- package/src/models/DeleteResourceLogResponseBody.ts +1 -1
- package/src/models/DeleteResourceResponseBody.ts +2 -2
- package/src/models/DeleteServiceInstancesRequest.ts +10 -3
- package/src/models/DeleteServiceInstancesResponseBody.ts +1 -1
- package/src/models/DeleteServiceLabelRequest.ts +5 -1
- package/src/models/DeleteServiceLabelResponseBody.ts +1 -1
- package/src/models/DeleteServiceLabelShrinkRequest.ts +5 -1
- package/src/models/DeleteServiceRolloutResponseBody.ts +18 -0
- package/src/models/DescribeGatewayResponseBody.ts +20 -38
- package/src/models/DescribeGroupEndpointsResponseBody.ts +16 -10
- package/src/models/DescribeMachineSpecRequest.ts +17 -0
- package/src/models/DescribeMachineSpecResponseBody.ts +12 -24
- package/src/models/DescribeMachineSpecShrinkRequest.ts +17 -0
- package/src/models/DescribeRegionsResponseBody.ts +3 -0
- package/src/models/DescribeResourceDlinkResponseBody.ts +2 -2
- package/src/models/DescribeResourceResponseBody.ts +55 -15
- package/src/models/DescribeServiceAutoScalerResponseBody.ts +10 -7
- package/src/models/DescribeServiceEndpointsResponseBody.ts +43 -3
- package/src/models/DescribeServiceEventRequest.ts +8 -7
- package/src/models/DescribeServiceEventResponseBody.ts +21 -9
- package/src/models/DescribeServiceRolloutResponseBody.ts +60 -0
- package/src/models/DescribeVirtualResourceResponseBody.ts +10 -6
- package/src/models/Group.ts +83 -10
- package/src/models/Instance.ts +56 -30
- package/src/models/ListAclPolicyResponseBody.ts +3 -3
- package/src/models/ListBenchmarkTaskRequest.ts +2 -2
- package/src/models/ListBenchmarkTaskResponseBody.ts +12 -86
- package/src/models/ListConfigsRequest.ts +44 -0
- package/src/models/ListConfigsResponse.ts +40 -0
- package/src/models/ListConfigsResponseBody.ts +157 -0
- package/src/models/ListGatewayDomainsResponseBody.ts +47 -10
- package/src/models/ListGatewayIntranetLinkedVpcPeerRequest.ts +4 -3
- package/src/models/ListGatewayIntranetLinkedVpcPeerResponseBody.ts +6 -6
- package/src/models/ListGatewayIntranetLinkedVpcResponseBody.ts +22 -30
- package/src/models/ListGatewayRequest.ts +51 -5
- package/src/models/ListGatewayResponseBody.ts +32 -27
- package/src/models/ListGatewayShrinkRequest.ts +51 -5
- package/src/models/ListGroupsRequest.ts +34 -3
- package/src/models/ListGroupsResponseBody.ts +4 -4
- package/src/models/ListGroupsShrinkRequest.ts +101 -0
- package/src/models/ListResourceInstanceWorkerRequest.ts +42 -3
- package/src/models/ListResourceInstanceWorkerResponseBody.ts +4 -4
- package/src/models/ListResourceInstancesRequest.ts +21 -187
- package/src/models/ListResourceInstancesResponseBody.ts +4 -4
- package/src/models/ListResourceInstancesShrinkRequest.ts +21 -187
- package/src/models/ListResourcesRequest.ts +19 -23
- package/src/models/ListResourcesResponseBody.ts +3 -3
- package/src/models/ListServiceInstanceFaultInjectionInfoResponseBody.ts +47 -1
- package/src/models/ListServiceInstancesRequest.ts +47 -126
- package/src/models/ListServiceInstancesResponseBody.ts +4 -4
- package/src/models/ListServiceVersionsResponseBody.ts +10 -6
- package/src/models/ListServicesRequest.ts +95 -200
- package/src/models/ListServicesResponseBody.ts +4 -4
- package/src/models/ListServicesShrinkRequest.ts +95 -200
- package/src/models/ListVirtualResourceRequest.ts +20 -2
- package/src/models/ListVirtualResourceResponseBody.ts +5 -5
- package/src/models/MigrateResourceInstanceRequest.ts +8 -1
- package/src/models/MigrateResourceInstanceResponseBody.ts +3 -3
- package/src/models/Resource.ts +83 -20
- package/src/models/ResourceInstance.ts +36 -23
- package/src/models/ResourceInstanceWorker.ts +11 -61
- package/src/models/ScaleServiceRequest.ts +5 -0
- package/src/models/ScaleServiceResponseBody.ts +6 -0
- package/src/models/Service.ts +103 -71
- package/src/models/StopBenchmarkTaskResponseBody.ts +1 -1
- package/src/models/UpdateAppServiceRequest.ts +1 -1
- package/src/models/UpdateConfigRequest.ts +34 -0
- package/src/models/UpdateConfigResponse.ts +40 -0
- package/src/models/UpdateConfigResponseBody.ts +64 -0
- package/src/models/UpdateGatewayLabelRequest.ts +2 -0
- package/src/models/UpdateGatewayLabelResponseBody.ts +6 -0
- package/src/models/UpdateGatewayRequest.ts +25 -21
- package/src/models/UpdateGatewayResponseBody.ts +2 -2
- package/src/models/UpdateGroupRequest.ts +83 -1
- package/src/models/UpdateGroupResponseBody.ts +11 -1
- package/src/models/UpdateResourceDlinkRequest.ts +2 -2
- package/src/models/UpdateResourceInstanceRequest.ts +6 -4
- package/src/models/UpdateResourceResponseBody.ts +1 -1
- package/src/models/UpdateServiceAutoScalerRequest.ts +6 -4
- package/src/models/UpdateServiceCronScalerRequest.ts +12 -5
- package/src/models/UpdateServiceInstanceRequest.ts +27 -3
- package/src/models/UpdateServiceInstanceResponseBody.ts +2 -2
- package/src/models/UpdateServiceMirrorResponseBody.ts +1 -1
- package/src/models/UpdateServiceRequest.ts +10 -1
- package/src/models/UpdateServiceRolloutRequest.ts +52 -0
- package/src/models/UpdateServiceRolloutResponseBody.ts +12 -0
- package/src/models/model.ts +24 -0
package/dist/client.js
CHANGED
|
@@ -65,6 +65,19 @@ class Client extends openapi_core_1.default {
|
|
|
65
65
|
'cn-shanghai-finance-1': "pai-eas.cn-shanghai-finance-1.aliyuncs.com",
|
|
66
66
|
'cn-north-2-gov-1': "pai-eas.cn-north-2-gov-1.aliyuncs.com",
|
|
67
67
|
'cn-chengdu': "pai-eas.cn-chengdu.aliyuncs.com",
|
|
68
|
+
'us-southeast-1': "pai-eas.us-southeast-1.aliyuncs.com",
|
|
69
|
+
'na-south-1': "pai-eas.na-south-1.aliyuncs.com",
|
|
70
|
+
'me-east-1': "pai-eas.me-east-1.aliyuncs.com",
|
|
71
|
+
'me-central-1': "pai-eas.me-central-1.aliyuncs.com",
|
|
72
|
+
'cn-zhongwei': "pai-eas.cn-zhongwei.aliyuncs.com",
|
|
73
|
+
'cn-wulanchabu': "pai-eas.cn-wulanchabu.aliyuncs.com",
|
|
74
|
+
'cn-heyuan': "pai-eas.cn-heyuan.aliyuncs.com",
|
|
75
|
+
'cn-guangzhou': "pai-eas.cn-guangzhou.aliyuncs.com",
|
|
76
|
+
'ap-southeast-8': "pai-eas.ap-southeast-8.aliyuncs.com",
|
|
77
|
+
'ap-southeast-7': "pai-eas.ap-southeast-7.aliyuncs.com",
|
|
78
|
+
'ap-southeast-3': "pai-eas.ap-southeast-3.aliyuncs.com",
|
|
79
|
+
'ap-northeast-2': "pai-eas.ap-northeast-2.aliyuncs.com",
|
|
80
|
+
'ap-northeast-1': "pai-eas.ap-northeast-1.aliyuncs.com",
|
|
68
81
|
};
|
|
69
82
|
this.checkConfig(config);
|
|
70
83
|
this._endpoint = this.getEndpoint("eas", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -364,7 +377,66 @@ class Client extends openapi_core_1.default {
|
|
|
364
377
|
return await this.createBenchmarkTaskWithOptions(request, headers, runtime);
|
|
365
378
|
}
|
|
366
379
|
/**
|
|
367
|
-
*
|
|
380
|
+
* Creates a single dynamic parameter in a specified service.
|
|
381
|
+
*
|
|
382
|
+
* @remarks
|
|
383
|
+
* ## Description
|
|
384
|
+
* - This API creates a new dynamic parameter by sending a POST request to a specified path.
|
|
385
|
+
* - The dynamic parameter name (`ConfigKey`) can contain letters, digits, periods (.), underscores (_), hyphens (-), and forward slashes (/). The maximum length is 100 characters.
|
|
386
|
+
* - The request body must include the dynamic parameter value (`Value`).
|
|
387
|
+
* - If successful, the API returns the new dynamic parameter\\"s name (`Key`), value (`Value`), creation time, and update time.
|
|
388
|
+
*
|
|
389
|
+
* @param request - CreateConfigRequest
|
|
390
|
+
* @param headers - map
|
|
391
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
392
|
+
* @returns CreateConfigResponse
|
|
393
|
+
*/
|
|
394
|
+
async createConfigWithOptions(ClusterId, ConfigType, Name, ConfigKey, request, headers, runtime) {
|
|
395
|
+
request.validate();
|
|
396
|
+
let body = {};
|
|
397
|
+
if (!$dara.isNull(request.value)) {
|
|
398
|
+
body["Value"] = request.value;
|
|
399
|
+
}
|
|
400
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
401
|
+
headers: headers,
|
|
402
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
403
|
+
});
|
|
404
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
405
|
+
action: "CreateConfig",
|
|
406
|
+
version: "2021-07-01",
|
|
407
|
+
protocol: "HTTPS",
|
|
408
|
+
pathname: `/api/v2/configs/${$dara.URL.percentEncode(ClusterId)}/${$dara.URL.percentEncode(ConfigType)}/${$dara.URL.percentEncode(Name)}/${$dara.URL.percentEncode(ConfigKey)}`,
|
|
409
|
+
method: "POST",
|
|
410
|
+
authType: "AK",
|
|
411
|
+
style: "ROA",
|
|
412
|
+
reqBodyType: "json",
|
|
413
|
+
bodyType: "json",
|
|
414
|
+
});
|
|
415
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateConfigResponse({}));
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Creates a single dynamic parameter in a specified service.
|
|
419
|
+
*
|
|
420
|
+
* @remarks
|
|
421
|
+
* ## Description
|
|
422
|
+
* - This API creates a new dynamic parameter by sending a POST request to a specified path.
|
|
423
|
+
* - The dynamic parameter name (`ConfigKey`) can contain letters, digits, periods (.), underscores (_), hyphens (-), and forward slashes (/). The maximum length is 100 characters.
|
|
424
|
+
* - The request body must include the dynamic parameter value (`Value`).
|
|
425
|
+
* - If successful, the API returns the new dynamic parameter\\"s name (`Key`), value (`Value`), creation time, and update time.
|
|
426
|
+
*
|
|
427
|
+
* @param request - CreateConfigRequest
|
|
428
|
+
* @returns CreateConfigResponse
|
|
429
|
+
*/
|
|
430
|
+
async createConfig(ClusterId, ConfigType, Name, ConfigKey, request) {
|
|
431
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
432
|
+
let headers = {};
|
|
433
|
+
return await this.createConfigWithOptions(ClusterId, ConfigType, Name, ConfigKey, request, headers, runtime);
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Creates a fault injection task.
|
|
437
|
+
*
|
|
438
|
+
* @remarks
|
|
439
|
+
* *Before you use this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
368
440
|
*
|
|
369
441
|
* @param request - CreateFaultInjectionRequest
|
|
370
442
|
* @param headers - map
|
|
@@ -398,7 +470,10 @@ class Client extends openapi_core_1.default {
|
|
|
398
470
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateFaultInjectionResponse({}));
|
|
399
471
|
}
|
|
400
472
|
/**
|
|
401
|
-
*
|
|
473
|
+
* Creates a fault injection task.
|
|
474
|
+
*
|
|
475
|
+
* @remarks
|
|
476
|
+
* *Before you use this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
402
477
|
*
|
|
403
478
|
* @param request - CreateFaultInjectionRequest
|
|
404
479
|
* @returns CreateFaultInjectionResponse
|
|
@@ -477,7 +552,10 @@ class Client extends openapi_core_1.default {
|
|
|
477
552
|
return await this.createGatewayWithOptions(request, headers, runtime);
|
|
478
553
|
}
|
|
479
554
|
/**
|
|
480
|
-
* Creates an internal endpoint
|
|
555
|
+
* Creates an internal endpoint for a private gateway.
|
|
556
|
+
*
|
|
557
|
+
* @remarks
|
|
558
|
+
* *Make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS) before you use this operation.**
|
|
481
559
|
*
|
|
482
560
|
* @param request - CreateGatewayIntranetLinkedVpcRequest
|
|
483
561
|
* @param headers - map
|
|
@@ -517,7 +595,10 @@ class Client extends openapi_core_1.default {
|
|
|
517
595
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGatewayIntranetLinkedVpcResponse({}));
|
|
518
596
|
}
|
|
519
597
|
/**
|
|
520
|
-
* Creates an internal endpoint
|
|
598
|
+
* Creates an internal endpoint for a private gateway.
|
|
599
|
+
*
|
|
600
|
+
* @remarks
|
|
601
|
+
* *Make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS) before you use this operation.**
|
|
521
602
|
*
|
|
522
603
|
* @param request - CreateGatewayIntranetLinkedVpcRequest
|
|
523
604
|
* @returns CreateGatewayIntranetLinkedVpcResponse
|
|
@@ -578,10 +659,67 @@ class Client extends openapi_core_1.default {
|
|
|
578
659
|
return await this.createGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
579
660
|
}
|
|
580
661
|
/**
|
|
581
|
-
* Creates a
|
|
662
|
+
* Creates a service group.
|
|
582
663
|
*
|
|
583
664
|
* @remarks
|
|
584
|
-
* *Before you
|
|
665
|
+
* *Before you use this operation, make sure that you fully understand the billing of Elastic Algorithm Service (EAS) and its [pricing](https://help.aliyun.com/document_detail/144261.html).**.
|
|
666
|
+
*
|
|
667
|
+
* @param request - CreateGroupRequest
|
|
668
|
+
* @param headers - map
|
|
669
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
670
|
+
* @returns CreateGroupResponse
|
|
671
|
+
*/
|
|
672
|
+
async createGroupWithOptions(request, headers, runtime) {
|
|
673
|
+
request.validate();
|
|
674
|
+
let body = {};
|
|
675
|
+
if (!$dara.isNull(request.labels)) {
|
|
676
|
+
body["Labels"] = request.labels;
|
|
677
|
+
}
|
|
678
|
+
if (!$dara.isNull(request.name)) {
|
|
679
|
+
body["Name"] = request.name;
|
|
680
|
+
}
|
|
681
|
+
if (!$dara.isNull(request.network)) {
|
|
682
|
+
body["Network"] = request.network;
|
|
683
|
+
}
|
|
684
|
+
if (!$dara.isNull(request.workSpaceId)) {
|
|
685
|
+
body["WorkSpaceId"] = request.workSpaceId;
|
|
686
|
+
}
|
|
687
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
688
|
+
headers: headers,
|
|
689
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
690
|
+
});
|
|
691
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
692
|
+
action: "CreateGroup",
|
|
693
|
+
version: "2021-07-01",
|
|
694
|
+
protocol: "HTTPS",
|
|
695
|
+
pathname: `/api/v2/groups`,
|
|
696
|
+
method: "POST",
|
|
697
|
+
authType: "AK",
|
|
698
|
+
style: "ROA",
|
|
699
|
+
reqBodyType: "json",
|
|
700
|
+
bodyType: "json",
|
|
701
|
+
});
|
|
702
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGroupResponse({}));
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
* Creates a service group.
|
|
706
|
+
*
|
|
707
|
+
* @remarks
|
|
708
|
+
* *Before you use this operation, make sure that you fully understand the billing of Elastic Algorithm Service (EAS) and its [pricing](https://help.aliyun.com/document_detail/144261.html).**.
|
|
709
|
+
*
|
|
710
|
+
* @param request - CreateGroupRequest
|
|
711
|
+
* @returns CreateGroupResponse
|
|
712
|
+
*/
|
|
713
|
+
async createGroup(request) {
|
|
714
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
715
|
+
let headers = {};
|
|
716
|
+
return await this.createGroupWithOptions(request, headers, runtime);
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* Create a new resource group.
|
|
720
|
+
*
|
|
721
|
+
* @remarks
|
|
722
|
+
* *Before calling this API, make sure you understand the billing method and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
585
723
|
*
|
|
586
724
|
* @param request - CreateResourceRequest
|
|
587
725
|
* @param headers - map
|
|
@@ -642,10 +780,10 @@ class Client extends openapi_core_1.default {
|
|
|
642
780
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateResourceResponse({}));
|
|
643
781
|
}
|
|
644
782
|
/**
|
|
645
|
-
*
|
|
783
|
+
* Create a new resource group.
|
|
646
784
|
*
|
|
647
785
|
* @remarks
|
|
648
|
-
* *Before
|
|
786
|
+
* *Before calling this API, make sure you understand the billing method and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
649
787
|
*
|
|
650
788
|
* @param request - CreateResourceRequest
|
|
651
789
|
* @returns CreateResourceResponse
|
|
@@ -656,7 +794,10 @@ class Client extends openapi_core_1.default {
|
|
|
656
794
|
return await this.createResourceWithOptions(request, headers, runtime);
|
|
657
795
|
}
|
|
658
796
|
/**
|
|
659
|
-
* Creates instances in a dedicated resource group.
|
|
797
|
+
* Creates machine instances in a dedicated resource group.
|
|
798
|
+
*
|
|
799
|
+
* @remarks
|
|
800
|
+
* *Before you call this operation, make sure that you understand the billing methods and **[**pricing**](https://help.aliyun.com/document_detail/144261.html)** of Elastic Algorithm Service (EAS).**
|
|
660
801
|
*
|
|
661
802
|
* @param request - CreateResourceInstancesRequest
|
|
662
803
|
* @param headers - map
|
|
@@ -708,7 +849,10 @@ class Client extends openapi_core_1.default {
|
|
|
708
849
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateResourceInstancesResponse({}));
|
|
709
850
|
}
|
|
710
851
|
/**
|
|
711
|
-
* Creates instances in a dedicated resource group.
|
|
852
|
+
* Creates machine instances in a dedicated resource group.
|
|
853
|
+
*
|
|
854
|
+
* @remarks
|
|
855
|
+
* *Before you call this operation, make sure that you understand the billing methods and **[**pricing**](https://help.aliyun.com/document_detail/144261.html)** of Elastic Algorithm Service (EAS).**
|
|
712
856
|
*
|
|
713
857
|
* @param request - CreateResourceInstancesRequest
|
|
714
858
|
* @returns CreateResourceInstancesResponse
|
|
@@ -875,7 +1019,7 @@ class Client extends openapi_core_1.default {
|
|
|
875
1019
|
return await this.createServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
876
1020
|
}
|
|
877
1021
|
/**
|
|
878
|
-
*
|
|
1022
|
+
* Creates a scheduled auto scaling rule for a service.
|
|
879
1023
|
*
|
|
880
1024
|
* @param request - CreateServiceCronScalerRequest
|
|
881
1025
|
* @param headers - map
|
|
@@ -909,7 +1053,7 @@ class Client extends openapi_core_1.default {
|
|
|
909
1053
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceCronScalerResponse({}));
|
|
910
1054
|
}
|
|
911
1055
|
/**
|
|
912
|
-
*
|
|
1056
|
+
* Creates a scheduled auto scaling rule for a service.
|
|
913
1057
|
*
|
|
914
1058
|
* @param request - CreateServiceCronScalerRequest
|
|
915
1059
|
* @returns CreateServiceCronScalerResponse
|
|
@@ -920,7 +1064,7 @@ class Client extends openapi_core_1.default {
|
|
|
920
1064
|
return await this.createServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
921
1065
|
}
|
|
922
1066
|
/**
|
|
923
|
-
*
|
|
1067
|
+
* Call this operation to obtain a token and a WebSocket URL for logging on to a container.
|
|
924
1068
|
*
|
|
925
1069
|
* @param request - CreateServiceInstanceTokenRequest
|
|
926
1070
|
* @param headers - map
|
|
@@ -954,7 +1098,7 @@ class Client extends openapi_core_1.default {
|
|
|
954
1098
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceInstanceTokenResponse({}));
|
|
955
1099
|
}
|
|
956
1100
|
/**
|
|
957
|
-
*
|
|
1101
|
+
* Call this operation to obtain a token and a WebSocket URL for logging on to a container.
|
|
958
1102
|
*
|
|
959
1103
|
* @param request - CreateServiceInstanceTokenRequest
|
|
960
1104
|
* @returns CreateServiceInstanceTokenResponse
|
|
@@ -1010,16 +1154,16 @@ class Client extends openapi_core_1.default {
|
|
|
1010
1154
|
return await this.createServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
1011
1155
|
}
|
|
1012
1156
|
/**
|
|
1013
|
-
*
|
|
1157
|
+
* Creates a service rollout.
|
|
1014
1158
|
*
|
|
1015
1159
|
* @remarks
|
|
1016
|
-
* ##
|
|
1017
|
-
* -
|
|
1018
|
-
* -
|
|
1019
|
-
* -
|
|
1020
|
-
* -
|
|
1021
|
-
* -
|
|
1022
|
-
* -
|
|
1160
|
+
* ## Usage notes
|
|
1161
|
+
* - **Mutually exclusive strategies**: You can use either the `Partition` or the `Batch` strategy, but not both.
|
|
1162
|
+
* - **Request rate limit**: Up to 100 requests per second.
|
|
1163
|
+
* - **Authorization**: This operation requires the `eas:CreateServiceRollout` permission.
|
|
1164
|
+
* - **ARN**: `acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}`.
|
|
1165
|
+
* - **Pause a rollout**: To pause the service rollout, set the `Paused` parameter to `true`. You can then resume or cancel the rollout by calling the `UpdateServiceRollout` operation.
|
|
1166
|
+
* - **Monitoring and rollback**: Monitor service metrics during the service rollout to promptly identify and resolve issues. To perform a rollback, you can adjust the `Partition` value or delete the rollout strategy.
|
|
1023
1167
|
*
|
|
1024
1168
|
* @param request - CreateServiceRolloutRequest
|
|
1025
1169
|
* @param headers - map
|
|
@@ -1056,16 +1200,16 @@ class Client extends openapi_core_1.default {
|
|
|
1056
1200
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceRolloutResponse({}));
|
|
1057
1201
|
}
|
|
1058
1202
|
/**
|
|
1059
|
-
*
|
|
1203
|
+
* Creates a service rollout.
|
|
1060
1204
|
*
|
|
1061
1205
|
* @remarks
|
|
1062
|
-
* ##
|
|
1063
|
-
* -
|
|
1064
|
-
* -
|
|
1065
|
-
* -
|
|
1066
|
-
* -
|
|
1067
|
-
* -
|
|
1068
|
-
* -
|
|
1206
|
+
* ## Usage notes
|
|
1207
|
+
* - **Mutually exclusive strategies**: You can use either the `Partition` or the `Batch` strategy, but not both.
|
|
1208
|
+
* - **Request rate limit**: Up to 100 requests per second.
|
|
1209
|
+
* - **Authorization**: This operation requires the `eas:CreateServiceRollout` permission.
|
|
1210
|
+
* - **ARN**: `acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}`.
|
|
1211
|
+
* - **Pause a rollout**: To pause the service rollout, set the `Paused` parameter to `true`. You can then resume or cancel the rollout by calling the `UpdateServiceRollout` operation.
|
|
1212
|
+
* - **Monitoring and rollback**: Monitor service metrics during the service rollout to promptly identify and resolve issues. To perform a rollback, you can adjust the `Partition` value or delete the rollout strategy.
|
|
1069
1213
|
*
|
|
1070
1214
|
* @param request - CreateServiceRolloutRequest
|
|
1071
1215
|
* @returns CreateServiceRolloutResponse
|
|
@@ -1211,7 +1355,55 @@ class Client extends openapi_core_1.default {
|
|
|
1211
1355
|
return await this.deleteBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
1212
1356
|
}
|
|
1213
1357
|
/**
|
|
1214
|
-
*
|
|
1358
|
+
* Deletes a single dynamic parameter for a specified service.
|
|
1359
|
+
*
|
|
1360
|
+
* @remarks
|
|
1361
|
+
* ## Request
|
|
1362
|
+
* This API deletes a specific configuration by its region ID, configuration type, service name, and configuration key. Ensure all parameter values are accurate to avoid accidentally deleting critical configurations.
|
|
1363
|
+
*
|
|
1364
|
+
* @param request - DeleteConfigRequest
|
|
1365
|
+
* @param headers - map
|
|
1366
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1367
|
+
* @returns DeleteConfigResponse
|
|
1368
|
+
*/
|
|
1369
|
+
async deleteConfigWithOptions(ClusterId, ConfigType, Name, ConfigKey, request, headers, runtime) {
|
|
1370
|
+
request.validate();
|
|
1371
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1372
|
+
headers: headers,
|
|
1373
|
+
});
|
|
1374
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1375
|
+
action: "DeleteConfig",
|
|
1376
|
+
version: "2021-07-01",
|
|
1377
|
+
protocol: "HTTPS",
|
|
1378
|
+
pathname: `/api/v2/configs/${$dara.URL.percentEncode(ClusterId)}/${$dara.URL.percentEncode(ConfigType)}/${$dara.URL.percentEncode(Name)}/${$dara.URL.percentEncode(ConfigKey)}`,
|
|
1379
|
+
method: "DELETE",
|
|
1380
|
+
authType: "AK",
|
|
1381
|
+
style: "ROA",
|
|
1382
|
+
reqBodyType: "json",
|
|
1383
|
+
bodyType: "json",
|
|
1384
|
+
});
|
|
1385
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteConfigResponse({}));
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* Deletes a single dynamic parameter for a specified service.
|
|
1389
|
+
*
|
|
1390
|
+
* @remarks
|
|
1391
|
+
* ## Request
|
|
1392
|
+
* This API deletes a specific configuration by its region ID, configuration type, service name, and configuration key. Ensure all parameter values are accurate to avoid accidentally deleting critical configurations.
|
|
1393
|
+
*
|
|
1394
|
+
* @param request - DeleteConfigRequest
|
|
1395
|
+
* @returns DeleteConfigResponse
|
|
1396
|
+
*/
|
|
1397
|
+
async deleteConfig(ClusterId, ConfigType, Name, ConfigKey, request) {
|
|
1398
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1399
|
+
let headers = {};
|
|
1400
|
+
return await this.deleteConfigWithOptions(ClusterId, ConfigType, Name, ConfigKey, request, headers, runtime);
|
|
1401
|
+
}
|
|
1402
|
+
/**
|
|
1403
|
+
* Deletes a fault injection task.
|
|
1404
|
+
*
|
|
1405
|
+
* @remarks
|
|
1406
|
+
* *Before you use this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
1215
1407
|
*
|
|
1216
1408
|
* @param request - DeleteFaultInjectionRequest
|
|
1217
1409
|
* @param headers - map
|
|
@@ -1237,7 +1429,10 @@ class Client extends openapi_core_1.default {
|
|
|
1237
1429
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFaultInjectionResponse({}));
|
|
1238
1430
|
}
|
|
1239
1431
|
/**
|
|
1240
|
-
*
|
|
1432
|
+
* Deletes a fault injection task.
|
|
1433
|
+
*
|
|
1434
|
+
* @remarks
|
|
1435
|
+
* *Before you use this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
1241
1436
|
*
|
|
1242
1437
|
* @param request - DeleteFaultInjectionRequest
|
|
1243
1438
|
* @returns DeleteFaultInjectionResponse
|
|
@@ -1380,7 +1575,10 @@ class Client extends openapi_core_1.default {
|
|
|
1380
1575
|
return await this.deleteGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
1381
1576
|
}
|
|
1382
1577
|
/**
|
|
1383
|
-
*
|
|
1578
|
+
* Deletes gateway labels.
|
|
1579
|
+
*
|
|
1580
|
+
* @remarks
|
|
1581
|
+
* *Before you call this operation, ensure you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) for Elastic Algorithm Service (EAS).**
|
|
1384
1582
|
*
|
|
1385
1583
|
* @param tmpReq - DeleteGatewayLabelRequest
|
|
1386
1584
|
* @param headers - map
|
|
@@ -1416,7 +1614,10 @@ class Client extends openapi_core_1.default {
|
|
|
1416
1614
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGatewayLabelResponse({}));
|
|
1417
1615
|
}
|
|
1418
1616
|
/**
|
|
1419
|
-
*
|
|
1617
|
+
* Deletes gateway labels.
|
|
1618
|
+
*
|
|
1619
|
+
* @remarks
|
|
1620
|
+
* *Before you call this operation, ensure you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) for Elastic Algorithm Service (EAS).**
|
|
1420
1621
|
*
|
|
1421
1622
|
* @param request - DeleteGatewayLabelRequest
|
|
1422
1623
|
* @returns DeleteGatewayLabelResponse
|
|
@@ -1426,6 +1627,48 @@ class Client extends openapi_core_1.default {
|
|
|
1426
1627
|
let headers = {};
|
|
1427
1628
|
return await this.deleteGatewayLabelWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
1428
1629
|
}
|
|
1630
|
+
/**
|
|
1631
|
+
* Deletes a service group.
|
|
1632
|
+
*
|
|
1633
|
+
* @param request - DeleteGroupRequest
|
|
1634
|
+
* @param headers - map
|
|
1635
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1636
|
+
* @returns DeleteGroupResponse
|
|
1637
|
+
*/
|
|
1638
|
+
async deleteGroupWithOptions(ClusterId, GroupName, request, headers, runtime) {
|
|
1639
|
+
request.validate();
|
|
1640
|
+
let query = {};
|
|
1641
|
+
if (!$dara.isNull(request.cascadeDelete)) {
|
|
1642
|
+
query["CascadeDelete"] = request.cascadeDelete;
|
|
1643
|
+
}
|
|
1644
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1645
|
+
headers: headers,
|
|
1646
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1647
|
+
});
|
|
1648
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1649
|
+
action: "DeleteGroup",
|
|
1650
|
+
version: "2021-07-01",
|
|
1651
|
+
protocol: "HTTPS",
|
|
1652
|
+
pathname: `/api/v2/groups/${$dara.URL.percentEncode(ClusterId)}/${$dara.URL.percentEncode(GroupName)}`,
|
|
1653
|
+
method: "DELETE",
|
|
1654
|
+
authType: "AK",
|
|
1655
|
+
style: "ROA",
|
|
1656
|
+
reqBodyType: "json",
|
|
1657
|
+
bodyType: "json",
|
|
1658
|
+
});
|
|
1659
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGroupResponse({}));
|
|
1660
|
+
}
|
|
1661
|
+
/**
|
|
1662
|
+
* Deletes a service group.
|
|
1663
|
+
*
|
|
1664
|
+
* @param request - DeleteGroupRequest
|
|
1665
|
+
* @returns DeleteGroupResponse
|
|
1666
|
+
*/
|
|
1667
|
+
async deleteGroup(ClusterId, GroupName, request) {
|
|
1668
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1669
|
+
let headers = {};
|
|
1670
|
+
return await this.deleteGroupWithOptions(ClusterId, GroupName, request, headers, runtime);
|
|
1671
|
+
}
|
|
1429
1672
|
/**
|
|
1430
1673
|
* Deletes a resource group that contains no resources or instances.
|
|
1431
1674
|
*
|
|
@@ -1501,7 +1744,7 @@ class Client extends openapi_core_1.default {
|
|
|
1501
1744
|
return await this.deleteResourceDLinkWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
1502
1745
|
}
|
|
1503
1746
|
/**
|
|
1504
|
-
* Deletes
|
|
1747
|
+
* Deletes instance tags from a resource group.
|
|
1505
1748
|
*
|
|
1506
1749
|
* @param tmpReq - DeleteResourceInstanceLabelRequest
|
|
1507
1750
|
* @param headers - map
|
|
@@ -1552,7 +1795,7 @@ class Client extends openapi_core_1.default {
|
|
|
1552
1795
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteResourceInstanceLabelResponse({}));
|
|
1553
1796
|
}
|
|
1554
1797
|
/**
|
|
1555
|
-
* Deletes
|
|
1798
|
+
* Deletes instance tags from a resource group.
|
|
1556
1799
|
*
|
|
1557
1800
|
* @param request - DeleteResourceInstanceLabelRequest
|
|
1558
1801
|
* @returns DeleteResourceInstanceLabelResponse
|
|
@@ -1756,7 +1999,10 @@ class Client extends openapi_core_1.default {
|
|
|
1756
1999
|
return await this.deleteServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
1757
2000
|
}
|
|
1758
2001
|
/**
|
|
1759
|
-
* Restarts
|
|
2002
|
+
* Restarts specified instances of a service.
|
|
2003
|
+
*
|
|
2004
|
+
* @remarks
|
|
2005
|
+
* *Before you call this operation, make sure that you understand the billing methods and **[**pricing**](https://help.aliyun.com/document_detail/144261.html)** of Elastic Algorithm Service (EAS).**
|
|
1760
2006
|
*
|
|
1761
2007
|
* @param request - DeleteServiceInstancesRequest
|
|
1762
2008
|
* @param headers - map
|
|
@@ -1796,7 +2042,10 @@ class Client extends openapi_core_1.default {
|
|
|
1796
2042
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteServiceInstancesResponse({}));
|
|
1797
2043
|
}
|
|
1798
2044
|
/**
|
|
1799
|
-
* Restarts
|
|
2045
|
+
* Restarts specified instances of a service.
|
|
2046
|
+
*
|
|
2047
|
+
* @remarks
|
|
2048
|
+
* *Before you call this operation, make sure that you understand the billing methods and **[**pricing**](https://help.aliyun.com/document_detail/144261.html)** of Elastic Algorithm Service (EAS).**
|
|
1800
2049
|
*
|
|
1801
2050
|
* @param request - DeleteServiceInstancesRequest
|
|
1802
2051
|
* @returns DeleteServiceInstancesResponse
|
|
@@ -1807,7 +2056,7 @@ class Client extends openapi_core_1.default {
|
|
|
1807
2056
|
return await this.deleteServiceInstancesWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
1808
2057
|
}
|
|
1809
2058
|
/**
|
|
1810
|
-
* Deletes
|
|
2059
|
+
* Deletes a service label.
|
|
1811
2060
|
*
|
|
1812
2061
|
* @param tmpReq - DeleteServiceLabelRequest
|
|
1813
2062
|
* @param headers - map
|
|
@@ -1849,7 +2098,7 @@ class Client extends openapi_core_1.default {
|
|
|
1849
2098
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteServiceLabelResponse({}));
|
|
1850
2099
|
}
|
|
1851
2100
|
/**
|
|
1852
|
-
* Deletes
|
|
2101
|
+
* Deletes a service label.
|
|
1853
2102
|
*
|
|
1854
2103
|
* @param request - DeleteServiceLabelRequest
|
|
1855
2104
|
* @returns DeleteServiceLabelResponse
|
|
@@ -1897,7 +2146,7 @@ class Client extends openapi_core_1.default {
|
|
|
1897
2146
|
return await this.deleteServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
1898
2147
|
}
|
|
1899
2148
|
/**
|
|
1900
|
-
*
|
|
2149
|
+
* Deletes a service rollout.
|
|
1901
2150
|
*
|
|
1902
2151
|
* @remarks
|
|
1903
2152
|
* ## 请求说明
|
|
@@ -1933,7 +2182,7 @@ class Client extends openapi_core_1.default {
|
|
|
1933
2182
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteServiceRolloutResponse({}));
|
|
1934
2183
|
}
|
|
1935
2184
|
/**
|
|
1936
|
-
*
|
|
2185
|
+
* Deletes a service rollout.
|
|
1937
2186
|
*
|
|
1938
2187
|
* @remarks
|
|
1939
2188
|
* ## 请求说明
|
|
@@ -2181,7 +2430,7 @@ class Client extends openapi_core_1.default {
|
|
|
2181
2430
|
return await this.describeGroupEndpointsWithOptions(ClusterId, GroupName, request, headers, runtime);
|
|
2182
2431
|
}
|
|
2183
2432
|
/**
|
|
2184
|
-
*
|
|
2433
|
+
* Returns a list of available machine specifications.
|
|
2185
2434
|
*
|
|
2186
2435
|
* @param tmpReq - DescribeMachineSpecRequest
|
|
2187
2436
|
* @param headers - map
|
|
@@ -2223,7 +2472,7 @@ class Client extends openapi_core_1.default {
|
|
|
2223
2472
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeMachineSpecResponse({}));
|
|
2224
2473
|
}
|
|
2225
2474
|
/**
|
|
2226
|
-
*
|
|
2475
|
+
* Returns a list of available machine specifications.
|
|
2227
2476
|
*
|
|
2228
2477
|
* @param request - DescribeMachineSpecRequest
|
|
2229
2478
|
* @returns DescribeMachineSpecResponse
|
|
@@ -2267,7 +2516,7 @@ class Client extends openapi_core_1.default {
|
|
|
2267
2516
|
return await this.describeRegionsWithOptions(headers, runtime);
|
|
2268
2517
|
}
|
|
2269
2518
|
/**
|
|
2270
|
-
*
|
|
2519
|
+
* Retrieves the details of a resource group.
|
|
2271
2520
|
*
|
|
2272
2521
|
* @param request - DescribeResourceRequest
|
|
2273
2522
|
* @param headers - map
|
|
@@ -2293,7 +2542,7 @@ class Client extends openapi_core_1.default {
|
|
|
2293
2542
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeResourceResponse({}));
|
|
2294
2543
|
}
|
|
2295
2544
|
/**
|
|
2296
|
-
*
|
|
2545
|
+
* Retrieves the details of a resource group.
|
|
2297
2546
|
*
|
|
2298
2547
|
* @param request - DescribeResourceRequest
|
|
2299
2548
|
* @returns DescribeResourceResponse
|
|
@@ -2526,7 +2775,7 @@ class Client extends openapi_core_1.default {
|
|
|
2526
2775
|
return await this.describeServiceDiagnosisWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
2527
2776
|
}
|
|
2528
2777
|
/**
|
|
2529
|
-
*
|
|
2778
|
+
* Retrieves a list of service endpoints.
|
|
2530
2779
|
*
|
|
2531
2780
|
* @param request - DescribeServiceEndpointsRequest
|
|
2532
2781
|
* @param headers - map
|
|
@@ -2552,7 +2801,7 @@ class Client extends openapi_core_1.default {
|
|
|
2552
2801
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeServiceEndpointsResponse({}));
|
|
2553
2802
|
}
|
|
2554
2803
|
/**
|
|
2555
|
-
*
|
|
2804
|
+
* Retrieves a list of service endpoints.
|
|
2556
2805
|
*
|
|
2557
2806
|
* @param request - DescribeServiceEndpointsRequest
|
|
2558
2807
|
* @returns DescribeServiceEndpointsResponse
|
|
@@ -2563,7 +2812,7 @@ class Client extends openapi_core_1.default {
|
|
|
2563
2812
|
return await this.describeServiceEndpointsWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
2564
2813
|
}
|
|
2565
2814
|
/**
|
|
2566
|
-
* Queries
|
|
2815
|
+
* Queries recent deployment events for a specified service.
|
|
2567
2816
|
*
|
|
2568
2817
|
* @param request - DescribeServiceEventRequest
|
|
2569
2818
|
* @param headers - map
|
|
@@ -2609,7 +2858,7 @@ class Client extends openapi_core_1.default {
|
|
|
2609
2858
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeServiceEventResponse({}));
|
|
2610
2859
|
}
|
|
2611
2860
|
/**
|
|
2612
|
-
* Queries
|
|
2861
|
+
* Queries recent deployment events for a specified service.
|
|
2613
2862
|
*
|
|
2614
2863
|
* @param request - DescribeServiceEventRequest
|
|
2615
2864
|
* @returns DescribeServiceEventResponse
|
|
@@ -2760,7 +3009,7 @@ class Client extends openapi_core_1.default {
|
|
|
2760
3009
|
return await this.describeServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
2761
3010
|
}
|
|
2762
3011
|
/**
|
|
2763
|
-
*
|
|
3012
|
+
* Retrieves the details of a service rollout.
|
|
2764
3013
|
*
|
|
2765
3014
|
* @remarks
|
|
2766
3015
|
* ## 请求说明
|
|
@@ -2795,7 +3044,7 @@ class Client extends openapi_core_1.default {
|
|
|
2795
3044
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeServiceRolloutResponse({}));
|
|
2796
3045
|
}
|
|
2797
3046
|
/**
|
|
2798
|
-
*
|
|
3047
|
+
* Retrieves the details of a service rollout.
|
|
2799
3048
|
*
|
|
2800
3049
|
* @remarks
|
|
2801
3050
|
* ## 请求说明
|
|
@@ -2908,7 +3157,7 @@ class Client extends openapi_core_1.default {
|
|
|
2908
3157
|
return await this.describeSpotDiscountHistoryWithOptions(request, headers, runtime);
|
|
2909
3158
|
}
|
|
2910
3159
|
/**
|
|
2911
|
-
*
|
|
3160
|
+
* Queries the details of a virtual resource group.
|
|
2912
3161
|
*
|
|
2913
3162
|
* @param request - DescribeVirtualResourceRequest
|
|
2914
3163
|
* @param headers - map
|
|
@@ -2934,7 +3183,7 @@ class Client extends openapi_core_1.default {
|
|
|
2934
3183
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVirtualResourceResponse({}));
|
|
2935
3184
|
}
|
|
2936
3185
|
/**
|
|
2937
|
-
*
|
|
3186
|
+
* Queries the details of a virtual resource group.
|
|
2938
3187
|
*
|
|
2939
3188
|
* @param request - DescribeVirtualResourceRequest
|
|
2940
3189
|
* @returns DescribeVirtualResourceResponse
|
|
@@ -3076,7 +3325,7 @@ class Client extends openapi_core_1.default {
|
|
|
3076
3325
|
return await this.listAclPolicyWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
3077
3326
|
}
|
|
3078
3327
|
/**
|
|
3079
|
-
*
|
|
3328
|
+
* Lists all deployed stress testing tasks.
|
|
3080
3329
|
*
|
|
3081
3330
|
* @param request - ListBenchmarkTaskRequest
|
|
3082
3331
|
* @param headers - map
|
|
@@ -3131,7 +3380,7 @@ class Client extends openapi_core_1.default {
|
|
|
3131
3380
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBenchmarkTaskResponse({}));
|
|
3132
3381
|
}
|
|
3133
3382
|
/**
|
|
3134
|
-
*
|
|
3383
|
+
* Lists all deployed stress testing tasks.
|
|
3135
3384
|
*
|
|
3136
3385
|
* @param request - ListBenchmarkTaskRequest
|
|
3137
3386
|
* @returns ListBenchmarkTaskResponse
|
|
@@ -3142,7 +3391,68 @@ class Client extends openapi_core_1.default {
|
|
|
3142
3391
|
return await this.listBenchmarkTaskWithOptions(request, headers, runtime);
|
|
3143
3392
|
}
|
|
3144
3393
|
/**
|
|
3145
|
-
*
|
|
3394
|
+
* Retrieves a list of dynamic parameters for a specified service.
|
|
3395
|
+
*
|
|
3396
|
+
* @remarks
|
|
3397
|
+
* ## Description
|
|
3398
|
+
* - `ClusterId` specifies the service\\"s region.
|
|
3399
|
+
* - `ConfigType` specifies the configuration type. Only `service` is supported.
|
|
3400
|
+
* - `Name` specifies the service name.
|
|
3401
|
+
* - Use the `Page` and `PageSize` parameters to paginate the results.
|
|
3402
|
+
* - The response contains the details of the dynamic parameters and pagination information.
|
|
3403
|
+
*
|
|
3404
|
+
* @param request - ListConfigsRequest
|
|
3405
|
+
* @param headers - map
|
|
3406
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3407
|
+
* @returns ListConfigsResponse
|
|
3408
|
+
*/
|
|
3409
|
+
async listConfigsWithOptions(ClusterId, ConfigType, Name, request, headers, runtime) {
|
|
3410
|
+
request.validate();
|
|
3411
|
+
let query = {};
|
|
3412
|
+
if (!$dara.isNull(request.page)) {
|
|
3413
|
+
query["Page"] = request.page;
|
|
3414
|
+
}
|
|
3415
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
3416
|
+
query["PageSize"] = request.pageSize;
|
|
3417
|
+
}
|
|
3418
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3419
|
+
headers: headers,
|
|
3420
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3421
|
+
});
|
|
3422
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3423
|
+
action: "ListConfigs",
|
|
3424
|
+
version: "2021-07-01",
|
|
3425
|
+
protocol: "HTTPS",
|
|
3426
|
+
pathname: `/api/v2/configs/${$dara.URL.percentEncode(ClusterId)}/${$dara.URL.percentEncode(ConfigType)}/${$dara.URL.percentEncode(Name)}`,
|
|
3427
|
+
method: "GET",
|
|
3428
|
+
authType: "AK",
|
|
3429
|
+
style: "ROA",
|
|
3430
|
+
reqBodyType: "json",
|
|
3431
|
+
bodyType: "json",
|
|
3432
|
+
});
|
|
3433
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConfigsResponse({}));
|
|
3434
|
+
}
|
|
3435
|
+
/**
|
|
3436
|
+
* Retrieves a list of dynamic parameters for a specified service.
|
|
3437
|
+
*
|
|
3438
|
+
* @remarks
|
|
3439
|
+
* ## Description
|
|
3440
|
+
* - `ClusterId` specifies the service\\"s region.
|
|
3441
|
+
* - `ConfigType` specifies the configuration type. Only `service` is supported.
|
|
3442
|
+
* - `Name` specifies the service name.
|
|
3443
|
+
* - Use the `Page` and `PageSize` parameters to paginate the results.
|
|
3444
|
+
* - The response contains the details of the dynamic parameters and pagination information.
|
|
3445
|
+
*
|
|
3446
|
+
* @param request - ListConfigsRequest
|
|
3447
|
+
* @returns ListConfigsResponse
|
|
3448
|
+
*/
|
|
3449
|
+
async listConfigs(ClusterId, ConfigType, Name, request) {
|
|
3450
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3451
|
+
let headers = {};
|
|
3452
|
+
return await this.listConfigsWithOptions(ClusterId, ConfigType, Name, request, headers, runtime);
|
|
3453
|
+
}
|
|
3454
|
+
/**
|
|
3455
|
+
* Lists private gateways.
|
|
3146
3456
|
*
|
|
3147
3457
|
* @param tmpReq - ListGatewayRequest
|
|
3148
3458
|
* @param headers - map
|
|
@@ -3211,7 +3521,7 @@ class Client extends openapi_core_1.default {
|
|
|
3211
3521
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayResponse({}));
|
|
3212
3522
|
}
|
|
3213
3523
|
/**
|
|
3214
|
-
*
|
|
3524
|
+
* Lists private gateways.
|
|
3215
3525
|
*
|
|
3216
3526
|
* @param request - ListGatewayRequest
|
|
3217
3527
|
* @returns ListGatewayResponse
|
|
@@ -3222,7 +3532,7 @@ class Client extends openapi_core_1.default {
|
|
|
3222
3532
|
return await this.listGatewayWithOptions(request, headers, runtime);
|
|
3223
3533
|
}
|
|
3224
3534
|
/**
|
|
3225
|
-
*
|
|
3535
|
+
* Lists the custom domain names for a private gateway.
|
|
3226
3536
|
*
|
|
3227
3537
|
* @param request - ListGatewayDomainsRequest
|
|
3228
3538
|
* @param headers - map
|
|
@@ -3248,7 +3558,7 @@ class Client extends openapi_core_1.default {
|
|
|
3248
3558
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayDomainsResponse({}));
|
|
3249
3559
|
}
|
|
3250
3560
|
/**
|
|
3251
|
-
*
|
|
3561
|
+
* Lists the custom domain names for a private gateway.
|
|
3252
3562
|
*
|
|
3253
3563
|
* @param request - ListGatewayDomainsRequest
|
|
3254
3564
|
* @returns ListGatewayDomainsResponse
|
|
@@ -3259,7 +3569,10 @@ class Client extends openapi_core_1.default {
|
|
|
3259
3569
|
return await this.listGatewayDomainsWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
3260
3570
|
}
|
|
3261
3571
|
/**
|
|
3262
|
-
*
|
|
3572
|
+
* Lists the internal access endpoints of a private gateway.
|
|
3573
|
+
*
|
|
3574
|
+
* @remarks
|
|
3575
|
+
* *Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
3263
3576
|
*
|
|
3264
3577
|
* @param request - ListGatewayIntranetLinkedVpcRequest
|
|
3265
3578
|
* @param headers - map
|
|
@@ -3285,7 +3598,10 @@ class Client extends openapi_core_1.default {
|
|
|
3285
3598
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayIntranetLinkedVpcResponse({}));
|
|
3286
3599
|
}
|
|
3287
3600
|
/**
|
|
3288
|
-
*
|
|
3601
|
+
* Lists the internal access endpoints of a private gateway.
|
|
3602
|
+
*
|
|
3603
|
+
* @remarks
|
|
3604
|
+
* *Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
3289
3605
|
*
|
|
3290
3606
|
* @param request - ListGatewayIntranetLinkedVpcRequest
|
|
3291
3607
|
* @returns ListGatewayIntranetLinkedVpcResponse
|
|
@@ -3296,7 +3612,7 @@ class Client extends openapi_core_1.default {
|
|
|
3296
3612
|
return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
3297
3613
|
}
|
|
3298
3614
|
/**
|
|
3299
|
-
*
|
|
3615
|
+
* Lists the VPC peering connections for a gateway\\"s private network endpoint.
|
|
3300
3616
|
*
|
|
3301
3617
|
* @param request - ListGatewayIntranetLinkedVpcPeerRequest
|
|
3302
3618
|
* @param headers - map
|
|
@@ -3327,7 +3643,7 @@ class Client extends openapi_core_1.default {
|
|
|
3327
3643
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGatewayIntranetLinkedVpcPeerResponse({}));
|
|
3328
3644
|
}
|
|
3329
3645
|
/**
|
|
3330
|
-
*
|
|
3646
|
+
* Lists the VPC peering connections for a gateway\\"s private network endpoint.
|
|
3331
3647
|
*
|
|
3332
3648
|
* @param request - ListGatewayIntranetLinkedVpcPeerRequest
|
|
3333
3649
|
* @returns ListGatewayIntranetLinkedVpcPeerResponse
|
|
@@ -3375,19 +3691,27 @@ class Client extends openapi_core_1.default {
|
|
|
3375
3691
|
return await this.listGatewayIntranetSupportedZoneWithOptions(GatewayId, ClusterId, request, headers, runtime);
|
|
3376
3692
|
}
|
|
3377
3693
|
/**
|
|
3378
|
-
*
|
|
3694
|
+
* Lists created service groups.
|
|
3379
3695
|
*
|
|
3380
|
-
* @param
|
|
3696
|
+
* @param tmpReq - ListGroupsRequest
|
|
3381
3697
|
* @param headers - map
|
|
3382
3698
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3383
3699
|
* @returns ListGroupsResponse
|
|
3384
3700
|
*/
|
|
3385
|
-
async listGroupsWithOptions(
|
|
3386
|
-
|
|
3701
|
+
async listGroupsWithOptions(tmpReq, headers, runtime) {
|
|
3702
|
+
tmpReq.validate();
|
|
3703
|
+
let request = new $_model.ListGroupsShrinkRequest({});
|
|
3704
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3705
|
+
if (!$dara.isNull(tmpReq.labels)) {
|
|
3706
|
+
request.labelsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.labels, "Labels", "json");
|
|
3707
|
+
}
|
|
3387
3708
|
let query = {};
|
|
3388
3709
|
if (!$dara.isNull(request.filter)) {
|
|
3389
3710
|
query["Filter"] = request.filter;
|
|
3390
3711
|
}
|
|
3712
|
+
if (!$dara.isNull(request.labelsShrink)) {
|
|
3713
|
+
query["Labels"] = request.labelsShrink;
|
|
3714
|
+
}
|
|
3391
3715
|
if (!$dara.isNull(request.order)) {
|
|
3392
3716
|
query["Order"] = request.order;
|
|
3393
3717
|
}
|
|
@@ -3424,7 +3748,7 @@ class Client extends openapi_core_1.default {
|
|
|
3424
3748
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGroupsResponse({}));
|
|
3425
3749
|
}
|
|
3426
3750
|
/**
|
|
3427
|
-
*
|
|
3751
|
+
* Lists created service groups.
|
|
3428
3752
|
*
|
|
3429
3753
|
* @param request - ListGroupsRequest
|
|
3430
3754
|
* @returns ListGroupsResponse
|
|
@@ -3435,7 +3759,7 @@ class Client extends openapi_core_1.default {
|
|
|
3435
3759
|
return await this.listGroupsWithOptions(request, headers, runtime);
|
|
3436
3760
|
}
|
|
3437
3761
|
/**
|
|
3438
|
-
*
|
|
3762
|
+
* Lists the service workers of a resource instance.
|
|
3439
3763
|
*
|
|
3440
3764
|
* @param request - ListResourceInstanceWorkerRequest
|
|
3441
3765
|
* @param headers - map
|
|
@@ -3487,7 +3811,7 @@ class Client extends openapi_core_1.default {
|
|
|
3487
3811
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListResourceInstanceWorkerResponse({}));
|
|
3488
3812
|
}
|
|
3489
3813
|
/**
|
|
3490
|
-
*
|
|
3814
|
+
* Lists the service workers of a resource instance.
|
|
3491
3815
|
*
|
|
3492
3816
|
* @param request - ListResourceInstanceWorkerRequest
|
|
3493
3817
|
* @returns ListResourceInstanceWorkerResponse
|
|
@@ -3498,7 +3822,7 @@ class Client extends openapi_core_1.default {
|
|
|
3498
3822
|
return await this.listResourceInstanceWorkerWithOptions(ClusterId, ResourceId, InstanceName, request, headers, runtime);
|
|
3499
3823
|
}
|
|
3500
3824
|
/**
|
|
3501
|
-
*
|
|
3825
|
+
* Lists the instances in a specified dedicated resource group.
|
|
3502
3826
|
*
|
|
3503
3827
|
* @param tmpReq - ListResourceInstancesRequest
|
|
3504
3828
|
* @param headers - map
|
|
@@ -3567,7 +3891,7 @@ class Client extends openapi_core_1.default {
|
|
|
3567
3891
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListResourceInstancesResponse({}));
|
|
3568
3892
|
}
|
|
3569
3893
|
/**
|
|
3570
|
-
*
|
|
3894
|
+
* Lists the instances in a specified dedicated resource group.
|
|
3571
3895
|
*
|
|
3572
3896
|
* @param request - ListResourceInstancesRequest
|
|
3573
3897
|
* @returns ListResourceInstancesResponse
|
|
@@ -3628,7 +3952,7 @@ class Client extends openapi_core_1.default {
|
|
|
3628
3952
|
return await this.listResourceServicesWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
3629
3953
|
}
|
|
3630
3954
|
/**
|
|
3631
|
-
*
|
|
3955
|
+
* Lists the resource groups for the current user.
|
|
3632
3956
|
*
|
|
3633
3957
|
* @param request - ListResourcesRequest
|
|
3634
3958
|
* @param headers - map
|
|
@@ -3683,7 +4007,7 @@ class Client extends openapi_core_1.default {
|
|
|
3683
4007
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListResourcesResponse({}));
|
|
3684
4008
|
}
|
|
3685
4009
|
/**
|
|
3686
|
-
*
|
|
4010
|
+
* Lists the resource groups for the current user.
|
|
3687
4011
|
*
|
|
3688
4012
|
* @param request - ListResourcesRequest
|
|
3689
4013
|
* @returns ListResourcesResponse
|
|
@@ -3731,7 +4055,10 @@ class Client extends openapi_core_1.default {
|
|
|
3731
4055
|
return await this.listServiceContainersWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime);
|
|
3732
4056
|
}
|
|
3733
4057
|
/**
|
|
3734
|
-
*
|
|
4058
|
+
* Retrieves fault injection information.
|
|
4059
|
+
*
|
|
4060
|
+
* @remarks
|
|
4061
|
+
* *Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
3735
4062
|
*
|
|
3736
4063
|
* @param request - ListServiceInstanceFaultInjectionInfoRequest
|
|
3737
4064
|
* @param headers - map
|
|
@@ -3757,7 +4084,10 @@ class Client extends openapi_core_1.default {
|
|
|
3757
4084
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServiceInstanceFaultInjectionInfoResponse({}));
|
|
3758
4085
|
}
|
|
3759
4086
|
/**
|
|
3760
|
-
*
|
|
4087
|
+
* Retrieves fault injection information.
|
|
4088
|
+
*
|
|
4089
|
+
* @remarks
|
|
4090
|
+
* *Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
3761
4091
|
*
|
|
3762
4092
|
* @param request - ListServiceInstanceFaultInjectionInfoRequest
|
|
3763
4093
|
* @returns ListServiceInstanceFaultInjectionInfoResponse
|
|
@@ -3768,7 +4098,10 @@ class Client extends openapi_core_1.default {
|
|
|
3768
4098
|
return await this.listServiceInstanceFaultInjectionInfoWithOptions(ClusterId, ServiceName, InstanceName, request, headers, runtime);
|
|
3769
4099
|
}
|
|
3770
4100
|
/**
|
|
3771
|
-
*
|
|
4101
|
+
* Lists the instances of a specified service.
|
|
4102
|
+
*
|
|
4103
|
+
* @remarks
|
|
4104
|
+
* *Ensure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS) before you call this operation.**
|
|
3772
4105
|
*
|
|
3773
4106
|
* @param request - ListServiceInstancesRequest
|
|
3774
4107
|
* @param headers - map
|
|
@@ -3850,7 +4183,10 @@ class Client extends openapi_core_1.default {
|
|
|
3850
4183
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServiceInstancesResponse({}));
|
|
3851
4184
|
}
|
|
3852
4185
|
/**
|
|
3853
|
-
*
|
|
4186
|
+
* Lists the instances of a specified service.
|
|
4187
|
+
*
|
|
4188
|
+
* @remarks
|
|
4189
|
+
* *Ensure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS) before you call this operation.**
|
|
3854
4190
|
*
|
|
3855
4191
|
* @param request - ListServiceInstancesRequest
|
|
3856
4192
|
* @returns ListServiceInstancesResponse
|
|
@@ -4064,7 +4400,7 @@ class Client extends openapi_core_1.default {
|
|
|
4064
4400
|
return await this.listTenantAddonsWithOptions(headers, runtime);
|
|
4065
4401
|
}
|
|
4066
4402
|
/**
|
|
4067
|
-
* Queries
|
|
4403
|
+
* Queries the virtual resource groups for the current user.
|
|
4068
4404
|
*
|
|
4069
4405
|
* @param request - ListVirtualResourceRequest
|
|
4070
4406
|
* @param headers - map
|
|
@@ -4110,7 +4446,7 @@ class Client extends openapi_core_1.default {
|
|
|
4110
4446
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListVirtualResourceResponse({}));
|
|
4111
4447
|
}
|
|
4112
4448
|
/**
|
|
4113
|
-
* Queries
|
|
4449
|
+
* Queries the virtual resource groups for the current user.
|
|
4114
4450
|
*
|
|
4115
4451
|
* @param request - ListVirtualResourceRequest
|
|
4116
4452
|
* @returns ListVirtualResourceResponse
|
|
@@ -4121,7 +4457,7 @@ class Client extends openapi_core_1.default {
|
|
|
4121
4457
|
return await this.listVirtualResourceWithOptions(request, headers, runtime);
|
|
4122
4458
|
}
|
|
4123
4459
|
/**
|
|
4124
|
-
* Migrates resource group
|
|
4460
|
+
* Migrates instances to a specified resource group.
|
|
4125
4461
|
*
|
|
4126
4462
|
* @param request - MigrateResourceInstanceRequest
|
|
4127
4463
|
* @param headers - map
|
|
@@ -4158,7 +4494,7 @@ class Client extends openapi_core_1.default {
|
|
|
4158
4494
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MigrateResourceInstanceResponse({}));
|
|
4159
4495
|
}
|
|
4160
4496
|
/**
|
|
4161
|
-
* Migrates resource group
|
|
4497
|
+
* Migrates instances to a specified resource group.
|
|
4162
4498
|
*
|
|
4163
4499
|
* @param request - MigrateResourceInstanceRequest
|
|
4164
4500
|
* @returns MigrateResourceInstanceResponse
|
|
@@ -4288,7 +4624,7 @@ class Client extends openapi_core_1.default {
|
|
|
4288
4624
|
return await this.restartServiceWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
4289
4625
|
}
|
|
4290
4626
|
/**
|
|
4291
|
-
*
|
|
4627
|
+
* Scales a service.
|
|
4292
4628
|
*
|
|
4293
4629
|
* @param request - ScaleServiceRequest
|
|
4294
4630
|
* @param headers - map
|
|
@@ -4322,7 +4658,7 @@ class Client extends openapi_core_1.default {
|
|
|
4322
4658
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ScaleServiceResponse({}));
|
|
4323
4659
|
}
|
|
4324
4660
|
/**
|
|
4325
|
-
*
|
|
4661
|
+
* Scales a service.
|
|
4326
4662
|
*
|
|
4327
4663
|
* @param request - ScaleServiceRequest
|
|
4328
4664
|
* @returns ScaleServiceResponse
|
|
@@ -4581,7 +4917,57 @@ class Client extends openapi_core_1.default {
|
|
|
4581
4917
|
return await this.updateBenchmarkTaskWithOptions(ClusterId, TaskName, request, headers, runtime);
|
|
4582
4918
|
}
|
|
4583
4919
|
/**
|
|
4584
|
-
*
|
|
4920
|
+
* Updates a dynamic parameter for a specific cluster and service.
|
|
4921
|
+
*
|
|
4922
|
+
* @remarks
|
|
4923
|
+
* ## Request
|
|
4924
|
+
* Use this API to update a dynamic parameter by providing its `ClusterId`, `ConfigType`, `Name`, and `ConfigKey`. The request body must contain the new parameter value in the `Value` field. Ensure you provide the correct path parameters to avoid errors.
|
|
4925
|
+
*
|
|
4926
|
+
* @param request - UpdateConfigRequest
|
|
4927
|
+
* @param headers - map
|
|
4928
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4929
|
+
* @returns UpdateConfigResponse
|
|
4930
|
+
*/
|
|
4931
|
+
async updateConfigWithOptions(ClusterId, ConfigType, Name, ConfigKey, request, headers, runtime) {
|
|
4932
|
+
request.validate();
|
|
4933
|
+
let body = {};
|
|
4934
|
+
if (!$dara.isNull(request.value)) {
|
|
4935
|
+
body["Value"] = request.value;
|
|
4936
|
+
}
|
|
4937
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4938
|
+
headers: headers,
|
|
4939
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
4940
|
+
});
|
|
4941
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4942
|
+
action: "UpdateConfig",
|
|
4943
|
+
version: "2021-07-01",
|
|
4944
|
+
protocol: "HTTPS",
|
|
4945
|
+
pathname: `/api/v2/configs/${$dara.URL.percentEncode(ClusterId)}/${$dara.URL.percentEncode(ConfigType)}/${$dara.URL.percentEncode(Name)}/${$dara.URL.percentEncode(ConfigKey)}`,
|
|
4946
|
+
method: "PUT",
|
|
4947
|
+
authType: "AK",
|
|
4948
|
+
style: "ROA",
|
|
4949
|
+
reqBodyType: "json",
|
|
4950
|
+
bodyType: "json",
|
|
4951
|
+
});
|
|
4952
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConfigResponse({}));
|
|
4953
|
+
}
|
|
4954
|
+
/**
|
|
4955
|
+
* Updates a dynamic parameter for a specific cluster and service.
|
|
4956
|
+
*
|
|
4957
|
+
* @remarks
|
|
4958
|
+
* ## Request
|
|
4959
|
+
* Use this API to update a dynamic parameter by providing its `ClusterId`, `ConfigType`, `Name`, and `ConfigKey`. The request body must contain the new parameter value in the `Value` field. Ensure you provide the correct path parameters to avoid errors.
|
|
4960
|
+
*
|
|
4961
|
+
* @param request - UpdateConfigRequest
|
|
4962
|
+
* @returns UpdateConfigResponse
|
|
4963
|
+
*/
|
|
4964
|
+
async updateConfig(ClusterId, ConfigType, Name, ConfigKey, request) {
|
|
4965
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4966
|
+
let headers = {};
|
|
4967
|
+
return await this.updateConfigWithOptions(ClusterId, ConfigType, Name, ConfigKey, request, headers, runtime);
|
|
4968
|
+
}
|
|
4969
|
+
/**
|
|
4970
|
+
* Updates a private gateway.
|
|
4585
4971
|
*
|
|
4586
4972
|
* @param request - UpdateGatewayRequest
|
|
4587
4973
|
* @param headers - map
|
|
@@ -4636,7 +5022,7 @@ class Client extends openapi_core_1.default {
|
|
|
4636
5022
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayResponse({}));
|
|
4637
5023
|
}
|
|
4638
5024
|
/**
|
|
4639
|
-
*
|
|
5025
|
+
* Updates a private gateway.
|
|
4640
5026
|
*
|
|
4641
5027
|
* @param request - UpdateGatewayRequest
|
|
4642
5028
|
* @returns UpdateGatewayResponse
|
|
@@ -4647,7 +5033,10 @@ class Client extends openapi_core_1.default {
|
|
|
4647
5033
|
return await this.updateGatewayWithOptions(GatewayId, ClusterId, request, headers, runtime);
|
|
4648
5034
|
}
|
|
4649
5035
|
/**
|
|
4650
|
-
*
|
|
5036
|
+
* Adds a gateway label or updates an existing one.
|
|
5037
|
+
*
|
|
5038
|
+
* @remarks
|
|
5039
|
+
* *Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
4651
5040
|
*
|
|
4652
5041
|
* @param request - UpdateGatewayLabelRequest
|
|
4653
5042
|
* @param headers - map
|
|
@@ -4678,7 +5067,10 @@ class Client extends openapi_core_1.default {
|
|
|
4678
5067
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGatewayLabelResponse({}));
|
|
4679
5068
|
}
|
|
4680
5069
|
/**
|
|
4681
|
-
*
|
|
5070
|
+
* Adds a gateway label or updates an existing one.
|
|
5071
|
+
*
|
|
5072
|
+
* @remarks
|
|
5073
|
+
* *Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
4682
5074
|
*
|
|
4683
5075
|
* @param request - UpdateGatewayLabelRequest
|
|
4684
5076
|
* @returns UpdateGatewayLabelResponse
|
|
@@ -4689,7 +5081,7 @@ class Client extends openapi_core_1.default {
|
|
|
4689
5081
|
return await this.updateGatewayLabelWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
4690
5082
|
}
|
|
4691
5083
|
/**
|
|
4692
|
-
* Updates
|
|
5084
|
+
* Updates specific fields of a service group.
|
|
4693
5085
|
*
|
|
4694
5086
|
* @param request - UpdateGroupRequest
|
|
4695
5087
|
* @param headers - map
|
|
@@ -4699,6 +5091,12 @@ class Client extends openapi_core_1.default {
|
|
|
4699
5091
|
async updateGroupWithOptions(ClusterId, GroupName, request, headers, runtime) {
|
|
4700
5092
|
request.validate();
|
|
4701
5093
|
let body = {};
|
|
5094
|
+
if (!$dara.isNull(request.labels)) {
|
|
5095
|
+
body["Labels"] = request.labels;
|
|
5096
|
+
}
|
|
5097
|
+
if (!$dara.isNull(request.network)) {
|
|
5098
|
+
body["Network"] = request.network;
|
|
5099
|
+
}
|
|
4702
5100
|
if (!$dara.isNull(request.trafficMode)) {
|
|
4703
5101
|
body["TrafficMode"] = request.trafficMode;
|
|
4704
5102
|
}
|
|
@@ -4720,7 +5118,7 @@ class Client extends openapi_core_1.default {
|
|
|
4720
5118
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGroupResponse({}));
|
|
4721
5119
|
}
|
|
4722
5120
|
/**
|
|
4723
|
-
* Updates
|
|
5121
|
+
* Updates specific fields of a service group.
|
|
4724
5122
|
*
|
|
4725
5123
|
* @param request - UpdateGroupRequest
|
|
4726
5124
|
* @returns UpdateGroupResponse
|
|
@@ -4827,7 +5225,7 @@ class Client extends openapi_core_1.default {
|
|
|
4827
5225
|
return await this.updateResourceDLinkWithOptions(ClusterId, ResourceId, request, headers, runtime);
|
|
4828
5226
|
}
|
|
4829
5227
|
/**
|
|
4830
|
-
* Updates the
|
|
5228
|
+
* Updates the scheduling status of an instance in a dedicated resource group.
|
|
4831
5229
|
*
|
|
4832
5230
|
* @param request - UpdateResourceInstanceRequest
|
|
4833
5231
|
* @param headers - map
|
|
@@ -4864,7 +5262,7 @@ class Client extends openapi_core_1.default {
|
|
|
4864
5262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateResourceInstanceResponse({}));
|
|
4865
5263
|
}
|
|
4866
5264
|
/**
|
|
4867
|
-
* Updates the
|
|
5265
|
+
* Updates the scheduling status of an instance in a dedicated resource group.
|
|
4868
5266
|
*
|
|
4869
5267
|
* @param request - UpdateResourceInstanceRequest
|
|
4870
5268
|
* @returns UpdateResourceInstanceResponse
|
|
@@ -5027,7 +5425,7 @@ class Client extends openapi_core_1.default {
|
|
|
5027
5425
|
return await this.updateServiceAutoScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5028
5426
|
}
|
|
5029
5427
|
/**
|
|
5030
|
-
* Updates the
|
|
5428
|
+
* Updates the scheduled auto scaling configuration for a service.
|
|
5031
5429
|
*
|
|
5032
5430
|
* @param request - UpdateServiceCronScalerRequest
|
|
5033
5431
|
* @param headers - map
|
|
@@ -5061,7 +5459,7 @@ class Client extends openapi_core_1.default {
|
|
|
5061
5459
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceCronScalerResponse({}));
|
|
5062
5460
|
}
|
|
5063
5461
|
/**
|
|
5064
|
-
* Updates the
|
|
5462
|
+
* Updates the scheduled auto scaling configuration for a service.
|
|
5065
5463
|
*
|
|
5066
5464
|
* @param request - UpdateServiceCronScalerRequest
|
|
5067
5465
|
* @returns UpdateServiceCronScalerResponse
|
|
@@ -5072,7 +5470,10 @@ class Client extends openapi_core_1.default {
|
|
|
5072
5470
|
return await this.updateServiceCronScalerWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5073
5471
|
}
|
|
5074
5472
|
/**
|
|
5075
|
-
* Updates
|
|
5473
|
+
* Updates the properties of a service instance. This operation applies only to fencing service instances.
|
|
5474
|
+
*
|
|
5475
|
+
* @remarks
|
|
5476
|
+
* *Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
5076
5477
|
*
|
|
5077
5478
|
* @param request - UpdateServiceInstanceRequest
|
|
5078
5479
|
* @param headers - map
|
|
@@ -5114,7 +5515,10 @@ class Client extends openapi_core_1.default {
|
|
|
5114
5515
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceInstanceResponse({}));
|
|
5115
5516
|
}
|
|
5116
5517
|
/**
|
|
5117
|
-
* Updates
|
|
5518
|
+
* Updates the properties of a service instance. This operation applies only to fencing service instances.
|
|
5519
|
+
*
|
|
5520
|
+
* @remarks
|
|
5521
|
+
* *Before you call this operation, make sure that you understand the billing methods and [pricing](https://help.aliyun.com/document_detail/144261.html) of Elastic Algorithm Service (EAS).**
|
|
5118
5522
|
*
|
|
5119
5523
|
* @param request - UpdateServiceInstanceRequest
|
|
5120
5524
|
* @returns UpdateServiceInstanceResponse
|
|
@@ -5212,15 +5616,15 @@ class Client extends openapi_core_1.default {
|
|
|
5212
5616
|
return await this.updateServiceMirrorWithOptions(ClusterId, ServiceName, request, headers, runtime);
|
|
5213
5617
|
}
|
|
5214
5618
|
/**
|
|
5215
|
-
*
|
|
5619
|
+
* Updates a service rollout.
|
|
5216
5620
|
*
|
|
5217
5621
|
* @remarks
|
|
5218
|
-
* ##
|
|
5219
|
-
* -
|
|
5220
|
-
* -
|
|
5221
|
-
* -
|
|
5222
|
-
* -
|
|
5223
|
-
* -
|
|
5622
|
+
* ## Usage notes
|
|
5623
|
+
* - **Provide at least one parameter**: Specify at least one of the `Partition`, `Batch`, or `Paused` parameters.
|
|
5624
|
+
* - **Mutually exclusive strategies**: You cannot specify both the `Partition` and `Batch` parameters in the same request.
|
|
5625
|
+
* - **Immediate effect**: Updates take effect immediately and affect ongoing service rollouts.
|
|
5626
|
+
* - **Rollback**: You can perform a rollback by increasing the `Partition` value. However, this is not an automatic process, and you must manually update the service image.
|
|
5627
|
+
* - **Pause does not affect parameters**: Pausing a rollout does not change the configured `Partition` or `Batch` parameters. It only suspends the current rollout strategy.
|
|
5224
5628
|
*
|
|
5225
5629
|
* @param request - UpdateServiceRolloutRequest
|
|
5226
5630
|
* @param headers - map
|
|
@@ -5257,15 +5661,15 @@ class Client extends openapi_core_1.default {
|
|
|
5257
5661
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceRolloutResponse({}));
|
|
5258
5662
|
}
|
|
5259
5663
|
/**
|
|
5260
|
-
*
|
|
5664
|
+
* Updates a service rollout.
|
|
5261
5665
|
*
|
|
5262
5666
|
* @remarks
|
|
5263
|
-
* ##
|
|
5264
|
-
* -
|
|
5265
|
-
* -
|
|
5266
|
-
* -
|
|
5267
|
-
* -
|
|
5268
|
-
* -
|
|
5667
|
+
* ## Usage notes
|
|
5668
|
+
* - **Provide at least one parameter**: Specify at least one of the `Partition`, `Batch`, or `Paused` parameters.
|
|
5669
|
+
* - **Mutually exclusive strategies**: You cannot specify both the `Partition` and `Batch` parameters in the same request.
|
|
5670
|
+
* - **Immediate effect**: Updates take effect immediately and affect ongoing service rollouts.
|
|
5671
|
+
* - **Rollback**: You can perform a rollback by increasing the `Partition` value. However, this is not an automatic process, and you must manually update the service image.
|
|
5672
|
+
* - **Pause does not affect parameters**: Pausing a rollout does not change the configured `Partition` or `Batch` parameters. It only suspends the current rollout strategy.
|
|
5269
5673
|
*
|
|
5270
5674
|
* @param request - UpdateServiceRolloutRequest
|
|
5271
5675
|
* @returns UpdateServiceRolloutResponse
|