@alicloud/eas20210701 6.1.0 → 6.3.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 -6
- package/dist/client.js +318 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +510 -6
package/dist/client.js
CHANGED
|
@@ -15,23 +15,34 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
28
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
39
|
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
40
|
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.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
41
|
+
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.DescribeServiceEndpointsResponse = exports.DescribeServiceEndpointsResponseBody = 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.DescribeGroupEndpointsResponse = exports.DescribeGroupEndpointsResponseBody = exports.DescribeGroupResponse = exports.DescribeGatewayResponse = exports.DescribeGatewayResponseBody = exports.DescribeBenchmarkTaskReportResponse = exports.DescribeBenchmarkTaskReportResponseBody = exports.DescribeBenchmarkTaskReportRequest = exports.DescribeBenchmarkTaskResponse = exports.DescribeBenchmarkTaskResponseBody = exports.DeleteVirtualResourceResponse = exports.DeleteVirtualResourceResponseBody = exports.DeleteServiceMirrorResponse = void 0;
|
|
42
|
+
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.ListGatewayIntranetSupportedZoneResponse = exports.ListGatewayIntranetSupportedZoneResponseBody = exports.ListGatewayIntranetLinkedVpcPeerResponse = exports.ListGatewayIntranetLinkedVpcPeerResponseBody = exports.ListGatewayIntranetLinkedVpcPeerRequest = exports.ListGatewayIntranetLinkedVpcResponse = exports.ListGatewayIntranetLinkedVpcResponseBody = exports.ListGatewayDomainsResponse = exports.ListGatewayDomainsResponseBody = exports.ListGatewayResponse = exports.ListGatewayResponseBody = exports.ListGatewayRequest = exports.ListBenchmarkTaskResponse = exports.ListBenchmarkTaskResponseBody = exports.ListBenchmarkTaskRequest = exports.ListAclPolicyResponse = exports.ListAclPolicyResponseBody = exports.ListAclPolicyRequest = void 0;
|
|
43
|
+
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 = exports.RestartServiceResponseBody = exports.ReleaseServiceResponse = exports.ReleaseServiceResponseBody = exports.ReleaseServiceRequest = exports.ReinstallTenantAddonResponse = exports.ReinstallTenantAddonResponseBody = void 0;
|
|
44
|
+
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.DescribeServiceEndpointsResponseBodyEndpoints = exports.DescribeServiceDiagnosisResponseBodyDiagnosisList = exports.DescribeServiceCronScalerResponseBodyScaleJobs = exports.DescribeServiceAutoScalerResponseBodyScaleStrategies = exports.DescribeServiceAutoScalerResponseBodyCurrentMetrics = exports.DescribeGroupEndpointsResponseBodyEndpoints = 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 = exports.UpdateServiceVersionResponseBody = exports.UpdateServiceVersionRequest = exports.UpdateServiceSafetyLockResponse = exports.UpdateServiceSafetyLockResponseBody = exports.UpdateServiceSafetyLockRequest = exports.UpdateServiceMirrorResponse = void 0;
|
|
45
|
+
exports.UpdateVirtualResourceRequestResources = exports.UpdateServiceCronScalerRequestScaleJobs = exports.UpdateServiceAutoScalerRequestScaleStrategies = exports.UpdateServiceAutoScalerRequestBehavior = exports.UpdateServiceAutoScalerRequestBehaviorScaleUp = exports.UpdateServiceAutoScalerRequestBehaviorScaleDown = exports.UpdateServiceAutoScalerRequestBehaviorOnZero = exports.UpdateResourceRequestSelfManagedResourceOptions = void 0;
|
|
35
46
|
// This file is auto-generated, don't edit it
|
|
36
47
|
/**
|
|
37
48
|
*/
|
|
@@ -2451,6 +2462,7 @@ class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
2451
2462
|
isDefault: 'IsDefault',
|
|
2452
2463
|
replicas: 'Replicas',
|
|
2453
2464
|
requestId: 'RequestId',
|
|
2465
|
+
SSLRedirectionEnabled: 'SSLRedirectionEnabled',
|
|
2454
2466
|
status: 'Status',
|
|
2455
2467
|
updateTime: 'UpdateTime',
|
|
2456
2468
|
};
|
|
@@ -2469,6 +2481,7 @@ class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
2469
2481
|
isDefault: 'boolean',
|
|
2470
2482
|
replicas: 'number',
|
|
2471
2483
|
requestId: 'string',
|
|
2484
|
+
SSLRedirectionEnabled: 'boolean',
|
|
2472
2485
|
status: 'string',
|
|
2473
2486
|
updateTime: 'string',
|
|
2474
2487
|
};
|
|
@@ -2518,15 +2531,61 @@ class DescribeGroupResponse extends $tea.Model {
|
|
|
2518
2531
|
}
|
|
2519
2532
|
}
|
|
2520
2533
|
exports.DescribeGroupResponse = DescribeGroupResponse;
|
|
2534
|
+
class DescribeGroupEndpointsResponseBody extends $tea.Model {
|
|
2535
|
+
static names() {
|
|
2536
|
+
return {
|
|
2537
|
+
accessToken: 'AccessToken',
|
|
2538
|
+
endpoints: 'Endpoints',
|
|
2539
|
+
message: 'Message',
|
|
2540
|
+
requestId: 'RequestId',
|
|
2541
|
+
};
|
|
2542
|
+
}
|
|
2543
|
+
static types() {
|
|
2544
|
+
return {
|
|
2545
|
+
accessToken: 'string',
|
|
2546
|
+
endpoints: DescribeGroupEndpointsResponseBodyEndpoints,
|
|
2547
|
+
message: 'string',
|
|
2548
|
+
requestId: 'string',
|
|
2549
|
+
};
|
|
2550
|
+
}
|
|
2551
|
+
constructor(map) {
|
|
2552
|
+
super(map);
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
exports.DescribeGroupEndpointsResponseBody = DescribeGroupEndpointsResponseBody;
|
|
2556
|
+
class DescribeGroupEndpointsResponse extends $tea.Model {
|
|
2557
|
+
static names() {
|
|
2558
|
+
return {
|
|
2559
|
+
headers: 'headers',
|
|
2560
|
+
statusCode: 'statusCode',
|
|
2561
|
+
body: 'body',
|
|
2562
|
+
};
|
|
2563
|
+
}
|
|
2564
|
+
static types() {
|
|
2565
|
+
return {
|
|
2566
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2567
|
+
statusCode: 'number',
|
|
2568
|
+
body: DescribeGroupEndpointsResponseBody,
|
|
2569
|
+
};
|
|
2570
|
+
}
|
|
2571
|
+
constructor(map) {
|
|
2572
|
+
super(map);
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
exports.DescribeGroupEndpointsResponse = DescribeGroupEndpointsResponse;
|
|
2521
2576
|
class DescribeResourceResponseBody extends $tea.Model {
|
|
2522
2577
|
static names() {
|
|
2523
2578
|
return {
|
|
2524
2579
|
clusterId: 'ClusterId',
|
|
2525
2580
|
cpuCount: 'CpuCount',
|
|
2581
|
+
cpuUsed: 'CpuUsed',
|
|
2526
2582
|
createTime: 'CreateTime',
|
|
2527
2583
|
extraData: 'ExtraData',
|
|
2528
2584
|
gpuCount: 'GpuCount',
|
|
2585
|
+
gpuUsed: 'GpuUsed',
|
|
2529
2586
|
instanceCount: 'InstanceCount',
|
|
2587
|
+
memory: 'Memory',
|
|
2588
|
+
memoryUsed: 'MemoryUsed',
|
|
2530
2589
|
message: 'Message',
|
|
2531
2590
|
ownerUid: 'OwnerUid',
|
|
2532
2591
|
postPaidInstanceCount: 'PostPaidInstanceCount',
|
|
@@ -2543,10 +2602,14 @@ class DescribeResourceResponseBody extends $tea.Model {
|
|
|
2543
2602
|
return {
|
|
2544
2603
|
clusterId: 'string',
|
|
2545
2604
|
cpuCount: 'number',
|
|
2605
|
+
cpuUsed: 'number',
|
|
2546
2606
|
createTime: 'string',
|
|
2547
2607
|
extraData: 'string',
|
|
2548
2608
|
gpuCount: 'number',
|
|
2609
|
+
gpuUsed: 'number',
|
|
2549
2610
|
instanceCount: 'number',
|
|
2611
|
+
memory: 'number',
|
|
2612
|
+
memoryUsed: 'number',
|
|
2550
2613
|
message: 'string',
|
|
2551
2614
|
ownerUid: 'string',
|
|
2552
2615
|
postPaidInstanceCount: 'number',
|
|
@@ -2822,6 +2885,48 @@ class DescribeServiceDiagnosisResponse extends $tea.Model {
|
|
|
2822
2885
|
}
|
|
2823
2886
|
}
|
|
2824
2887
|
exports.DescribeServiceDiagnosisResponse = DescribeServiceDiagnosisResponse;
|
|
2888
|
+
class DescribeServiceEndpointsResponseBody extends $tea.Model {
|
|
2889
|
+
static names() {
|
|
2890
|
+
return {
|
|
2891
|
+
accessToken: 'AccessToken',
|
|
2892
|
+
endpoints: 'Endpoints',
|
|
2893
|
+
message: 'Message',
|
|
2894
|
+
requestId: 'RequestId',
|
|
2895
|
+
};
|
|
2896
|
+
}
|
|
2897
|
+
static types() {
|
|
2898
|
+
return {
|
|
2899
|
+
accessToken: 'string',
|
|
2900
|
+
endpoints: DescribeServiceEndpointsResponseBodyEndpoints,
|
|
2901
|
+
message: 'string',
|
|
2902
|
+
requestId: 'string',
|
|
2903
|
+
};
|
|
2904
|
+
}
|
|
2905
|
+
constructor(map) {
|
|
2906
|
+
super(map);
|
|
2907
|
+
}
|
|
2908
|
+
}
|
|
2909
|
+
exports.DescribeServiceEndpointsResponseBody = DescribeServiceEndpointsResponseBody;
|
|
2910
|
+
class DescribeServiceEndpointsResponse extends $tea.Model {
|
|
2911
|
+
static names() {
|
|
2912
|
+
return {
|
|
2913
|
+
headers: 'headers',
|
|
2914
|
+
statusCode: 'statusCode',
|
|
2915
|
+
body: 'body',
|
|
2916
|
+
};
|
|
2917
|
+
}
|
|
2918
|
+
static types() {
|
|
2919
|
+
return {
|
|
2920
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2921
|
+
statusCode: 'number',
|
|
2922
|
+
body: DescribeServiceEndpointsResponseBody,
|
|
2923
|
+
};
|
|
2924
|
+
}
|
|
2925
|
+
constructor(map) {
|
|
2926
|
+
super(map);
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
exports.DescribeServiceEndpointsResponse = DescribeServiceEndpointsResponse;
|
|
2825
2930
|
class DescribeServiceEventRequest extends $tea.Model {
|
|
2826
2931
|
static names() {
|
|
2827
2932
|
return {
|
|
@@ -3604,6 +3709,44 @@ class ListGatewayIntranetLinkedVpcPeerResponse extends $tea.Model {
|
|
|
3604
3709
|
}
|
|
3605
3710
|
}
|
|
3606
3711
|
exports.ListGatewayIntranetLinkedVpcPeerResponse = ListGatewayIntranetLinkedVpcPeerResponse;
|
|
3712
|
+
class ListGatewayIntranetSupportedZoneResponseBody extends $tea.Model {
|
|
3713
|
+
static names() {
|
|
3714
|
+
return {
|
|
3715
|
+
requestId: 'RequestId',
|
|
3716
|
+
zones: 'Zones',
|
|
3717
|
+
};
|
|
3718
|
+
}
|
|
3719
|
+
static types() {
|
|
3720
|
+
return {
|
|
3721
|
+
requestId: 'string',
|
|
3722
|
+
zones: { 'type': 'array', 'itemType': 'string' },
|
|
3723
|
+
};
|
|
3724
|
+
}
|
|
3725
|
+
constructor(map) {
|
|
3726
|
+
super(map);
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
exports.ListGatewayIntranetSupportedZoneResponseBody = ListGatewayIntranetSupportedZoneResponseBody;
|
|
3730
|
+
class ListGatewayIntranetSupportedZoneResponse extends $tea.Model {
|
|
3731
|
+
static names() {
|
|
3732
|
+
return {
|
|
3733
|
+
headers: 'headers',
|
|
3734
|
+
statusCode: 'statusCode',
|
|
3735
|
+
body: 'body',
|
|
3736
|
+
};
|
|
3737
|
+
}
|
|
3738
|
+
static types() {
|
|
3739
|
+
return {
|
|
3740
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3741
|
+
statusCode: 'number',
|
|
3742
|
+
body: ListGatewayIntranetSupportedZoneResponseBody,
|
|
3743
|
+
};
|
|
3744
|
+
}
|
|
3745
|
+
constructor(map) {
|
|
3746
|
+
super(map);
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3749
|
+
exports.ListGatewayIntranetSupportedZoneResponse = ListGatewayIntranetSupportedZoneResponse;
|
|
3607
3750
|
class ListGroupsRequest extends $tea.Model {
|
|
3608
3751
|
static names() {
|
|
3609
3752
|
return {
|
|
@@ -4779,6 +4922,7 @@ class UpdateGatewayRequest extends $tea.Model {
|
|
|
4779
4922
|
return {
|
|
4780
4923
|
enableInternet: 'EnableInternet',
|
|
4781
4924
|
enableIntranet: 'EnableIntranet',
|
|
4925
|
+
enableSSLRedirection: 'EnableSSLRedirection',
|
|
4782
4926
|
instanceType: 'InstanceType',
|
|
4783
4927
|
isDefault: 'IsDefault',
|
|
4784
4928
|
name: 'Name',
|
|
@@ -4789,6 +4933,7 @@ class UpdateGatewayRequest extends $tea.Model {
|
|
|
4789
4933
|
return {
|
|
4790
4934
|
enableInternet: 'boolean',
|
|
4791
4935
|
enableIntranet: 'boolean',
|
|
4936
|
+
enableSSLRedirection: 'boolean',
|
|
4792
4937
|
instanceType: 'string',
|
|
4793
4938
|
isDefault: 'boolean',
|
|
4794
4939
|
name: 'string',
|
|
@@ -5804,6 +5949,32 @@ class DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $tea.Model {
|
|
|
5804
5949
|
}
|
|
5805
5950
|
}
|
|
5806
5951
|
exports.DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs = DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs;
|
|
5952
|
+
class DescribeGroupEndpointsResponseBodyEndpoints extends $tea.Model {
|
|
5953
|
+
static names() {
|
|
5954
|
+
return {
|
|
5955
|
+
backendId: 'BackendId',
|
|
5956
|
+
endpointType: 'EndpointType',
|
|
5957
|
+
internetEndpoints: 'InternetEndpoints',
|
|
5958
|
+
intranetEndpoints: 'IntranetEndpoints',
|
|
5959
|
+
pathType: 'PathType',
|
|
5960
|
+
port: 'Port',
|
|
5961
|
+
};
|
|
5962
|
+
}
|
|
5963
|
+
static types() {
|
|
5964
|
+
return {
|
|
5965
|
+
backendId: 'string',
|
|
5966
|
+
endpointType: 'string',
|
|
5967
|
+
internetEndpoints: { 'type': 'array', 'itemType': 'string' },
|
|
5968
|
+
intranetEndpoints: { 'type': 'array', 'itemType': 'string' },
|
|
5969
|
+
pathType: 'string',
|
|
5970
|
+
port: 'number',
|
|
5971
|
+
};
|
|
5972
|
+
}
|
|
5973
|
+
constructor(map) {
|
|
5974
|
+
super(map);
|
|
5975
|
+
}
|
|
5976
|
+
}
|
|
5977
|
+
exports.DescribeGroupEndpointsResponseBodyEndpoints = DescribeGroupEndpointsResponseBodyEndpoints;
|
|
5807
5978
|
class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $tea.Model {
|
|
5808
5979
|
static names() {
|
|
5809
5980
|
return {
|
|
@@ -5892,6 +6063,32 @@ class DescribeServiceDiagnosisResponseBodyDiagnosisList extends $tea.Model {
|
|
|
5892
6063
|
}
|
|
5893
6064
|
}
|
|
5894
6065
|
exports.DescribeServiceDiagnosisResponseBodyDiagnosisList = DescribeServiceDiagnosisResponseBodyDiagnosisList;
|
|
6066
|
+
class DescribeServiceEndpointsResponseBodyEndpoints extends $tea.Model {
|
|
6067
|
+
static names() {
|
|
6068
|
+
return {
|
|
6069
|
+
backendId: 'BackendId',
|
|
6070
|
+
endpointType: 'EndpointType',
|
|
6071
|
+
internetEndpoints: 'InternetEndpoints',
|
|
6072
|
+
intranetEndpoints: 'IntranetEndpoints',
|
|
6073
|
+
pathType: 'PathType',
|
|
6074
|
+
port: 'Port',
|
|
6075
|
+
};
|
|
6076
|
+
}
|
|
6077
|
+
static types() {
|
|
6078
|
+
return {
|
|
6079
|
+
backendId: 'string',
|
|
6080
|
+
endpointType: 'string',
|
|
6081
|
+
internetEndpoints: { 'type': 'array', 'itemType': 'string' },
|
|
6082
|
+
intranetEndpoints: { 'type': 'array', 'itemType': 'string' },
|
|
6083
|
+
pathType: 'string',
|
|
6084
|
+
port: 'number',
|
|
6085
|
+
};
|
|
6086
|
+
}
|
|
6087
|
+
constructor(map) {
|
|
6088
|
+
super(map);
|
|
6089
|
+
}
|
|
6090
|
+
}
|
|
6091
|
+
exports.DescribeServiceEndpointsResponseBodyEndpoints = DescribeServiceEndpointsResponseBodyEndpoints;
|
|
5895
6092
|
class DescribeServiceEventResponseBodyEvents extends $tea.Model {
|
|
5896
6093
|
static names() {
|
|
5897
6094
|
return {
|
|
@@ -6115,6 +6312,7 @@ class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
|
6115
6312
|
intranetDomain: 'IntranetDomain',
|
|
6116
6313
|
isDefault: 'IsDefault',
|
|
6117
6314
|
replicas: 'Replicas',
|
|
6315
|
+
SSLRedirectionEnabled: 'SSLRedirectionEnabled',
|
|
6118
6316
|
status: 'Status',
|
|
6119
6317
|
updateTime: 'UpdateTime',
|
|
6120
6318
|
};
|
|
@@ -6131,6 +6329,7 @@ class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
|
6131
6329
|
intranetDomain: 'string',
|
|
6132
6330
|
isDefault: 'boolean',
|
|
6133
6331
|
replicas: 'number',
|
|
6332
|
+
SSLRedirectionEnabled: 'boolean',
|
|
6134
6333
|
status: 'string',
|
|
6135
6334
|
updateTime: 'string',
|
|
6136
6335
|
};
|
|
@@ -6887,7 +7086,7 @@ class Client extends openapi_client_1.default {
|
|
|
6887
7086
|
return await this.createGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
6888
7087
|
}
|
|
6889
7088
|
/**
|
|
6890
|
-
*
|
|
7089
|
+
* Creates a VPC peering connection on an internal endpoint of a gateway.
|
|
6891
7090
|
*
|
|
6892
7091
|
* @param tmpReq - CreateGatewayIntranetLinkedVpcPeerRequest
|
|
6893
7092
|
* @param headers - map
|
|
@@ -6926,7 +7125,7 @@ class Client extends openapi_client_1.default {
|
|
|
6926
7125
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGatewayIntranetLinkedVpcPeerResponse({}));
|
|
6927
7126
|
}
|
|
6928
7127
|
/**
|
|
6929
|
-
*
|
|
7128
|
+
* Creates a VPC peering connection on an internal endpoint of a gateway.
|
|
6930
7129
|
*
|
|
6931
7130
|
* @param request - CreateGatewayIntranetLinkedVpcPeerRequest
|
|
6932
7131
|
* @returns CreateGatewayIntranetLinkedVpcPeerResponse
|
|
@@ -7518,7 +7717,7 @@ class Client extends openapi_client_1.default {
|
|
|
7518
7717
|
return await this.deleteGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
7519
7718
|
}
|
|
7520
7719
|
/**
|
|
7521
|
-
*
|
|
7720
|
+
* Deletes a VPC peering connection from an internal endpoint of a gateway.
|
|
7522
7721
|
*
|
|
7523
7722
|
* @param tmpReq - DeleteGatewayIntranetLinkedVpcPeerRequest
|
|
7524
7723
|
* @param headers - map
|
|
@@ -7557,7 +7756,7 @@ class Client extends openapi_client_1.default {
|
|
|
7557
7756
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteGatewayIntranetLinkedVpcPeerResponse({}));
|
|
7558
7757
|
}
|
|
7559
7758
|
/**
|
|
7560
|
-
*
|
|
7759
|
+
* Deletes a VPC peering connection from an internal endpoint of a gateway.
|
|
7561
7760
|
*
|
|
7562
7761
|
* @param request - DeleteGatewayIntranetLinkedVpcPeerRequest
|
|
7563
7762
|
* @returns DeleteGatewayIntranetLinkedVpcPeerResponse
|
|
@@ -8112,6 +8311,39 @@ class Client extends openapi_client_1.default {
|
|
|
8112
8311
|
let headers = {};
|
|
8113
8312
|
return await this.describeGroupWithOptions(ClusterId, GroupName, headers, runtime);
|
|
8114
8313
|
}
|
|
8314
|
+
/**
|
|
8315
|
+
* 获取群组端点列表
|
|
8316
|
+
*
|
|
8317
|
+
* @param headers - map
|
|
8318
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8319
|
+
* @returns DescribeGroupEndpointsResponse
|
|
8320
|
+
*/
|
|
8321
|
+
async describeGroupEndpointsWithOptions(ClusterId, GroupName, headers, runtime) {
|
|
8322
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8323
|
+
headers: headers,
|
|
8324
|
+
});
|
|
8325
|
+
let params = new $OpenApi.Params({
|
|
8326
|
+
action: "DescribeGroupEndpoints",
|
|
8327
|
+
version: "2021-07-01",
|
|
8328
|
+
protocol: "HTTPS",
|
|
8329
|
+
pathname: `/api/v2/groups/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GroupName)}/endpoints`,
|
|
8330
|
+
method: "GET",
|
|
8331
|
+
authType: "AK",
|
|
8332
|
+
style: "ROA",
|
|
8333
|
+
reqBodyType: "json",
|
|
8334
|
+
bodyType: "json",
|
|
8335
|
+
});
|
|
8336
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupEndpointsResponse({}));
|
|
8337
|
+
}
|
|
8338
|
+
/**
|
|
8339
|
+
* 获取群组端点列表
|
|
8340
|
+
* @returns DescribeGroupEndpointsResponse
|
|
8341
|
+
*/
|
|
8342
|
+
async describeGroupEndpoints(ClusterId, GroupName) {
|
|
8343
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8344
|
+
let headers = {};
|
|
8345
|
+
return await this.describeGroupEndpointsWithOptions(ClusterId, GroupName, headers, runtime);
|
|
8346
|
+
}
|
|
8115
8347
|
/**
|
|
8116
8348
|
* Queries the information about a resource group.
|
|
8117
8349
|
*
|
|
@@ -8343,6 +8575,39 @@ class Client extends openapi_client_1.default {
|
|
|
8343
8575
|
let headers = {};
|
|
8344
8576
|
return await this.describeServiceDiagnosisWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
8345
8577
|
}
|
|
8578
|
+
/**
|
|
8579
|
+
* 获取服务端点列表
|
|
8580
|
+
*
|
|
8581
|
+
* @param headers - map
|
|
8582
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8583
|
+
* @returns DescribeServiceEndpointsResponse
|
|
8584
|
+
*/
|
|
8585
|
+
async describeServiceEndpointsWithOptions(ClusterId, ServiceName, headers, runtime) {
|
|
8586
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8587
|
+
headers: headers,
|
|
8588
|
+
});
|
|
8589
|
+
let params = new $OpenApi.Params({
|
|
8590
|
+
action: "DescribeServiceEndpoints",
|
|
8591
|
+
version: "2021-07-01",
|
|
8592
|
+
protocol: "HTTPS",
|
|
8593
|
+
pathname: `/api/v2/services/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(ServiceName)}/endpoints`,
|
|
8594
|
+
method: "GET",
|
|
8595
|
+
authType: "AK",
|
|
8596
|
+
style: "ROA",
|
|
8597
|
+
reqBodyType: "json",
|
|
8598
|
+
bodyType: "json",
|
|
8599
|
+
});
|
|
8600
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeServiceEndpointsResponse({}));
|
|
8601
|
+
}
|
|
8602
|
+
/**
|
|
8603
|
+
* 获取服务端点列表
|
|
8604
|
+
* @returns DescribeServiceEndpointsResponse
|
|
8605
|
+
*/
|
|
8606
|
+
async describeServiceEndpoints(ClusterId, ServiceName) {
|
|
8607
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8608
|
+
let headers = {};
|
|
8609
|
+
return await this.describeServiceEndpointsWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
8610
|
+
}
|
|
8346
8611
|
/**
|
|
8347
8612
|
* Queries information about recent service deployment events.
|
|
8348
8613
|
*
|
|
@@ -8913,7 +9178,7 @@ class Client extends openapi_client_1.default {
|
|
|
8913
9178
|
return await this.listGatewayIntranetLinkedVpcWithOptions(ClusterId, GatewayId, headers, runtime);
|
|
8914
9179
|
}
|
|
8915
9180
|
/**
|
|
8916
|
-
*
|
|
9181
|
+
* Obtains a list of all VPC peering connections on internal endpoint of a gateway.
|
|
8917
9182
|
*
|
|
8918
9183
|
* @param request - ListGatewayIntranetLinkedVpcPeerRequest
|
|
8919
9184
|
* @param headers - map
|
|
@@ -8944,7 +9209,7 @@ class Client extends openapi_client_1.default {
|
|
|
8944
9209
|
return $tea.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetLinkedVpcPeerResponse({}));
|
|
8945
9210
|
}
|
|
8946
9211
|
/**
|
|
8947
|
-
*
|
|
9212
|
+
* Obtains a list of all VPC peering connections on internal endpoint of a gateway.
|
|
8948
9213
|
*
|
|
8949
9214
|
* @param request - ListGatewayIntranetLinkedVpcPeerRequest
|
|
8950
9215
|
* @returns ListGatewayIntranetLinkedVpcPeerResponse
|
|
@@ -8954,6 +9219,39 @@ class Client extends openapi_client_1.default {
|
|
|
8954
9219
|
let headers = {};
|
|
8955
9220
|
return await this.listGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
8956
9221
|
}
|
|
9222
|
+
/**
|
|
9223
|
+
* Obtains the zones supported by a gateway within an intranet.
|
|
9224
|
+
*
|
|
9225
|
+
* @param headers - map
|
|
9226
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9227
|
+
* @returns ListGatewayIntranetSupportedZoneResponse
|
|
9228
|
+
*/
|
|
9229
|
+
async listGatewayIntranetSupportedZoneWithOptions(GatewayId, ClusterId, headers, runtime) {
|
|
9230
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9231
|
+
headers: headers,
|
|
9232
|
+
});
|
|
9233
|
+
let params = new $OpenApi.Params({
|
|
9234
|
+
action: "ListGatewayIntranetSupportedZone",
|
|
9235
|
+
version: "2021-07-01",
|
|
9236
|
+
protocol: "HTTPS",
|
|
9237
|
+
pathname: `/api/v2/gateways/${openapi_util_1.default.getEncodeParam(ClusterId)}/${openapi_util_1.default.getEncodeParam(GatewayId)}/intranet_supported_zone`,
|
|
9238
|
+
method: "GET",
|
|
9239
|
+
authType: "AK",
|
|
9240
|
+
style: "ROA",
|
|
9241
|
+
reqBodyType: "json",
|
|
9242
|
+
bodyType: "json",
|
|
9243
|
+
});
|
|
9244
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListGatewayIntranetSupportedZoneResponse({}));
|
|
9245
|
+
}
|
|
9246
|
+
/**
|
|
9247
|
+
* Obtains the zones supported by a gateway within an intranet.
|
|
9248
|
+
* @returns ListGatewayIntranetSupportedZoneResponse
|
|
9249
|
+
*/
|
|
9250
|
+
async listGatewayIntranetSupportedZone(GatewayId, ClusterId) {
|
|
9251
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9252
|
+
let headers = {};
|
|
9253
|
+
return await this.listGatewayIntranetSupportedZoneWithOptions(GatewayId, ClusterId, headers, runtime);
|
|
9254
|
+
}
|
|
8957
9255
|
/**
|
|
8958
9256
|
* Queries created service groups.
|
|
8959
9257
|
*
|
|
@@ -9919,6 +10217,9 @@ class Client extends openapi_client_1.default {
|
|
|
9919
10217
|
if (!tea_util_1.default.isUnset(request.enableIntranet)) {
|
|
9920
10218
|
body["EnableIntranet"] = request.enableIntranet;
|
|
9921
10219
|
}
|
|
10220
|
+
if (!tea_util_1.default.isUnset(request.enableSSLRedirection)) {
|
|
10221
|
+
body["EnableSSLRedirection"] = request.enableSSLRedirection;
|
|
10222
|
+
}
|
|
9922
10223
|
if (!tea_util_1.default.isUnset(request.instanceType)) {
|
|
9923
10224
|
body["InstanceType"] = request.instanceType;
|
|
9924
10225
|
}
|