@alicloud/ehpcinstant20230701 1.0.4 → 1.1.1

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 CHANGED
@@ -6,6 +6,7 @@ import * as $tea from '@alicloud/tea-typescript';
6
6
  export declare class AddImageRequest extends $tea.Model {
7
7
  containerImageSpec?: AddImageRequestContainerImageSpec;
8
8
  description?: string;
9
+ imageType?: string;
9
10
  /**
10
11
  * @example
11
12
  * V1.0
@@ -33,6 +34,7 @@ export declare class AddImageRequest extends $tea.Model {
33
34
  export declare class AddImageShrinkRequest extends $tea.Model {
34
35
  containerImageSpecShrink?: string;
35
36
  description?: string;
37
+ imageType?: string;
36
38
  /**
37
39
  * @example
38
40
  * V1.0
@@ -922,6 +924,75 @@ export declare class ListJobsResponse extends $tea.Model {
922
924
  [key: string]: any;
923
925
  });
924
926
  }
927
+ export declare class ListTagResourcesRequest extends $tea.Model {
928
+ /**
929
+ * @example
930
+ * 20
931
+ */
932
+ maxResult?: number;
933
+ /**
934
+ * @example
935
+ * 1d2db86scXXXXXXXXXX
936
+ */
937
+ nextToken?: string;
938
+ resourceId?: string[];
939
+ /**
940
+ * @remarks
941
+ * This parameter is required.
942
+ *
943
+ * @example
944
+ * Job
945
+ */
946
+ resourceType?: string;
947
+ tag?: ListTagResourcesRequestTag[];
948
+ static names(): {
949
+ [key: string]: string;
950
+ };
951
+ static types(): {
952
+ [key: string]: any;
953
+ };
954
+ constructor(map?: {
955
+ [key: string]: any;
956
+ });
957
+ }
958
+ export declare class ListTagResourcesResponseBody extends $tea.Model {
959
+ /**
960
+ * @example
961
+ * 1d2db86scXXXXXXXXXX
962
+ */
963
+ nextToken?: string;
964
+ /**
965
+ * @example
966
+ * 04F0F334-1335-436C-A1D7-6C044FE7****
967
+ */
968
+ requestId?: string;
969
+ tagResources?: ListTagResourcesResponseBodyTagResources;
970
+ static names(): {
971
+ [key: string]: string;
972
+ };
973
+ static types(): {
974
+ [key: string]: any;
975
+ };
976
+ constructor(map?: {
977
+ [key: string]: any;
978
+ });
979
+ }
980
+ export declare class ListTagResourcesResponse extends $tea.Model {
981
+ headers?: {
982
+ [key: string]: string;
983
+ };
984
+ statusCode?: number;
985
+ body?: ListTagResourcesResponseBody;
986
+ static names(): {
987
+ [key: string]: string;
988
+ };
989
+ static types(): {
990
+ [key: string]: any;
991
+ };
992
+ constructor(map?: {
993
+ [key: string]: any;
994
+ });
995
+ }
925
996
  export declare class RemoveImageRequest extends $tea.Model {
926
997
  /**
927
998
  * @remarks
@@ -931,6 +1002,7 @@ export declare class RemoveImageRequest extends $tea.Model {
931
1002
  * m-bp14wakr1rkxtb******
932
1003
  */
933
1004
  imageId?: string;
1005
+ imageType?: string;
934
1006
  static names(): {
935
1007
  [key: string]: string;
936
1008
  };
@@ -978,6 +1050,129 @@ export declare class RemoveImageResponse extends $tea.Model {
978
1050
  [key: string]: any;
979
1051
  });
980
1052
  }
