@alicloud/paistudio20220112 1.1.3 → 1.2.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 +102 -0
- package/dist/client.js +182 -308
- package/dist/client.js.map +1 -1
- package/package.json +1 -2
- package/src/client.ts +242 -304
package/dist/client.d.ts
CHANGED
|
@@ -3205,6 +3205,90 @@ export declare class GetResourceGroupTotalResponse extends $tea.Model {
|
|
|
3205
3205
|
[key: string]: any;
|
|
3206
3206
|
});
|
|
3207
3207
|
}
|
|
3208
|
+
export declare class GetSpotPriceHistoryRequest extends $tea.Model {
|
|
3209
|
+
/**
|
|
3210
|
+
* @example
|
|
3211
|
+
* 2024-12-30T09:36:46Z
|
|
3212
|
+
*/
|
|
3213
|
+
endTime?: string;
|
|
3214
|
+
/**
|
|
3215
|
+
* @example
|
|
3216
|
+
* asc
|
|
3217
|
+
*/
|
|
3218
|
+
order?: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* @example
|
|
3221
|
+
* 1
|
|
3222
|
+
*/
|
|
3223
|
+
pageNumber?: number;
|
|
3224
|
+
/**
|
|
3225
|
+
* @example
|
|
3226
|
+
* 10
|
|
3227
|
+
*/
|
|
3228
|
+
pageSize?: number;
|
|
3229
|
+
/**
|
|
3230
|
+
* @example
|
|
3231
|
+
* GmtCreatedTime
|
|
3232
|
+
*/
|
|
3233
|
+
sortBy?: string;
|
|
3234
|
+
/**
|
|
3235
|
+
* @example
|
|
3236
|
+
* 0
|
|
3237
|
+
*/
|
|
3238
|
+
spotDuration?: number;
|
|
3239
|
+
/**
|
|
3240
|
+
* @example
|
|
3241
|
+
* 2024-12-26T09:36:46Z
|
|
3242
|
+
*/
|
|
3243
|
+
startTime?: string;
|
|
3244
|
+
static names(): {
|
|
3245
|
+
[key: string]: string;
|
|
3246
|
+
};
|
|
3247
|
+
static types(): {
|
|
3248
|
+
[key: string]: any;
|
|
3249
|
+
};
|
|
3250
|
+
constructor(map?: {
|
|
3251
|
+
[key: string]: any;
|
|
3252
|
+
});
|
|
3253
|
+
}
|
|
3254
|
+
export declare class GetSpotPriceHistoryResponseBody extends $tea.Model {
|
|
3255
|
+
/**
|
|
3256
|
+
* @example
|
|
3257
|
+
* 8BDA4440-DD3C-5F4B-BBDD-94A9CE1E75C7
|
|
3258
|
+
*/
|
|
3259
|
+
requestId?: string;
|
|
3260
|
+
spotPriceHistory?: SpotPriceItem[];
|
|
3261
|
+
/**
|
|
3262
|
+
* @example
|
|
3263
|
+
* 194
|
|
3264
|
+
*/
|
|
3265
|
+
totalCount?: number;
|
|
3266
|
+
static names(): {
|
|
3267
|
+
[key: string]: string;
|
|
3268
|
+
};
|
|
3269
|
+
static types(): {
|
|
3270
|
+
[key: string]: any;
|
|
3271
|
+
};
|
|
3272
|
+
constructor(map?: {
|
|
3273
|
+
[key: string]: any;
|
|
3274
|
+
});
|
|
3275
|
+
}
|
|
3276
|
+
export declare class GetSpotPriceHistoryResponse extends $tea.Model {
|
|
3277
|
+
headers?: {
|
|
3278
|
+
[key: string]: string;
|
|
3279
|
+
};
|
|
3280
|
+
statusCode?: number;
|
|
3281
|
+
body?: GetSpotPriceHistoryResponseBody;
|
|
3282
|
+
static names(): {
|
|
3283
|
+
[key: string]: string;
|
|
3284
|
+
};
|
|
3285
|
+
static types(): {
|
|
3286
|
+
[key: string]: any;
|
|
3287
|
+
};
|
|
3288
|
+
constructor(map?: {
|
|
3289
|
+
[key: string]: any;
|
|
3290
|
+
});
|
|
3291
|
+
}
|
|
3208
3292
|
export declare class GetTokenRequest extends $tea.Model {
|
|
3209
3293
|
/**
|
|
3210
3294
|
* @example
|
|
@@ -7312,6 +7396,24 @@ export default class Client extends OpenApi {
|
|
|
7312
7396
|
* @returns GetResourceGroupTotalResponse
|
|
7313
7397
|
*/
|
|
7314
7398
|
getResourceGroupTotal(request: GetResourceGroupTotalRequest): Promise<GetResourceGroupTotalResponse>;
|
|
7399
|
+
/**
|
|
7400
|
+
* 获取抢占式实例历史价格
|
|
7401
|
+
*
|
|
7402
|
+
* @param request - GetSpotPriceHistoryRequest
|
|
7403
|
+
* @param headers - map
|
|
7404
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7405
|
+
* @returns GetSpotPriceHistoryResponse
|
|
7406
|
+
*/
|
|
7407
|
+
getSpotPriceHistoryWithOptions(InstanceType: string, request: GetSpotPriceHistoryRequest, headers: {
|
|
7408
|
+
[key: string]: string;
|
|
7409
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetSpotPriceHistoryResponse>;
|
|
7410
|
+
/**
|
|
7411
|
+
* 获取抢占式实例历史价格
|
|
7412
|
+
*
|
|
7413
|
+
* @param request - GetSpotPriceHistoryRequest
|
|
7414
|
+
* @returns GetSpotPriceHistoryResponse
|
|
7415
|
+
*/
|
|
7416
|
+
getSpotPriceHistory(InstanceType: string, request: GetSpotPriceHistoryRequest): Promise<GetSpotPriceHistoryResponse>;
|
|
7315
7417
|
/**
|
|
7316
7418
|
* 调用GetToken获取临时鉴权信息
|
|
7317
7419
|
*
|