@alicloud/eas20210701 4.0.3 → 4.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 CHANGED
@@ -217,6 +217,51 @@ export declare class Service extends $tea.Model {
217
217
  [key: string]: any;
218
218
  });
219
219
  }
220
+ export declare class CloneServiceRequest extends $tea.Model {
221
+ body?: string;
222
+ static names(): {
223
+ [key: string]: string;
224
+ };
225
+ static types(): {
226
+ [key: string]: any;
227
+ };
228
+ constructor(map?: {
229
+ [key: string]: any;
230
+ });
231
+ }
232
+ export declare class CloneServiceResponseBody extends $tea.Model {
233
+ internetEndpoint?: string;
234
+ intranetEndpoint?: string;
235
+ requestId?: string;
236
+ serviceId?: string;
237
+ serviceName?: string;
238
+ status?: string;
239
+ static names(): {
240
+ [key: string]: string;
241
+ };
242
+ static types(): {
243
+ [key: string]: any;
244
+ };
245
+ constructor(map?: {
246
+ [key: string]: any;
247
+ });
248
+ }
249
+ export declare class CloneServiceResponse extends $tea.Model {
250
+ headers?: {
251
+ [key: string]: string;
252
+ };
253
+ statusCode?: number;
254
+ body?: CloneServiceResponseBody;
255
+ static names(): {
256
+ [key: string]: string;
257
+ };
258
+ static types(): {
259
+ [key: string]: any;
260
+ };
261
+ constructor(map?: {
262
+ [key: string]: any;
263
+ });
264
+ }
220
265
  export declare class CommitServiceResponseBody extends $tea.Model {
221
266
  message?: string;
222
267
  requestId?: string;
@@ -1736,6 +1781,48 @@ export declare class DescribeServiceMirrorResponse extends $tea.Model {
1736
1781
  [key: string]: any;
1737
1782
  });
1738
1783
  }
1784
+ export declare class DescribeSpotDiscountHistoryRequest extends $tea.Model {
1785
+ instanceType?: string;
1786
+ isProtect?: boolean;
1787
+ static names(): {
1788
+ [key: string]: string;
1789
+ };
1790
+ static types(): {
1791
+ [key: string]: any;
1792
+ };
1793
+ constructor(map?: {
1794
+ [key: string]: any;
1795
+ });
1796
+ }
1797
+ export declare class DescribeSpotDiscountHistoryResponseBody extends $tea.Model {
1798
+ requestId?: string;
1799
+ spotDiscounts?: DescribeSpotDiscountHistoryResponseBodySpotDiscounts[];
1800
+ static names(): {
1801
+ [key: string]: string;
1802
+ };
1803
+ static types(): {
1804
+ [key: string]: any;
1805
+ };
1806
+ constructor(map?: {
1807
+ [key: string]: any;
1808
+ });
1809
+ }
1810
+ export declare class DescribeSpotDiscountHistoryResponse extends $tea.Model {
1811
+ headers?: {
1812
+ [key: string]: string;
1813
+ };
1814
+ statusCode?: number;
1815
+ body?: DescribeSpotDiscountHistoryResponseBody;
1816
+ static names(): {
1817
+ [key: string]: string;
1818
+ };
1819
+ static types(): {
1820
+ [key: string]: any;
1821
+ };
1822
+ constructor(map?: {
1823
+ [key: string]: any;
1824
+ });
1825
+ }
1739
1826
  export declare class DevelopServiceRequest extends $tea.Model {
1740
1827
  exit?: string;
1741
1828
  static names(): {
@@ -3339,6 +3426,21 @@ export declare class DescribeServiceInstanceDiagnosisResponseBodyDiagnosis exten
3339
3426
  [key: string]: any;
3340
3427
  });
3341
3428
  }
