@alicloud/alidns20150109 3.0.3 → 3.0.7
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 +12 -25
- package/dist/client.js +20 -25
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +24 -25
package/dist/client.d.ts
CHANGED
|
@@ -2446,8 +2446,10 @@ export declare class DescribeDnsProductInstanceResponse extends $tea.Model {
|
|
|
2446
2446
|
});
|
|
2447
2447
|
}
|
|
2448
2448
|
export declare class DescribeDnsProductInstancesRequest extends $tea.Model {
|
|
2449
|
+
direction?: string;
|
|
2449
2450
|
domainType?: string;
|
|
2450
2451
|
lang?: string;
|
|
2452
|
+
orderBy?: string;
|
|
2451
2453
|
pageNumber?: number;
|
|
2452
2454
|
pageSize?: number;
|
|
2453
2455
|
userClientIp?: string;
|
|
@@ -10291,8 +10293,7 @@ export default class Client extends OpenApi {
|
|
|
10291
10293
|
[key: string]: string;
|
|
10292
10294
|
}, endpoint: string): string;
|
|
10293
10295
|
/**
|
|
10294
|
-
*
|
|
10295
|
-
* The CIDR blocks that are specified for all custom lines of a domain name cannot intersect.
|
|
10296
|
+
* The operation that you want to perform. Set the value to AddCustomLine.
|
|
10296
10297
|
*
|
|
10297
10298
|
* @param request AddCustomLineRequest
|
|
10298
10299
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -10300,8 +10301,7 @@ export default class Client extends OpenApi {
|
|
|
10300
10301
|
*/
|
|
10301
10302
|
addCustomLineWithOptions(request: AddCustomLineRequest, runtime: $Util.RuntimeOptions): Promise<AddCustomLineResponse>;
|
|
10302
10303
|
/**
|
|
10303
|
-
*
|
|
10304
|
-
* The CIDR blocks that are specified for all custom lines of a domain name cannot intersect.
|
|
10304
|
+
* The operation that you want to perform. Set the value to AddCustomLine.
|
|
10305
10305
|
*
|
|
10306
10306
|
* @param request AddCustomLineRequest
|
|
10307
10307
|
* @return AddCustomLineResponse
|
|
@@ -10505,7 +10505,7 @@ export default class Client extends OpenApi {
|
|
|
10505
10505
|
describeDnsProductInstanceWithOptions(request: DescribeDnsProductInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDnsProductInstanceResponse>;
|
|
10506
10506
|
describeDnsProductInstance(request: DescribeDnsProductInstanceRequest): Promise<DescribeDnsProductInstanceResponse>;
|
|
10507
10507
|
/**
|
|
10508
|
-
*
|
|
10508
|
+
* The operation that you want to perform. Set the value to **DescribeDnsProductInstances**.
|
|
10509
10509
|
*
|
|
10510
10510
|
* @param request DescribeDnsProductInstancesRequest
|
|
10511
10511
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -10513,7 +10513,7 @@ export default class Client extends OpenApi {
|
|
|
10513
10513
|
*/
|
|
10514
10514
|
describeDnsProductInstancesWithOptions(request: DescribeDnsProductInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDnsProductInstancesResponse>;
|
|
10515
10515
|
/**
|
|
10516
|
-
*
|
|
10516
|
+
* The operation that you want to perform. Set the value to **DescribeDnsProductInstances**.
|
|
10517
10517
|
*
|
|
10518
10518
|
* @param request DescribeDnsProductInstancesRequest
|
|
10519
10519
|
* @return DescribeDnsProductInstancesResponse
|
|
@@ -10552,20 +10552,7 @@ export default class Client extends OpenApi {
|
|
|
10552
10552
|
describeDomainInfo(request: DescribeDomainInfoRequest): Promise<DescribeDomainInfoResponse>;
|
|
10553
10553
|
describeDomainLogsWithOptions(request: DescribeDomainLogsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainLogsResponse>;
|
|
10554
10554
|
describeDomainLogs(request: DescribeDomainLogsRequest): Promise<DescribeDomainLogsResponse>;
|
|
10555
|
-
/**
|
|
10556
|
-
* > 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.
|
|
10557
|
-
*
|
|
10558
|
-
* @param request DescribeDomainNsRequest
|
|
10559
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
10560
|
-
* @return DescribeDomainNsResponse
|
|
10561
|
-
*/
|
|
10562
10555
|
describeDomainNsWithOptions(request: DescribeDomainNsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainNsResponse>;
|
|
10563
|
-
/**
|
|
10564
|
-
* > 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.
|
|
10565
|
-
*
|
|
10566
|
-
* @param request DescribeDomainNsRequest
|
|
10567
|
-
* @return DescribeDomainNsResponse
|
|
10568
|
-
*/
|
|
10569
10556
|
describeDomainNs(request: DescribeDomainNsRequest): Promise<DescribeDomainNsResponse>;
|
|
10570
10557
|
describeDomainRecordInfoWithOptions(request: DescribeDomainRecordInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainRecordInfoResponse>;
|
|
10571
10558
|
describeDomainRecordInfo(request: DescribeDomainRecordInfoRequest): Promise<DescribeDomainRecordInfoResponse>;
|
|
@@ -10728,9 +10715,9 @@ export default class Client extends OpenApi {
|
|
|
10728
10715
|
getTxtRecordForVerifyWithOptions(request: GetTxtRecordForVerifyRequest, runtime: $Util.RuntimeOptions): Promise<GetTxtRecordForVerifyResponse>;
|
|
10729
10716
|
getTxtRecordForVerify(request: GetTxtRecordForVerifyRequest): Promise<GetTxtRecordForVerifyResponse>;
|
|
10730
10717
|
/**
|
|
10731
|
-
* *
|
|
10732
|
-
* * Tag.N is a resource tag that consists of a key-value pair. If you
|
|
10733
|
-
* * If you
|
|
10718
|
+
* * 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.
|
|
10719
|
+
* * 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.
|
|
10720
|
+
* * If you set both Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.
|
|
10734
10721
|
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
|
|
10735
10722
|
*
|
|
10736
10723
|
* @param request ListTagResourcesRequest
|
|
@@ -10739,9 +10726,9 @@ export default class Client extends OpenApi {
|
|
|
10739
10726
|
*/
|
|
10740
10727
|
listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse>;
|
|
10741
10728
|
/**
|
|
10742
|
-
* *
|
|
10743
|
-
* * Tag.N is a resource tag that consists of a key-value pair. If you
|
|
10744
|
-
* * If you
|
|
10729
|
+
* * 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.
|
|
10730
|
+
* * 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.
|
|
10731
|
+
* * If you set both Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.
|
|
10745
10732
|
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
|
|
10746
10733
|
*
|
|
10747
10734
|
* @param request ListTagResourcesRequest
|
package/dist/client.js
CHANGED
|
@@ -3451,8 +3451,10 @@ class DescribeDnsProductInstancesRequest extends $tea.Model {
|
|
|
3451
3451
|
}
|
|
3452
3452
|
static names() {
|
|
3453
3453
|
return {
|
|
3454
|
+
direction: 'Direction',
|
|
3454
3455
|
domainType: 'DomainType',
|
|
3455
3456
|
lang: 'Lang',
|
|
3457
|
+
orderBy: 'OrderBy',
|
|
3456
3458
|
pageNumber: 'PageNumber',
|
|
3457
3459
|
pageSize: 'PageSize',
|
|
3458
3460
|
userClientIp: 'UserClientIp',
|
|
@@ -3461,8 +3463,10 @@ class DescribeDnsProductInstancesRequest extends $tea.Model {
|
|
|
3461
3463
|
}
|
|
3462
3464
|
static types() {
|
|
3463
3465
|
return {
|
|
3466
|
+
direction: 'string',
|
|
3464
3467
|
domainType: 'string',
|
|
3465
3468
|
lang: 'string',
|
|
3469
|
+
orderBy: 'string',
|
|
3466
3470
|
pageNumber: 'number',
|
|
3467
3471
|
pageSize: 'number',
|
|
3468
3472
|
userClientIp: 'string',
|
|
@@ -14618,8 +14622,7 @@ class Client extends openapi_client_1.default {
|
|
|
14618
14622
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
14619
14623
|
}
|
|
14620
14624
|
/**
|
|
14621
|
-
*
|
|
14622
|
-
* The CIDR blocks that are specified for all custom lines of a domain name cannot intersect.
|
|
14625
|
+
* The operation that you want to perform. Set the value to AddCustomLine.
|
|
14623
14626
|
*
|
|
14624
14627
|
* @param request AddCustomLineRequest
|
|
14625
14628
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14657,8 +14660,7 @@ class Client extends openapi_client_1.default {
|
|
|
14657
14660
|
return $tea.cast(await this.callApi(params, req, runtime), new AddCustomLineResponse({}));
|
|
14658
14661
|
}
|
|
14659
14662
|
/**
|
|
14660
|
-
*
|
|
14661
|
-
* The CIDR blocks that are specified for all custom lines of a domain name cannot intersect.
|
|
14663
|
+
* The operation that you want to perform. Set the value to AddCustomLine.
|
|
14662
14664
|
*
|
|
14663
14665
|
* @param request AddCustomLineRequest
|
|
14664
14666
|
* @return AddCustomLineResponse
|
|
@@ -16572,7 +16574,7 @@ class Client extends openapi_client_1.default {
|
|
|
16572
16574
|
return await this.describeDnsProductInstanceWithOptions(request, runtime);
|
|
16573
16575
|
}
|
|
16574
16576
|
/**
|
|
16575
|
-
*
|
|
16577
|
+
* The operation that you want to perform. Set the value to **DescribeDnsProductInstances**.
|
|
16576
16578
|
*
|
|
16577
16579
|
* @param request DescribeDnsProductInstancesRequest
|
|
16578
16580
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16581,12 +16583,18 @@ class Client extends openapi_client_1.default {
|
|
|
16581
16583
|
async describeDnsProductInstancesWithOptions(request, runtime) {
|
|
16582
16584
|
tea_util_1.default.validateModel(request);
|
|
16583
16585
|
let query = {};
|
|
16586
|
+
if (!tea_util_1.default.isUnset(request.direction)) {
|
|
16587
|
+
query["Direction"] = request.direction;
|
|
16588
|
+
}
|
|
16584
16589
|
if (!tea_util_1.default.isUnset(request.domainType)) {
|
|
16585
16590
|
query["DomainType"] = request.domainType;
|
|
16586
16591
|
}
|
|
16587
16592
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
16588
16593
|
query["Lang"] = request.lang;
|
|
16589
16594
|
}
|
|
16595
|
+
if (!tea_util_1.default.isUnset(request.orderBy)) {
|
|
16596
|
+
query["OrderBy"] = request.orderBy;
|
|
16597
|
+
}
|
|
16590
16598
|
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
16591
16599
|
query["PageNumber"] = request.pageNumber;
|
|
16592
16600
|
}
|
|
@@ -16616,7 +16624,7 @@ class Client extends openapi_client_1.default {
|
|
|
16616
16624
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDnsProductInstancesResponse({}));
|
|
16617
16625
|
}
|
|
16618
16626
|
/**
|
|
16619
|
-
*
|
|
16627
|
+
* The operation that you want to perform. Set the value to **DescribeDnsProductInstances**.
|
|
16620
16628
|
*
|
|
16621
16629
|
* @param request DescribeDnsProductInstancesRequest
|
|
16622
16630
|
* @return DescribeDnsProductInstancesResponse
|
|
@@ -17000,13 +17008,6 @@ class Client extends openapi_client_1.default {
|
|
|
17000
17008
|
let runtime = new $Util.RuntimeOptions({});
|
|
17001
17009
|
return await this.describeDomainLogsWithOptions(request, runtime);
|
|
17002
17010
|
}
|
|
17003
|
-
/**
|
|
17004
|
-
* > 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.
|
|
17005
|
-
*
|
|
17006
|
-
* @param request DescribeDomainNsRequest
|
|
17007
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
17008
|
-
* @return DescribeDomainNsResponse
|
|
17009
|
-
*/
|
|
17010
17011
|
async describeDomainNsWithOptions(request, runtime) {
|
|
17011
17012
|
tea_util_1.default.validateModel(request);
|
|
17012
17013
|
let query = {};
|
|
@@ -17032,12 +17033,6 @@ class Client extends openapi_client_1.default {
|
|
|
17032
17033
|
});
|
|
17033
17034
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDomainNsResponse({}));
|
|
17034
17035
|
}
|
|
17035
|
-
/**
|
|
17036
|
-
* > 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.
|
|
17037
|
-
*
|
|
17038
|
-
* @param request DescribeDomainNsRequest
|
|
17039
|
-
* @return DescribeDomainNsResponse
|
|
17040
|
-
*/
|
|
17041
17036
|
async describeDomainNs(request) {
|
|
17042
17037
|
let runtime = new $Util.RuntimeOptions({});
|
|
17043
17038
|
return await this.describeDomainNsWithOptions(request, runtime);
|
|
@@ -18940,9 +18935,9 @@ class Client extends openapi_client_1.default {
|
|
|
18940
18935
|
return await this.getTxtRecordForVerifyWithOptions(request, runtime);
|
|
18941
18936
|
}
|
|
18942
18937
|
/**
|
|
18943
|
-
* *
|
|
18944
|
-
* * Tag.N is a resource tag that consists of a key-value pair. If you
|
|
18945
|
-
* * If you
|
|
18938
|
+
* * 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.
|
|
18939
|
+
* * 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.
|
|
18940
|
+
* * If you set both Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.
|
|
18946
18941
|
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
|
|
18947
18942
|
*
|
|
18948
18943
|
* @param request ListTagResourcesRequest
|
|
@@ -18984,9 +18979,9 @@ class Client extends openapi_client_1.default {
|
|
|
18984
18979
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
18985
18980
|
}
|
|
18986
18981
|
/**
|
|
18987
|
-
* *
|
|
18988
|
-
* * Tag.N is a resource tag that consists of a key-value pair. If you
|
|
18989
|
-
* * If you
|
|
18982
|
+
* * 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.
|
|
18983
|
+
* * 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.
|
|
18984
|
+
* * If you set both Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.
|
|
18990
18985
|
* * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
|
|
18991
18986
|
*
|
|
18992
18987
|
* @param request ListTagResourcesRequest
|