@alicloud/ehpcinstant20230701 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +447 -0
- package/dist/client.js +585 -2
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +821 -3
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
|
|
@@ -770,6 +772,7 @@ export declare class ListJobExecutorsRequest extends $tea.Model {
|
|
|
770
772
|
});
|
|
771
773
|
}
|
|
772
774
|
export declare class ListJobExecutorsResponseBody extends $tea.Model {
|
|
775
|
+
executorStatus?: ListJobExecutorsResponseBodyExecutorStatus;
|
|
773
776
|
executors?: ListJobExecutorsResponseBodyExecutors[];
|
|
774
777
|
/**
|
|
775
778
|
* @example
|
|
@@ -921,6 +924,75 @@ export declare class ListJobsResponse extends $tea.Model {
|
|
|
921
924
|
[key: string]: any;
|
|
922
925
|
});
|
|
923
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
|
+
}
|
|
924
996
|
export declare class RemoveImageRequest extends $tea.Model {
|
|
925
997
|
/**
|
|
926
998
|
* @remarks
|
|
@@ -930,6 +1002,7 @@ export declare class RemoveImageRequest extends $tea.Model {
|
|
|
930
1002
|
* m-bp14wakr1rkxtb******
|
|
931
1003
|
*/
|
|
932
1004
|
imageId?: string;
|
|
1005
|
+
imageType?: string;
|
|
933
1006
|
static names(): {
|
|
934
1007
|
[key: string]: string;
|
|
935
1008
|
};
|
|
@@ -977,6 +1050,129 @@ export declare class RemoveImageResponse extends $tea.Model {
|
|
|
977
1050
|
[key: string]: any;
|
|
978
1051
|
});
|
|
979
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
|
+
}
|
|
980
1176
|
export declare class AddImageRequestContainerImageSpecRegistryCredential extends $tea.Model {
|
|
981
1177
|
/**
|
|
982
1178
|
* @example
|
|
@@ -1052,6 +1248,7 @@ export declare class AddImageRequestVMImageSpec extends $tea.Model {
|
|
|
1052
1248
|
});
|
|
1053
1249
|
}
|
|
1054
1250
|
export declare class CreateJobRequestDeploymentPolicyNetwork extends $tea.Model {
|
|
1251
|
+
enableExternalIpAddress?: boolean;
|
|
1055
1252
|
vswitch?: string[];
|
|
1056
1253
|
static names(): {
|
|
1057
1254
|
[key: string]: string;
|
|
@@ -1063,6 +1260,23 @@ export declare class CreateJobRequestDeploymentPolicyNetwork extends $tea.Model
|
|
|
1063
1260
|
[key: string]: any;
|
|
1064
1261
|
});
|
|
1065
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
|
+
}
|
|
1066
1280
|
export declare class CreateJobRequestDeploymentPolicy extends $tea.Model {
|
|
1067
1281
|
/**
|
|
1068
1282
|
* @example
|
|
@@ -1070,6 +1284,7 @@ export declare class CreateJobRequestDeploymentPolicy extends $tea.Model {
|
|
|
1070
1284
|
*/
|
|
1071
1285
|
allocationSpec?: string;
|
|
1072
1286
|
network?: CreateJobRequestDeploymentPolicyNetwork;
|
|
1287
|
+
tag?: CreateJobRequestDeploymentPolicyTag[];
|
|
1073
1288
|
static names(): {
|
|
1074
1289
|
[key: string]: string;
|
|
1075
1290
|
};
|
|
@@ -1526,6 +1741,7 @@ export declare class GetImageResponseBodyImage extends $tea.Model {
|
|
|
1526
1741
|
});
|
|
1527
1742
|
}
|
|
1528
1743
|
export declare class GetJobResponseBodyJobInfoDeploymentPolicyNetwork extends $tea.Model {
|
|
1744
|
+
enableExternalIpAddress?: boolean;
|
|
1529
1745
|
vswitch?: string[];
|
|
1530
1746
|
static names(): {
|
|
1531
1747
|
[key: string]: string;
|
|
@@ -1813,6 +2029,7 @@ export declare class ListExecutorsRequestFilter extends $tea.Model {
|
|
|
1813
2029
|
* testJob
|
|
1814
2030
|
*/
|
|
1815
2031
|
jobName?: string;
|
|
2032
|
+
status?: string[];
|
|
1816
2033
|
/**
|
|
1817
2034
|
* @example
|
|
1818
2035
|
* 1703819914
|
|
@@ -1833,6 +2050,46 @@ export declare class ListExecutorsRequestFilter extends $tea.Model {
|
|
|
1833
2050
|
[key: string]: any;
|
|
1834
2051
|
});
|
|
1835
2052
|
}
|
|
2053
|
+
export declare class ListExecutorsResponseBodyExecutorsResourceDisks extends $tea.Model {
|
|
2054
|
+
size?: number;
|
|
2055
|
+
type?: string;
|
|
2056
|
+
static names(): {
|
|
2057
|
+
[key: string]: string;
|
|
2058
|
+
};
|
|
2059
|
+
static types(): {
|
|
2060
|
+
[key: string]: any;
|
|
2061
|
+
};
|
|
2062
|
+
constructor(map?: {
|
|
2063
|
+
[key: string]: any;
|
|
2064
|
+
});
|
|
2065
|
+
}
|
|
2066
|
+
export declare class ListExecutorsResponseBodyExecutorsResource extends $tea.Model {
|
|
2067
|
+
cores?: number;
|
|
2068
|
+
disks?: ListExecutorsResponseBodyExecutorsResourceDisks[];
|
|
2069
|
+
memory?: number;
|
|
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 ListExecutorsResponseBodyExecutorsTags extends $tea.Model {
|
|
2081
|
+
tagKey?: string;
|
|
2082
|
+
tagValue?: string;
|
|
2083
|
+
static names(): {
|
|
2084
|
+
[key: string]: string;
|
|
2085
|
+
};
|
|
2086
|
+
static types(): {
|
|
2087
|
+
[key: string]: any;
|
|
2088
|
+
};
|
|
2089
|
+
constructor(map?: {
|
|
2090
|
+
[key: string]: any;
|
|
2091
|
+
});
|
|
2092
|
+
}
|
|
1836
2093
|
export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
1837
2094
|
/**
|
|
1838
2095
|
* @example
|
|
@@ -1854,7 +2111,9 @@ export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
1854
2111
|
* job-xxxx-task0-1
|
|
1855
2112
|
*/
|
|
1856
2113
|
executorId?: string;
|
|
2114
|
+
externalIpAddress?: string[];
|
|
1857
2115
|
hostName?: string[];
|
|
2116
|
+
image?: string;
|
|
1858
2117
|
ipAddress?: string[];
|
|
1859
2118
|
/**
|
|
1860
2119
|
* @example
|
|
@@ -1866,6 +2125,9 @@ export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
1866
2125
|
* testJob
|
|
1867
2126
|
*/
|
|
1868
2127
|
jobName?: string;
|
|
2128
|
+
resource?: ListExecutorsResponseBodyExecutorsResource;
|
|
2129
|
+
resourceType?: string;
|
|
2130
|
+
startTime?: string;
|
|
1869
2131
|
/**
|
|
1870
2132
|
* @example
|
|
1871
2133
|
* Running
|
|
@@ -1876,11 +2138,14 @@ export declare class ListExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
1876
2138
|
* Succeeded to release executor resource
|
|
1877
2139
|
*/
|
|
1878
2140
|
statusReason?: string;
|
|
2141
|
+
tags?: ListExecutorsResponseBodyExecutorsTags[];
|
|
1879
2142
|
/**
|
|
1880
2143
|
* @example
|
|
1881
2144
|
* task0
|
|
1882
2145
|
*/
|
|
1883
2146
|
taskName?: string;
|
|
2147
|
+
taskSustainable?: boolean;
|
|
2148
|
+
vswitchId?: string;
|
|
1884
2149
|
static names(): {
|
|
1885
2150
|
[key: string]: string;
|
|
1886
2151
|
};
|
|
@@ -1939,6 +2204,37 @@ export declare class ListImagesResponseBodyImages extends $tea.Model {
|
|
|
1939
2204
|
[key: string]: any;
|
|
1940
2205
|
});
|
|
1941
2206
|
}
|
|
2207
|
+
export declare class ListJobExecutorsResponseBodyExecutorStatus extends $tea.Model {
|
|
2208
|
+
deleted?: number;
|
|
2209
|
+
exception?: number;
|
|
2210
|
+
failed?: number;
|
|
2211
|
+
initing?: number;
|
|
2212
|
+
pending?: number;
|
|
2213
|
+
running?: number;
|
|
2214
|
+
succeeded?: number;
|
|
2215
|
+
static names(): {
|
|
2216
|
+
[key: string]: string;
|
|
2217
|
+
};
|
|
2218
|
+
static types(): {
|
|
2219
|
+
[key: string]: any;
|
|
2220
|
+
};
|
|
2221
|
+
constructor(map?: {
|
|
2222
|
+
[key: string]: any;
|
|
2223
|
+
});
|
|
2224
|
+
}
|
|
2225
|
+
export declare class ListJobExecutorsResponseBodyExecutorsTags extends $tea.Model {
|
|
2226
|
+
tagKey?: string;
|
|
2227
|
+
tagValue?: string;
|
|
2228
|
+
static names(): {
|
|
2229
|
+
[key: string]: string;
|
|
2230
|
+
};
|
|
2231
|
+
static types(): {
|
|
2232
|
+
[key: string]: any;
|
|
2233
|
+
};
|
|
2234
|
+
constructor(map?: {
|
|
2235
|
+
[key: string]: any;
|
|
2236
|
+
});
|
|
2237
|
+
}
|
|
1942
2238
|
export declare class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
|
|
1943
2239
|
/**
|
|
1944
2240
|
* @example
|
|
@@ -1955,8 +2251,11 @@ export declare class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
1955
2251
|
* 2024-02-20 10:04:18
|
|
1956
2252
|
*/
|
|
1957
2253
|
endTime?: string;
|
|
2254
|
+
executorId?: string;
|
|
2255
|
+
externalIpAddress?: string[];
|
|
1958
2256
|
hostName?: string[];
|
|
1959
2257
|
ipAddress?: string[];
|
|
2258
|
+
startTime?: string;
|
|
1960
2259
|
/**
|
|
1961
2260
|
* @example
|
|
1962
2261
|
* Running
|
|
@@ -1967,6 +2266,7 @@ export declare class ListJobExecutorsResponseBodyExecutors extends $tea.Model {
|
|
|
1967
2266
|
* Creating executor
|
|
1968
2267
|
*/
|
|
1969
2268
|
statusReason?: string;
|
|
2269
|
+
tags?: ListJobExecutorsResponseBodyExecutorsTags[];
|
|
1970
2270
|
static names(): {
|
|
1971
2271
|
[key: string]: string;
|
|
1972
2272
|
};
|
|
@@ -2034,6 +2334,19 @@ export declare class ListJobsRequestSortBy extends $tea.Model {
|
|
|
2034
2334
|
[key: string]: any;
|
|
2035
2335
|
});
|
|
2036
2336
|
}
|
|
2337
|
+
export declare class ListJobsResponseBodyJobListTags extends $tea.Model {
|
|
2338
|
+
tagKey?: string;
|
|
2339
|
+
tagValue?: string;
|
|
2340
|
+
static names(): {
|
|
2341
|
+
[key: string]: string;
|
|
2342
|
+
};
|
|
2343
|
+
static types(): {
|
|
2344
|
+
[key: string]: any;
|
|
2345
|
+
};
|
|
2346
|
+
constructor(map?: {
|
|
2347
|
+
[key: string]: any;
|
|
2348
|
+
});
|
|
2349
|
+
}
|
|
2037
2350
|
export declare class ListJobsResponseBodyJobList extends $tea.Model {
|
|
2038
2351
|
/**
|
|
2039
2352
|
* @example
|
|
@@ -2080,6 +2393,7 @@ export declare class ListJobsResponseBodyJobList extends $tea.Model {
|
|
|
2080
2393
|
* Running
|
|
2081
2394
|
*/
|
|
2082
2395
|
status?: string;
|
|
2396
|
+
tags?: ListJobsResponseBodyJobListTags[];
|
|
2083
2397
|
/**
|
|
2084
2398
|
* @example
|
|
2085
2399
|
* 1
|
|
@@ -2100,6 +2414,94 @@ export declare class ListJobsResponseBodyJobList extends $tea.Model {
|
|
|
2100
2414
|
[key: string]: any;
|
|
2101
2415
|
});
|
|
2102
2416
|
}
|
|
2417
|
+
export declare class ListTagResourcesRequestTag extends $tea.Model {
|
|
2418
|
+
/**
|
|
2419
|
+
* @example
|
|
2420
|
+
* TestKey
|
|
2421
|
+
*/
|
|
2422
|
+
key?: string;
|
|
2423
|
+
/**
|
|
2424
|
+
* @example
|
|
2425
|
+
* TestValue
|
|
2426
|
+
*/
|
|
2427
|
+
value?: string;
|
|
2428
|
+
static names(): {
|
|
2429
|
+
[key: string]: string;
|
|
2430
|
+
};
|
|
2431
|
+
static types(): {
|
|
2432
|
+
[key: string]: any;
|
|
2433
|
+
};
|
|
2434
|
+
constructor(map?: {
|
|
2435
|
+
[key: string]: any;
|
|
2436
|
+
});
|
|
2437
|
+
}
|
|
2438
|
+
export declare class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
|
|
2439
|
+
/**
|
|
2440
|
+
* @example
|
|
2441
|
+
* job-xxxxxxxx
|
|
2442
|
+
*/
|
|
2443
|
+
resourceId?: string;
|
|
2444
|
+
/**
|
|
2445
|
+
* @example
|
|
2446
|
+
* Job
|
|
2447
|
+
*/
|
|
2448
|
+
resourceType?: string;
|
|
2449
|
+
/**
|
|
2450
|
+
* @example
|
|
2451
|
+
* TestKey
|
|
2452
|
+
*/
|
|
2453
|
+
tagKey?: string;
|
|
2454
|
+
/**
|
|
2455
|
+
* @example
|
|
2456
|
+
* TestValue
|
|
2457
|
+
*/
|
|
2458
|
+
tagValue?: string;
|
|
2459
|
+
static names(): {
|
|
2460
|
+
[key: string]: string;
|
|
2461
|
+
};
|
|
2462
|
+
static types(): {
|
|
2463
|
+
[key: string]: any;
|
|
2464
|
+
};
|
|
2465
|
+
constructor(map?: {
|
|
2466
|
+
[key: string]: any;
|
|
2467
|
+
});
|
|
2468
|
+
}
|
|
2469
|
+
export declare class ListTagResourcesResponseBodyTagResources extends $tea.Model {
|
|
2470
|
+
tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
|
|
2471
|
+
static names(): {
|
|
2472
|
+
[key: string]: string;
|
|
2473
|
+
};
|
|
2474
|
+
static types(): {
|
|
2475
|
+
[key: string]: any;
|
|
2476
|
+
};
|
|
2477
|
+
constructor(map?: {
|
|
2478
|
+
[key: string]: any;
|
|
2479
|
+
});
|
|
2480
|
+
}
|
|
2481
|
+
export declare class TagResourcesRequestTag extends $tea.Model {
|
|
2482
|
+
/**
|
|
2483
|
+
* @remarks
|
|
2484
|
+
* This parameter is required.
|
|
2485
|
+
*
|
|
2486
|
+
* @example
|
|
2487
|
+
* TestKey
|
|
2488
|
+
*/
|
|
2489
|
+
key?: string;
|
|
2490
|
+
/**
|
|
2491
|
+
* @example
|
|
2492
|
+
* TestValue
|
|
2493
|
+
*/
|
|
2494
|
+
value?: string;
|
|
2495
|
+
static names(): {
|
|
2496
|
+
[key: string]: string;
|
|
2497
|
+
};
|
|
2498
|
+
static types(): {
|
|
2499
|
+
[key: string]: any;
|
|
2500
|
+
};
|
|
2501
|
+
constructor(map?: {
|
|
2502
|
+
[key: string]: any;
|
|
2503
|
+
});
|
|
2504
|
+
}
|
|
2103
2505
|
export default class Client extends OpenApi {
|
|
2104
2506
|
constructor(config: $OpenApi.Config);
|
|
2105
2507
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
@@ -2270,6 +2672,21 @@ export default class Client extends OpenApi {
|
|
|
2270
2672
|
* @returns ListJobsResponse
|
|
2271
2673
|
*/
|
|
2272
2674
|
listJobs(request: ListJobsRequest): Promise<ListJobsResponse>;
|
|
2675
|
+
/**
|
|
2676
|
+
* 查询一个或多个资源已经绑定的标签列表
|
|
2677
|
+
*
|
|
2678
|
+
* @param request - ListTagResourcesRequest
|
|
2679
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2680
|
+
* @returns ListTagResourcesResponse
|
|
2681
|
+
*/
|
|
2682
|
+
listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
|
2683
|
+
/**
|
|
2684
|
+
* 查询一个或多个资源已经绑定的标签列表
|
|
2685
|
+
*
|
|
2686
|
+
* @param request - ListTagResourcesRequest
|
|
2687
|
+
* @returns ListTagResourcesResponse
|
|
2688
|
+
*/
|
|
2689
|
+
listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
|
|
2273
2690
|
/**
|
|
2274
2691
|
* 移除托管侧镜像信息。
|
|
2275
2692
|
*
|
|
@@ -2285,4 +2702,34 @@ export default class Client extends OpenApi {
|
|
|
2285
2702
|
* @returns RemoveImageResponse
|
|
2286
2703
|
*/
|
|
2287
2704
|
removeImage(request: RemoveImageRequest): Promise<RemoveImageResponse>;
|
|
2705
|
+
/**
|
|
2706
|
+
* 为指定的资源列表统一创建并绑定标签
|
|
2707
|
+
*
|
|
2708
|
+
* @param request - TagResourcesRequest
|
|
2709
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2710
|
+
* @returns TagResourcesResponse
|
|
2711
|
+
*/
|
|
2712
|
+
tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
|
|
2713
|
+
/**
|
|
2714
|
+
* 为指定的资源列表统一创建并绑定标签
|
|
2715
|
+
*
|
|
2716
|
+
* @param request - TagResourcesRequest
|
|
2717
|
+
* @returns TagResourcesResponse
|
|
2718
|
+
*/
|
|
2719
|
+
tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
|
|
2720
|
+
/**
|
|
2721
|
+
* 为指定的ECS资源列表统一解绑标签
|
|
2722
|
+
*
|
|
2723
|
+
* @param request - UnTagResourcesRequest
|
|
2724
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2725
|
+
* @returns UnTagResourcesResponse
|
|
2726
|
+
*/
|
|
2727
|
+
unTagResourcesWithOptions(request: UnTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UnTagResourcesResponse>;
|
|
2728
|
+
/**
|
|
2729
|
+
* 为指定的ECS资源列表统一解绑标签
|
|
2730
|
+
*
|
|
2731
|
+
* @param request - UnTagResourcesRequest
|
|
2732
|
+
* @returns UnTagResourcesResponse
|
|
2733
|
+
*/
|
|
2734
|
+
unTagResources(request: UnTagResourcesRequest): Promise<UnTagResourcesResponse>;
|
|
2288
2735
|
}
|