Skip to content

Commit 9552ce3

Browse files
committed
Update API CreatePdnsUdpIpSegment: add param IpToken.
1 parent 71a3c63 commit 9552ce3

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

alidns-20150109/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/alidns20150109",
3-
"version": "3.4.2",
3+
"version": "3.4.3",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

alidns-20150109/src/client.ts

+22-8
Original file line numberDiff line numberDiff line change
@@ -642,15 +642,15 @@ export class AddDnsGtmAddressPoolRequest extends $tea.Model {
642642
* @remarks
643643
* The extended information. The required parameters vary based on the value of ProtocolType.
644644
*
645-
* * When ProtocolType is set to HTTP or HTTPS:
645+
* * HTTP or HTTPS
646646
*
647647
* * port: the port that you want to check
648648
*
649649
* * host: the host settings
650650
*
651651
* * path: the URL path
652652
*
653-
* * code: the return code. The health check result is deemed abnormal if the returned value is greater than the specified value.
653+
* * code: the response code. The health check result is deemed abnormal if the returned value is greater than the specified value. Values: 400, 500.
654654
*
655655
* * failureRate: the failure rate
656656
*
@@ -664,7 +664,7 @@ export class AddDnsGtmAddressPoolRequest extends $tea.Model {
664664
* * IPV4
665665
* * IPV6
666666
*
667-
* * When ProtocolType is set to PING:
667+
* * PING
668668
*
669669
* * failureRate: the failure rate
670670
*
@@ -677,7 +677,7 @@ export class AddDnsGtmAddressPoolRequest extends $tea.Model {
677677
* * IPV4
678678
* * IPV6
679679
*
680-
* * When ProtocolType is set to TCP:
680+
* * TCP
681681
*
682682
* * port: the port that you want to check
683683
*
@@ -800,7 +800,7 @@ export class AddDnsGtmAddressPoolResponseBody extends $tea.Model {
800800
addrPoolId?: string;
801801
/**
802802
* @remarks
803-
* The ID of the health check task.
803+
* The ID of the health check configuration.
804804
*
805805
* @example
806806
* test1
@@ -3774,11 +3774,13 @@ export class CreatePdnsAppKeyResponse extends $tea.Model {
37743774

37753775
export class CreatePdnsUdpIpSegmentRequest extends $tea.Model {
37763776
ip?: string;
3777+
ipToken?: string;
37773778
lang?: string;
37783779
name?: string;
37793780
static names(): { [key: string]: string } {
37803781
return {
37813782
ip: 'Ip',
3783+
ipToken: 'IpToken',
37823784
lang: 'Lang',
37833785
name: 'Name',
37843786
};
@@ -3787,6 +3789,7 @@ export class CreatePdnsUdpIpSegmentRequest extends $tea.Model {
37873789
static types(): { [key: string]: any } {
37883790
return {
37893791
ip: 'string',
3792+
ipToken: 'string',
37903793
lang: 'string',
37913794
name: 'string',
37923795
};
@@ -29565,17 +29568,20 @@ export class ValidateDnsGtmCnameRrCanUseResponse extends $tea.Model {
2956529568

2956629569
export class ValidatePdnsUdpIpSegmentRequest extends $tea.Model {
2956729570
ip?: string;
29571+
ipToken?: string;
2956829572
lang?: string;
2956929573
static names(): { [key: string]: string } {
2957029574
return {
2957129575
ip: 'Ip',
29576+
ipToken: 'IpToken',
2957229577
lang: 'Lang',
2957329578
};
2957429579
}
2957529580

2957629581
static types(): { [key: string]: any } {
2957729582
return {
2957829583
ip: 'string',
29584+
ipToken: 'string',
2957929585
lang: 'string',
2958029586
};
2958129587
}
@@ -29792,7 +29798,7 @@ export class AddDnsGtmAddressPoolRequestAddr extends $tea.Model {
2979229798
* @remarks
2979329799
* The information about the source region of the address. The value of this parameter is a JSON string. Valid values:
2979429800
*
29795-
* * LineCode: the line code of the source region for the address
29801+
* * lineCode: the line code of the source region for the address
2979629802
*
2979729803
* * lineCodeRectifyType: the rectification type of the line code. Default value: AUTO. Valid values:
2979829804
*
@@ -29808,7 +29814,7 @@ export class AddDnsGtmAddressPoolRequestAddr extends $tea.Model {
2980829814
attributeInfo?: string;
2980929815
/**
2981029816
* @remarks
29811-
* The weight of the address pool.
29817+
* The weight of the address.
2981229818
*
2981329819
* @example
2981429820
* 1
@@ -29830,7 +29836,7 @@ export class AddDnsGtmAddressPoolRequestAddr extends $tea.Model {
2983029836
mode?: string;
2983129837
/**
2983229838
* @remarks
29833-
* The remarks.
29839+
* The description of the address pool.
2983429840
*
2983529841
* @example
2983629842
* test
@@ -45249,6 +45255,10 @@ export default class Client extends OpenApi {
4524945255
query["Ip"] = request.ip;
4525045256
}
4525145257

45258+
if (!Util.isUnset(request.ipToken)) {
45259+
query["IpToken"] = request.ipToken;
45260+
}
45261+
4525245262
if (!Util.isUnset(request.lang)) {
4525345263
query["Lang"] = request.lang;
4525445264
}
@@ -55604,6 +55614,10 @@ export default class Client extends OpenApi {
5560455614
query["Ip"] = request.ip;
5560555615
}
5560655616

55617+
if (!Util.isUnset(request.ipToken)) {
55618+
query["IpToken"] = request.ipToken;
55619+
}
55620+
5560755621
if (!Util.isUnset(request.lang)) {
5560855622
query["Lang"] = request.lang;
5560955623
}

0 commit comments

Comments
 (0)