1053
+ export declare class TagResourcesRequest extends $tea.Model {
1054
+ /**
1055
+ * @remarks
1056
+ * This parameter is required.
1057
+ */
1058
+ resourceId?: string[];
1059
+ /**
1060
+ * @remarks
1061
+ * This parameter is required.
1062
+ *
1063
+ * @example
1064
+ * Job
1065
+ */
1066
+ resourceType?: string;
1067
+ /**
1068
+ * @remarks
1069
+ * This parameter is required.
1070
+ */
1071
+ tag?: TagResourcesRequestTag[];
1072
+ static names(): {
1073
+ [key: string]: string;
1074
+ };
1075
+ static types(): {
1076
+ [key: string]: any;
1077
+ };
1078
+ constructor(map?: {
1079
+ [key: string]: any;
1080
+ });
1081
+ }
1082
+ export declare class TagResourcesResponseBody extends $tea.Model {
1083
+ /**
1084
+ * @example
1085
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
1086
+ */
1087
+ requestId?: string;
1088
+ static names(): {
1089
+ [key: string]: string;
1090
+ };
1091
+ static types(): {
1092
+ [key: string]: any;
1093
+ };
1094
+ constructor(map?: {
1095
+ [key: string]: any;
1096
+ });
1097
+ }
1098
+ export declare class TagResourcesResponse extends $tea.Model {
1099
+ headers?: {
1100
+ [key: string]: string;
1101
+ };
1102
+ statusCode?: number;
1103
+ body?: TagResourcesResponseBody;
1104
+ static names(): {
1105
+ [key: string]: string;
1106
+ };
1107
+ static types(): {
1108
+ [key: string]: any;
1109
+ };
1110
+ constructor(map?: {
1111
+ [key: string]: any;
1112
+ });
1113
+ }
1114
+ export declare class UnTagResourcesRequest extends $tea.Model {
1115
+ /**
1116
+ * @example
1117
+ * False
1118
+ */
1119
+ all?: boolean;
1120
+ /**
1121
+ * @remarks
1122
+ * This parameter is required.
1123
+ */
1124
+ resourceId?: string[];
1125
+ /**
1126
+ * @remarks
1127
+ * This parameter is required.
1128
+ *
1129
+ * @example
1130
+ * Job
1131
+ */
1132
+ resourceType?: string;
1133
+ tagKey?: string[];
1134
+ static names(): {
1135
+ [key: string]: string;
1136
+ };
1137
+ static types(): {
1138
+ [key: string]: any;
1139
+ };
1140
+ constructor(map?: {
1141
+ [key: string]: any;
1142
+ });
1143
+ }
1144
+ export declare class UnTagResourcesResponseBody extends $tea.Model {
1145
+ /**
1146
+ * @example
1147
+ * 896D338C-E4F4-41EC-A154-D605E5DE****
1148
+ */
1149
+ requestId?: string;
1150
+ static names(): {
1151
+ [key: string]: string;
1152
+ };
1153
+ static types(): {
1154
+ [key: string]: any;
1155
+ };
1156
+ constructor(map?: {
1157
+ [key: string]: any;
1158
+ });
1159
+ }
1160
+ export declare class UnTagResourcesResponse extends $tea.Model {
1161
+ headers?: {
1162
+ [key: string]: string;
1163
+ };
1164
+ statusCode?: number;
1165
+ body?: UnTagResourcesResponseBody;
1166
+ static names(): {
1167
+ [key: string]: string;
1168
+ };
1169
+ static types(): {
1170
+ [key: string]: any;
1171
+ };
1172
+ constructor(map?: {
1173
+ [key: string]: any;
1174
+ });
1175
+ }
981
1176
  export declare class AddImageRequestContainerImageSpecRegistryCredential extends $tea.Model {
982
1177
  /**
983
1178
  * @example
@@ -1053,6 +1248,7 @@ export declare class AddImageRequestVMImageSpec extends $tea.Model {
1053
1248
  });
1054
1249
  }
1055
1250
  export declare class CreateJobRequestDeploymentPolicyNetwork extends $tea.Model {
1251
+ enableExternalIpAddress?: boolean;
1056
1252
  vswitch?: string[];
1057
1253
  static names(): {
1058
1254
  [key: string]: string;
@@ -1064,6 +1260,23 @@ export declare class CreateJobRequestDeploymentPolicyNetwork extends $tea.Model
1064
1260
  [key: string]: any;
1065
1261
  });
1066
1262
  }
1263
+ export declare class CreateJobRequestDeploymentPolicyTag extends $tea.Model {
1264
+ /**
1265
+ * @remarks
1266
+ * This parameter is required.
1267
+ */
1268
+ key?: string;
1269
+ value?: string;
1270
+ static names(): {
1271
+ [key: string]: string;
1272
+ };
1273
+ static types(): {
1274
+ [key: string]: any;
1275
+ };
1276
+ constructor(map?: {
1277
+ [key: string]: any;
1278
+ });
1279
+ }
1067
1280
  export declare class CreateJobRequestDeploymentPolicy extends $tea.Model {
1068
1281
  /**
1069
1282
  * @example
@@ -1071,6 +1284,7 @@ export declare class CreateJobRequestDeploymentPolicy extends $tea.Model {
1071
1284
  */
1072
1285
  allocationSpec?: string;
1073
1286
  network?: CreateJobRequestDeploymentPolicyNetwork;
1287
+ tag?: CreateJobRequestDeploymentPolicyTag[];
1074
1288
  static names(): {
1075
1289
  [key: string]: string;
1076
1290
  };
@@ -1527,6 +1741,7 @@ export declare class GetImageResponseBodyImage extends $tea.Model {
1527
1741
  });
