Skip to content

Commit fed95a1

Browse files
committed
Support API DescribeCloudGtmAddressPool.
1 parent 49c088a commit fed95a1

File tree

2 files changed

+322
-1
lines changed

2 files changed

+322
-1
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.2.0",
3+
"version": "3.3.0",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

alidns-20150109/src/client.ts

Lines changed: 321 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2522,6 +2522,120 @@ export class DescribeBatchResultDetailResponse extends $tea.Model {
25222522
}
25232523
}
25242524

2525+
export class DescribeCloudGtmAddressPoolRequest extends $tea.Model {
2526+
acceptLanguage?: string;
2527+
addressPoolId?: string;
2528+
clientToken?: string;
2529+
static names(): { [key: string]: string } {
2530+
return {
2531+
acceptLanguage: 'AcceptLanguage',
2532+
addressPoolId: 'AddressPoolId',
2533+
clientToken: 'ClientToken',
2534+
};
2535+
}
2536+
2537+
static types(): { [key: string]: any } {
2538+
return {
2539+
acceptLanguage: 'string',
2540+
addressPoolId: 'string',
2541+
clientToken: 'string',
2542+
};
2543+
}
2544+
2545+
constructor(map?: { [key: string]: any }) {
2546+
super(map);
2547+
}
2548+
}
2549+
2550+
export class DescribeCloudGtmAddressPoolResponseBody extends $tea.Model {
2551+
addressLbStrategy?: string;
2552+
addressPoolId?: string;
2553+
addressPoolName?: string;
2554+
addressPoolType?: string;
2555+
addresses?: DescribeCloudGtmAddressPoolResponseBodyAddresses;
2556+
availableStatus?: string;
2557+
createTime?: string;
2558+
createTimestamp?: number;
2559+
enableStatus?: string;
2560+
healthJudgement?: string;
2561+
healthStatus?: string;
2562+
remark?: string;
2563+
requestId?: string;
2564+
sequenceLbStrategyMode?: string;
2565+
updateTime?: string;
2566+
updateTimestamp?: number;
2567+
static names(): { [key: string]: string } {
2568+
return {
2569+
addressLbStrategy: 'AddressLbStrategy',
2570+
addressPoolId: 'AddressPoolId',
2571+
addressPoolName: 'AddressPoolName',
2572+
addressPoolType: 'AddressPoolType',
2573+
addresses: 'Addresses',
2574+
availableStatus: 'AvailableStatus',
2575+
createTime: 'CreateTime',
2576+
createTimestamp: 'CreateTimestamp',
2577+
enableStatus: 'EnableStatus',
2578+
healthJudgement: 'HealthJudgement',
2579+
healthStatus: 'HealthStatus',
2580+
remark: 'Remark',
2581+
requestId: 'RequestId',
2582+
sequenceLbStrategyMode: 'SequenceLbStrategyMode',
2583+
updateTime: 'UpdateTime',
2584+
updateTimestamp: 'UpdateTimestamp',
2585+
};
2586+
}
2587+
2588+
static types(): { [key: string]: any } {
2589+
return {
2590+
addressLbStrategy: 'string',
2591+
addressPoolId: 'string',
2592+
addressPoolName: 'string',
2593+
addressPoolType: 'string',
2594+
addresses: DescribeCloudGtmAddressPoolResponseBodyAddresses,
2595+
availableStatus: 'string',
2596+
createTime: 'string',
2597+
createTimestamp: 'number',
2598+
enableStatus: 'string',
2599+
healthJudgement: 'string',
2600+
healthStatus: 'string',
2601+
remark: 'string',
2602+
requestId: 'string',
2603+
sequenceLbStrategyMode: 'string',
2604+
updateTime: 'string',
2605+
updateTimestamp: 'number',
2606+
};
2607+
}
2608+
2609+
constructor(map?: { [key: string]: any }) {
2610+
super(map);
2611+
}
2612+
}
2613+
2614+
export class DescribeCloudGtmAddressPoolResponse extends $tea.Model {
2615+
headers?: { [key: string]: string };
2616+
statusCode?: number;
2617+
body?: DescribeCloudGtmAddressPoolResponseBody;
2618+
static names(): { [key: string]: string } {
2619+
return {
2620+
headers: 'headers',
2621+
statusCode: 'statusCode',
2622+
body: 'body',
2623+
};
2624+
}
2625+
2626+
static types(): { [key: string]: any } {
2627+
return {
2628+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2629+
statusCode: 'number',
2630+
body: DescribeCloudGtmAddressPoolResponseBody,
2631+
};
2632+
}
2633+
2634+
constructor(map?: { [key: string]: any }) {
2635+
super(map);
2636+
}
2637+
}
2638+
25252639
export class DescribeCustomLineRequest extends $tea.Model {
25262640
lang?: string;
25272641
lineId?: number;
@@ -13680,6 +13794,167 @@ export class DescribeBatchResultDetailResponseBodyBatchResultDetails extends $te
1368013794
}
1368113795
}
1368213796

