Skip to content

Commit fc3680f

Browse files
committed
Supported sorting for DescribeDnsProduceInstances.
1 parent d031c82 commit fc3680f

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

alidns-20150109/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/alidns20150109",
3-
"version": "3.0.3",
3+
"version": "3.0.7",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

alidns-20150109/src/client.ts

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4368,16 +4368,20 @@ export class DescribeDnsProductInstanceResponse extends $tea.Model {
43684368
}
43694369

43704370
export class DescribeDnsProductInstancesRequest extends $tea.Model {
4371+
direction?: string;
43714372
domainType?: string;
43724373
lang?: string;
4374+
orderBy?: string;
43734375
pageNumber?: number;
43744376
pageSize?: number;
43754377
userClientIp?: string;
43764378
versionCode?: string;
43774379
static names(): { [key: string]: string } {
43784380
return {
4381+
direction: 'Direction',
43794382
domainType: 'DomainType',
43804383
lang: 'Lang',
4384+
orderBy: 'OrderBy',
43814385
pageNumber: 'PageNumber',
43824386
pageSize: 'PageSize',
43834387
userClientIp: 'UserClientIp',
@@ -4387,8 +4391,10 @@ export class DescribeDnsProductInstancesRequest extends $tea.Model {
43874391

43884392
static types(): { [key: string]: any } {
43894393
return {
4394+
direction: 'string',
43904395
domainType: 'string',
43914396
lang: 'string',
4397+
orderBy: 'string',
43924398
pageNumber: 'number',
43934399
pageSize: 'number',
43944400
userClientIp: 'string',
@@ -18565,8 +18571,7 @@ export default class Client extends OpenApi {
1856518571
}
1856618572

1856718573
/**
18568-
* In each CIDR block, the end IP address must be greater than or equal to the start IP address.
18569-
* The CIDR blocks that are specified for all custom lines of a domain name cannot intersect.
18574+
* The operation that you want to perform. Set the value to AddCustomLine.
1857018575
*
1857118576
* @param request AddCustomLineRequest
1857218577
* @param runtime runtime options for this request RuntimeOptions
@@ -18609,8 +18614,7 @@ export default class Client extends OpenApi {
1860918614
}
1861018615

1861118616
/**
18612-
* In each CIDR block, the end IP address must be greater than or equal to the start IP address.
18613-
* The CIDR blocks that are specified for all custom lines of a domain name cannot intersect.
18617+
* The operation that you want to perform. Set the value to AddCustomLine.
1861418618
*
1861518619
* @param request AddCustomLineRequest
1861618620
* @return AddCustomLineResponse
@@ -20839,7 +20843,7 @@ export default class Client extends OpenApi {
2083920843
}
2084020844

2084120845
/**
20842-
* > If the response parameters of an Alibaba Cloud DNS instance do not contain domain names, no domain names are bound to the instance.
20846+
* The operation that you want to perform. Set the value to **DescribeDnsProductInstances**.
2084320847
*
2084420848
* @param request DescribeDnsProductInstancesRequest
2084520849
* @param runtime runtime options for this request RuntimeOptions
@@ -20848,6 +20852,10 @@ export default class Client extends OpenApi {
2084820852
async describeDnsProductInstancesWithOptions(request: DescribeDnsProductInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDnsProductInstancesResponse> {
2084920853
Util.validateModel(request);
2085020854
let query = { };
20855+
if (!Util.isUnset(request.direction)) {
20856+
query["Direction"] = request.direction;
20857+
}
20858+
2085120859
if (!Util.isUnset(request.domainType)) {
2085220860
query["DomainType"] = request.domainType;
2085320861
}
@@ -20856,6 +20864,10 @@ export default class Client extends OpenApi {
2085620864
query["Lang"] = request.lang;
2085720865
}
2085820866

20867+
if (!Util.isUnset(request.orderBy)) {
20868+
query["OrderBy"] = request.orderBy;
20869+
}
20870+
2085920871
if (!Util.isUnset(request.pageNumber)) {
2086020872
query["PageNumber"] = request.pageNumber;
2086120873
}
@@ -20890,7 +20902,7 @@ export default class Client extends OpenApi {
2089020902
}
2089120903

2089220904
/**
20893-
* > If the response parameters of an Alibaba Cloud DNS instance do not contain domain names, no domain names are bound to the instance.
20905+
* The operation that you want to perform. Set the value to **DescribeDnsProductInstances**.
2089420906
*
2089520907
* @param request DescribeDnsProductInstancesRequest
2089620908
* @return DescribeDnsProductInstancesResponse
@@ -21339,13 +21351,6 @@ export default class Client extends OpenApi {
2133921351
return await this.describeDomainLogsWithOptions(request, runtime);
2134021352
}
2134121353

21342-
/**
21343-
* > This operation queries the authoritative server of the registry to obtain the name servers of a domain name. If the domain name is in the serverHold or clientHold state, an exception may occur.
21344-
*
21345-
* @param request DescribeDomainNsRequest
21346-
* @param runtime runtime options for this request RuntimeOptions
21347-
* @return DescribeDomainNsResponse
21348-
*/
2134921354
async describeDomainNsWithOptions(request: DescribeDomainNsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainNsResponse> {
2135021355
Util.validateModel(request);
2135121356
let query = { };
@@ -21374,12 +21379,6 @@ export default class Client extends OpenApi {
2137421379
return $tea.cast<DescribeDomainNsResponse>(await this.callApi(params, req, runtime), new DescribeDomainNsResponse({}));
2137521380
}
2137621381

21377-
/**
21378-
* > This operation queries the authoritative server of the registry to obtain the name servers of a domain name. If the domain name is in the serverHold or clientHold state, an exception may occur.
21379-
*
21380-
* @param request DescribeDomainNsRequest
21381-
* @return DescribeDomainNsResponse
21382-
*/
2138321382
async describeDomainNs(request: DescribeDomainNsRequest): Promise<DescribeDomainNsResponse> {
2138421383
let runtime = new $Util.RuntimeOptions({ });
2138521384
return await this.describeDomainNsWithOptions(request, runtime);
@@ -23617,9 +23616,9 @@ export default class Client extends OpenApi {
2361723616
}
2361823617

2361923618
/**
23620-
* * You can specify ResourceId.N or Tag.N that consists of Tag.N.Key and Tag.N.Value in the request to specify the object to be queried.
23621-
* * Tag.N is a resource tag that consists of a key-value pair. If you specify only Tag.N.Key, all tag values that are assigned to the specified key are returned. If you specify only Tag.N.Value, an error message is returned.
23622-
* * If you specify Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.
23619+
* * Set ResourceId.N or Tag.N that consists of Tag.N.Key and Tag.N.Value in the request to specify the object to be queried.
23620+
* * Tag.N is a resource tag that consists of a key-value pair. If you set only Tag.N.Key, all tag values that are assigned to the specified key are returned. If you set only Tag.N.Value, an error message is returned.
23621+
* * If you set both Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.
2362323622
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
2362423623
*
2362523624
* @param request ListTagResourcesRequest
@@ -23667,9 +23666,9 @@ export default class Client extends OpenApi {
2366723666
}
2366823667

2366923668
/**
23670-
* * You can specify ResourceId.N or Tag.N that consists of Tag.N.Key and Tag.N.Value in the request to specify the object to be queried.
23671-
* * Tag.N is a resource tag that consists of a key-value pair. If you specify only Tag.N.Key, all tag values that are assigned to the specified key are returned. If you specify only Tag.N.Value, an error message is returned.
23672-
* * If you specify Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.
23669+
* * Set ResourceId.N or Tag.N that consists of Tag.N.Key and Tag.N.Value in the request to specify the object to be queried.
23670+
* * Tag.N is a resource tag that consists of a key-value pair. If you set only Tag.N.Key, all tag values that are assigned to the specified key are returned. If you set only Tag.N.Value, an error message is returned.
23671+
* * If you set both Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.
2367323672
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
2367423673
*
2367523674
* @param request ListTagResourcesRequest

0 commit comments

Comments
 (0)