1528
1742
  }
1529
1743
  export declare class GetJobResponseBodyJobInfoDeploymentPolicyNetwork extends $tea.Model {
1744
+ enableExternalIpAddress?: boolean;
1530
1745
  vswitch?: string[];
1531
1746
  static names(): {
1532
1747
  [key: string]: string;
@@ -1538,6 +1753,19 @@ export declare class GetJobResponseBodyJobInfoDeploymentPolicyNetwork extends $t
1538
1753
  [key: string]: any;
1539
1754
  });
1540
1755
  }
1756
+ export declare class GetJobResponseBodyJobInfoDeploymentPolicyTags extends $tea.Model {
1757
+ tagKey?: string;
1758
+ tagValue?: string;
1759
+ static names(): {
1760
+ [key: string]: string;
1761
+ };
1762
+ static types(): {
1763
+ [key: string]: any;
1764
+ };
1765
+ constructor(map?: {
1766
+ [key: string]: any;
1767
+ });
1768
+ }
1541
1769
  export declare class GetJobResponseBodyJobInfoDeploymentPolicy extends $tea.Model {
1542
1770
  /**
1543
1771
  * @example
@@ -1545,6 +1773,7 @@ export declare class GetJobResponseBodyJobInfoDeploymentPolicy extends $tea.Mode
1545
1773
  */
1546
1774
  allocationSpec?: string;
1547
1775
  network?: GetJobResponseBodyJobInfoDeploymentPolicyNetwork;
1776
+ tags?: GetJobResponseBodyJobInfoDeploymentPolicyTags[];
1548
1777
  static names(): {
1549
1778
  [key: string]: string;
1550
1779
  };
@@ -1814,6 +2043,7 @@ export declare class ListExecutorsRequestFilter extends $tea.Model {
1814
2043
  * testJob
1815
2044
  */
1816
2045
  jobName?: string;
2046
+ status?: string[];
1817
2047
  /**
1818
2048
  * @example
1819
2049
  * 1703819914
@@ -1834,6 +2064,46 @@ export declare class ListExecutorsRequestFilter extends $tea.Model {
1834
2064
  [key: string]: any;
1835
2065
  });
1836
2066
  }
2067
+ export declare class ListExecutorsResponseBodyExecutorsResourceDisks extends $tea.Model {
2068
+ size?: number;
2069
+ type?: string;
2070
+ static names(): {
2071
+ [key: string]: string;
2072
+ };
2073
+ static types(): {
2074
+ [key: string]: any;
2075
+ };
2076
+ constructor(map?: {
2077
+ [key: string]: any;
2078
+ });
2079
+ }
2080
+ export declare class ListExecutorsResponseBodyExecutorsResource extends $tea.Model {
2081
+ cores?: number;
2082
+ disks?: ListExecutorsResponseBodyExecutorsResourceDisks[];
2083
+ memory?: number;
2084
+ static names(): {
2085
+ [key: string]: string;
2086
+ };
2087
+ static types(): {
2088
+ [key: string]: any;
2089
+ };
2090
+ constructor(map?: {
2091
+ [key: string]: any;
2092
+ });
2093
+ }
2094
+ export declare class ListExecutorsResponseBodyExecutorsTags extends $tea.Model {
2095
+ tagKey?: string;
2096
+ tagValue?: string;
2097
+ static names(): {
2098
+ [key: string]: string;
2099
+ };
2100
+ static types(): {
2101
+ [key: string]: any;
2102
+ };
2103
+ constructor(map?: {
2104
+ [key: string]: any;
2105
+ });
2106
+ }
1837
2107
  export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
1838
2108
  /**
1839
2109
  * @example
@@ -1855,6 +2125,7 @@ export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
1855
2125
  * job-xxxx-task0-1
1856
2126
  */
1857
2127
  executorId?: string;
2128
+ externalIpAddress?: string[];
1858
2129
  hostName?: string[];
1859
2130
  image?: string;
1860
2131
  ipAddress?: string[];
@@ -1868,6 +2139,9 @@ export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
1868
2139
  * testJob
1869
2140
  */
1870
2141
  jobName?: string;
2142
+ resource?: ListExecutorsResponseBodyExecutorsResource;
2143
+ resourceType?: string;
2144
+ startTime?: string;
1871
2145
  /**
1872
2146
  * @example
1873
2147
  * Running
@@ -1878,11 +2152,14 @@ export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
1878
2152
  * Succeeded to release executor resource
1879
2153
  */
1880
2154
  statusReason?: string;
2155
+ tags?: ListExecutorsResponseBodyExecutorsTags[];
1881
2156
  /**
1882
2157
  * @example
1883
2158
  * task0
1884
2159
  */
1885
2160
  taskName?: string;
2161
+ taskSustainable?: boolean;
2162
+ vswitchId?: string;
1886
2163
  static names(): {
1887
2164
  [key: string]: string;
1888
2165
  };
@@ -1959,6 +2236,19 @@ export declare class ListJobExecutorsResponseBodyExecutorStatus extends $tea.Mod
1959
2236
  [key: string]: any;
1960
2237
  });
