Skip to content

Commit a41e26f

Browse files
daily sync Thu Apr 24 08:39:40 UTC 2025
1 parent c5f72e6 commit a41e26f

26 files changed

+1181
-456
lines changed

services/cdn/v2/CdnClient.ts

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ import { UpdateDomainMultiCertificatesRequestBody } from './model/UpdateDomainMu
146146
import { UpdateDomainMultiCertificatesRequestBodyContent } from './model/UpdateDomainMultiCertificatesRequestBodyContent';
147147
import { UpdateDomainMultiCertificatesResponse } from './model/UpdateDomainMultiCertificatesResponse';
148148
import { UpdateDomainMultiCertificatesResponseBodyContent } from './model/UpdateDomainMultiCertificatesResponseBodyContent';
149+
import { UpdateDomainMultiCertificatesResponseBodyResult } from './model/UpdateDomainMultiCertificatesResponseBodyResult';
149150
import { UpdatePrivateBucketAccessBody } from './model/UpdatePrivateBucketAccessBody';
150151
import { UpdatePrivateBucketAccessRequest } from './model/UpdatePrivateBucketAccessRequest';
151152
import { UpdatePrivateBucketAccessResponse } from './model/UpdatePrivateBucketAccessResponse';

services/cdn/v2/model/RequestLimitRules.ts

