@alicloud/paistudio20220112 1.2.1 → 1.2.2
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 +55 -0
- package/dist/client.js +103 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +127 -0
package/dist/client.d.ts
CHANGED
|
@@ -1751,6 +1751,25 @@ export declare class AllocateStrategySpec extends $dara.Model {
|
|
|
1751
1751
|
[key: string]: any;
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
|
+
export declare class BindingPolicy extends $dara.Model {
|
|
1755
|
+
excludeNodes?: string[];
|
|
1756
|
+
includeNodes?: string[];
|
|
1757
|
+
/**
|
|
1758
|
+
* @example
|
|
1759
|
+
* 5
|
|
1760
|
+
*/
|
|
1761
|
+
nodeSpecCount?: number;
|
|
1762
|
+
static names(): {
|
|
1763
|
+
[key: string]: string;
|
|
1764
|
+
};
|
|
1765
|
+
static types(): {
|
|
1766
|
+
[key: string]: any;
|
|
1767
|
+
};
|
|
1768
|
+
validate(): void;
|
|
1769
|
+
constructor(map?: {
|
|
1770
|
+
[key: string]: any;
|
|
1771
|
+
});
|
|
1772
|
+
}
|
|
1754
1773
|
export declare class Channel extends $dara.Model {
|
|
1755
1774
|
description?: string;
|
|
1756
1775
|
/**
|
|
@@ -2307,6 +2326,21 @@ export declare class NodeMetric extends $dara.Model {
|
|
|
2307
2326
|
[key: string]: any;
|
|
2308
2327
|
});
|
|
2309
2328
|
}
|
|
2329
|
+
export declare class NodeOperationResult extends $dara.Model {
|
|
2330
|
+
message?: string;
|
|
2331
|
+
nodeName?: string;
|
|
2332
|
+
status?: string;
|
|
2333
|
+
static names(): {
|
|
2334
|
+
[key: string]: string;
|
|
2335
|
+
};
|
|
2336
|
+
static types(): {
|
|
2337
|
+
[key: string]: any;
|
|
2338
|
+
};
|
|
2339
|
+
validate(): void;
|
|
2340
|
+
constructor(map?: {
|
|
2341
|
+
[key: string]: any;
|
|
2342
|
+
});
|
|
2343
|
+
}
|
|
2310
2344
|
export declare class NodePodInfo extends $dara.Model {
|
|
2311
2345
|
/**
|
|
2312
2346
|
* @example
|
|
@@ -2372,6 +2406,7 @@ export declare class NodeSnapshot extends $dara.Model {
|
|
|
2372
2406
|
});
|
|
2373
2407
|
}
|
|
2374
2408
|
export declare class NodeSpec extends $dara.Model {
|
|
2409
|
+
bindingPolicy?: BindingPolicy;
|
|
2375
2410
|
/**
|
|
2376
2411
|
* @example
|
|
2377
2412
|
* 10
|
|
@@ -3006,6 +3041,23 @@ export declare class ResourceGroupMetric extends $dara.Model {
|
|
|
3006
3041
|
[key: string]: any;
|
|
3007
3042
|
});
|
|
3008
3043
|
}
|
|
3044
|
+
export declare class ResourceLimitDetails extends $dara.Model {
|
|
3045
|
+
GCLevel?: string;
|
|
3046
|
+
resourceLimit?: {
|
|
3047
|
+
[key: string]: any;
|
|
3048
|
+
};
|
|
3049
|
+
shouldIgnoreResourceCheck?: boolean;
|
|
3050
|
+
static names(): {
|
|
3051
|
+
[key: string]: string;
|
|
3052
|
+
};
|
|
3053
|
+
static types(): {
|
|
3054
|
+
[key: string]: any;
|
|
3055
|
+
};
|
|
3056
|
+
validate(): void;
|
|
3057
|
+
constructor(map?: {
|
|
3058
|
+
[key: string]: any;
|
|
3059
|
+
});
|
|
3060
|
+
}
|
|
3009
3061
|
export declare class ResourceOperation extends $dara.Model {
|
|
3010
3062
|
creatorId?: string;
|
|
3011
3063
|
gmtCreatedTime?: string;
|
|
@@ -5662,6 +5714,7 @@ export declare class ListNodesRequest extends $dara.Model {
|
|
|
5662
5714
|
* T4
|
|
5663
5715
|
*/
|
|
5664
5716
|
GPUType?: string;
|
|
5717
|
+
machineGroupIds?: string;
|
|
5665
5718
|
/**
|
|
5666
5719
|
* @example
|
|
5667
5720
|
* lingjxxxx
|
|
@@ -5822,6 +5875,7 @@ export declare class ListQuotaWorkloadsRequest extends $dara.Model {
|
|
|
5822
5875
|
* 29043893812,23829093093
|
|
5823
5876
|
*/
|
|
5824
5877
|
userIds?: string;
|
|
5878
|
+
withHistoricalData?: boolean;
|
|
5825
5879
|
workloadCreatedTimeRange?: TimeRangeFilter;
|
|
5826
5880
|
/**
|
|
5827
5881
|
* @example
|
|
@@ -6014,6 +6068,7 @@ export declare class ListResourceGroupMachineGroupsRequest extends $dara.Model {
|
|
|
6014
6068
|
* ecs.c6.large
|
|
6015
6069
|
*/
|
|
6016
6070
|
ecsSpec?: string;
|
|
6071
|
+
machineGroupIDs?: string;
|
|
6017
6072
|
/**
|
|
6018
6073
|
* @example
|
|
6019
6074
|
* test
|
package/dist/client.js
CHANGED
|
@@ -37,11 +37,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ListTrainingJobOutputModelsResponseBodyOutputModels = exports.ListTrainingJobOutputModelsResponseBodyOutputModelsLabels = exports.ListTrainingJobMetricsResponseBodyMetrics = exports.ListTrainingJobInstanceMetricsResponseBodyInstanceMetrics = exports.ListTrainingJobInstanceMetricsResponseBodyInstanceMetricsMetrics = exports.ListAlgorithmsResponseBodyAlgorithms = exports.ListAlgorithmVersionsResponseBodyAlgorithmVersions = exports.GetTrainingJobLatestMetricsResponseBodyMetrics = exports.GetTrainingJobErrorInfoResponseBodyErrorInfo = exports.GetTrainingJobResponseBodyUserVpc = exports.GetTrainingJobResponseBodyStatusTransitions = exports.GetTrainingJobResponseBodyScheduler = exports.GetTrainingJobResponseBodyOutputModel = exports.GetTrainingJobResponseBodyOutputChannels = exports.GetTrainingJobResponseBodyLatestProgress = exports.GetTrainingJobResponseBodyLatestProgressRemainingTime = exports.GetTrainingJobResponseBodyLatestProgressOverallProgress = exports.GetTrainingJobResponseBodyLatestMetrics = exports.GetTrainingJobResponseBodyLabels = exports.GetTrainingJobResponseBodyInstances = exports.GetTrainingJobResponseBodyInputChannels = exports.GetTrainingJobResponseBodyHyperParameters = exports.GetTrainingJobResponseBodyExperimentConfig = exports.GetTrainingJobResponseBodyComputeResource = exports.GetTrainingJobResponseBodyComputeResourceSpotSpec = exports.GetTrainingJobResponseBodyComputeResourceInstanceSpec = exports.GetResourceGroupMachineGroupResponseBodyTags = exports.GetResourceGroupMachineGroupRequestTag = exports.GetResourceGroupResponseBodyTags = exports.GetResourceGroupRequestTag = exports.CreateTrainingJobRequestUserVpc = exports.CreateTrainingJobRequestScheduler = exports.CreateTrainingJobRequestOutputChannels = exports.CreateTrainingJobRequestLabels = exports.CreateTrainingJobRequestInputChannels = exports.CreateTrainingJobRequestHyperParameters = exports.CreateTrainingJobRequestExperimentConfig = exports.CreateTrainingJobRequestComputeResource = exports.CreateTrainingJobRequestComputeResourceSpotSpec = exports.CreateTrainingJobRequestComputeResourceInstanceSpec = exports.CreateResourceGroupRequestTag = exports.QuotaUserResources = exports.NodeSnapshotWorkloads = exports.FeaturesQuota = exports.AlgorithmSpecProgressDefinitions = exports.AlgorithmSpecProgressDefinitionsRemainingTime = exports.AlgorithmSpecProgressDefinitionsOverallProgress = exports.AlgorithmSpecCustomization = exports.AlgorithmSpecComputeResource = exports.AlgorithmSpecComputeResourcePolicy = void 0;
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.UpdateTrainingJobLabelsResponse = exports.UpdateTrainingJobLabelsResponseBody = exports.UpdateTrainingJobLabelsRequest = exports.UpdateResourceGroupResponse = exports.UpdateResourceGroupResponseBody = exports.UpdateResourceGroupRequest = exports.UpdateQuotaResponse = exports.UpdateQuotaResponseBody = exports.UpdateQuotaRequest = exports.UpdateAlgorithmVersionResponse = exports.UpdateAlgorithmVersionResponseBody = exports.UpdateAlgorithmVersionShrinkRequest = exports.UpdateAlgorithmVersionRequest = exports.UpdateAlgorithmResponse = exports.UpdateAlgorithmResponseBody = exports.UpdateAlgorithmRequest = exports.StopTrainingJobResponse = exports.StopTrainingJobResponseBody = exports.ScaleQuotaResponse = exports.ScaleQuotaResponseBody = exports.ScaleQuotaRequest = exports.ListTrainingJobsResponse = void 0;
|
|
40
|
+
exports.QuotaIdName = exports.QuotaDetails = exports.QuotaConfig = exports.Quota = exports.QueueInfo = exports.Permission = exports.NodeViewMetric = exports.NodeTypeStatistic = exports.NodeType = exports.NodeSpec = exports.NodeSnapshot = exports.NodePodInfo = exports.NodeOperationResult = exports.NodeMetric = exports.NodeGPUMetric = exports.Node = exports.MetricDefinition = exports.Metric = exports.MachineGroup = exports.Location = exports.Label = exports.JobViewMetric = exports.JobSettings = exports.HyperParameterRange = exports.HyperParameterDefinition = exports.GPUMetric = exports.GPUInfo = exports.ForwardInfo = exports.Features = exports.ConditionExpression = exports.ComponentSpec = exports.ChannelProperty = exports.Channel = exports.BindingPolicy = exports.AllocateStrategySpec = exports.AlgorithmSpec = exports.Action = exports.ACS = exports.UpdateTrainingJobLabelsRequestLabels = exports.ListTrainingJobsResponseBodyTrainingJobs = exports.ListTrainingJobsResponseBodyTrainingJobsUserVpc = exports.ListTrainingJobsResponseBodyTrainingJobsStatusTransitions = exports.ListTrainingJobsResponseBodyTrainingJobsScheduler = exports.ListTrainingJobsResponseBodyTrainingJobsOutputChannels = exports.ListTrainingJobsResponseBodyTrainingJobsLabels = exports.ListTrainingJobsResponseBodyTrainingJobsInputChannels = exports.ListTrainingJobsResponseBodyTrainingJobsHyperParameters = exports.ListTrainingJobsResponseBodyTrainingJobsExperimentConfig = exports.ListTrainingJobsResponseBodyTrainingJobsComputeResource = exports.ListTrainingJobsResponseBodyTrainingJobsComputeResourceInstanceSpec = void 0;
|
|
41
|
+
exports.CreateResourceGroupResponse = exports.CreateResourceGroupResponseBody = exports.CreateResourceGroupRequest = exports.CreateQuotaResponse = exports.CreateQuotaResponseBody = exports.CreateQuotaRequest = exports.CreateInstanceWebTerminalResponse = exports.CreateInstanceWebTerminalResponseBody = exports.CreateAlgorithmVersionResponse = exports.CreateAlgorithmVersionResponseBody = exports.CreateAlgorithmVersionShrinkRequest = exports.CreateAlgorithmVersionRequest = exports.CreateAlgorithmResponse = exports.CreateAlgorithmResponseBody = exports.CreateAlgorithmRequest = exports.CheckInstanceWebTerminalResponse = exports.CheckInstanceWebTerminalResponseBody = exports.CheckInstanceWebTerminalRequest = exports.WorkspaceSpecs = exports.WorkspaceSpec = exports.WorkspaceIdName = exports.WorkloadDetails = exports.UserVpc = exports.UserViewMetric = exports.UserQuotaPermission = exports.UserInfo = exports.UnschedulableNodeDetail = exports.TimeRangeFilter = exports.TaskInstanceEvent = exports.TaskInstance = exports.Task = exports.SubQuotaPreemptionConfig = exports.SpotStockPreview = exports.SpotPriceItem = exports.SchedulingRule = exports.Rules = exports.ResourceSpec = exports.ResourceOperation = exports.ResourceLimitDetails = exports.ResourceGroupMetric = exports.ResourceGroup = exports.ResourceDiagnosisDetail = exports.ResourceAmount = exports.QuotaUserViewMetric = exports.QuotaUser = exports.QuotaTopo = exports.QuotaNodeViewMetric = exports.QuotaMetric = exports.QuotaJobViewMetric = exports.QuotaJob = void 0;
|
|
42
|
+
exports.GetTokenRequest = exports.GetSpotPriceHistoryResponse = exports.GetSpotPriceHistoryResponseBody = exports.GetSpotPriceHistoryRequest = exports.GetResourceGroupTotalResponse = exports.GetResourceGroupTotalResponseBody = exports.GetResourceGroupTotalRequest = exports.GetResourceGroupRequestResponse = exports.GetResourceGroupRequestResponseBody = exports.GetResourceGroupRequestRequest = exports.GetResourceGroupMachineGroupResponse = exports.GetResourceGroupMachineGroupResponseBody = exports.GetResourceGroupMachineGroupShrinkRequest = exports.GetResourceGroupMachineGroupRequest = exports.GetResourceGroupResponse = exports.GetResourceGroupResponseBody = exports.GetResourceGroupShrinkRequest = exports.GetResourceGroupRequest = exports.GetQuotaResponse = exports.GetQuotaResponseBody = exports.GetQuotaRequest = exports.GetNodeMetricsResponse = exports.GetNodeMetricsResponseBody = exports.GetNodeMetricsRequest = exports.GetMachineGroupResponse = exports.GetMachineGroupResponseBody = exports.GetAlgorithmVersionResponse = exports.GetAlgorithmVersionResponseBody = exports.GetAlgorithmResponse = exports.GetAlgorithmResponseBody = exports.DeleteTrainingJobLabelsResponse = exports.DeleteTrainingJobLabelsResponseBody = exports.DeleteTrainingJobLabelsRequest = exports.DeleteTrainingJobResponse = exports.DeleteTrainingJobResponseBody = exports.DeleteResourceGroupMachineGroupResponse = exports.DeleteResourceGroupMachineGroupResponseBody = exports.DeleteResourceGroupResponse = exports.DeleteResourceGroupResponseBody = exports.DeleteQuotaResponse = exports.DeleteQuotaResponseBody = exports.DeleteMachineGroupResponse = exports.DeleteMachineGroupResponseBody = exports.DeleteAlgorithmVersionResponse = exports.DeleteAlgorithmVersionResponseBody = exports.DeleteAlgorithmResponse = exports.DeleteAlgorithmResponseBody = exports.CreateTrainingJobResponse = exports.CreateTrainingJobResponseBody = exports.CreateTrainingJobRequest = void 0;
|
|
43
|
+
exports.ListTrainingJobOutputModelsResponse = exports.ListTrainingJobOutputModelsResponseBody = exports.ListTrainingJobMetricsResponse = exports.ListTrainingJobMetricsResponseBody = exports.ListTrainingJobMetricsRequest = exports.ListTrainingJobLogsResponse = exports.ListTrainingJobLogsResponseBody = exports.ListTrainingJobLogsRequest = exports.ListTrainingJobInstanceMetricsResponse = exports.ListTrainingJobInstanceMetricsResponseBody = exports.ListTrainingJobInstanceMetricsRequest = exports.ListTrainingJobInstanceEventsResponse = exports.ListTrainingJobInstanceEventsResponseBody = exports.ListTrainingJobInstanceEventsRequest = exports.ListTrainingJobEventsResponse = exports.ListTrainingJobEventsResponseBody = exports.ListTrainingJobEventsRequest = exports.ListResourceGroupsResponse = exports.ListResourceGroupsResponseBody = exports.ListResourceGroupsRequest = exports.ListResourceGroupMachineGroupsResponse = exports.ListResourceGroupMachineGroupsResponseBody = exports.ListResourceGroupMachineGroupsRequest = exports.ListQuotasResponse = exports.ListQuotasResponseBody = exports.ListQuotasRequest = exports.ListQuotaWorkloadsResponse = exports.ListQuotaWorkloadsResponseBody = exports.ListQuotaWorkloadsRequest = exports.ListNodesResponse = exports.ListNodesResponseBody = exports.ListNodesRequest = exports.ListAlgorithmsResponse = exports.ListAlgorithmsResponseBody = exports.ListAlgorithmsRequest = exports.ListAlgorithmVersionsResponse = exports.ListAlgorithmVersionsResponseBody = exports.ListAlgorithmVersionsRequest = exports.GetUserViewMetricsResponse = exports.GetUserViewMetricsResponseBody = exports.GetUserViewMetricsRequest = exports.GetTrainingJobLatestMetricsResponse = exports.GetTrainingJobLatestMetricsResponseBody = exports.GetTrainingJobLatestMetricsRequest = exports.GetTrainingJobErrorInfoResponse = exports.GetTrainingJobErrorInfoResponseBody = exports.GetTrainingJobResponse = exports.GetTrainingJobResponseBody = exports.GetTokenResponse = exports.GetTokenResponseBody = void 0;
|
|
44
|
+
exports.UpdateTrainingJobLabelsResponse = exports.UpdateTrainingJobLabelsResponseBody = exports.UpdateTrainingJobLabelsRequest = exports.UpdateResourceGroupResponse = exports.UpdateResourceGroupResponseBody = exports.UpdateResourceGroupRequest = exports.UpdateQuotaResponse = exports.UpdateQuotaResponseBody = exports.UpdateQuotaRequest = exports.UpdateAlgorithmVersionResponse = exports.UpdateAlgorithmVersionResponseBody = exports.UpdateAlgorithmVersionShrinkRequest = exports.UpdateAlgorithmVersionRequest = exports.UpdateAlgorithmResponse = exports.UpdateAlgorithmResponseBody = exports.UpdateAlgorithmRequest = exports.StopTrainingJobResponse = exports.StopTrainingJobResponseBody = exports.ScaleQuotaResponse = exports.ScaleQuotaResponseBody = exports.ScaleQuotaRequest = exports.ListTrainingJobsResponse = exports.ListTrainingJobsResponseBody = exports.ListTrainingJobsShrinkRequest = exports.ListTrainingJobsRequest = void 0;
|
|
45
45
|
// This file is auto-generated, don't edit it
|
|
46
46
|
/**
|
|
47
47
|
*/
|
|
@@ -1792,6 +1792,35 @@ class AllocateStrategySpec extends $dara.Model {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
}
|
|
1794
1794
|
exports.AllocateStrategySpec = AllocateStrategySpec;
|
|
1795
|
+
class BindingPolicy extends $dara.Model {
|
|
1796
|
+
static names() {
|
|
1797
|
+
return {
|
|
1798
|
+
excludeNodes: 'ExcludeNodes',
|
|
1799
|
+
includeNodes: 'IncludeNodes',
|
|
1800
|
+
nodeSpecCount: 'NodeSpecCount',
|
|
1801
|
+
};
|
|
1802
|
+
}
|
|
1803
|
+
static types() {
|
|
1804
|
+
return {
|
|
1805
|
+
excludeNodes: { 'type': 'array', 'itemType': 'string' },
|
|
1806
|
+
includeNodes: { 'type': 'array', 'itemType': 'string' },
|
|
1807
|
+
nodeSpecCount: 'number',
|
|
1808
|
+
};
|
|
1809
|
+
}
|
|
1810
|
+
validate() {
|
|
1811
|
+
if (Array.isArray(this.excludeNodes)) {
|
|
1812
|
+
$dara.Model.validateArray(this.excludeNodes);
|
|
1813
|
+
}
|
|
1814
|
+
if (Array.isArray(this.includeNodes)) {
|
|
1815
|
+
$dara.Model.validateArray(this.includeNodes);
|
|
1816
|
+
}
|
|
1817
|
+
super.validate();
|
|
1818
|
+
}
|
|
1819
|
+
constructor(map) {
|
|
1820
|
+
super(map);
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
exports.BindingPolicy = BindingPolicy;
|
|
1795
1824
|
class Channel extends $dara.Model {
|
|
1796
1825
|
static names() {
|
|
1797
1826
|
return {
|
|
@@ -2487,6 +2516,29 @@ class NodeMetric extends $dara.Model {
|
|
|
2487
2516
|
}
|
|
2488
2517
|
}
|
|
2489
2518
|
exports.NodeMetric = NodeMetric;
|
|
2519
|
+
class NodeOperationResult extends $dara.Model {
|
|
2520
|
+
static names() {
|
|
2521
|
+
return {
|
|
2522
|
+
message: 'Message',
|
|
2523
|
+
nodeName: 'NodeName',
|
|
2524
|
+
status: 'Status',
|
|
2525
|
+
};
|
|
2526
|
+
}
|
|
2527
|
+
static types() {
|
|
2528
|
+
return {
|
|
2529
|
+
message: 'string',
|
|
2530
|
+
nodeName: 'string',
|
|
2531
|
+
status: 'string',
|
|
2532
|
+
};
|
|
2533
|
+
}
|
|
2534
|
+
validate() {
|
|
2535
|
+
super.validate();
|
|
2536
|
+
}
|
|
2537
|
+
constructor(map) {
|
|
2538
|
+
super(map);
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
exports.NodeOperationResult = NodeOperationResult;
|
|
2490
2542
|
class NodePodInfo extends $dara.Model {
|
|
2491
2543
|
static names() {
|
|
2492
2544
|
return {
|
|
@@ -2562,17 +2614,22 @@ exports.NodeSnapshot = NodeSnapshot;
|
|
|
2562
2614
|
class NodeSpec extends $dara.Model {
|
|
2563
2615
|
static names() {
|
|
2564
2616
|
return {
|
|
2617
|
+
bindingPolicy: 'BindingPolicy',
|
|
2565
2618
|
count: 'Count',
|
|
2566
2619
|
type: 'Type',
|
|
2567
2620
|
};
|
|
2568
2621
|
}
|
|
2569
2622
|
static types() {
|
|
2570
2623
|
return {
|
|
2624
|
+
bindingPolicy: BindingPolicy,
|
|
2571
2625
|
count: 'number',
|
|
2572
2626
|
type: 'string',
|
|
2573
2627
|
};
|
|
2574
2628
|
}
|
|
2575
2629
|
validate() {
|
|
2630
|
+
if (this.bindingPolicy && typeof this.bindingPolicy.validate === 'function') {
|
|
2631
|
+
this.bindingPolicy.validate();
|
|
2632
|
+
}
|
|
2576
2633
|
super.validate();
|
|
2577
2634
|
}
|
|
2578
2635
|
constructor(map) {
|
|
@@ -3429,6 +3486,32 @@ class ResourceGroupMetric extends $dara.Model {
|
|
|
3429
3486
|
}
|
|
3430
3487
|
}
|
|
3431
3488
|
exports.ResourceGroupMetric = ResourceGroupMetric;
|
|
3489
|
+
class ResourceLimitDetails extends $dara.Model {
|
|
3490
|
+
static names() {
|
|
3491
|
+
return {
|
|
3492
|
+
GCLevel: 'GCLevel',
|
|
3493
|
+
resourceLimit: 'ResourceLimit',
|
|
3494
|
+
shouldIgnoreResourceCheck: 'ShouldIgnoreResourceCheck',
|
|
3495
|
+
};
|
|
3496
|
+
}
|
|
3497
|
+
static types() {
|
|
3498
|
+
return {
|
|
3499
|
+
GCLevel: 'string',
|
|
3500
|
+
resourceLimit: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3501
|
+
shouldIgnoreResourceCheck: 'boolean',
|
|
3502
|
+
};
|
|
3503
|
+
}
|
|
3504
|
+
validate() {
|
|
3505
|
+
if (this.resourceLimit) {
|
|
3506
|
+
$dara.Model.validateMap(this.resourceLimit);
|
|
3507
|
+
}
|
|
3508
|
+
super.validate();
|
|
3509
|
+
}
|
|
3510
|
+
constructor(map) {
|
|
3511
|
+
super(map);
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
exports.ResourceLimitDetails = ResourceLimitDetails;
|
|
3432
3515
|
class ResourceOperation extends $dara.Model {
|
|
3433
3516
|
static names() {
|
|
3434
3517
|
return {
|
|
@@ -6628,6 +6711,7 @@ class ListNodesRequest extends $dara.Model {
|
|
|
6628
6711
|
filterByQuotaId: 'FilterByQuotaId',
|
|
6629
6712
|
filterByResourceGroupIds: 'FilterByResourceGroupIds',
|
|
6630
6713
|
GPUType: 'GPUType',
|
|
6714
|
+
machineGroupIds: 'MachineGroupIds',
|
|
6631
6715
|
nodeNames: 'NodeNames',
|
|
6632
6716
|
nodeStatuses: 'NodeStatuses',
|
|
6633
6717
|
nodeTypes: 'NodeTypes',
|
|
@@ -6647,6 +6731,7 @@ class ListNodesRequest extends $dara.Model {
|
|
|
6647
6731
|
filterByQuotaId: 'string',
|
|
6648
6732
|
filterByResourceGroupIds: 'string',
|
|
6649
6733
|
GPUType: 'string',
|
|
6734
|
+
machineGroupIds: 'string',
|
|
6650
6735
|
nodeNames: 'string',
|
|
6651
6736
|
nodeStatuses: 'string',
|
|
6652
6737
|
nodeTypes: 'string',
|
|
@@ -6739,6 +6824,7 @@ class ListQuotaWorkloadsRequest extends $dara.Model {
|
|
|
6739
6824
|
status: 'Status',
|
|
6740
6825
|
subQuotaIds: 'SubQuotaIds',
|
|
6741
6826
|
userIds: 'UserIds',
|
|
6827
|
+
withHistoricalData: 'WithHistoricalData',
|
|
6742
6828
|
workloadCreatedTimeRange: 'WorkloadCreatedTimeRange',
|
|
6743
6829
|
workloadIds: 'WorkloadIds',
|
|
6744
6830
|
workloadStatuses: 'WorkloadStatuses',
|
|
@@ -6761,6 +6847,7 @@ class ListQuotaWorkloadsRequest extends $dara.Model {
|
|
|
6761
6847
|
status: 'string',
|
|
6762
6848
|
subQuotaIds: 'string',
|
|
6763
6849
|
userIds: 'string',
|
|
6850
|
+
withHistoricalData: 'boolean',
|
|
6764
6851
|
workloadCreatedTimeRange: TimeRangeFilter,
|
|
6765
6852
|
workloadIds: 'string',
|
|
6766
6853
|
workloadStatuses: 'string',
|
|
@@ -6948,6 +7035,7 @@ class ListResourceGroupMachineGroupsRequest extends $dara.Model {
|
|
|
6948
7035
|
return {
|
|
6949
7036
|
creatorID: 'CreatorID',
|
|
6950
7037
|
ecsSpec: 'EcsSpec',
|
|
7038
|
+
machineGroupIDs: 'MachineGroupIDs',
|
|
6951
7039
|
name: 'Name',
|
|
6952
7040
|
order: 'Order',
|
|
6953
7041
|
orderInstanceId: 'OrderInstanceId',
|
|
@@ -6964,6 +7052,7 @@ class ListResourceGroupMachineGroupsRequest extends $dara.Model {
|
|
|
6964
7052
|
return {
|
|
6965
7053
|
creatorID: 'string',
|
|
6966
7054
|
ecsSpec: 'string',
|
|
7055
|
+
machineGroupIDs: 'string',
|
|
6967
7056
|
name: 'string',
|
|
6968
7057
|
order: 'string',
|
|
6969
7058
|
orderInstanceId: 'string',
|
|
@@ -9935,6 +10024,9 @@ class Client extends openapi_core_1.default {
|
|
|
9935
10024
|
if (!$dara.isNull(request.GPUType)) {
|
|
9936
10025
|
query["GPUType"] = request.GPUType;
|
|
9937
10026
|
}
|
|
10027
|
+
if (!$dara.isNull(request.machineGroupIds)) {
|
|
10028
|
+
query["MachineGroupIds"] = request.machineGroupIds;
|
|
10029
|
+
}
|
|
9938
10030
|
if (!$dara.isNull(request.nodeNames)) {
|
|
9939
10031
|
query["NodeNames"] = request.nodeNames;
|
|
9940
10032
|
}
|
|
@@ -10051,6 +10143,9 @@ class Client extends openapi_core_1.default {
|
|
|
10051
10143
|
if (!$dara.isNull(request.userIds)) {
|
|
10052
10144
|
query["UserIds"] = request.userIds;
|
|
10053
10145
|
}
|
|
10146
|
+
if (!$dara.isNull(request.withHistoricalData)) {
|
|
10147
|
+
query["WithHistoricalData"] = request.withHistoricalData;
|
|
10148
|
+
}
|
|
10054
10149
|
if (!$dara.isNull(request.workloadCreatedTimeRange)) {
|
|
10055
10150
|
query["WorkloadCreatedTimeRange"] = request.workloadCreatedTimeRange;
|
|
10056
10151
|
}
|
|
@@ -10202,6 +10297,9 @@ class Client extends openapi_core_1.default {
|
|
|
10202
10297
|
if (!$dara.isNull(request.ecsSpec)) {
|
|
10203
10298
|
query["EcsSpec"] = request.ecsSpec;
|
|
10204
10299
|
}
|
|
10300
|
+
if (!$dara.isNull(request.machineGroupIDs)) {
|
|
10301
|
+
query["MachineGroupIDs"] = request.machineGroupIDs;
|
|
10302
|
+
}
|
|
10205
10303
|
if (!$dara.isNull(request.name)) {
|
|
10206
10304
|
query["Name"] = request.name;
|
|
10207
10305
|
}
|