1961
2238
  }
2239
+ export declare class ListJobExecutorsResponseBodyExecutorsTags extends $tea.Model {
2240
+ tagKey?: string;
2241
+ tagValue?: string;
2242
+ static names(): {
2243
+ [key: string]: string;
2244
+ };
2245
+ static types(): {
2246
+ [key: string]: any;
2247
+ };
2248
+ constructor(map?: {
2249
+ [key: string]: any;
2250
+ });
2251
+ }
1962
2252
  export declare class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
1963
2253
  /**
1964
2254
  * @example
@@ -1976,8 +2266,10 @@ export declare class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
1976
2266
  */
1977
2267
  endTime?: string;
1978
2268
  executorId?: string;
2269
+ externalIpAddress?: string[];
1979
2270
  hostName?: string[];
1980
2271
  ipAddress?: string[];
2272
+ startTime?: string;
1981
2273
  /**
1982
2274
  * @example
1983
2275
  * Running
@@ -1988,6 +2280,7 @@ export declare class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
1988
2280
  * Creating executor
1989
2281
  */
1990
2282
  statusReason?: string;
2283
+ tags?: ListJobExecutorsResponseBodyExecutorsTags[];
1991
2284
  static names(): {
1992
2285
  [key: string]: string;
1993
2286
  };
@@ -2055,6 +2348,19 @@ export declare class ListJobsRequestSortBy extends $tea.Model {
2055
2348
  [key: string]: any;
2056
2349
  });
2057
2350
  }