3429
+ export declare class DescribeSpotDiscountHistoryResponseBodySpotDiscounts extends $tea.Model {
3430
+ instanceType?: string;
3431
+ spotDiscount?: string;
3432
+ timestamp?: string;
3433
+ zoneId?: string;
3434
+ static names(): {
3435
+ [key: string]: string;
3436
+ };
3437
+ static types(): {
3438
+ [key: string]: any;
3439
+ };
3440
+ constructor(map?: {
3441
+ [key: string]: any;
3442
+ });
3443
+ }
3342
3444
  export declare class ListBenchmarkTaskResponseBodyTasks extends $tea.Model {
3343
3445
  availableAgent?: number;
3344
3446
  createTime?: string;
@@ -3506,6 +3608,10 @@ export default class Client extends OpenApi {
3506
3608
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
3507
3609
  [key: string]: string;
3508
3610
  }, endpoint: string): string;
3611
+ cloneServiceWithOptions(ClusterId: string, ServiceName: string, request: CloneServiceRequest, headers: {
3612
+ [key: string]: string;
3613
+ }, runtime: $Util.RuntimeOptions): Promise<CloneServiceResponse>;
3614
+ cloneService(ClusterId: string, ServiceName: string, request: CloneServiceRequest): Promise<CloneServiceResponse>;
3509
3615
  commitServiceWithOptions(ClusterId: string, ServiceName: string, headers: {
3510
3616
  [key: string]: string;
3511
3617
  }, runtime: $Util.RuntimeOptions): Promise<CommitServiceResponse>;
@@ -3526,9 +3632,23 @@ export default class Client extends OpenApi {
3526
3632
  [key: string]: string;
3527
3633
  }, runtime: $Util.RuntimeOptions): Promise<CreateGatewayIntranetLinkedVpcResponse>;
3528
3634
  createGatewayIntranetLinkedVpc(ClusterId: string, GatewayId: string, request: CreateGatewayIntranetLinkedVpcRequest): Promise<CreateGatewayIntranetLinkedVpcResponse>;
3635
+ /**
3636
+ * **Before you call this operation, make sure that you are familiar with the [billing](~~144261~~) of Elastic Algorithm Service (EAS).
3637
+ *
3638
+ * @param request CreateResourceRequest
3639
+ * @param headers map
3640
+ * @param runtime runtime options for this request RuntimeOptions
3641
+ * @return CreateResourceResponse
3642
+ */
3529
3643
  createResourceWithOptions(request: CreateResourceRequest, headers: {
3530
3644
  [key: string]: string;
3531
3645
  }, runtime: $Util.RuntimeOptions): Promise<CreateResourceResponse>;
3646
+ /**
3647
+ * **Before you call this operation, make sure that you are familiar with the [billing](~~144261~~) of Elastic Algorithm Service (EAS).
3648
+ *
3649
+ * @param request CreateResourceRequest
3650
+ * @return CreateResourceResponse
3651
+ */
3532
3652
  createResource(request: CreateResourceRequest): Promise<CreateResourceResponse>;
3533
3653
  createResourceInstancesWithOptions(ClusterId: string, ResourceId: string, request: CreateResourceInstancesRequest, headers: {
3534
3654
  [key: string]: string;
@@ -3666,6 +3786,10 @@ export default class Client extends OpenApi {
3666
3786
  [key: string]: string;
3667
3787
  }, runtime: $Util.RuntimeOptions): Promise<DescribeServiceMirrorResponse>;
3668
3788
  describeServiceMirror(ClusterId: string, ServiceName: string): Promise<DescribeServiceMirrorResponse>;
3789
+ describeSpotDiscountHistoryWithOptions(request: DescribeSpotDiscountHistoryRequest, headers: {
3790
+ [key: string]: string;
3791
+ }, runtime: $Util.RuntimeOptions): Promise<DescribeSpotDiscountHistoryResponse>;
3792
+ describeSpotDiscountHistory(request: DescribeSpotDiscountHistoryRequest): Promise<DescribeSpotDiscountHistoryResponse>;
3669
3793
  developServiceWithOptions(ClusterId: string, ServiceName: string, request: DevelopServiceRequest, headers: {
3670
3794
  [key: string]: string;
3671
3795
  }, runtime: $Util.RuntimeOptions): Promise<DevelopServiceResponse>;