@alicloud/esa20240910 2.14.0 → 2.15.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
@@ -1826,21 +1826,6 @@ export declare class CreateLoadBalancerRequestRules extends $dara.Model {
1826
1826
  [key: string]: any;
1827
1827
  });
1828
1828
  }
1829
- export declare class CreateLoadBalancerRequestSessionAffinityAttributes extends $dara.Model {
1830
- sameSite?: string;
1831
- secure?: string;
1832
- zeroDowntimeFailover?: string;
1833
- static names(): {
1834
- [key: string]: string;
1835
- };
1836
- static types(): {
1837
- [key: string]: any;
1838
- };
1839
- validate(): void;
1840
- constructor(map?: {
1841
- [key: string]: any;
1842
- });
1843
- }
1844
1829
  export declare class CreateOriginPoolRequestOriginsAuthConf extends $dara.Model {
1845
1830
  accessKey?: string;
1846
1831
  authType?: string;
@@ -8970,33 +8955,6 @@ export declare class ListLoadBalancersResponseBodyLoadBalancersRules extends $da
8970
8955
  [key: string]: any;
8971
8956
  });
8972
8957
  }
8973
- export declare class ListLoadBalancersResponseBodyLoadBalancersSessionAffinityAttributes extends $dara.Model {
8974
- /**
8975
- * @example
8976
- * Lax
8977
- */
8978
- sameSite?: string;
8979
- /**
8980
- * @example
8981
- * Always
8982
- */
8983
- secure?: string;
8984
- /**
8985
- * @example
8986
- * sticky
8987
- */
8988
- zeroDowntimeFailover?: string;
8989
- static names(): {
8990
- [key: string]: string;
8991
- };
8992
- static types(): {
8993
- [key: string]: any;
8994
- };
8995
- validate(): void;
8996
- constructor(map?: {
8997
- [key: string]: any;
8998
- });
8999
- }
9000
8958
  export declare class ListLoadBalancersResponseBodyLoadBalancers extends $dara.Model {
9001
8959
  adaptiveRouting?: ListLoadBalancersResponseBodyLoadBalancersAdaptiveRouting;
9002
8960
  defaultPools?: number[];
@@ -9053,7 +9011,6 @@ export declare class ListLoadBalancersResponseBodyLoadBalancers extends $dara.Mo
9053
9011
  * ip
9054
9012
  */
9055
9013
  sessionAffinity?: string;
9056
- sessionAffinityAttributes?: ListLoadBalancersResponseBodyLoadBalancersSessionAffinityAttributes;
9057
9014
  /**
9058
9015
  * @example
9059
9016
  * 1159101787****
@@ -11877,33 +11834,6 @@ export declare class UpdateLoadBalancerRequestRules extends $dara.Model {
11877
11834
  [key: string]: any;
11878
11835
  });
11879
11836
  }
11880
- export declare class UpdateLoadBalancerRequestSessionAffinityAttributes extends $dara.Model {
11881
- /**
11882
- * @example
11883
- * Lax
11884
- */
11885
- sameSite?: string;
11886
- /**
11887
- * @example
11888
- * Always
11889
- */
11890
- secure?: string;
11891
- /**
11892
- * @example
11893
- * sticky
11894
- */
11895
- zeroDowntimeFailover?: string;
11896
- static names(): {
11897
- [key: string]: string;
11898
- };
11899
- static types(): {
11900
- [key: string]: any;
11901
- };
11902
- validate(): void;
11903
- constructor(map?: {
11904
- [key: string]: any;
11905
- });
11906
- }
11907
11837
  export declare class UpdateOriginPoolRequestOriginsAuthConf extends $dara.Model {
11908
11838
  accessKey?: string;
11909
11839
  authType?: string;
@@ -15707,6 +15637,7 @@ export declare class CreateLoadBalancerRequest extends $dara.Model {
15707
15637
  */
15708
15638
  defaultPools?: number[];
15709
15639
  description?: string;
15640
+ enabled?: boolean;
15710
15641
  /**
15711
15642
  * @remarks
15712
15643
  * This parameter is required.
@@ -15751,7 +15682,6 @@ export declare class CreateLoadBalancerRequest extends $dara.Model {
15751
15682
  */
15752
15683
  rules?: CreateLoadBalancerRequestRules[];
15753
15684
  sessionAffinity?: string;
15754
- sessionAffinityAttributes?: CreateLoadBalancerRequestSessionAffinityAttributes;
15755
15685
  /**
15756
15686
  * @remarks
15757
15687
  * This parameter is required.
@@ -15793,6 +15723,7 @@ export declare class CreateLoadBalancerShrinkRequest extends $dara.Model {
15793
15723
  */
15794
15724
  defaultPoolsShrink?: string;
15795
15725
  description?: string;
15726
+ enabled?: boolean;
15796
15727
  /**
15797
15728
  * @remarks
15798
15729
  * This parameter is required.
@@ -15837,7 +15768,6 @@ export declare class CreateLoadBalancerShrinkRequest extends $dara.Model {
15837
15768
  */
15838
15769
  rulesShrink?: string;
15839
15770
  sessionAffinity?: string;
15840
- sessionAffinityAttributesShrink?: string;
15841
15771
  /**
15842
15772
  * @remarks
15843
15773
  * This parameter is required.
@@ -22753,6 +22683,70 @@ export declare class DescribePurgeTasksResponse extends $dara.Model {
22753
22683
  [key: string]: any;
22754
22684
  });
22755
22685
  }
22686
+ export declare class DescribeRatePlanInstanceStatusRequest extends $dara.Model {
22687
+ /**
22688
+ * @example
22689
+ * xcdn-91fknmb80f0g***
22690
+ */
22691
+ instanceId?: string;
22692
+ static names(): {
22693
+ [key: string]: string;
22694
+ };
22695
+ static types(): {
22696
+ [key: string]: any;
22697
+ };
22698
+ validate(): void;
22699
+ constructor(map?: {
22700
+ [key: string]: any;
22701
+ });
22702
+ }
22703
+ export declare class DescribeRatePlanInstanceStatusResponseBody extends $dara.Model {
22704
+ /**
22705
+ * @example
22706
+ * xcdn-91fknmb80f0g***
22707
+ */
22708
+ instanceId?: string;
22709
+ /**
22710
+ * @example
22711
+ * running
22712
+ */
22713
+ instanceStatus?: string;
22714
+ /**
22715
+ * @remarks
22716
+ * Id of the request
22717
+ *
22718
+ * @example
22719
+ * 60423A7F-A83D-1E24-B80E-86DD25790759
22720
+ */
22721
+ requestId?: string;
22722
+ static names(): {
22723
+ [key: string]: string;
22724
+ };
22725
+ static types(): {
22726
+ [key: string]: any;
22727
+ };
22728
+ validate(): void;
22729
+ constructor(map?: {
22730
+ [key: string]: any;
22731
+ });
22732
+ }
22733
+ export declare class DescribeRatePlanInstanceStatusResponse extends $dara.Model {
22734
+ headers?: {
22735
+ [key: string]: string;
22736
+ };
22737
+ statusCode?: number;
22738
+ body?: DescribeRatePlanInstanceStatusResponseBody;
22739
+ static names(): {
22740
+ [key: string]: string;
22741
+ };
22742
+ static types(): {
22743
+ [key: string]: any;
22744
+ };
22745
+ validate(): void;
22746
+ constructor(map?: {
22747
+ [key: string]: any;
22748
+ });
22749
+ }
22756
22750
  export declare class DisableCustomScenePolicyRequest extends $dara.Model {
22757
22751
  /**
22758
22752
  * @remarks
@@ -35203,6 +35197,106 @@ export declare class PublishRoutineCodeVersionResponse extends $dara.Model {
35203
35197
  [key: string]: any;
35204
35198
  });
35205
35199
  }
35200
+ export declare class PurchaseRatePlanRequest extends $dara.Model {
35201
+ autoPay?: boolean;
35202
+ /**
35203
+ * @example
35204
+ * true
35205
+ */
35206
+ autoRenew?: boolean;
35207
+ /**
35208
+ * @example
35209
+ * PREPAY
35210
+ */
35211
+ chargeType?: string;
35212
+ /**
35213
+ * @example
35214
+ * domestic
35215
+ */
35216
+ coverage?: string;
35217
+ /**
35218
+ * @example
35219
+ * 1
35220
+ */
35221
+ period?: number;
35222
+ /**
35223
+ * @example
35224
+ * entranceplan
35225
+ */
35226
+ planCode?: string;
35227
+ /**
35228
+ * @example
35229
+ * basic
35230
+ */
35231
+ planName?: string;
35232
+ /**
35233
+ * @example
35234
+ * test.com
35235
+ */
35236
+ siteName?: string;
35237
+ /**
35238
+ * @example
35239
+ * CNAME
35240
+ */
35241
+ type?: string;
35242
+ static names(): {
35243
+ [key: string]: string;
35244
+ };
35245
+ static types(): {
35246
+ [key: string]: any;
35247
+ };
35248
+ validate(): void;
35249
+ constructor(map?: {
35250
+ [key: string]: any;
35251
+ });
35252
+ }
35253
+ export declare class PurchaseRatePlanResponseBody extends $dara.Model {
35254
+ /**
35255
+ * @example
35256
+ * xcdn-ads11w
35257
+ */
35258
+ instanceId?: string;
35259
+ /**
35260
+ * @example
35261
+ * 123123
35262
+ */
35263
+ orderId?: string;
35264
+ /**
35265
+ * @remarks
35266
+ * Id of the request
35267
+ *
35268
+ * @example
35269
+ * 30423A7F-A83D-1E24-B80E-86DD25790758
35270
+ */
35271
+ requestId?: string;
35272
+ static names(): {
35273
+ [key: string]: string;
35274
+ };
35275
+ static types(): {
35276
+ [key: string]: any;
35277
+ };
35278
+ validate(): void;
35279
+ constructor(map?: {
35280
+ [key: string]: any;
35281
+ });
35282
+ }
35283
+ export declare class PurchaseRatePlanResponse extends $dara.Model {
35284
+ headers?: {
35285
+ [key: string]: string;
35286
+ };
35287
+ statusCode?: number;
35288
+ body?: PurchaseRatePlanResponseBody;
35289
+ static names(): {
35290
+ [key: string]: string;
35291
+ };
35292
+ static types(): {
35293
+ [key: string]: any;
35294
+ };
35295
+ validate(): void;
35296
+ constructor(map?: {
35297
+ [key: string]: any;
35298
+ });
35299
+ }
35206
35300
  export declare class PurgeCachesRequest extends $dara.Model {
35207
35301
  /**
35208
35302
  * @remarks
@@ -36104,14 +36198,6 @@ export declare class SetCertificateRequest extends $dara.Model {
36104
36198
  * cas
36105
36199
  */
36106
36200
  type?: string;
36107
- /**
36108
- * @remarks
36109
- * Specifies whether to update the certificate.
36110
- *
36111
- * @example
36112
- * true
36113
- */
36114
- update?: boolean;
36115
36201
  static names(): {
36116
36202
  [key: string]: string;
36117
36203
  };
@@ -38123,112 +38209,6 @@ export declare class UpdateImageTransformResponse extends $dara.Model {
38123
38209
  [key: string]: any;
38124
38210
  });
38125
38211
  }