2351
+ export declare class ListJobsResponseBodyJobListTags extends $tea.Model {
2352
+ tagKey?: string;
2353
+ tagValue?: string;
2354
+ static names(): {
2355
+ [key: string]: string;
2356
+ };
2357
+ static types(): {
2358
+ [key: string]: any;
2359
+ };
2360
+ constructor(map?: {
2361
+ [key: string]: any;
2362
+ });
2363
+ }
2058
2364
  export declare class ListJobsResponseBodyJobList extends $tea.Model {
2059
2365
  /**
2060
2366
  * @example
@@ -2101,6 +2407,7 @@ export declare class ListJobsResponseBodyJobList extends $tea.Model {
2101
2407
  * Running
2102
2408
  */
2103
2409
  status?: string;
2410
+ tags?: ListJobsResponseBodyJobListTags[];
2104
2411
  /**
2105
2412
  * @example
2106
2413
  * 1
@@ -2121,6 +2428,94 @@ export declare class ListJobsResponseBodyJobList extends $tea.Model {
2121
2428
  [key: string]: any;
2122
2429
  });
2123
2430
  }
2431
+ export declare class ListTagResourcesRequestTag extends $tea.Model {
2432
+ /**
2433
+ * @example
2434
+ * TestKey
2435
+ */
2436
+ key?: string;
2437
+ /**
2438
+ * @example
2439
+ * TestValue
2440
+ */
2441
+ value?: string;
2442
+ static names(): {
2443
+ [key: string]: string;
2444
+ };
2445
+ static types(): {
2446
+ [key: string]: any;
2447
+ };
2448
+ constructor(map?: {
2449
+ [key: string]: any;
2450
+ });
2451
+ }
2452
+ export declare class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
2453
+ /**
2454
+ * @example
2455
+ * job-xxxxxxxx
2456
+ */
2457
+ resourceId?: string;
2458
+ /**
2459
+ * @example
2460
+ * Job
2461
+ */
2462
+ resourceType?: string;
2463
+ /**
2464
+ * @example
2465
+ * TestKey
2466
+ */
2467
+ tagKey?: string;
2468
+ /**
2469
+ * @example
2470
+ * TestValue
2471
+ */
2472
+ tagValue?: string;
2473
+ static names(): {
2474
+ [key: string]: string;
2475
+ };
2476
+ static types(): {
2477
+ [key: string]: any;
2478
+ };
2479
+ constructor(map?: {
2480
+ [key: string]: any;
2481
+ });
2482
+ }
2483
+ export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model {
2484
+ tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
2485
+ static names(): {
2486
+ [key: string]: string;
2487
+ };
2488
+ static types(): {
2489
+ [key: string]: any;
2490
+ };
2491
+ constructor(map?: {
2492
+ [key: string]: any;
2493
+ });
2494
+ }
2495
+ export declare class TagResourcesRequestTag extends $tea.Model {
2496
+ /**
2497
+ * @remarks
2498
+ * This parameter is required.
2499
+ *
2500
+ * @example
2501
+ * TestKey
2502
+ */
2503
+ key?: string;
2504
+ /**
2505
+ * @example
2506
+ * TestValue
2507
+ */
2508
+ value?: string;
2509
+ static names(): {
2510
+ [key: string]: string;
2511
+ };
2512
+ static types(): {
2513
+ [key: string]: any;
2514
+ };
2515
+ constructor(map?: {
2516
+ [key: string]: any;
2517
+ });
2518
+ }
2124
2519
  export default class Client extends OpenApi {
2125
2520
  constructor(config: $OpenApi.Config);
2126
2521
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
@@ -2291,6 +2686,21 @@ export default class Client extends OpenApi {
2291
2686
  * @returns ListJobsResponse
2292
2687
  */
2293
2688
  listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
2689
+ /**
2690
+ * 查询一个或多个资源已经绑定的标签列表
2691
+ *
2692
+ * @param request - ListTagResourcesRequest
2693
+ * @param runtime - runtime options for this request RuntimeOptions
2694
+ * @returns ListTagResourcesResponse
2695
+ */
2696
+ listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
2697
+ /**
2698
+ * 查询一个或多个资源已经绑定的标签列表
2699
+ *
2700
+ * @param request - ListTagResourcesRequest
2701
+ * @returns ListTagResourcesResponse
2702
+ */
2703
+ listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
2294
2704
  /**
2295
2705
  * 移除托管侧镜像信息。
2296
2706
  *
@@ -2306,4 +2716,34 @@ export default class Client extends OpenApi {
2306
2716
  * @returns RemoveImageResponse
2307
2717
  */
2308
2718
  removeImage(request: RemoveImageRequest): Promise<RemoveImageResponse>;
2719
+ /**
2720
+ * 为指定的资源列表统一创建并绑定标签
2721
+ *
2722
+ * @param request - TagResourcesRequest
2723
+ * @param runtime - runtime options for this request RuntimeOptions
2724
+ * @returns TagResourcesResponse
2725
+ */
2726
+ tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
2727
+ /**
2728
+ * 为指定的资源列表统一创建并绑定标签
2729
+ *
2730
+ * @param request - TagResourcesRequest
2731
+ * @returns TagResourcesResponse
2732
+ */
2733
+ tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
2734
+ /**
2735
+ * 为指定的ECS资源列表统一解绑标签
2736
+ *
2737
+ * @param request - UnTagResourcesRequest
2738
+ * @param runtime - runtime options for this request RuntimeOptions
2739
+ * @returns UnTagResourcesResponse
2740
+ */
2741
+ unTagResourcesWithOptions(request: UnTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UnTagResourcesResponse>;
2742
+ /**
2743
+ * 为指定的ECS资源列表统一解绑标签
2744
+ *
2745
+ * @param request - UnTagResourcesRequest
2746
+ * @returns UnTagResourcesResponse
2747
+ */
2748
+ unTagResources(request: UnTagResourcesRequest): Promise<UnTagResourcesResponse>;
2309
2749
  }