+11
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export class RequestLimitRules {
88
public type?: string;
99
private 'limit_rate_after'?: number;
1010
private 'limit_rate_value'?: number;
11+
private 'limit_time'?: string;
1112
public constructor(priority?: number, matchType?: string, type?: string, limitRateAfter?: number, limitRateValue?: number) {
1213
this['priority'] = priority;
1314
this['match_type'] = matchType;
@@ -67,4 +68,14 @@ export class RequestLimitRules {
6768
public get limitRateValue(): number | undefined {
6869
return this['limit_rate_value'];
6970
}
71+
public withLimitTime(limitTime: string): RequestLimitRules {
72+
this['limit_time'] = limitTime;
73+
return this;
74+
}
75+
public set limitTime(limitTime: string | undefined) {
76+
this['limit_time'] = limitTime;
77+
}
78+
public get limitTime(): string | undefined {
79+
return this['limit_time'];
80+
}
7081
}

services/cdn/v2/model/UpdateDomainMultiCertificatesResponse.ts

+11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import { UpdateDomainMultiCertificatesResponseBodyContent } from './UpdateDomainMultiCertificatesResponseBodyContent';
2+
import { UpdateDomainMultiCertificatesResponseBodyResult } from './UpdateDomainMultiCertificatesResponseBodyResult';
23

34
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
45

56
export class UpdateDomainMultiCertificatesResponse extends SdkResponse {
67
public https?: UpdateDomainMultiCertificatesResponseBodyContent;
8+
public status?: string;
9+
public result?: Array<UpdateDomainMultiCertificatesResponseBodyResult>;
710
private 'X-Request-Id'?: string;
811
public constructor() {
912
super();
@@ -12,6 +15,14 @@ export class UpdateDomainMultiCertificatesResponse extends SdkResponse {
1215
this['https'] = https;
1316
return this;
1417
}
18+
public withStatus(status: string): UpdateDomainMultiCertificatesResponse {
19+
this['status'] = status;
20+
return this;
21+
}
22+
public withResult(result: Array<UpdateDomainMultiCertificatesResponseBodyResult>): UpdateDomainMultiCertificatesResponse {
23+
this['result'] = result;
24+
return this;
25+
}
1526
public withXRequestId(xRequestId: string): UpdateDomainMultiCertificatesResponse {
1627
this['X-Request-Id'] = xRequestId;
1728
return this;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
3+
export class UpdateDomainMultiCertificatesResponseBodyResult {
4+
private 'domain_name'?: string;
5+
public status?: string;
6+
public reason?: string;
7+
public constructor() {
8+
}
9+
public withDomainName(domainName: string): UpdateDomainMultiCertificatesResponseBodyResult {
10+
this['domain_name'] = domainName;
11+
return this;
12+
}
13+
public set domainName(domainName: string | undefined) {
14+
this['domain_name'] = domainName;
15+
}
16+
public get domainName(): string | undefined {
17+
return this['domain_name'];
18+
}
19+
public withStatus(status: string): UpdateDomainMultiCertificatesResponseBodyResult {
20+
this['status'] = status;
21+
return this;
22+
}
23+
public withReason(reason: string): UpdateDomainMultiCertificatesResponseBodyResult {
24+
this['reason'] = reason;
25+
return this;
26+
}
27+
}

services/cdn/v2/model/UrlAuth.ts

+11
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export class UrlAuth {
77
private 'expire_time'?: number;
88
private 'sign_method'?: string;
99
private 'match_type'?: string;
10+
private 'match_rule'?: string;
1011
private 'inherit_config'?: InheritConfig;
1112
public key?: string;
1213
private 'backup_key'?: string;
@@ -54,6 +55,16 @@ export class UrlAuth {
5455
public get matchType(): string | undefined {
5556
return this['match_type'];
5657
}
58+
public withMatchRule(matchRule: string): UrlAuth {
59+
this['match_rule'] = matchRule;
60+
return this;
61+
}
62+
public set matchRule(matchRule: string | undefined) {
63+
this['match_rule'] = matchRule;
64+
}
65+
public get matchRule(): string | undefined {
66+
return this['match_rule'];
67+
}
5768
public withInheritConfig(inheritConfig: InheritConfig): UrlAuth {
5869
this['inherit_config'] = inheritConfig;
5970
return this;

services/cdn/v2/public-api.ts

+1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export * from './model/UpdateDomainMultiCertificatesRequestBody';
144144
export * from './model/UpdateDomainMultiCertificatesRequestBodyContent';
145145
export * from './model/UpdateDomainMultiCertificatesResponse';
146146
export * from './model/UpdateDomainMultiCertificatesResponseBodyContent';
147+
export * from './model/UpdateDomainMultiCertificatesResponseBodyResult';
147148
export * from './model/UpdatePrivateBucketAccessBody';
148149
export * from './model/UpdatePrivateBucketAccessRequest';
149150
export * from './model/UpdatePrivateBucketAccessResponse';

services/coc/v1/model/BatchListResourceResponseData.ts

+11
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Tag } from './Tag';
44
export class BatchListResourceResponseData {
55
public id?: string;
66
private 'resource_id'?: string;
7+
private 'domain_id'?: string;
78
public name?: string;
89
public provider?: string;
910
public type?: string;
@@ -33,6 +34,16 @@ export class BatchListResourceResponseData {
3334
public get resourceId(): string | undefined {
3435
return this['resource_id'];
3536
}
37+
public withDomainId(domainId: string): BatchListResourceResponseData {
38+
this['domain_id'] = domainId;
39+
return this;
40+
}
41+
public set domainId(domainId: string | undefined) {
42+
this['domain_id'] = domainId;
43+
}
44+
public get domainId(): string | undefined {
45+
return this['domain_id'];
46+
}
3647
public withName(name: string): BatchListResourceResponseData {
3748
this['name'] = name;
3849
return this;

services/elb/v3/ElbClient.ts

+41-15
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ import { DeletePoolResponse } from './model/DeletePoolResponse';
162162
import { DeleteSecurityPolicyRequest } from './model/DeleteSecurityPolicyRequest';
163163
import { DeleteSecurityPolicyResponse } from './model/DeleteSecurityPolicyResponse';
164164
import { EipInfo } from './model/EipInfo';
165+
import { Extension } from './model/Extension';
165166
import { FeatureConfig } from './model/FeatureConfig';
166167
import { FixtedResponseConfig } from './model/FixtedResponseConfig';
167168
import { Flavor } from './model/Flavor';
@@ -254,6 +255,7 @@ import { PreoccupyIp } from './model/PreoccupyIp';
254255
import { PrepaidChangeChargeModeOption } from './model/PrepaidChangeChargeModeOption';
255256
import { PrepaidCreateOption } from './model/PrepaidCreateOption';
256257
import { PrepaidUpdateOption } from './model/PrepaidUpdateOption';
258+
import { ProxyProtocolExtension } from './model/ProxyProtocolExtension';
257259
import { PublicIpInfo } from './model/PublicIpInfo';
258260
import { QuicCidHashStrategy } from './model/QuicCidHashStrategy';
259261
import { Quota } from './model/Quota';
@@ -744,7 +746,7 @@ export class ElbClient {
744746
}
745747

746748
/**
747-
* 创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
749+
* 创建云日志。
748750
*
749751
* Please refer to HUAWEI cloud API Explorer for details.
750752
*
@@ -1018,7 +1020,7 @@ export class ElbClient {
10181020
}
10191021

10201022
/**
1021-
* 删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
1023+
* 删除云日志。
10221024
*
10231025
* Please refer to HUAWEI cloud API Explorer for details.
10241026
*
@@ -1062,7 +1064,7 @@ export class ElbClient {
10621064
*
10631065
* @summary 删除后端服务器
10641066
* @param {string} poolId 参数解释:后端服务器组ID。
1065-
* @param {string} memberId 后端服务器ID。 &gt;说明: 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。 member ID可以通过[查询后端服务器列表](ListMembers.xml)获取。
1067+
* @param {string} memberId 后端服务器ID。 &gt; 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。 member ID可以通过[查询后端服务器列表](ListMembers.xml)获取。
10661068
* @param {*} [options] Override http request option.
10671069
* @throws {RequiredError}
10681070
*/
@@ -1314,6 +1316,9 @@ export class ElbClient {
13141316
* Please refer to HUAWEI cloud API Explorer for details.
13151317
*
13161318
* @summary 查询异步任务的job列表
1319+
* @param {number} [limit] 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
1320+
* @param {string} [marker] 上一页最后一条记录的ID。 使用说明: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。
1321+
* @param {boolean} [pageReverse] 是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse&#x3D;true时,若要查询上一页,marker取值为当前页返回值的previous_marker
13171322
* @param {string} [jobId] 参数解释:任务ID。
13181323
* @param {string} [jobType] 参数解释:任务类型。
13191324
* @param {string} [status] 参数解释:任务状态。 取值范围:INIT,RUNNING,FAIL,SUCCESS,ROLLBACKING,COMPLETE,ROLLBACK_FAIL,CANCEL
@@ -1520,7 +1525,7 @@ export class ElbClient {
15201525
}
15211526

15221527
/**
1523-
* 查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
1528+
* 查询云日志列表。
15241529
*
15251530
* Please refer to HUAWEI cloud API Explorer for details.
15261531
*
@@ -1592,7 +1597,7 @@ export class ElbClient {
15921597
* @param {string} [marker] 上一页最后一条记录的ID。 使用说明: - 必须与limit一起使用。 - 不指定时表示查询第一页。 - 该字段不允许为空或无效的ID。
15931598
* @param {number} [limit] 参数解释:每页返回的个数。 取值范围:0-2000 默认取值:2000
15941599
* @param {boolean} [pageReverse] 是否反向查询。 取值: - true:查询上一页。 - false:查询下一页,默认。 使用说明: - 必须与limit一起使用。 - 当page_reverse&#x3D;true时,若要查询上一页,marker取值为当前页返回值的previous_marker。
1595-
* @param {Array<string>} [name] 后端服务器名称。 支持多值查询,查询条件格式:*name&#x3D;xxx&amp;name&#x3D;xxx*。
1600+
* @param {Array<string>} [name] 后端服务器名称。注意:该名称并非ECS名称。 支持多值查询,查询条件格式:*name&#x3D;xxx&amp;name&#x3D;xxx*。
15961601
* @param {Array<number>} [weight] 后端服务器的权重,请求将根据pool配置的负载均衡算法和后端服务器的权重进行负载分发。 权重值越大,分发的请求越多。权重为0的后端不再接受新的请求。 取值:0-100。 支持多值查询,查询条件格式:*weight&#x3D;xxx&amp;weight&#x3D;xxx*。
15971602
* @param {boolean} [adminStateUp] 后端服务器的管理状态。 取值:true、false。 虽然创建、更新请求支持该字段,但实际取值决定于后端服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
15981603
* @param {Array<string>} [subnetCidrId] 后端服务器所在子网的IPv4子网ID或IPv6子网ID。 支持多值查询,查询条件格式:***subnet_cidr_id&#x3D;xxx&amp;subnet_cidr_id&#x3D;xxx*。 [不支持IPv6,请勿设置为IPv6子网ID。](tag:dt)
@@ -1667,7 +1672,7 @@ export class ElbClient {
16671672
* Please refer to HUAWEI cloud API Explorer for details.
16681673
*
16691674
* @summary 查询配额使用详情
1670-
* @param {Array<string>} [quotaKey] 资源类型。 取值: loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener。 支持多值查询,查询条件格式:quota_key&#x3D;xxx&amp;quota_key&#x3D;xxx。
1675+
* @param {Array<string>} [quotaKey] 资源类型。 取值: loadbalancer、listener、ipgroup、pool、member、healthmonitor、l7policy、certificate、security_policy、listeners_per_loadbalancer、listeners_per_pool、members_per_pool、condition_per_policy、ipgroup_bindings、ipgroup_max_length、ipgroups_per_listener、pools_per_l7policy、l7policies_per_listener、free_instance_members_per_pool、free_instance_listeners_per_loadbalancer。 支持多值查询,查询条件格式:quota_key&#x3D;xxx&amp;quota_key&#x3D;xxx。
16711676
* @param {*} [options] Override http request option.
16721677
* @throws {RequiredError}
16731678
*/
@@ -1920,7 +1925,7 @@ export class ElbClient {
19201925
}
19211926

19221927
/**
1923-
* 云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
1928+
* 云日志详情。
19241929
*
19251930
* Please refer to HUAWEI cloud API Explorer for details.
19261931
*
@@ -1964,7 +1969,7 @@ export class ElbClient {
19641969
*
19651970
* @summary 查询后端服务器详情
19661971
* @param {string} poolId 参数解释:后端服务器组ID。
1967-
* @param {string} memberId 后端服务器ID。 &gt;说明: 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。
1972+
* @param {string} memberId 后端服务器ID。 &gt; 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。
19681973
* @param {*} [options] Override http request option.
19691974
* @throws {RequiredError}
19701975
*/
@@ -2155,7 +2160,7 @@ export class ElbClient {
21552160
}
21562161

21572162
/**
2158-
* 更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
2163+
* 更新云日志。
21592164
*
21602165
* Please refer to HUAWEI cloud API Explorer for details.
21612166
*
@@ -2180,7 +2185,7 @@ export class ElbClient {
21802185
* Please refer to HUAWEI cloud API Explorer for details.
21812186
*
21822187
* @summary 更新后端服务器
2183-
* @param {string} memberId 后端服务器ID。 &gt;说明: 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。
2188+
* @param {string} memberId 后端服务器ID。 &gt; 此处并非ECS服务器的ID,而是ELB为绑定的后端服务器自动生成的member ID。
21842189
* @param {string} poolId 参数解释:后端服务器组ID。
21852190
* @param {UpdateMemberRequestBody} updateMemberRequestBody This is a auto create Body Object
21862191
* @param {*} [options] Override http request option.
@@ -3189,7 +3194,7 @@ export const ParamCreater = function () {
31893194
},
31903195

31913196
/**
3192-
* 创建云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
3197+
* 创建云日志。
31933198
*
31943199
* Please refer to HUAWEI cloud API Explorer for details.
31953200
*/
@@ -3741,7 +3746,7 @@ export const ParamCreater = function () {
37413746
},
37423747

37433748
/**
3744-
* 删除云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
3749+
* 删除云日志。
37453750
*
37463751
* Please refer to HUAWEI cloud API Explorer for details.
37473752
*/
@@ -4582,6 +4587,12 @@ export const ParamCreater = function () {
45824587
const localVarHeaderParameter = {} as any;
45834588
const localVarQueryParameter = {} as any;
45844589

4590+
let limit;
4591+
4592+
let marker;
4593+
4594+
let pageReverse;
4595+
45854596
let jobId;
45864597

45874598
let jobType;
@@ -4596,13 +4607,19 @@ export const ParamCreater = function () {
45964607

45974608
if (listJobsRequest !== null && listJobsRequest !== undefined) {
45984609
if (listJobsRequest instanceof ListJobsRequest) {
4610+
limit = listJobsRequest.limit;
4611+
marker = listJobsRequest.marker;
4612+
pageReverse = listJobsRequest.pageReverse;
45994613
jobId = listJobsRequest.jobId;
46004614
jobType = listJobsRequest.jobType;
46014615
status = listJobsRequest.status;
46024616
errorCode = listJobsRequest.errorCode;
46034617
resourceId = listJobsRequest.resourceId;
46044618
beginTime = listJobsRequest.beginTime;
46054619
} else {
4620+
limit = listJobsRequest['limit'];
4621+
marker = listJobsRequest['marker'];
4622+
pageReverse = listJobsRequest['page_reverse'];
46064623
jobId = listJobsRequest['job_id'];
46074624
jobType = listJobsRequest['job_type'];
46084625
status = listJobsRequest['status'];
@@ -4613,6 +4630,15 @@ export const ParamCreater = function () {
46134630
}
46144631

46154632

4633+
if (limit !== null && limit !== undefined) {
4634+
localVarQueryParameter['limit'] = limit;
4635+
}
4636+
if (marker !== null && marker !== undefined) {
4637+
localVarQueryParameter['marker'] = marker;
4638+
}
4639+
if (pageReverse !== null && pageReverse !== undefined) {
4640+
localVarQueryParameter['page_reverse'] = pageReverse;
4641+
}
46164642
if (jobId !== null && jobId !== undefined) {
46174643
localVarQueryParameter['job_id'] = jobId;
46184644
}
@@ -5468,7 +5494,7 @@ export const ParamCreater = function () {
54685494
},
54695495

54705496
/**
5471-
* 查询云日志列表。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
5497+
* 查询云日志列表。
54725498
*
54735499
* Please refer to HUAWEI cloud API Explorer for details.
54745500
*/
@@ -6589,7 +6615,7 @@ export const ParamCreater = function () {
65896615
},
65906616

65916617
/**
6592-
* 云日志详情。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
6618+
* 云日志详情。
65936619
*
65946620
* Please refer to HUAWEI cloud API Explorer for details.
65956621
*/
@@ -7085,7 +7111,7 @@ export const ParamCreater = function () {
70857111
},
70867112

70877113
/**
7088-
* 更新云日志。[荷兰region不支持云日志功能,请勿使用。](tag:dt)
7114+
* 更新云日志。
70897115
*
70907116
* Please refer to HUAWEI cloud API Explorer for details.
70917117
*/

services/elb/v3/model/AvailabilityZone.ts

+11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export class AvailabilityZone {
66
public protocol?: Array<string>;
77
private 'public_border_group'?: string;
88
public category?: number;
9+
private 'spec_code'?: string;
910
public constructor(code?: string, state?: string, protocol?: Array<string>, publicBorderGroup?: string, category?: number) {
1011
this['code'] = code;
1112
this['state'] = state;
@@ -39,4 +40,14 @@ export class AvailabilityZone {
3940
this['category'] = category;
4041
return this;
4142
}
43+
public withSpecCode(specCode: string): AvailabilityZone {
44+
this['spec_code'] = specCode;
45+
return this;
46+
}
47+
public set specCode(specCode: string | undefined) {
48+
this['spec_code'] = specCode;
49+
}
50+
public get specCode(): string | undefined {
51+
return this['spec_code'];
52+
}
4253
}

0 commit comments

Comments
 (0)