38126
- export declare class UpdateKvNamespaceRequest extends $dara.Model {
38127
- /**
38128
- * @remarks
38129
- * The name of the namespace that you specify when you call the [CreateKvNamespace](https://help.aliyun.com/document_detail/2850317.html) operation.
38130
- *
38131
- * This parameter is required.
38132
- *
38133
- * @example
38134
- * ns1
38135
- */
38136
- namespace?: string;
38137
- /**
38138
- * @remarks
38139
- * The new name of the namespace.
38140
- *
38141
- * This parameter is required.
38142
- *
38143
- * @example
38144
- * new_ns
38145
- */
38146
- title?: string;
38147
- static names(): {
38148
- [key: string]: string;
38149
- };
38150
- static types(): {
38151
- [key: string]: any;
38152
- };
38153
- validate(): void;
38154
- constructor(map?: {
38155
- [key: string]: any;
38156
- });
38157
- }
38158
- export declare class UpdateKvNamespaceResponseBody extends $dara.Model {
38159
- /**
38160
- * @remarks
38161
- * The description of the namespace.
38162
- *
38163
- * @example
38164
- * this is a test ns.
38165
- */
38166
- description?: string;
38167
- /**
38168
- * @remarks
38169
- * The updated name of the namespace.
38170
- *
38171
- * @example
38172
- * new_ns1
38173
- */
38174
- namespace?: string;
38175
- /**
38176
- * @remarks
38177
- * The ID of the namespace.
38178
- *
38179
- * @example
38180
- * 643355322374688768
38181
- */
38182
- namespaceId?: string;
38183
- /**
38184
- * @remarks
38185
- * The request ID.
38186
- *
38187
- * @example
38188
- * 0AEDAF20-4DDF-4165-8750-47FF9C1929C9
38189
- */
38190
- requestId?: string;
38191
- /**
38192
- * @remarks
38193
- * The status of the namespace. Valid values:
38194
- *
38195
- * * **online**: normal.
38196
- * * **delete**: pending deletion.
38197
- * * **deleting**: being deleted.
38198
- * * **deleted**: deleted.
38199
- *
38200
- * @example
38201
- * online
38202
- */
38203
- status?: string;
38204
- static names(): {
38205
- [key: string]: string;
38206
- };
38207
- static types(): {
38208
- [key: string]: any;
38209
- };
38210
- validate(): void;
38211
- constructor(map?: {
38212
- [key: string]: any;
38213
- });
38214
- }
38215
- export declare class UpdateKvNamespaceResponse extends $dara.Model {
38216
- headers?: {
38217
- [key: string]: string;
38218
- };
38219
- statusCode?: number;
38220
- body?: UpdateKvNamespaceResponseBody;
38221
- static names(): {
38222
- [key: string]: string;
38223
- };
38224
- static types(): {
38225
- [key: string]: any;
38226
- };
38227
- validate(): void;
38228
- constructor(map?: {
38229
- [key: string]: any;
38230
- });
38231
- }
38232
38212
  export declare class UpdateListRequest extends $dara.Model {
38233
38213
  /**
38234
38214
  * @remarks
@@ -38374,6 +38354,7 @@ export declare class UpdateLoadBalancerRequest extends $dara.Model {
38374
38354
  adaptiveRouting?: UpdateLoadBalancerRequestAdaptiveRouting;
38375
38355
  defaultPools?: number[];
38376
38356
  description?: string;
38357
+ enabled?: boolean;
38377
38358
  /**
38378
38359
  * @example
38379
38360
  * 96228666776****
@@ -38419,7 +38400,6 @@ export declare class UpdateLoadBalancerRequest extends $dara.Model {
38419
38400
  * ip
38420
38401
  */
38421
38402
  sessionAffinity?: string;
38422
- sessionAffinityAttributes?: UpdateLoadBalancerRequestSessionAffinityAttributes;
38423
38403
  /**
38424
38404
  * @remarks
38425
38405
  * This parameter is required.
@@ -38458,6 +38438,7 @@ export declare class UpdateLoadBalancerShrinkRequest extends $dara.Model {
38458
38438
  adaptiveRoutingShrink?: string;
38459
38439
  defaultPoolsShrink?: string;
38460
38440
  description?: string;
38441
+ enabled?: boolean;
38461
38442
  /**
38462
38443
  * @example
38463
38444
  * 96228666776****
@@ -38503,7 +38484,6 @@ export declare class UpdateLoadBalancerShrinkRequest extends $dara.Model {
38503
38484
  * ip
38504
38485
  */
38505
38486
  sessionAffinity?: string;
38506
- sessionAffinityAttributesShrink?: string;
38507
38487
  /**
38508
38488
  * @remarks
38509
38489
  * This parameter is required.
@@ -39180,6 +39160,91 @@ export declare class UpdatePageResponse extends $dara.Model {
39180
39160
  [key: string]: any;
39181
39161
  });
39182
39162
  }
39163
+ export declare class UpdateRatePlanSpecRequest extends $dara.Model {
39164
+ autoPay?: boolean;
39165
+ /**
39166
+ * @example
39167
+ * PREPAY
39168
+ */
39169
+ chargeType?: string;
39170
+ /**
39171
+ * @example
39172
+ * xcdn-91fknmb80f0g
39173
+ */
39174
+ instanceId?: string;
39175
+ /**
39176
+ * @example
39177
+ * UPGRADE
39178
+ */
39179
+ orderType?: string;
39180
+ /**
39181
+ * @example
39182
+ * entranceplan
39183
+ */
39184
+ targetPlanCode?: string;
39185
+ /**
39186
+ * @example
39187
+ * basic
39188
+ */
39189
+ targetPlanName?: string;
39190
+ static names(): {
39191
+ [key: string]: string;
39192
+ };
39193
+ static types(): {
39194
+ [key: string]: any;
39195
+ };
39196
+ validate(): void;
39197
+ constructor(map?: {
39198
+ [key: string]: any;
39199
+ });
39200
+ }
39201
+ export declare class UpdateRatePlanSpecResponseBody extends $dara.Model {
39202
+ /**
39203
+ * @example
39204
+ * xcdn-as23ds***
39205
+ */
39206
+ instanceId?: string;
39207
+ /**
39208
+ * @example
39209
+ * 2223332122***
39210
+ */
39211
+ orderId?: string;
39212
+ /**
39213
+ * @remarks
39214
+ * Id of the request
39215
+ *
39216
+ * @example
39217
+ * 30423A7F-A83D-1E24-B80E-86DD25790758
39218
+ */
39219
+ requestId?: string;
39220
+ static names(): {
39221
+ [key: string]: string;
39222
+ };
39223
+ static types(): {
39224
+ [key: string]: any;
39225
+ };
39226
+ validate(): void;
39227
+ constructor(map?: {
39228
+ [key: string]: any;
39229
+ });
39230
+ }
39231
+ export declare class UpdateRatePlanSpecResponse extends $dara.Model {
39232
+ headers?: {
39233
+ [key: string]: string;
39234
+ };
39235
+ statusCode?: number;
39236
+ body?: UpdateRatePlanSpecResponseBody;
39237
+ static names(): {
39238
+ [key: string]: string;
39239
+ };
39240
+ static types(): {
39241
+ [key: string]: any;
39242
+ };
39243
+ validate(): void;
39244
+ constructor(map?: {
39245
+ [key: string]: any;
39246
+ });
39247
+ }
39183
39248
  export declare class UpdateRecordRequest extends $dara.Model {
39184
39249
  /**
39185
39250
  * @remarks
@@ -43512,6 +43577,21 @@ export default class Client extends OpenApi {
43512
43577
  * @returns DescribePurgeTasksResponse
43513
43578
  */
43514
43579
  describePurgeTasks(request: DescribePurgeTasksRequest): Promise<DescribePurgeTasksResponse>;
43580
+ /**
43581
+ * 查询套餐实例状态
43582
+ *
43583
+ * @param request - DescribeRatePlanInstanceStatusRequest
43584
+ * @param runtime - runtime options for this request RuntimeOptions
43585
+ * @returns DescribeRatePlanInstanceStatusResponse
43586
+ */
43587
+ describeRatePlanInstanceStatusWithOptions(request: DescribeRatePlanInstanceStatusRequest, runtime: $dara.RuntimeOptions): Promise<DescribeRatePlanInstanceStatusResponse>;
43588
+ /**
43589
+ * 查询套餐实例状态
43590
+ *
43591
+ * @param request - DescribeRatePlanInstanceStatusRequest
43592
+ * @returns DescribeRatePlanInstanceStatusResponse
43593
+ */
43594
+ describeRatePlanInstanceStatus(request: DescribeRatePlanInstanceStatusRequest): Promise<DescribeRatePlanInstanceStatusResponse>;
43515
43595
  /**
43516
43596
  * Disables a scenario-specific policy.
43517
43597
  *
@@ -45360,6 +45440,21 @@ export default class Client extends OpenApi {
45360
45440
  * @returns PublishRoutineCodeVersionResponse
45361
45441
  */
45362
45442
  publishRoutineCodeVersion(request: PublishRoutineCodeVersionRequest): Promise<PublishRoutineCodeVersionResponse>;
45443
+ /**
45444
+ * 新购套餐
45445
+ *
45446
+ * @param request - PurchaseRatePlanRequest
45447
+ * @param runtime - runtime options for this request RuntimeOptions
45448
+ * @returns PurchaseRatePlanResponse
45449
+ */
45450
+ purchaseRatePlanWithOptions(request: PurchaseRatePlanRequest, runtime: $dara.RuntimeOptions): Promise<PurchaseRatePlanResponse>;
45451
+ /**
45452
+ * 新购套餐
45453
+ *
45454
+ * @param request - PurchaseRatePlanRequest
45455
+ * @returns PurchaseRatePlanResponse
45456
+ */
45457
+ purchaseRatePlan(request: PurchaseRatePlanRequest): Promise<PurchaseRatePlanResponse>;
45363
45458
  /**
45364
45459
  * Purges resources cached on points of presence (POPs). You can purge the cache by file URL, directory, cache tag, hostname, or URL with specified parameters ignored, or purge all the cache.
45365
45460
  *
@@ -45827,21 +45922,6 @@ export default class Client extends OpenApi {
45827
45922
  * @returns UpdateImageTransformResponse
45828
45923
  */
45829
45924
  updateImageTransform(request: UpdateImageTransformRequest): Promise<UpdateImageTransformResponse>;
45830
- /**
45831
- * Updates the name of a namespace in Edge KV.
45832
- *
45833
- * @param request - UpdateKvNamespaceRequest
45834
- * @param runtime - runtime options for this request RuntimeOptions
45835
- * @returns UpdateKvNamespaceResponse
45836
- */
45837
- updateKvNamespaceWithOptions(request: UpdateKvNamespaceRequest, runtime: $dara.RuntimeOptions): Promise<UpdateKvNamespaceResponse>;
45838
- /**
45839
- * Updates the name of a namespace in Edge KV.
45840
- *
45841
- * @param request - UpdateKvNamespaceRequest
45842
- * @returns UpdateKvNamespaceResponse
45843
- */
45844
- updateKvNamespace(request: UpdateKvNamespaceRequest): Promise<UpdateKvNamespaceResponse>;
45845
45925
  /**
45846
45926
  * Updates a custom list.
45847
45927
  *
@@ -45977,6 +46057,21 @@ export default class Client extends OpenApi {
45977
46057
  * @returns UpdatePageResponse
45978
46058
  */
45979
46059
  updatePage(request: UpdatePageRequest): Promise<UpdatePageResponse>;
46060
+ /**
46061
+ * 套餐变配
46062
+ *
46063
+ * @param request - UpdateRatePlanSpecRequest
46064
+ * @param runtime - runtime options for this request RuntimeOptions
46065
+ * @returns UpdateRatePlanSpecResponse
46066
+ */
46067
+ updateRatePlanSpecWithOptions(request: UpdateRatePlanSpecRequest, runtime: $dara.RuntimeOptions): Promise<UpdateRatePlanSpecResponse>;
46068
+ /**
46069
+ * 套餐变配
46070
+ *
46071
+ * @param request - UpdateRatePlanSpecRequest
46072
+ * @returns UpdateRatePlanSpecResponse
46073
+ */
46074
+ updateRatePlanSpec(request: UpdateRatePlanSpecRequest): Promise<UpdateRatePlanSpecResponse>;
45980
46075
  /**
45981
46076
  * Updates multiple types of DNS records and origin authentication configurations.
45982
46077
  *