13797+
export class DescribeCloudGtmAddressPoolResponseBodyAddressesAddressHealthTasksHealthTask extends $tea.Model {
13798+
port?: number;
13799+
templateId?: string;
13800+
templateName?: string;
13801+
static names(): { [key: string]: string } {
13802+
return {
13803+
port: 'Port',
13804+
templateId: 'TemplateId',
13805+
templateName: 'TemplateName',
13806+
};
13807+
}
13808+
13809+
static types(): { [key: string]: any } {
13810+
return {
13811+
port: 'number',
13812+
templateId: 'string',
13813+
templateName: 'string',
13814+
};
13815+
}
13816+
13817+
constructor(map?: { [key: string]: any }) {
13818+
super(map);
13819+
}
13820+
}
13821+
13822+
export class DescribeCloudGtmAddressPoolResponseBodyAddressesAddressHealthTasks extends $tea.Model {
13823+
healthTask?: DescribeCloudGtmAddressPoolResponseBodyAddressesAddressHealthTasksHealthTask[];
13824+
static names(): { [key: string]: string } {
13825+
return {
13826+
healthTask: 'HealthTask',
13827+
};
13828+
}
13829+
13830+
static types(): { [key: string]: any } {
13831+
return {
13832+
healthTask: { 'type': 'array', 'itemType': DescribeCloudGtmAddressPoolResponseBodyAddressesAddressHealthTasksHealthTask },
13833+
};
13834+
}
13835+
13836+
constructor(map?: { [key: string]: any }) {
13837+
super(map);
13838+
}
13839+
}
13840+
13841+
export class DescribeCloudGtmAddressPoolResponseBodyAddressesAddressRequestSource extends $tea.Model {
13842+
requestSource?: string[];
13843+
static names(): { [key: string]: string } {
13844+
return {
13845+
requestSource: 'RequestSource',
13846+
};
13847+
}
13848+
13849+
static types(): { [key: string]: any } {
13850+
return {
13851+
requestSource: { 'type': 'array', 'itemType': 'string' },
13852+
};
13853+
}
13854+
13855+
constructor(map?: { [key: string]: any }) {
13856+
super(map);
13857+
}
13858+
}
13859+
13860+
export class DescribeCloudGtmAddressPoolResponseBodyAddressesAddress extends $tea.Model {
13861+
address?: string;
13862+
addressId?: string;
13863+
attributeInfo?: string;
13864+
availableMode?: string;
13865+
availableStatus?: string;
13866+
createTime?: string;
13867+
createTimestamp?: number;
13868+
enableStatus?: string;
13869+
healthJudgement?: string;
13870+
healthStatus?: string;
13871+
healthTasks?: DescribeCloudGtmAddressPoolResponseBodyAddressesAddressHealthTasks;
13872+
manualAvailableStatus?: string;
13873+
name?: string;
13874+
remark?: string;
13875+
requestSource?: DescribeCloudGtmAddressPoolResponseBodyAddressesAddressRequestSource;
13876+
seqNonPreemptiveSchedule?: boolean;
13877+
serialNumber?: number;
13878+
type?: string;
13879+
updateTime?: string;
13880+
updateTimestamp?: number;
13881+
weightValue?: number;
13882+
static names(): { [key: string]: string } {
13883+
return {
13884+
address: 'Address',
13885+
addressId: 'AddressId',
13886+
attributeInfo: 'AttributeInfo',
13887+
availableMode: 'AvailableMode',
13888+
availableStatus: 'AvailableStatus',
13889+
createTime: 'CreateTime',
13890+
createTimestamp: 'CreateTimestamp',
13891+
enableStatus: 'EnableStatus',
13892+
healthJudgement: 'HealthJudgement',
13893+
healthStatus: 'HealthStatus',
13894+
healthTasks: 'HealthTasks',
13895+
manualAvailableStatus: 'ManualAvailableStatus',
13896+
name: 'Name',
13897+
remark: 'Remark',
13898+
requestSource: 'RequestSource',
13899+
seqNonPreemptiveSchedule: 'SeqNonPreemptiveSchedule',
13900+
serialNumber: 'SerialNumber',
13901+
type: 'Type',
13902+
updateTime: 'UpdateTime',
13903+
updateTimestamp: 'UpdateTimestamp',
13904+
weightValue: 'WeightValue',
13905+
};
13906+
}
13907+
13908+
static types(): { [key: string]: any } {
13909+
return {
13910+
address: 'string',
13911+
addressId: 'string',
13912+
attributeInfo: 'string',
13913+
availableMode: 'string',
13914+
availableStatus: 'string',
13915+
createTime: 'string',
13916+
createTimestamp: 'number',
13917+
enableStatus: 'string',
13918+
healthJudgement: 'string',
13919+
healthStatus: 'string',
13920+
healthTasks: DescribeCloudGtmAddressPoolResponseBodyAddressesAddressHealthTasks,
13921+
manualAvailableStatus: 'string',
13922+
name: 'string',
13923+
remark: 'string',
13924+
requestSource: DescribeCloudGtmAddressPoolResponseBodyAddressesAddressRequestSource,
13925+
seqNonPreemptiveSchedule: 'boolean',
13926+
serialNumber: 'number',
13927+
type: 'string',
13928+
updateTime: 'string',
13929+
updateTimestamp: 'number',
13930+
weightValue: 'number',
13931+
};
13932+
}
13933+
13934+
constructor(map?: { [key: string]: any }) {
13935+
super(map);
13936+
}
13937+
}
13938+
13939+
export class DescribeCloudGtmAddressPoolResponseBodyAddresses extends $tea.Model {
13940+
address?: DescribeCloudGtmAddressPoolResponseBodyAddressesAddress[];
13941+
static names(): { [key: string]: string } {
13942+
return {
13943+
address: 'Address',
13944+
};
13945+
}
13946+
13947+
static types(): { [key: string]: any } {
13948+
return {
13949+
address: { 'type': 'array', 'itemType': DescribeCloudGtmAddressPoolResponseBodyAddressesAddress },
13950+
};
13951+
}
13952+
13953+
constructor(map?: { [key: string]: any }) {
13954+
super(map);
13955+
}
13956+
}
13957+
1368313958
export class DescribeCustomLineResponseBodyIpSegmentList extends $tea.Model {
1368413959
endIp?: string;
1368513960
startIp?: string;
@@ -20624,6 +20899,52 @@ export default class Client extends OpenApi {
2062420899
return await this.describeBatchResultDetailWithOptions(request, runtime);
2062520900
}
2062620901

20902+
/**
20903+
* @param request DescribeCloudGtmAddressPoolRequest
20904+
* @param runtime runtime options for this request RuntimeOptions
20905+
* @return DescribeCloudGtmAddressPoolResponse
20906+
*/
20907+
async describeCloudGtmAddressPoolWithOptions(request: DescribeCloudGtmAddressPoolRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCloudGtmAddressPoolResponse> {
20908+
Util.validateModel(request);
20909+
let query = { };
20910+
if (!Util.isUnset(request.acceptLanguage)) {
20911+
query["AcceptLanguage"] = request.acceptLanguage;
20912+
}
20913+
20914+
if (!Util.isUnset(request.addressPoolId)) {
20915+
query["AddressPoolId"] = request.addressPoolId;
20916+
}
20917+
20918+
if (!Util.isUnset(request.clientToken)) {
20919+
query["ClientToken"] = request.clientToken;
20920+
}
20921+
20922+
let req = new $OpenApi.OpenApiRequest({
20923+
query: OpenApiUtil.query(query),
20924+
});
20925+
let params = new $OpenApi.Params({
20926+
action: "DescribeCloudGtmAddressPool",
20927+
version: "2015-01-09",
20928+
protocol: "HTTPS",
20929+
pathname: "/",
20930+
method: "POST",
20931+
authType: "AK",
20932+
style: "RPC",
20933+
reqBodyType: "formData",
20934+
bodyType: "json",
20935+
});
20936+
return $tea.cast<DescribeCloudGtmAddressPoolResponse>(await this.callApi(params, req, runtime), new DescribeCloudGtmAddressPoolResponse({}));
20937+
}
20938+
20939+
/**
20940+
* @param request DescribeCloudGtmAddressPoolRequest
20941+
* @return DescribeCloudGtmAddressPoolResponse
20942+
*/
20943+
async describeCloudGtmAddressPool(request: DescribeCloudGtmAddressPoolRequest): Promise<DescribeCloudGtmAddressPoolResponse> {
20944+
let runtime = new $Util.RuntimeOptions({ });
20945+
return await this.describeCloudGtmAddressPoolWithOptions(request, runtime);
20946+
}
20947+
2062720948
/**
2062820949
* @summary Queries a custom line.
2062920950
*

0 commit comments

Comments
 (0)