index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceDocMembersRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceDocMembersRequest extends TeaModel { @NameInMap("Members") public java.util.List<UpdateWorkspaceDocMembersRequestMembers> members; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>node_feb8fea0</p> */ @NameInMap("NodeId") public String nodeId; @NameInMap("TenantContext") public UpdateWorkspaceDocMembersRequestTenantContext tenantContext; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>xb8bkxxxxxrXJNaL</p> */ @NameInMap("WorkspaceId") public String workspaceId; public static UpdateWorkspaceDocMembersRequest build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceDocMembersRequest self = new UpdateWorkspaceDocMembersRequest(); return TeaModel.build(map, self); } public UpdateWorkspaceDocMembersRequest setMembers(java.util.List<UpdateWorkspaceDocMembersRequestMembers> members) { this.members = members; return this; } public java.util.List<UpdateWorkspaceDocMembersRequestMembers> getMembers() { return this.members; } public UpdateWorkspaceDocMembersRequest setNodeId(String nodeId) { this.nodeId = nodeId; return this; } public String getNodeId() { return this.nodeId; } public UpdateWorkspaceDocMembersRequest setTenantContext(UpdateWorkspaceDocMembersRequestTenantContext tenantContext) { this.tenantContext = tenantContext; return this; } public UpdateWorkspaceDocMembersRequestTenantContext getTenantContext() { return this.tenantContext; } public UpdateWorkspaceDocMembersRequest setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; } public String getWorkspaceId() { return this.workspaceId; } public static class UpdateWorkspaceDocMembersRequestMembers extends TeaModel { /** * <strong>example:</strong> * <p>012345</p> */ @NameInMap("MemberId") public String memberId; /** * <strong>example:</strong> * <p>USER</p> */ @NameInMap("MemberType") public String memberType; /** * <strong>example:</strong> * <p>ONLY_VIEWER</p> */ @NameInMap("RoleType") public String roleType; public static UpdateWorkspaceDocMembersRequestMembers build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceDocMembersRequestMembers self = new UpdateWorkspaceDocMembersRequestMembers(); return TeaModel.build(map, self); } public UpdateWorkspaceDocMembersRequestMembers setMemberId(String memberId) { this.memberId = memberId; return this; } public String getMemberId() { return this.memberId; } public UpdateWorkspaceDocMembersRequestMembers setMemberType(String memberType) { this.memberType = memberType; return this; } public String getMemberType() { return this.memberType; } public UpdateWorkspaceDocMembersRequestMembers setRoleType(String roleType) { this.roleType = roleType; return this; } public String getRoleType() { return this.roleType; } } public static class UpdateWorkspaceDocMembersRequestTenantContext extends TeaModel { /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("tenantId") public String tenantId; public static UpdateWorkspaceDocMembersRequestTenantContext build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceDocMembersRequestTenantContext self = new UpdateWorkspaceDocMembersRequestTenantContext(); return TeaModel.build(map, self); } public UpdateWorkspaceDocMembersRequestTenantContext setTenantId(String tenantId) { this.tenantId = tenantId; return this; } public String getTenantId() { return this.tenantId; } } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceDocMembersResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceDocMembersResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public UpdateWorkspaceDocMembersResponseBody body; public static UpdateWorkspaceDocMembersResponse build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceDocMembersResponse self = new UpdateWorkspaceDocMembersResponse(); return TeaModel.build(map, self); } public UpdateWorkspaceDocMembersResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public UpdateWorkspaceDocMembersResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public UpdateWorkspaceDocMembersResponse setBody(UpdateWorkspaceDocMembersResponseBody body) { this.body = body; return this; } public UpdateWorkspaceDocMembersResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceDocMembersResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceDocMembersResponseBody extends TeaModel { /** * <p>requestId</p> * * <strong>example:</strong> * <p>0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX</p> */ @NameInMap("requestId") public String requestId; public static UpdateWorkspaceDocMembersResponseBody build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceDocMembersResponseBody self = new UpdateWorkspaceDocMembersResponseBody(); return TeaModel.build(map, self); } public UpdateWorkspaceDocMembersResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceDocMembersShrinkHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceDocMembersShrinkHeaders extends TeaModel { @NameInMap("commonHeaders") public java.util.Map<String, String> commonHeaders; @NameInMap("AccountContext") public String accountContextShrink; public static UpdateWorkspaceDocMembersShrinkHeaders build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceDocMembersShrinkHeaders self = new UpdateWorkspaceDocMembersShrinkHeaders(); return TeaModel.build(map, self); } public UpdateWorkspaceDocMembersShrinkHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UpdateWorkspaceDocMembersShrinkHeaders setAccountContextShrink(String accountContextShrink) { this.accountContextShrink = accountContextShrink; return this; } public String getAccountContextShrink() { return this.accountContextShrink; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceDocMembersShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceDocMembersShrinkRequest extends TeaModel { @NameInMap("Members") public String membersShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>node_feb8fea0</p> */ @NameInMap("NodeId") public String nodeId; @NameInMap("TenantContext") public String tenantContextShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>xb8bkxxxxxrXJNaL</p> */ @NameInMap("WorkspaceId") public String workspaceId; public static UpdateWorkspaceDocMembersShrinkRequest build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceDocMembersShrinkRequest self = new UpdateWorkspaceDocMembersShrinkRequest(); return TeaModel.build(map, self); } public UpdateWorkspaceDocMembersShrinkRequest setMembersShrink(String membersShrink) { this.membersShrink = membersShrink; return this; } public String getMembersShrink() { return this.membersShrink; } public UpdateWorkspaceDocMembersShrinkRequest setNodeId(String nodeId) { this.nodeId = nodeId; return this; } public String getNodeId() { return this.nodeId; } public UpdateWorkspaceDocMembersShrinkRequest setTenantContextShrink(String tenantContextShrink) { this.tenantContextShrink = tenantContextShrink; return this; } public String getTenantContextShrink() { return this.tenantContextShrink; } public UpdateWorkspaceDocMembersShrinkRequest setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; } public String getWorkspaceId() { return this.workspaceId; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceMembersHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceMembersHeaders extends TeaModel { @NameInMap("commonHeaders") public java.util.Map<String, String> commonHeaders; @NameInMap("AccountContext") public UpdateWorkspaceMembersHeadersAccountContext accountContext; public static UpdateWorkspaceMembersHeaders build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersHeaders self = new UpdateWorkspaceMembersHeaders(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UpdateWorkspaceMembersHeaders setAccountContext(UpdateWorkspaceMembersHeadersAccountContext accountContext) { this.accountContext = accountContext; return this; } public UpdateWorkspaceMembersHeadersAccountContext getAccountContext() { return this.accountContext; } public static class UpdateWorkspaceMembersHeadersAccountContext extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>012345</p> */ @NameInMap("accountId") public String accountId; public static UpdateWorkspaceMembersHeadersAccountContext build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersHeadersAccountContext self = new UpdateWorkspaceMembersHeadersAccountContext(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersHeadersAccountContext setAccountId(String accountId) { this.accountId = accountId; return this; } public String getAccountId() { return this.accountId; } } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceMembersRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceMembersRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Members") public java.util.List<UpdateWorkspaceMembersRequestMembers> members; @NameInMap("TenantContext") public UpdateWorkspaceMembersRequestTenantContext tenantContext; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ @NameInMap("WorkspaceId") public String workspaceId; public static UpdateWorkspaceMembersRequest build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersRequest self = new UpdateWorkspaceMembersRequest(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersRequest setMembers(java.util.List<UpdateWorkspaceMembersRequestMembers> members) { this.members = members; return this; } public java.util.List<UpdateWorkspaceMembersRequestMembers> getMembers() { return this.members; } public UpdateWorkspaceMembersRequest setTenantContext(UpdateWorkspaceMembersRequestTenantContext tenantContext) { this.tenantContext = tenantContext; return this; } public UpdateWorkspaceMembersRequestTenantContext getTenantContext() { return this.tenantContext; } public UpdateWorkspaceMembersRequest setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; } public String getWorkspaceId() { return this.workspaceId; } public static class UpdateWorkspaceMembersRequestMembers extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>012345</p> */ @NameInMap("MemberId") public String memberId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>USER</p> */ @NameInMap("MemberType") public String memberType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ONLY_VIEWER</p> */ @NameInMap("RoleType") public String roleType; public static UpdateWorkspaceMembersRequestMembers build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersRequestMembers self = new UpdateWorkspaceMembersRequestMembers(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersRequestMembers setMemberId(String memberId) { this.memberId = memberId; return this; } public String getMemberId() { return this.memberId; } public UpdateWorkspaceMembersRequestMembers setMemberType(String memberType) { this.memberType = memberType; return this; } public String getMemberType() { return this.memberType; } public UpdateWorkspaceMembersRequestMembers setRoleType(String roleType) { this.roleType = roleType; return this; } public String getRoleType() { return this.roleType; } } public static class UpdateWorkspaceMembersRequestTenantContext extends TeaModel { /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("tenantId") public String tenantId; public static UpdateWorkspaceMembersRequestTenantContext build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersRequestTenantContext self = new UpdateWorkspaceMembersRequestTenantContext(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersRequestTenantContext setTenantId(String tenantId) { this.tenantId = tenantId; return this; } public String getTenantId() { return this.tenantId; } } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceMembersResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceMembersResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public UpdateWorkspaceMembersResponseBody body; public static UpdateWorkspaceMembersResponse build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersResponse self = new UpdateWorkspaceMembersResponse(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public UpdateWorkspaceMembersResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public UpdateWorkspaceMembersResponse setBody(UpdateWorkspaceMembersResponseBody body) { this.body = body; return this; } public UpdateWorkspaceMembersResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceMembersResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceMembersResponseBody extends TeaModel { /** * <p>requestId</p> * * <strong>example:</strong> * <p>0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX</p> */ @NameInMap("requestId") public String requestId; public static UpdateWorkspaceMembersResponseBody build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersResponseBody self = new UpdateWorkspaceMembersResponseBody(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceMembersShrinkHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceMembersShrinkHeaders extends TeaModel { @NameInMap("commonHeaders") public java.util.Map<String, String> commonHeaders; @NameInMap("AccountContext") public String accountContextShrink; public static UpdateWorkspaceMembersShrinkHeaders build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersShrinkHeaders self = new UpdateWorkspaceMembersShrinkHeaders(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersShrinkHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UpdateWorkspaceMembersShrinkHeaders setAccountContextShrink(String accountContextShrink) { this.accountContextShrink = accountContextShrink; return this; } public String getAccountContextShrink() { return this.accountContextShrink; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UpdateWorkspaceMembersShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UpdateWorkspaceMembersShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Members") public String membersShrink; @NameInMap("TenantContext") public String tenantContextShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ @NameInMap("WorkspaceId") public String workspaceId; public static UpdateWorkspaceMembersShrinkRequest build(java.util.Map<String, ?> map) throws Exception { UpdateWorkspaceMembersShrinkRequest self = new UpdateWorkspaceMembersShrinkRequest(); return TeaModel.build(map, self); } public UpdateWorkspaceMembersShrinkRequest setMembersShrink(String membersShrink) { this.membersShrink = membersShrink; return this; } public String getMembersShrink() { return this.membersShrink; } public UpdateWorkspaceMembersShrinkRequest setTenantContextShrink(String tenantContextShrink) { this.tenantContextShrink = tenantContextShrink; return this; } public String getTenantContextShrink() { return this.tenantContextShrink; } public UpdateWorkspaceMembersShrinkRequest setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; } public String getWorkspaceId() { return this.workspaceId; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UploadMediaHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UploadMediaHeaders extends TeaModel { @NameInMap("commonHeaders") public java.util.Map<String, String> commonHeaders; @NameInMap("AccountContext") public UploadMediaHeadersAccountContext accountContext; public static UploadMediaHeaders build(java.util.Map<String, ?> map) throws Exception { UploadMediaHeaders self = new UploadMediaHeaders(); return TeaModel.build(map, self); } public UploadMediaHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UploadMediaHeaders setAccountContext(UploadMediaHeadersAccountContext accountContext) { this.accountContext = accountContext; return this; } public UploadMediaHeadersAccountContext getAccountContext() { return this.accountContext; } public static class UploadMediaHeadersAccountContext extends TeaModel { @NameInMap("accountId") public String accountId; public static UploadMediaHeadersAccountContext build(java.util.Map<String, ?> map) throws Exception { UploadMediaHeadersAccountContext self = new UploadMediaHeadersAccountContext(); return TeaModel.build(map, self); } public UploadMediaHeadersAccountContext setAccountId(String accountId) { this.accountId = accountId; return this; } public String getAccountId() { return this.accountId; } } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UploadMediaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UploadMediaRequest extends TeaModel { @NameInMap("TenantContext") public UploadMediaRequestTenantContext tenantContext; /** * <strong>example:</strong> * <p>test.jpg</p> */ @NameInMap("mediaName") public String mediaName; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>image</p> */ @NameInMap("mediaType") public String mediaType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1234567</p> */ @NameInMap("orgId") public Long orgId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://alicdn.com/xxx.jpg">https://alicdn.com/xxx.jpg</a></p> */ @NameInMap("url") public String url; public static UploadMediaRequest build(java.util.Map<String, ?> map) throws Exception { UploadMediaRequest self = new UploadMediaRequest(); return TeaModel.build(map, self); } public UploadMediaRequest setTenantContext(UploadMediaRequestTenantContext tenantContext) { this.tenantContext = tenantContext; return this; } public UploadMediaRequestTenantContext getTenantContext() { return this.tenantContext; } public UploadMediaRequest setMediaName(String mediaName) { this.mediaName = mediaName; return this; } public String getMediaName() { return this.mediaName; } public UploadMediaRequest setMediaType(String mediaType) { this.mediaType = mediaType; return this; } public String getMediaType() { return this.mediaType; } public UploadMediaRequest setOrgId(Long orgId) { this.orgId = orgId; return this; } public Long getOrgId() { return this.orgId; } public UploadMediaRequest setUrl(String url) { this.url = url; return this; } public String getUrl() { return this.url; } public static class UploadMediaRequestTenantContext extends TeaModel { /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("tenantId") public String tenantId; public static UploadMediaRequestTenantContext build(java.util.Map<String, ?> map) throws Exception { UploadMediaRequestTenantContext self = new UploadMediaRequestTenantContext(); return TeaModel.build(map, self); } public UploadMediaRequestTenantContext setTenantId(String tenantId) { this.tenantId = tenantId; return this; } public String getTenantId() { return this.tenantId; } } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UploadMediaResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UploadMediaResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public UploadMediaResponseBody body; public static UploadMediaResponse build(java.util.Map<String, ?> map) throws Exception { UploadMediaResponse self = new UploadMediaResponse(); return TeaModel.build(map, self); } public UploadMediaResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public UploadMediaResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public UploadMediaResponse setBody(UploadMediaResponseBody body) { this.body = body; return this; } public UploadMediaResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UploadMediaResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UploadMediaResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>abcd1234</p> */ @NameInMap("mediaId") public String mediaId; /** * <p>requestId</p> * * <strong>example:</strong> * <p>abcd-1234-wxyz-9876</p> */ @NameInMap("requestId") public String requestId; public static UploadMediaResponseBody build(java.util.Map<String, ?> map) throws Exception { UploadMediaResponseBody self = new UploadMediaResponseBody(); return TeaModel.build(map, self); } public UploadMediaResponseBody setMediaId(String mediaId) { this.mediaId = mediaId; return this; } public String getMediaId() { return this.mediaId; } public UploadMediaResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UploadMediaShrinkHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UploadMediaShrinkHeaders extends TeaModel { @NameInMap("commonHeaders") public java.util.Map<String, String> commonHeaders; @NameInMap("AccountContext") public String accountContextShrink; public static UploadMediaShrinkHeaders build(java.util.Map<String, ?> map) throws Exception { UploadMediaShrinkHeaders self = new UploadMediaShrinkHeaders(); return TeaModel.build(map, self); } public UploadMediaShrinkHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public UploadMediaShrinkHeaders setAccountContextShrink(String accountContextShrink) { this.accountContextShrink = accountContextShrink; return this; } public String getAccountContextShrink() { return this.accountContextShrink; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/UploadMediaShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class UploadMediaShrinkRequest extends TeaModel { @NameInMap("TenantContext") public String tenantContextShrink; /** * <strong>example:</strong> * <p>test.jpg</p> */ @NameInMap("mediaName") public String mediaName; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>image</p> */ @NameInMap("mediaType") public String mediaType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1234567</p> */ @NameInMap("orgId") public Long orgId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://alicdn.com/xxx.jpg">https://alicdn.com/xxx.jpg</a></p> */ @NameInMap("url") public String url; public static UploadMediaShrinkRequest build(java.util.Map<String, ?> map) throws Exception { UploadMediaShrinkRequest self = new UploadMediaShrinkRequest(); return TeaModel.build(map, self); } public UploadMediaShrinkRequest setTenantContextShrink(String tenantContextShrink) { this.tenantContextShrink = tenantContextShrink; return this; } public String getTenantContextShrink() { return this.tenantContextShrink; } public UploadMediaShrinkRequest setMediaName(String mediaName) { this.mediaName = mediaName; return this; } public String getMediaName() { return this.mediaName; } public UploadMediaShrinkRequest setMediaType(String mediaType) { this.mediaType = mediaType; return this; } public String getMediaType() { return this.mediaType; } public UploadMediaShrinkRequest setOrgId(Long orgId) { this.orgId = orgId; return this; } public Long getOrgId() { return this.orgId; } public UploadMediaShrinkRequest setUrl(String url) { this.url = url; return this; } public String getUrl() { return this.url; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/WearOrgHonorHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class WearOrgHonorHeaders extends TeaModel { @NameInMap("commonHeaders") public java.util.Map<String, String> commonHeaders; @NameInMap("AccountContext") public WearOrgHonorHeadersAccountContext accountContext; public static WearOrgHonorHeaders build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorHeaders self = new WearOrgHonorHeaders(); return TeaModel.build(map, self); } public WearOrgHonorHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public WearOrgHonorHeaders setAccountContext(WearOrgHonorHeadersAccountContext accountContext) { this.accountContext = accountContext; return this; } public WearOrgHonorHeadersAccountContext getAccountContext() { return this.accountContext; } public static class WearOrgHonorHeadersAccountContext extends TeaModel { /** * <strong>example:</strong> * <p>1915607600538524</p> */ @NameInMap("accountId") public String accountId; public static WearOrgHonorHeadersAccountContext build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorHeadersAccountContext self = new WearOrgHonorHeadersAccountContext(); return TeaModel.build(map, self); } public WearOrgHonorHeadersAccountContext setAccountId(String accountId) { this.accountId = accountId; return this; } public String getAccountId() { return this.accountId; } } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/WearOrgHonorRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class WearOrgHonorRequest extends TeaModel { @NameInMap("TenantContext") public WearOrgHonorRequestTenantContext tenantContext; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>21659595</p> */ @NameInMap("honorId") public String honorId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123456</p> */ @NameInMap("orgId") public Long orgId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>363784</p> */ @NameInMap("userId") public String userId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>false</p> */ @NameInMap("wear") public Boolean wear; public static WearOrgHonorRequest build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorRequest self = new WearOrgHonorRequest(); return TeaModel.build(map, self); } public WearOrgHonorRequest setTenantContext(WearOrgHonorRequestTenantContext tenantContext) { this.tenantContext = tenantContext; return this; } public WearOrgHonorRequestTenantContext getTenantContext() { return this.tenantContext; } public WearOrgHonorRequest setHonorId(String honorId) { this.honorId = honorId; return this; } public String getHonorId() { return this.honorId; } public WearOrgHonorRequest setOrgId(Long orgId) { this.orgId = orgId; return this; } public Long getOrgId() { return this.orgId; } public WearOrgHonorRequest setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } public WearOrgHonorRequest setWear(Boolean wear) { this.wear = wear; return this; } public Boolean getWear() { return this.wear; } public static class WearOrgHonorRequestTenantContext extends TeaModel { /** * <strong>example:</strong> * <p>306752103647458</p> */ @NameInMap("tenantId") public String tenantId; public static WearOrgHonorRequestTenantContext build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorRequestTenantContext self = new WearOrgHonorRequestTenantContext(); return TeaModel.build(map, self); } public WearOrgHonorRequestTenantContext setTenantId(String tenantId) { this.tenantId = tenantId; return this; } public String getTenantId() { return this.tenantId; } } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/WearOrgHonorResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class WearOrgHonorResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public WearOrgHonorResponseBody body; public static WearOrgHonorResponse build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorResponse self = new WearOrgHonorResponse(); return TeaModel.build(map, self); } public WearOrgHonorResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public WearOrgHonorResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public WearOrgHonorResponse setBody(WearOrgHonorResponseBody body) { this.body = body; return this; } public WearOrgHonorResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/WearOrgHonorResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class WearOrgHonorResponseBody extends TeaModel { @NameInMap("content") public WearOrgHonorResponseBodyContent content; /** * <strong>example:</strong> * <p>0</p> */ @NameInMap("errorCode") public String errorCode; @NameInMap("errorCtx") public java.util.Map<String, ?> errorCtx; @NameInMap("errorMsg") public String errorMsg; /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("httpStatusCode") public Integer httpStatusCode; /** * <strong>example:</strong> * <p>32FFC91D-0A9F-585A-B84F-8A54C5187035</p> */ @NameInMap("requestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("success") public Boolean success; public static WearOrgHonorResponseBody build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorResponseBody self = new WearOrgHonorResponseBody(); return TeaModel.build(map, self); } public WearOrgHonorResponseBody setContent(WearOrgHonorResponseBodyContent content) { this.content = content; return this; } public WearOrgHonorResponseBodyContent getContent() { return this.content; } public WearOrgHonorResponseBody setErrorCode(String errorCode) { this.errorCode = errorCode; return this; } public String getErrorCode() { return this.errorCode; } public WearOrgHonorResponseBody setErrorCtx(java.util.Map<String, ?> errorCtx) { this.errorCtx = errorCtx; return this; } public java.util.Map<String, ?> getErrorCtx() { return this.errorCtx; } public WearOrgHonorResponseBody setErrorMsg(String errorMsg) { this.errorMsg = errorMsg; return this; } public String getErrorMsg() { return this.errorMsg; } public WearOrgHonorResponseBody setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public WearOrgHonorResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public WearOrgHonorResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class WearOrgHonorResponseBodyContent extends TeaModel { /** * <strong>example:</strong> * <p>null</p> */ @NameInMap("data") public Object data; public static WearOrgHonorResponseBodyContent build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorResponseBodyContent self = new WearOrgHonorResponseBodyContent(); return TeaModel.build(map, self); } public WearOrgHonorResponseBodyContent setData(Object data) { this.data = data; return this; } public Object getData() { return this.data; } } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/WearOrgHonorShrinkHeaders.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class WearOrgHonorShrinkHeaders extends TeaModel { @NameInMap("commonHeaders") public java.util.Map<String, String> commonHeaders; @NameInMap("AccountContext") public String accountContextShrink; public static WearOrgHonorShrinkHeaders build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorShrinkHeaders self = new WearOrgHonorShrinkHeaders(); return TeaModel.build(map, self); } public WearOrgHonorShrinkHeaders setCommonHeaders(java.util.Map<String, String> commonHeaders) { this.commonHeaders = commonHeaders; return this; } public java.util.Map<String, String> getCommonHeaders() { return this.commonHeaders; } public WearOrgHonorShrinkHeaders setAccountContextShrink(String accountContextShrink) { this.accountContextShrink = accountContextShrink; return this; } public String getAccountContextShrink() { return this.accountContextShrink; } }
0
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426
java-sources/com/aliyun/aliding20230426/2.43.2/com/aliyun/aliding20230426/models/WearOrgHonorShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.aliding20230426.models; import com.aliyun.tea.*; public class WearOrgHonorShrinkRequest extends TeaModel { @NameInMap("TenantContext") public String tenantContextShrink; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>21659595</p> */ @NameInMap("honorId") public String honorId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123456</p> */ @NameInMap("orgId") public Long orgId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>363784</p> */ @NameInMap("userId") public String userId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>false</p> */ @NameInMap("wear") public Boolean wear; public static WearOrgHonorShrinkRequest build(java.util.Map<String, ?> map) throws Exception { WearOrgHonorShrinkRequest self = new WearOrgHonorShrinkRequest(); return TeaModel.build(map, self); } public WearOrgHonorShrinkRequest setTenantContextShrink(String tenantContextShrink) { this.tenantContextShrink = tenantContextShrink; return this; } public String getTenantContextShrink() { return this.tenantContextShrink; } public WearOrgHonorShrinkRequest setHonorId(String honorId) { this.honorId = honorId; return this; } public String getHonorId() { return this.honorId; } public WearOrgHonorShrinkRequest setOrgId(Long orgId) { this.orgId = orgId; return this; } public Long getOrgId() { return this.orgId; } public WearOrgHonorShrinkRequest setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } public WearOrgHonorShrinkRequest setWear(Boolean wear) { this.wear = wear; return this; } public Boolean getWear() { return this.wear; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/Client.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109; import com.aliyun.tea.*; import com.aliyun.alidns20150109.models.*; public class Client extends com.aliyun.teaopenapi.Client { public Client(com.aliyun.teaopenapi.models.Config config) throws Exception { super(config); this._endpointRule = "central"; this.checkConfig(config); this._endpoint = this.getEndpoint("alidns", _regionId, _endpointRule, _network, _suffix, _endpointMap, _endpoint); } public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, java.util.Map<String, String> endpointMap, String endpoint) throws Exception { if (!com.aliyun.teautil.Common.empty(endpoint)) { return endpoint; } if (!com.aliyun.teautil.Common.isUnset(endpointMap) && !com.aliyun.teautil.Common.empty(endpointMap.get(regionId))) { return endpointMap.get(regionId); } return com.aliyun.endpointutil.Client.getEndpointRules(productId, regionId, endpointRule, network, suffix); } /** * <b>description</b> : * <p>In each CIDR block, the end IP address must be greater than or equal to the start IP address.\ * The CIDR blocks that are specified for all custom lines of a domain name cannot be overlapped.</p> * * <b>summary</b> : * <p>Adds a custom line to the domain name.</p> * * @param request AddCustomLineRequest * @param runtime runtime options for this request RuntimeOptions * @return AddCustomLineResponse */ public AddCustomLineResponse addCustomLineWithOptions(AddCustomLineRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.ipSegment)) { query.put("IpSegment", request.ipSegment); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lineName)) { query.put("LineName", request.lineName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddCustomLine"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddCustomLineResponse()); } /** * <b>description</b> : * <p>In each CIDR block, the end IP address must be greater than or equal to the start IP address.\ * The CIDR blocks that are specified for all custom lines of a domain name cannot be overlapped.</p> * * <b>summary</b> : * <p>Adds a custom line to the domain name.</p> * * @param request AddCustomLineRequest * @return AddCustomLineResponse */ public AddCustomLineResponse addCustomLine(AddCustomLineRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addCustomLineWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Adds a cache-accelerated domain name based on the specified parameters.</p> * * @param request AddDnsCacheDomainRequest * @param runtime runtime options for this request RuntimeOptions * @return AddDnsCacheDomainResponse */ public AddDnsCacheDomainResponse addDnsCacheDomainWithOptions(AddDnsCacheDomainRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.cacheTtlMax)) { query.put("CacheTtlMax", request.cacheTtlMax); } if (!com.aliyun.teautil.Common.isUnset(request.cacheTtlMin)) { query.put("CacheTtlMin", request.cacheTtlMin); } if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.sourceDnsServer)) { query.put("SourceDnsServer", request.sourceDnsServer); } if (!com.aliyun.teautil.Common.isUnset(request.sourceEdns)) { query.put("SourceEdns", request.sourceEdns); } if (!com.aliyun.teautil.Common.isUnset(request.sourceProtocol)) { query.put("SourceProtocol", request.sourceProtocol); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddDnsCacheDomain"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddDnsCacheDomainResponse()); } /** * <b>summary</b> : * <p>Adds a cache-accelerated domain name based on the specified parameters.</p> * * @param request AddDnsCacheDomainRequest * @return AddDnsCacheDomainResponse */ public AddDnsCacheDomainResponse addDnsCacheDomain(AddDnsCacheDomainRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addDnsCacheDomainWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates an access policy.</p> * * @param request AddDnsGtmAccessStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return AddDnsGtmAccessStrategyResponse */ public AddDnsGtmAccessStrategyResponse addDnsGtmAccessStrategyWithOptions(AddDnsGtmAccessStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.defaultAddrPool)) { query.put("DefaultAddrPool", request.defaultAddrPool); } if (!com.aliyun.teautil.Common.isUnset(request.defaultAddrPoolType)) { query.put("DefaultAddrPoolType", request.defaultAddrPoolType); } if (!com.aliyun.teautil.Common.isUnset(request.defaultLatencyOptimization)) { query.put("DefaultLatencyOptimization", request.defaultLatencyOptimization); } if (!com.aliyun.teautil.Common.isUnset(request.defaultLbaStrategy)) { query.put("DefaultLbaStrategy", request.defaultLbaStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.defaultMaxReturnAddrNum)) { query.put("DefaultMaxReturnAddrNum", request.defaultMaxReturnAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.defaultMinAvailableAddrNum)) { query.put("DefaultMinAvailableAddrNum", request.defaultMinAvailableAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.failoverAddrPool)) { query.put("FailoverAddrPool", request.failoverAddrPool); } if (!com.aliyun.teautil.Common.isUnset(request.failoverAddrPoolType)) { query.put("FailoverAddrPoolType", request.failoverAddrPoolType); } if (!com.aliyun.teautil.Common.isUnset(request.failoverLatencyOptimization)) { query.put("FailoverLatencyOptimization", request.failoverLatencyOptimization); } if (!com.aliyun.teautil.Common.isUnset(request.failoverLbaStrategy)) { query.put("FailoverLbaStrategy", request.failoverLbaStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.failoverMaxReturnAddrNum)) { query.put("FailoverMaxReturnAddrNum", request.failoverMaxReturnAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.failoverMinAvailableAddrNum)) { query.put("FailoverMinAvailableAddrNum", request.failoverMinAvailableAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lines)) { query.put("Lines", request.lines); } if (!com.aliyun.teautil.Common.isUnset(request.strategyMode)) { query.put("StrategyMode", request.strategyMode); } if (!com.aliyun.teautil.Common.isUnset(request.strategyName)) { query.put("StrategyName", request.strategyName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddDnsGtmAccessStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddDnsGtmAccessStrategyResponse()); } /** * <b>summary</b> : * <p>Creates an access policy.</p> * * @param request AddDnsGtmAccessStrategyRequest * @return AddDnsGtmAccessStrategyResponse */ public AddDnsGtmAccessStrategyResponse addDnsGtmAccessStrategy(AddDnsGtmAccessStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addDnsGtmAccessStrategyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates an address pool.</p> * * @param request AddDnsGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return AddDnsGtmAddressPoolResponse */ public AddDnsGtmAddressPoolResponse addDnsGtmAddressPoolWithOptions(AddDnsGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addr)) { query.put("Addr", request.addr); } if (!com.aliyun.teautil.Common.isUnset(request.evaluationCount)) { query.put("EvaluationCount", request.evaluationCount); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.interval)) { query.put("Interval", request.interval); } if (!com.aliyun.teautil.Common.isUnset(request.ispCityNode)) { query.put("IspCityNode", request.ispCityNode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lbaStrategy)) { query.put("LbaStrategy", request.lbaStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.monitorExtendInfo)) { query.put("MonitorExtendInfo", request.monitorExtendInfo); } if (!com.aliyun.teautil.Common.isUnset(request.monitorStatus)) { query.put("MonitorStatus", request.monitorStatus); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.protocolType)) { query.put("ProtocolType", request.protocolType); } if (!com.aliyun.teautil.Common.isUnset(request.timeout)) { query.put("Timeout", request.timeout); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddDnsGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddDnsGtmAddressPoolResponse()); } /** * <b>summary</b> : * <p>Creates an address pool.</p> * * @param request AddDnsGtmAddressPoolRequest * @return AddDnsGtmAddressPoolResponse */ public AddDnsGtmAddressPoolResponse addDnsGtmAddressPool(AddDnsGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addDnsGtmAddressPoolWithOptions(request, runtime); } /** * <b>description</b> : * <p>**</p> * * <b>summary</b> : * <p>Creates a health check task.</p> * * @param request AddDnsGtmMonitorRequest * @param runtime runtime options for this request RuntimeOptions * @return AddDnsGtmMonitorResponse */ public AddDnsGtmMonitorResponse addDnsGtmMonitorWithOptions(AddDnsGtmMonitorRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addrPoolId)) { query.put("AddrPoolId", request.addrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.evaluationCount)) { query.put("EvaluationCount", request.evaluationCount); } if (!com.aliyun.teautil.Common.isUnset(request.interval)) { query.put("Interval", request.interval); } if (!com.aliyun.teautil.Common.isUnset(request.ispCityNode)) { query.put("IspCityNode", request.ispCityNode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.monitorExtendInfo)) { query.put("MonitorExtendInfo", request.monitorExtendInfo); } if (!com.aliyun.teautil.Common.isUnset(request.protocolType)) { query.put("ProtocolType", request.protocolType); } if (!com.aliyun.teautil.Common.isUnset(request.timeout)) { query.put("Timeout", request.timeout); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddDnsGtmMonitor"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddDnsGtmMonitorResponse()); } /** * <b>description</b> : * <p>**</p> * * <b>summary</b> : * <p>Creates a health check task.</p> * * @param request AddDnsGtmMonitorRequest * @return AddDnsGtmMonitorResponse */ public AddDnsGtmMonitorResponse addDnsGtmMonitor(AddDnsGtmMonitorRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addDnsGtmMonitorWithOptions(request, runtime); } /** * <b>description</b> : * <p>For more information about how to check whether a domain name is valid, see * <a href="https://www.alibabacloud.com/help/zh/doc-detail/67788.htm">Domain name validity</a>.</p> * * <b>summary</b> : * <p>Adds a domain name based on the specified parameters.</p> * * @param request AddDomainRequest * @param runtime runtime options for this request RuntimeOptions * @return AddDomainResponse */ public AddDomainResponse addDomainWithOptions(AddDomainRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.groupId)) { query.put("GroupId", request.groupId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddDomain"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddDomainResponse()); } /** * <b>description</b> : * <p>For more information about how to check whether a domain name is valid, see * <a href="https://www.alibabacloud.com/help/zh/doc-detail/67788.htm">Domain name validity</a>.</p> * * <b>summary</b> : * <p>Adds a domain name based on the specified parameters.</p> * * @param request AddDomainRequest * @return AddDomainResponse */ public AddDomainResponse addDomain(AddDomainRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addDomainWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates a backup task for a domain name.</p> * * @param request AddDomainBackupRequest * @param runtime runtime options for this request RuntimeOptions * @return AddDomainBackupResponse */ public AddDomainBackupResponse addDomainBackupWithOptions(AddDomainBackupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.periodType)) { query.put("PeriodType", request.periodType); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddDomainBackup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddDomainBackupResponse()); } /** * <b>summary</b> : * <p>Creates a backup task for a domain name.</p> * * @param request AddDomainBackupRequest * @return AddDomainBackupResponse */ public AddDomainBackupResponse addDomainBackup(AddDomainBackupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addDomainBackupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates a domain name group based on the specified parameters.</p> * * @param request AddDomainGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return AddDomainGroupResponse */ public AddDomainGroupResponse addDomainGroupWithOptions(AddDomainGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.groupName)) { query.put("GroupName", request.groupName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddDomainGroup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddDomainGroupResponse()); } /** * <b>summary</b> : * <p>Creates a domain name group based on the specified parameters.</p> * * @param request AddDomainGroupRequest * @return AddDomainGroupResponse */ public AddDomainGroupResponse addDomainGroup(AddDomainGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addDomainGroupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Adds a Domain Name System (DNS) record based on the specified parameters.</p> * * @param request AddDomainRecordRequest * @param runtime runtime options for this request RuntimeOptions * @return AddDomainRecordResponse */ public AddDomainRecordResponse addDomainRecordWithOptions(AddDomainRecordRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.line)) { query.put("Line", request.line); } if (!com.aliyun.teautil.Common.isUnset(request.priority)) { query.put("Priority", request.priority); } if (!com.aliyun.teautil.Common.isUnset(request.RR)) { query.put("RR", request.RR); } if (!com.aliyun.teautil.Common.isUnset(request.TTL)) { query.put("TTL", request.TTL); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } if (!com.aliyun.teautil.Common.isUnset(request.value)) { query.put("Value", request.value); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddDomainRecord"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddDomainRecordResponse()); } /** * <b>summary</b> : * <p>Adds a Domain Name System (DNS) record based on the specified parameters.</p> * * @param request AddDomainRecordRequest * @return AddDomainRecordResponse */ public AddDomainRecordResponse addDomainRecord(AddDomainRecordRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addDomainRecordWithOptions(request, runtime); } /** * @param request AddGtmAccessStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return AddGtmAccessStrategyResponse */ public AddGtmAccessStrategyResponse addGtmAccessStrategyWithOptions(AddGtmAccessStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.accessLines)) { query.put("AccessLines", request.accessLines); } if (!com.aliyun.teautil.Common.isUnset(request.defaultAddrPoolId)) { query.put("DefaultAddrPoolId", request.defaultAddrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.failoverAddrPoolId)) { query.put("FailoverAddrPoolId", request.failoverAddrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyName)) { query.put("StrategyName", request.strategyName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddGtmAccessStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddGtmAccessStrategyResponse()); } /** * @param request AddGtmAccessStrategyRequest * @return AddGtmAccessStrategyResponse */ public AddGtmAccessStrategyResponse addGtmAccessStrategy(AddGtmAccessStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addGtmAccessStrategyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates an address pool.</p> * * @param request AddGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return AddGtmAddressPoolResponse */ public AddGtmAddressPoolResponse addGtmAddressPoolWithOptions(AddGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addr)) { query.put("Addr", request.addr); } if (!com.aliyun.teautil.Common.isUnset(request.evaluationCount)) { query.put("EvaluationCount", request.evaluationCount); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.interval)) { query.put("Interval", request.interval); } if (!com.aliyun.teautil.Common.isUnset(request.ispCityNode)) { query.put("IspCityNode", request.ispCityNode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.minAvailableAddrNum)) { query.put("MinAvailableAddrNum", request.minAvailableAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.monitorExtendInfo)) { query.put("MonitorExtendInfo", request.monitorExtendInfo); } if (!com.aliyun.teautil.Common.isUnset(request.monitorStatus)) { query.put("MonitorStatus", request.monitorStatus); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.protocolType)) { query.put("ProtocolType", request.protocolType); } if (!com.aliyun.teautil.Common.isUnset(request.timeout)) { query.put("Timeout", request.timeout); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddGtmAddressPoolResponse()); } /** * <b>summary</b> : * <p>Creates an address pool.</p> * * @param request AddGtmAddressPoolRequest * @return AddGtmAddressPoolResponse */ public AddGtmAddressPoolResponse addGtmAddressPool(AddGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addGtmAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates a health check task.</p> * * @param request AddGtmMonitorRequest * @param runtime runtime options for this request RuntimeOptions * @return AddGtmMonitorResponse */ public AddGtmMonitorResponse addGtmMonitorWithOptions(AddGtmMonitorRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addrPoolId)) { query.put("AddrPoolId", request.addrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.evaluationCount)) { query.put("EvaluationCount", request.evaluationCount); } if (!com.aliyun.teautil.Common.isUnset(request.interval)) { query.put("Interval", request.interval); } if (!com.aliyun.teautil.Common.isUnset(request.ispCityNode)) { query.put("IspCityNode", request.ispCityNode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.monitorExtendInfo)) { query.put("MonitorExtendInfo", request.monitorExtendInfo); } if (!com.aliyun.teautil.Common.isUnset(request.protocolType)) { query.put("ProtocolType", request.protocolType); } if (!com.aliyun.teautil.Common.isUnset(request.timeout)) { query.put("Timeout", request.timeout); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddGtmMonitor"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddGtmMonitorResponse()); } /** * <b>summary</b> : * <p>Creates a health check task.</p> * * @param request AddGtmMonitorRequest * @return AddGtmMonitorResponse */ public AddGtmMonitorResponse addGtmMonitor(AddGtmMonitorRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addGtmMonitorWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates a disaster recovery plan.</p> * * @param request AddGtmRecoveryPlanRequest * @param runtime runtime options for this request RuntimeOptions * @return AddGtmRecoveryPlanResponse */ public AddGtmRecoveryPlanResponse addGtmRecoveryPlanWithOptions(AddGtmRecoveryPlanRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.faultAddrPool)) { query.put("FaultAddrPool", request.faultAddrPool); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddGtmRecoveryPlan"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddGtmRecoveryPlanResponse()); } /** * <b>summary</b> : * <p>Creates a disaster recovery plan.</p> * * @param request AddGtmRecoveryPlanRequest * @return AddGtmRecoveryPlanResponse */ public AddGtmRecoveryPlanResponse addGtmRecoveryPlan(AddGtmRecoveryPlanRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addGtmRecoveryPlanWithOptions(request, runtime); } /** * <b>summary</b> : * <p>新增递归解析内置权威解析记录</p> * * @param request AddRecursionRecordRequest * @param runtime runtime options for this request RuntimeOptions * @return AddRecursionRecordResponse */ public AddRecursionRecordResponse addRecursionRecordWithOptions(AddRecursionRecordRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.priority)) { query.put("Priority", request.priority); } if (!com.aliyun.teautil.Common.isUnset(request.requestSource)) { query.put("RequestSource", request.requestSource); } if (!com.aliyun.teautil.Common.isUnset(request.rr)) { query.put("Rr", request.rr); } if (!com.aliyun.teautil.Common.isUnset(request.ttl)) { query.put("Ttl", request.ttl); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } if (!com.aliyun.teautil.Common.isUnset(request.value)) { query.put("Value", request.value); } if (!com.aliyun.teautil.Common.isUnset(request.weight)) { query.put("Weight", request.weight); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddRecursionRecord"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddRecursionRecordResponse()); } /** * <b>summary</b> : * <p>新增递归解析内置权威解析记录</p> * * @param request AddRecursionRecordRequest * @return AddRecursionRecordResponse */ public AddRecursionRecordResponse addRecursionRecord(AddRecursionRecordRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addRecursionRecordWithOptions(request, runtime); } /** * <b>summary</b> : * <p>新增递归解析内置权威域名zone</p> * * @param request AddRecursionZoneRequest * @param runtime runtime options for this request RuntimeOptions * @return AddRecursionZoneResponse */ public AddRecursionZoneResponse addRecursionZoneWithOptions(AddRecursionZoneRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.proxyPattern)) { query.put("ProxyPattern", request.proxyPattern); } if (!com.aliyun.teautil.Common.isUnset(request.zoneName)) { query.put("ZoneName", request.zoneName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "AddRecursionZone"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new AddRecursionZoneResponse()); } /** * <b>summary</b> : * <p>新增递归解析内置权威域名zone</p> * * @param request AddRecursionZoneRequest * @return AddRecursionZoneResponse */ public AddRecursionZoneResponse addRecursionZone(AddRecursionZoneRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.addRecursionZoneWithOptions(request, runtime); } /** * <b>description</b> : * <p>A paid Alibaba Cloud DNS instance whose ID starts with dns is an instance of the new version. You can call this API operation to bind multiple domain names to the instance. If the upper limit is exceeded, an error message is returned.\ * A paid Alibaba Cloud DNS instance whose ID does not start with dns is an instance of the old version. You can call this API operation to bind only one domain name to the instance. However, if the instance is already bound to a domain name, you must unbind the original domain name from the instance and bind the desired domain name to the instance.</p> * * <b>summary</b> : * <p>Binds one or more domain names to a paid Alibaba Cloud DNS instance.</p> * * @param request BindInstanceDomainsRequest * @param runtime runtime options for this request RuntimeOptions * @return BindInstanceDomainsResponse */ public BindInstanceDomainsResponse bindInstanceDomainsWithOptions(BindInstanceDomainsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainNames)) { query.put("DomainNames", request.domainNames); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "BindInstanceDomains"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new BindInstanceDomainsResponse()); } /** * <b>description</b> : * <p>A paid Alibaba Cloud DNS instance whose ID starts with dns is an instance of the new version. You can call this API operation to bind multiple domain names to the instance. If the upper limit is exceeded, an error message is returned.\ * A paid Alibaba Cloud DNS instance whose ID does not start with dns is an instance of the old version. You can call this API operation to bind only one domain name to the instance. However, if the instance is already bound to a domain name, you must unbind the original domain name from the instance and bind the desired domain name to the instance.</p> * * <b>summary</b> : * <p>Binds one or more domain names to a paid Alibaba Cloud DNS instance.</p> * * @param request BindInstanceDomainsRequest * @return BindInstanceDomainsResponse */ public BindInstanceDomainsResponse bindInstanceDomains(BindInstanceDomainsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.bindInstanceDomainsWithOptions(request, runtime); } /** * <b>description</b> : * <p>You can specify GroupId to move a domain name to a specific domain name group. You can move the domain name to the group that contains all domain names or the default group.</p> * * <b>summary</b> : * <p>Moves a domain name from the original group to the new group based on the specified parameters.</p> * * @param request ChangeDomainGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return ChangeDomainGroupResponse */ public ChangeDomainGroupResponse changeDomainGroupWithOptions(ChangeDomainGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.groupId)) { query.put("GroupId", request.groupId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ChangeDomainGroup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ChangeDomainGroupResponse()); } /** * <b>description</b> : * <p>You can specify GroupId to move a domain name to a specific domain name group. You can move the domain name to the group that contains all domain names or the default group.</p> * * <b>summary</b> : * <p>Moves a domain name from the original group to the new group based on the specified parameters.</p> * * @param request ChangeDomainGroupRequest * @return ChangeDomainGroupResponse */ public ChangeDomainGroupResponse changeDomainGroup(ChangeDomainGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.changeDomainGroupWithOptions(request, runtime); } /** * <b>description</b> : * <p> <strong>You can call this operation regardless of whether the Alibaba Cloud DNS instance is bound to a domain name. You can also call this operation to unbind the domain name from the Alibaba Cloud DNS instance by leaving the NewDomain parameter empty.</strong></p> * <ul> * <li>**This operation applies to instances of the custom edition. To change the domain name that is bound to an Alibaba Cloud DNS instance of Personal Edition, Enterprise Standard Edition, or Enterprise Ultimate Edition, call the BindInstanceDomains operation.</li> * </ul> * * <b>summary</b> : * <p>Changes the domain name that is bound to an Alibaba Cloud DNS instance.</p> * * @param request ChangeDomainOfDnsProductRequest * @param runtime runtime options for this request RuntimeOptions * @return ChangeDomainOfDnsProductResponse */ public ChangeDomainOfDnsProductResponse changeDomainOfDnsProductWithOptions(ChangeDomainOfDnsProductRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.force)) { query.put("Force", request.force); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.newDomain)) { query.put("NewDomain", request.newDomain); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ChangeDomainOfDnsProduct"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ChangeDomainOfDnsProductResponse()); } /** * <b>description</b> : * <p> <strong>You can call this operation regardless of whether the Alibaba Cloud DNS instance is bound to a domain name. You can also call this operation to unbind the domain name from the Alibaba Cloud DNS instance by leaving the NewDomain parameter empty.</strong></p> * <ul> * <li>**This operation applies to instances of the custom edition. To change the domain name that is bound to an Alibaba Cloud DNS instance of Personal Edition, Enterprise Standard Edition, or Enterprise Ultimate Edition, call the BindInstanceDomains operation.</li> * </ul> * * <b>summary</b> : * <p>Changes the domain name that is bound to an Alibaba Cloud DNS instance.</p> * * @param request ChangeDomainOfDnsProductRequest * @return ChangeDomainOfDnsProductResponse */ public ChangeDomainOfDnsProductResponse changeDomainOfDnsProduct(ChangeDomainOfDnsProductRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.changeDomainOfDnsProductWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Copies the configurations of a Global Traffic Manager (GTM) instance.</p> * * @param request CopyGtmConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return CopyGtmConfigResponse */ public CopyGtmConfigResponse copyGtmConfigWithOptions(CopyGtmConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.copyType)) { query.put("CopyType", request.copyType); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.sourceId)) { query.put("SourceId", request.sourceId); } if (!com.aliyun.teautil.Common.isUnset(request.targetId)) { query.put("TargetId", request.targetId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CopyGtmConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CopyGtmConfigResponse()); } /** * <b>summary</b> : * <p>Copies the configurations of a Global Traffic Manager (GTM) instance.</p> * * @param request CopyGtmConfigRequest * @return CopyGtmConfigResponse */ public CopyGtmConfigResponse copyGtmConfig(CopyGtmConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.copyGtmConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates an address.</p> * * @param tmpReq CreateCloudGtmAddressRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateCloudGtmAddressResponse */ public CreateCloudGtmAddressResponse createCloudGtmAddressWithOptions(CreateCloudGtmAddressRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreateCloudGtmAddressShrinkRequest request = new CreateCloudGtmAddressShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.healthTasks)) { request.healthTasksShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.healthTasks, "HealthTasks", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.address)) { query.put("Address", request.address); } if (!com.aliyun.teautil.Common.isUnset(request.attributeInfo)) { query.put("AttributeInfo", request.attributeInfo); } if (!com.aliyun.teautil.Common.isUnset(request.availableMode)) { query.put("AvailableMode", request.availableMode); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.healthJudgement)) { query.put("HealthJudgement", request.healthJudgement); } if (!com.aliyun.teautil.Common.isUnset(request.healthTasksShrink)) { query.put("HealthTasks", request.healthTasksShrink); } if (!com.aliyun.teautil.Common.isUnset(request.manualAvailableStatus)) { query.put("ManualAvailableStatus", request.manualAvailableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreateCloudGtmAddress"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateCloudGtmAddressResponse()); } /** * <b>summary</b> : * <p>Creates an address.</p> * * @param request CreateCloudGtmAddressRequest * @return CreateCloudGtmAddressResponse */ public CreateCloudGtmAddressResponse createCloudGtmAddress(CreateCloudGtmAddressRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createCloudGtmAddressWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates an address pool.</p> * * @param request CreateCloudGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateCloudGtmAddressPoolResponse */ public CreateCloudGtmAddressPoolResponse createCloudGtmAddressPoolWithOptions(CreateCloudGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolName)) { query.put("AddressPoolName", request.addressPoolName); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolType)) { query.put("AddressPoolType", request.addressPoolType); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.healthJudgement)) { query.put("HealthJudgement", request.healthJudgement); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreateCloudGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateCloudGtmAddressPoolResponse()); } /** * <b>summary</b> : * <p>Creates an address pool.</p> * * @param request CreateCloudGtmAddressPoolRequest * @return CreateCloudGtmAddressPoolResponse */ public CreateCloudGtmAddressPoolResponse createCloudGtmAddressPool(CreateCloudGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createCloudGtmAddressPoolWithOptions(request, runtime); } /** * @param request CreateCloudGtmInstanceConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateCloudGtmInstanceConfigResponse */ public CreateCloudGtmInstanceConfigResponse createCloudGtmInstanceConfigWithOptions(CreateCloudGtmInstanceConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleHostname)) { query.put("ScheduleHostname", request.scheduleHostname); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleRrType)) { query.put("ScheduleRrType", request.scheduleRrType); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleZoneMode)) { query.put("ScheduleZoneMode", request.scheduleZoneMode); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleZoneName)) { query.put("ScheduleZoneName", request.scheduleZoneName); } if (!com.aliyun.teautil.Common.isUnset(request.ttl)) { query.put("Ttl", request.ttl); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreateCloudGtmInstanceConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateCloudGtmInstanceConfigResponse()); } /** * @param request CreateCloudGtmInstanceConfigRequest * @return CreateCloudGtmInstanceConfigResponse */ public CreateCloudGtmInstanceConfigResponse createCloudGtmInstanceConfig(CreateCloudGtmInstanceConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createCloudGtmInstanceConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Creates a health check template.</p> * * @param tmpReq CreateCloudGtmMonitorTemplateRequest * @param runtime runtime options for this request RuntimeOptions * @return CreateCloudGtmMonitorTemplateResponse */ public CreateCloudGtmMonitorTemplateResponse createCloudGtmMonitorTemplateWithOptions(CreateCloudGtmMonitorTemplateRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); CreateCloudGtmMonitorTemplateShrinkRequest request = new CreateCloudGtmMonitorTemplateShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.ispCityNodes)) { request.ispCityNodesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.ispCityNodes, "IspCityNodes", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.evaluationCount)) { query.put("EvaluationCount", request.evaluationCount); } if (!com.aliyun.teautil.Common.isUnset(request.extendInfo)) { query.put("ExtendInfo", request.extendInfo); } if (!com.aliyun.teautil.Common.isUnset(request.failureRate)) { query.put("FailureRate", request.failureRate); } if (!com.aliyun.teautil.Common.isUnset(request.interval)) { query.put("Interval", request.interval); } if (!com.aliyun.teautil.Common.isUnset(request.ipVersion)) { query.put("IpVersion", request.ipVersion); } if (!com.aliyun.teautil.Common.isUnset(request.ispCityNodesShrink)) { query.put("IspCityNodes", request.ispCityNodesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.protocol)) { query.put("Protocol", request.protocol); } if (!com.aliyun.teautil.Common.isUnset(request.timeout)) { query.put("Timeout", request.timeout); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreateCloudGtmMonitorTemplate"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreateCloudGtmMonitorTemplateResponse()); } /** * <b>summary</b> : * <p>Creates a health check template.</p> * * @param request CreateCloudGtmMonitorTemplateRequest * @return CreateCloudGtmMonitorTemplateResponse */ public CreateCloudGtmMonitorTemplateResponse createCloudGtmMonitorTemplate(CreateCloudGtmMonitorTemplateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createCloudGtmMonitorTemplateWithOptions(request, runtime); } /** * <b>summary</b> : * <p>创建公共DNS AppKey</p> * * @param request CreatePdnsAppKeyRequest * @param runtime runtime options for this request RuntimeOptions * @return CreatePdnsAppKeyResponse */ public CreatePdnsAppKeyResponse createPdnsAppKeyWithOptions(CreatePdnsAppKeyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreatePdnsAppKey"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePdnsAppKeyResponse()); } /** * <b>summary</b> : * <p>创建公共DNS AppKey</p> * * @param request CreatePdnsAppKeyRequest * @return CreatePdnsAppKeyResponse */ public CreatePdnsAppKeyResponse createPdnsAppKey(CreatePdnsAppKeyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createPdnsAppKeyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>创建公共DNS Udp Ip地址段</p> * * @param request CreatePdnsUdpIpSegmentRequest * @param runtime runtime options for this request RuntimeOptions * @return CreatePdnsUdpIpSegmentResponse */ public CreatePdnsUdpIpSegmentResponse createPdnsUdpIpSegmentWithOptions(CreatePdnsUdpIpSegmentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.ip)) { query.put("Ip", request.ip); } if (!com.aliyun.teautil.Common.isUnset(request.ipToken)) { query.put("IpToken", request.ipToken); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CreatePdnsUdpIpSegment"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new CreatePdnsUdpIpSegmentResponse()); } /** * <b>summary</b> : * <p>创建公共DNS Udp Ip地址段</p> * * @param request CreatePdnsUdpIpSegmentRequest * @return CreatePdnsUdpIpSegmentResponse */ public CreatePdnsUdpIpSegmentResponse createPdnsUdpIpSegment(CreatePdnsUdpIpSegmentRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.createPdnsUdpIpSegmentWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes an address.</p> * * @param request DeleteCloudGtmAddressRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteCloudGtmAddressResponse */ public DeleteCloudGtmAddressResponse deleteCloudGtmAddressWithOptions(DeleteCloudGtmAddressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteCloudGtmAddress"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteCloudGtmAddressResponse()); } /** * <b>summary</b> : * <p>Deletes an address.</p> * * @param request DeleteCloudGtmAddressRequest * @return DeleteCloudGtmAddressResponse */ public DeleteCloudGtmAddressResponse deleteCloudGtmAddress(DeleteCloudGtmAddressRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteCloudGtmAddressWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes an address pool.</p> * * @param request DeleteCloudGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteCloudGtmAddressPoolResponse */ public DeleteCloudGtmAddressPoolResponse deleteCloudGtmAddressPoolWithOptions(DeleteCloudGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolId)) { query.put("AddressPoolId", request.addressPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteCloudGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteCloudGtmAddressPoolResponse()); } /** * <b>summary</b> : * <p>Deletes an address pool.</p> * * @param request DeleteCloudGtmAddressPoolRequest * @return DeleteCloudGtmAddressPoolResponse */ public DeleteCloudGtmAddressPoolResponse deleteCloudGtmAddressPool(DeleteCloudGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteCloudGtmAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes an access domain name that is configured for a Global Traffic Manager (GTM) 3.0 instance.</p> * * @param request DeleteCloudGtmInstanceConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteCloudGtmInstanceConfigResponse */ public DeleteCloudGtmInstanceConfigResponse deleteCloudGtmInstanceConfigWithOptions(DeleteCloudGtmInstanceConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteCloudGtmInstanceConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteCloudGtmInstanceConfigResponse()); } /** * <b>summary</b> : * <p>Deletes an access domain name that is configured for a Global Traffic Manager (GTM) 3.0 instance.</p> * * @param request DeleteCloudGtmInstanceConfigRequest * @return DeleteCloudGtmInstanceConfigResponse */ public DeleteCloudGtmInstanceConfigResponse deleteCloudGtmInstanceConfig(DeleteCloudGtmInstanceConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteCloudGtmInstanceConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes a health check template.</p> * * @param request DeleteCloudGtmMonitorTemplateRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteCloudGtmMonitorTemplateResponse */ public DeleteCloudGtmMonitorTemplateResponse deleteCloudGtmMonitorTemplateWithOptions(DeleteCloudGtmMonitorTemplateRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.templateId)) { query.put("TemplateId", request.templateId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteCloudGtmMonitorTemplate"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteCloudGtmMonitorTemplateResponse()); } /** * <b>summary</b> : * <p>Deletes a health check template.</p> * * @param request DeleteCloudGtmMonitorTemplateRequest * @return DeleteCloudGtmMonitorTemplateResponse */ public DeleteCloudGtmMonitorTemplateResponse deleteCloudGtmMonitorTemplate(DeleteCloudGtmMonitorTemplateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteCloudGtmMonitorTemplateWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes custom lines at a time by using the unique IDs.</p> * * @param request DeleteCustomLinesRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteCustomLinesResponse */ public DeleteCustomLinesResponse deleteCustomLinesWithOptions(DeleteCustomLinesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lineIds)) { query.put("LineIds", request.lineIds); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteCustomLines"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteCustomLinesResponse()); } /** * <b>summary</b> : * <p>Deletes custom lines at a time by using the unique IDs.</p> * * @param request DeleteCustomLinesRequest * @return DeleteCustomLinesResponse */ public DeleteCustomLinesResponse deleteCustomLines(DeleteCustomLinesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteCustomLinesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes a specified cache-accelerated domain name.</p> * * @param request DeleteDnsCacheDomainRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteDnsCacheDomainResponse */ public DeleteDnsCacheDomainResponse deleteDnsCacheDomainWithOptions(DeleteDnsCacheDomainRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteDnsCacheDomain"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteDnsCacheDomainResponse()); } /** * <b>summary</b> : * <p>Deletes a specified cache-accelerated domain name.</p> * * @param request DeleteDnsCacheDomainRequest * @return DeleteDnsCacheDomainResponse */ public DeleteDnsCacheDomainResponse deleteDnsCacheDomain(DeleteDnsCacheDomainRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteDnsCacheDomainWithOptions(request, runtime); } /** * @param request DeleteDnsGtmAccessStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteDnsGtmAccessStrategyResponse */ public DeleteDnsGtmAccessStrategyResponse deleteDnsGtmAccessStrategyWithOptions(DeleteDnsGtmAccessStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyId)) { query.put("StrategyId", request.strategyId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteDnsGtmAccessStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteDnsGtmAccessStrategyResponse()); } /** * @param request DeleteDnsGtmAccessStrategyRequest * @return DeleteDnsGtmAccessStrategyResponse */ public DeleteDnsGtmAccessStrategyResponse deleteDnsGtmAccessStrategy(DeleteDnsGtmAccessStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteDnsGtmAccessStrategyWithOptions(request, runtime); } /** * @param request DeleteDnsGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteDnsGtmAddressPoolResponse */ public DeleteDnsGtmAddressPoolResponse deleteDnsGtmAddressPoolWithOptions(DeleteDnsGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addrPoolId)) { query.put("AddrPoolId", request.addrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteDnsGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteDnsGtmAddressPoolResponse()); } /** * @param request DeleteDnsGtmAddressPoolRequest * @return DeleteDnsGtmAddressPoolResponse */ public DeleteDnsGtmAddressPoolResponse deleteDnsGtmAddressPool(DeleteDnsGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteDnsGtmAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes a domain name based on the specified parameters.</p> * * @param request DeleteDomainRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteDomainResponse */ public DeleteDomainResponse deleteDomainWithOptions(DeleteDomainRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteDomain"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteDomainResponse()); } /** * <b>summary</b> : * <p>Deletes a domain name based on the specified parameters.</p> * * @param request DeleteDomainRequest * @return DeleteDomainResponse */ public DeleteDomainResponse deleteDomain(DeleteDomainRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteDomainWithOptions(request, runtime); } /** * <b>description</b> : * <blockquote> * <p> The default group cannot be deleted.</p> * </blockquote> * * <b>summary</b> : * <p>Deletes a domain name group. After you delete the domain name group, the domain names in the group are moved to the default group.</p> * * @param request DeleteDomainGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteDomainGroupResponse */ public DeleteDomainGroupResponse deleteDomainGroupWithOptions(DeleteDomainGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.groupId)) { query.put("GroupId", request.groupId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteDomainGroup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteDomainGroupResponse()); } /** * <b>description</b> : * <blockquote> * <p> The default group cannot be deleted.</p> * </blockquote> * * <b>summary</b> : * <p>Deletes a domain name group. After you delete the domain name group, the domain names in the group are moved to the default group.</p> * * @param request DeleteDomainGroupRequest * @return DeleteDomainGroupResponse */ public DeleteDomainGroupResponse deleteDomainGroup(DeleteDomainGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteDomainGroupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Deletes an Alibaba Cloud DNS (DNS) record based on the specified parameters.</p> * * @param request DeleteDomainRecordRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteDomainRecordResponse */ public DeleteDomainRecordResponse deleteDomainRecordWithOptions(DeleteDomainRecordRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteDomainRecord"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteDomainRecordResponse()); } /** * <b>summary</b> : * <p>Deletes an Alibaba Cloud DNS (DNS) record based on the specified parameters.</p> * * @param request DeleteDomainRecordRequest * @return DeleteDomainRecordResponse */ public DeleteDomainRecordResponse deleteDomainRecord(DeleteDomainRecordRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteDomainRecordWithOptions(request, runtime); } /** * @param request DeleteGtmAccessStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteGtmAccessStrategyResponse */ public DeleteGtmAccessStrategyResponse deleteGtmAccessStrategyWithOptions(DeleteGtmAccessStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyId)) { query.put("StrategyId", request.strategyId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteGtmAccessStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteGtmAccessStrategyResponse()); } /** * @param request DeleteGtmAccessStrategyRequest * @return DeleteGtmAccessStrategyResponse */ public DeleteGtmAccessStrategyResponse deleteGtmAccessStrategy(DeleteGtmAccessStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteGtmAccessStrategyWithOptions(request, runtime); } /** * @param request DeleteGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteGtmAddressPoolResponse */ public DeleteGtmAddressPoolResponse deleteGtmAddressPoolWithOptions(DeleteGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addrPoolId)) { query.put("AddrPoolId", request.addrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteGtmAddressPoolResponse()); } /** * @param request DeleteGtmAddressPoolRequest * @return DeleteGtmAddressPoolResponse */ public DeleteGtmAddressPoolResponse deleteGtmAddressPool(DeleteGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteGtmAddressPoolWithOptions(request, runtime); } /** * @param request DeleteGtmRecoveryPlanRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteGtmRecoveryPlanResponse */ public DeleteGtmRecoveryPlanResponse deleteGtmRecoveryPlanWithOptions(DeleteGtmRecoveryPlanRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recoveryPlanId)) { query.put("RecoveryPlanId", request.recoveryPlanId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteGtmRecoveryPlan"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteGtmRecoveryPlanResponse()); } /** * @param request DeleteGtmRecoveryPlanRequest * @return DeleteGtmRecoveryPlanResponse */ public DeleteGtmRecoveryPlanResponse deleteGtmRecoveryPlan(DeleteGtmRecoveryPlanRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteGtmRecoveryPlanWithOptions(request, runtime); } /** * <b>summary</b> : * <p>删除递归解析内置权威解析记录</p> * * @param request DeleteRecursionRecordRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteRecursionRecordResponse */ public DeleteRecursionRecordResponse deleteRecursionRecordWithOptions(DeleteRecursionRecordRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteRecursionRecord"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteRecursionRecordResponse()); } /** * <b>summary</b> : * <p>删除递归解析内置权威解析记录</p> * * @param request DeleteRecursionRecordRequest * @return DeleteRecursionRecordResponse */ public DeleteRecursionRecordResponse deleteRecursionRecord(DeleteRecursionRecordRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteRecursionRecordWithOptions(request, runtime); } /** * <b>summary</b> : * <p>删除递归解析内置权威域名zone</p> * * @param request DeleteRecursionZoneRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteRecursionZoneResponse */ public DeleteRecursionZoneResponse deleteRecursionZoneWithOptions(DeleteRecursionZoneRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteRecursionZone"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteRecursionZoneResponse()); } /** * <b>summary</b> : * <p>删除递归解析内置权威域名zone</p> * * @param request DeleteRecursionZoneRequest * @return DeleteRecursionZoneResponse */ public DeleteRecursionZoneResponse deleteRecursionZone(DeleteRecursionZoneRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteRecursionZoneWithOptions(request, runtime); } /** * <b>description</b> : * <p>If the DNS records to be deleted contain locked DNS records, the locked DNS records will not be deleted.</p> * * <b>summary</b> : * <p>Deletes the DNS records that are corresponding to a hostname based on the specified parameters.</p> * * @param request DeleteSubDomainRecordsRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteSubDomainRecordsResponse */ public DeleteSubDomainRecordsResponse deleteSubDomainRecordsWithOptions(DeleteSubDomainRecordsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.RR)) { query.put("RR", request.RR); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteSubDomainRecords"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteSubDomainRecordsResponse()); } /** * <b>description</b> : * <p>If the DNS records to be deleted contain locked DNS records, the locked DNS records will not be deleted.</p> * * <b>summary</b> : * <p>Deletes the DNS records that are corresponding to a hostname based on the specified parameters.</p> * * @param request DeleteSubDomainRecordsRequest * @return DeleteSubDomainRecordsResponse */ public DeleteSubDomainRecordsResponse deleteSubDomainRecords(DeleteSubDomainRecordsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteSubDomainRecordsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the execution result of a batch operation task based on the task ID. If you do not specify task ID, the execution result of the last batch operation task is returned.</p> * * @param request DescribeBatchResultCountRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeBatchResultCountResponse */ public DescribeBatchResultCountResponse describeBatchResultCountWithOptions(DescribeBatchResultCountRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.batchType)) { query.put("BatchType", request.batchType); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.taskId)) { query.put("TaskId", request.taskId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeBatchResultCount"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeBatchResultCountResponse()); } /** * <b>summary</b> : * <p>Queries the execution result of a batch operation task based on the task ID. If you do not specify task ID, the execution result of the last batch operation task is returned.</p> * * @param request DescribeBatchResultCountRequest * @return DescribeBatchResultCountResponse */ public DescribeBatchResultCountResponse describeBatchResultCount(DescribeBatchResultCountRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeBatchResultCountWithOptions(request, runtime); } /** * <b>description</b> : * <p>Before you call this operation, make sure that the batch operation task is complete.</p> * * <b>summary</b> : * <p>Queries the detailed results of a batch operation task.</p> * * @param request DescribeBatchResultDetailRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeBatchResultDetailResponse */ public DescribeBatchResultDetailResponse describeBatchResultDetailWithOptions(DescribeBatchResultDetailRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.batchType)) { query.put("BatchType", request.batchType); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.status)) { query.put("Status", request.status); } if (!com.aliyun.teautil.Common.isUnset(request.taskId)) { query.put("TaskId", request.taskId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeBatchResultDetail"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeBatchResultDetailResponse()); } /** * <b>description</b> : * <p>Before you call this operation, make sure that the batch operation task is complete.</p> * * <b>summary</b> : * <p>Queries the detailed results of a batch operation task.</p> * * @param request DescribeBatchResultDetailRequest * @return DescribeBatchResultDetailResponse */ public DescribeBatchResultDetailResponse describeBatchResultDetail(DescribeBatchResultDetailRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeBatchResultDetailWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the configurations of an address.</p> * * @param request DescribeCloudGtmAddressRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmAddressResponse */ public DescribeCloudGtmAddressResponse describeCloudGtmAddressWithOptions(DescribeCloudGtmAddressRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmAddress"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmAddressResponse()); } /** * <b>summary</b> : * <p>Queries the configurations of an address.</p> * * @param request DescribeCloudGtmAddressRequest * @return DescribeCloudGtmAddressResponse */ public DescribeCloudGtmAddressResponse describeCloudGtmAddress(DescribeCloudGtmAddressRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmAddressWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the configurations of an address pool.</p> * * @param request DescribeCloudGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmAddressPoolResponse */ public DescribeCloudGtmAddressPoolResponse describeCloudGtmAddressPoolWithOptions(DescribeCloudGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolId)) { query.put("AddressPoolId", request.addressPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmAddressPoolResponse()); } /** * <b>summary</b> : * <p>Queries the configurations of an address pool.</p> * * @param request DescribeCloudGtmAddressPoolRequest * @return DescribeCloudGtmAddressPoolResponse */ public DescribeCloudGtmAddressPoolResponse describeCloudGtmAddressPool(DescribeCloudGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the information about the access domain names that reference an address pool.</p> * * @param request DescribeCloudGtmAddressPoolReferenceRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmAddressPoolReferenceResponse */ public DescribeCloudGtmAddressPoolReferenceResponse describeCloudGtmAddressPoolReferenceWithOptions(DescribeCloudGtmAddressPoolReferenceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolId)) { query.put("AddressPoolId", request.addressPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmAddressPoolReference"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmAddressPoolReferenceResponse()); } /** * <b>summary</b> : * <p>Queries the information about the access domain names that reference an address pool.</p> * * @param request DescribeCloudGtmAddressPoolReferenceRequest * @return DescribeCloudGtmAddressPoolReferenceResponse */ public DescribeCloudGtmAddressPoolReferenceResponse describeCloudGtmAddressPoolReference(DescribeCloudGtmAddressPoolReferenceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmAddressPoolReferenceWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the information about the address pools and Global Traffic Manager (GTM) 3.0 instances that reference an address.</p> * * @param request DescribeCloudGtmAddressReferenceRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmAddressReferenceResponse */ public DescribeCloudGtmAddressReferenceResponse describeCloudGtmAddressReferenceWithOptions(DescribeCloudGtmAddressReferenceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmAddressReference"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmAddressReferenceResponse()); } /** * <b>summary</b> : * <p>Queries the information about the address pools and Global Traffic Manager (GTM) 3.0 instances that reference an address.</p> * * @param request DescribeCloudGtmAddressReferenceRequest * @return DescribeCloudGtmAddressReferenceResponse */ public DescribeCloudGtmAddressReferenceResponse describeCloudGtmAddressReference(DescribeCloudGtmAddressReferenceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmAddressReferenceWithOptions(request, runtime); } /** * @param request DescribeCloudGtmGlobalAlertRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmGlobalAlertResponse */ public DescribeCloudGtmGlobalAlertResponse describeCloudGtmGlobalAlertWithOptions(DescribeCloudGtmGlobalAlertRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmGlobalAlert"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmGlobalAlertResponse()); } /** * @param request DescribeCloudGtmGlobalAlertRequest * @return DescribeCloudGtmGlobalAlertResponse */ public DescribeCloudGtmGlobalAlertResponse describeCloudGtmGlobalAlert(DescribeCloudGtmGlobalAlertRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmGlobalAlertWithOptions(request, runtime); } /** * @param request DescribeCloudGtmInstanceConfigAlertRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmInstanceConfigAlertResponse */ public DescribeCloudGtmInstanceConfigAlertResponse describeCloudGtmInstanceConfigAlertWithOptions(DescribeCloudGtmInstanceConfigAlertRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmInstanceConfigAlert"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmInstanceConfigAlertResponse()); } /** * @param request DescribeCloudGtmInstanceConfigAlertRequest * @return DescribeCloudGtmInstanceConfigAlertResponse */ public DescribeCloudGtmInstanceConfigAlertResponse describeCloudGtmInstanceConfigAlert(DescribeCloudGtmInstanceConfigAlertRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmInstanceConfigAlertWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the complete configuration information about a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeCloudGtmInstanceConfigFullInfoRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmInstanceConfigFullInfoResponse */ public DescribeCloudGtmInstanceConfigFullInfoResponse describeCloudGtmInstanceConfigFullInfoWithOptions(DescribeCloudGtmInstanceConfigFullInfoRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmInstanceConfigFullInfo"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmInstanceConfigFullInfoResponse()); } /** * <b>summary</b> : * <p>Queries the complete configuration information about a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeCloudGtmInstanceConfigFullInfoRequest * @return DescribeCloudGtmInstanceConfigFullInfoResponse */ public DescribeCloudGtmInstanceConfigFullInfoResponse describeCloudGtmInstanceConfigFullInfo(DescribeCloudGtmInstanceConfigFullInfoRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmInstanceConfigFullInfoWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the configurations of a health check template.</p> * * @param request DescribeCloudGtmMonitorTemplateRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmMonitorTemplateResponse */ public DescribeCloudGtmMonitorTemplateResponse describeCloudGtmMonitorTemplateWithOptions(DescribeCloudGtmMonitorTemplateRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.templateId)) { query.put("TemplateId", request.templateId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmMonitorTemplate"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmMonitorTemplateResponse()); } /** * <b>summary</b> : * <p>Queries the configurations of a health check template.</p> * * @param request DescribeCloudGtmMonitorTemplateRequest * @return DescribeCloudGtmMonitorTemplateResponse */ public DescribeCloudGtmMonitorTemplateResponse describeCloudGtmMonitorTemplate(DescribeCloudGtmMonitorTemplateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmMonitorTemplateWithOptions(request, runtime); } /** * @param request DescribeCloudGtmSummaryRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmSummaryResponse */ public DescribeCloudGtmSummaryResponse describeCloudGtmSummaryWithOptions(DescribeCloudGtmSummaryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmSummary"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmSummaryResponse()); } /** * @param request DescribeCloudGtmSummaryRequest * @return DescribeCloudGtmSummaryResponse */ public DescribeCloudGtmSummaryResponse describeCloudGtmSummary(DescribeCloudGtmSummaryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmSummaryWithOptions(request, runtime); } /** * @param request DescribeCloudGtmSystemLinesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCloudGtmSystemLinesResponse */ public DescribeCloudGtmSystemLinesResponse describeCloudGtmSystemLinesWithOptions(com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teaopenapi.models.OpenApiRequest req = new com.aliyun.teaopenapi.models.OpenApiRequest(); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCloudGtmSystemLines"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCloudGtmSystemLinesResponse()); } /** * @return DescribeCloudGtmSystemLinesResponse */ public DescribeCloudGtmSystemLinesResponse describeCloudGtmSystemLines() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCloudGtmSystemLinesWithOptions(runtime); } /** * <b>summary</b> : * <p>Queries the details of a custom line by its unique ID.</p> * * @param request DescribeCustomLineRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCustomLineResponse */ public DescribeCustomLineResponse describeCustomLineWithOptions(DescribeCustomLineRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lineId)) { query.put("LineId", request.lineId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCustomLine"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCustomLineResponse()); } /** * <b>summary</b> : * <p>Queries the details of a custom line by its unique ID.</p> * * @param request DescribeCustomLineRequest * @return DescribeCustomLineResponse */ public DescribeCustomLineResponse describeCustomLine(DescribeCustomLineRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCustomLineWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries custom lines by domain name.</p> * * @param request DescribeCustomLinesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeCustomLinesResponse */ public DescribeCustomLinesResponse describeCustomLinesWithOptions(DescribeCustomLinesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeCustomLines"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeCustomLinesResponse()); } /** * <b>summary</b> : * <p>Queries custom lines by domain name.</p> * * @param request DescribeCustomLinesRequest * @return DescribeCustomLinesResponse */ public DescribeCustomLinesResponse describeCustomLines(DescribeCustomLinesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeCustomLinesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the subdomains for which weighted round-robin is enabled based on the specified parameters.</p> * * @param request DescribeDNSSLBSubDomainsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDNSSLBSubDomainsResponse */ public DescribeDNSSLBSubDomainsResponse describeDNSSLBSubDomainsWithOptions(DescribeDNSSLBSubDomainsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.rr)) { query.put("Rr", request.rr); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDNSSLBSubDomains"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDNSSLBSubDomainsResponse()); } /** * <b>summary</b> : * <p>Queries the subdomains for which weighted round-robin is enabled based on the specified parameters.</p> * * @param request DescribeDNSSLBSubDomainsRequest * @return DescribeDNSSLBSubDomainsResponse */ public DescribeDNSSLBSubDomainsResponse describeDNSSLBSubDomains(DescribeDNSSLBSubDomainsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDNSSLBSubDomainsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询代理域名</p> * * @param request DescribeDnsCacheDomainsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsCacheDomainsResponse */ public DescribeDnsCacheDomainsResponse describeDnsCacheDomainsWithOptions(DescribeDnsCacheDomainsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsCacheDomains"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsCacheDomainsResponse()); } /** * <b>summary</b> : * <p>查询代理域名</p> * * @param request DescribeDnsCacheDomainsRequest * @return DescribeDnsCacheDomainsResponse */ public DescribeDnsCacheDomainsResponse describeDnsCacheDomains(DescribeDnsCacheDomainsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsCacheDomainsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries access policies of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmAccessStrategiesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmAccessStrategiesResponse */ public DescribeDnsGtmAccessStrategiesResponse describeDnsGtmAccessStrategiesWithOptions(DescribeDnsGtmAccessStrategiesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.strategyMode)) { query.put("StrategyMode", request.strategyMode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmAccessStrategies"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmAccessStrategiesResponse()); } /** * <b>summary</b> : * <p>Queries access policies of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmAccessStrategiesRequest * @return DescribeDnsGtmAccessStrategiesResponse */ public DescribeDnsGtmAccessStrategiesResponse describeDnsGtmAccessStrategies(DescribeDnsGtmAccessStrategiesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmAccessStrategiesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries detailed information about an access policy of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmAccessStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmAccessStrategyResponse */ public DescribeDnsGtmAccessStrategyResponse describeDnsGtmAccessStrategyWithOptions(DescribeDnsGtmAccessStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyId)) { query.put("StrategyId", request.strategyId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmAccessStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmAccessStrategyResponse()); } /** * <b>summary</b> : * <p>Queries detailed information about an access policy of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmAccessStrategyRequest * @return DescribeDnsGtmAccessStrategyResponse */ public DescribeDnsGtmAccessStrategyResponse describeDnsGtmAccessStrategy(DescribeDnsGtmAccessStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmAccessStrategyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the available configurations of an access policy of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmAccessStrategyAvailableConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmAccessStrategyAvailableConfigResponse */ public DescribeDnsGtmAccessStrategyAvailableConfigResponse describeDnsGtmAccessStrategyAvailableConfigWithOptions(DescribeDnsGtmAccessStrategyAvailableConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyMode)) { query.put("StrategyMode", request.strategyMode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmAccessStrategyAvailableConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmAccessStrategyAvailableConfigResponse()); } /** * <b>summary</b> : * <p>Queries the available configurations of an access policy of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmAccessStrategyAvailableConfigRequest * @return DescribeDnsGtmAccessStrategyAvailableConfigResponse */ public DescribeDnsGtmAccessStrategyAvailableConfigResponse describeDnsGtmAccessStrategyAvailableConfig(DescribeDnsGtmAccessStrategyAvailableConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmAccessStrategyAvailableConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the source regions of addresses.</p> * * @param request DescribeDnsGtmAddrAttributeInfoRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmAddrAttributeInfoResponse */ public DescribeDnsGtmAddrAttributeInfoResponse describeDnsGtmAddrAttributeInfoWithOptions(DescribeDnsGtmAddrAttributeInfoRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addrs)) { query.put("Addrs", request.addrs); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmAddrAttributeInfo"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmAddrAttributeInfoResponse()); } /** * <b>summary</b> : * <p>Queries the source regions of addresses.</p> * * @param request DescribeDnsGtmAddrAttributeInfoRequest * @return DescribeDnsGtmAddrAttributeInfoResponse */ public DescribeDnsGtmAddrAttributeInfoResponse describeDnsGtmAddrAttributeInfo(DescribeDnsGtmAddrAttributeInfoRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmAddrAttributeInfoWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the available configurations of an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmAddressPoolAvailableConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmAddressPoolAvailableConfigResponse */ public DescribeDnsGtmAddressPoolAvailableConfigResponse describeDnsGtmAddressPoolAvailableConfigWithOptions(DescribeDnsGtmAddressPoolAvailableConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmAddressPoolAvailableConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmAddressPoolAvailableConfigResponse()); } /** * <b>summary</b> : * <p>Queries the available configurations of an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmAddressPoolAvailableConfigRequest * @return DescribeDnsGtmAddressPoolAvailableConfigResponse */ public DescribeDnsGtmAddressPoolAvailableConfigResponse describeDnsGtmAddressPoolAvailableConfig(DescribeDnsGtmAddressPoolAvailableConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmAddressPoolAvailableConfigWithOptions(request, runtime); } /** * @param request DescribeDnsGtmAvailableAlertGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmAvailableAlertGroupResponse */ public DescribeDnsGtmAvailableAlertGroupResponse describeDnsGtmAvailableAlertGroupWithOptions(DescribeDnsGtmAvailableAlertGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmAvailableAlertGroup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmAvailableAlertGroupResponse()); } /** * @param request DescribeDnsGtmAvailableAlertGroupRequest * @return DescribeDnsGtmAvailableAlertGroupResponse */ public DescribeDnsGtmAvailableAlertGroupResponse describeDnsGtmAvailableAlertGroup(DescribeDnsGtmAvailableAlertGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmAvailableAlertGroupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries detailed information about a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmInstanceResponse */ public DescribeDnsGtmInstanceResponse describeDnsGtmInstanceWithOptions(DescribeDnsGtmInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmInstance"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmInstanceResponse()); } /** * <b>summary</b> : * <p>Queries detailed information about a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceRequest * @return DescribeDnsGtmInstanceResponse */ public DescribeDnsGtmInstanceResponse describeDnsGtmInstance(DescribeDnsGtmInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmInstanceWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries detailed information about an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmInstanceAddressPoolResponse */ public DescribeDnsGtmInstanceAddressPoolResponse describeDnsGtmInstanceAddressPoolWithOptions(DescribeDnsGtmInstanceAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addrPoolId)) { query.put("AddrPoolId", request.addrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmInstanceAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmInstanceAddressPoolResponse()); } /** * <b>summary</b> : * <p>Queries detailed information about an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceAddressPoolRequest * @return DescribeDnsGtmInstanceAddressPoolResponse */ public DescribeDnsGtmInstanceAddressPoolResponse describeDnsGtmInstanceAddressPool(DescribeDnsGtmInstanceAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmInstanceAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the address pools of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceAddressPoolsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmInstanceAddressPoolsResponse */ public DescribeDnsGtmInstanceAddressPoolsResponse describeDnsGtmInstanceAddressPoolsWithOptions(DescribeDnsGtmInstanceAddressPoolsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmInstanceAddressPools"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmInstanceAddressPoolsResponse()); } /** * <b>summary</b> : * <p>Queries the address pools of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceAddressPoolsRequest * @return DescribeDnsGtmInstanceAddressPoolsResponse */ public DescribeDnsGtmInstanceAddressPoolsResponse describeDnsGtmInstanceAddressPools(DescribeDnsGtmInstanceAddressPoolsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmInstanceAddressPoolsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the status of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmInstanceStatusResponse */ public DescribeDnsGtmInstanceStatusResponse describeDnsGtmInstanceStatusWithOptions(DescribeDnsGtmInstanceStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmInstanceStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmInstanceStatusResponse()); } /** * <b>summary</b> : * <p>Queries the status of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceStatusRequest * @return DescribeDnsGtmInstanceStatusResponse */ public DescribeDnsGtmInstanceStatusResponse describeDnsGtmInstanceStatus(DescribeDnsGtmInstanceStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmInstanceStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the CNAME domain name assigned by the system for a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceSystemCnameRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmInstanceSystemCnameResponse */ public DescribeDnsGtmInstanceSystemCnameResponse describeDnsGtmInstanceSystemCnameWithOptions(DescribeDnsGtmInstanceSystemCnameRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmInstanceSystemCname"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmInstanceSystemCnameResponse()); } /** * <b>summary</b> : * <p>Queries the CNAME domain name assigned by the system for a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmInstanceSystemCnameRequest * @return DescribeDnsGtmInstanceSystemCnameResponse */ public DescribeDnsGtmInstanceSystemCnameResponse describeDnsGtmInstanceSystemCname(DescribeDnsGtmInstanceSystemCnameRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmInstanceSystemCnameWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of instances.</p> * * @param request DescribeDnsGtmInstancesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmInstancesResponse */ public DescribeDnsGtmInstancesResponse describeDnsGtmInstancesWithOptions(DescribeDnsGtmInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmInstances"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmInstancesResponse()); } /** * <b>summary</b> : * <p>Queries a list of instances.</p> * * @param request DescribeDnsGtmInstancesRequest * @return DescribeDnsGtmInstancesResponse */ public DescribeDnsGtmInstancesResponse describeDnsGtmInstances(DescribeDnsGtmInstancesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmInstancesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries operation logs of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmLogsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmLogsResponse */ public DescribeDnsGtmLogsResponse describeDnsGtmLogsWithOptions(DescribeDnsGtmLogsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endTimestamp)) { query.put("EndTimestamp", request.endTimestamp); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startTimestamp)) { query.put("StartTimestamp", request.startTimestamp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmLogs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmLogsResponse()); } /** * <b>summary</b> : * <p>Queries operation logs of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeDnsGtmLogsRequest * @return DescribeDnsGtmLogsResponse */ public DescribeDnsGtmLogsResponse describeDnsGtmLogs(DescribeDnsGtmLogsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmLogsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the configuration items that can be set for a health check task.</p> * * @param request DescribeDnsGtmMonitorAvailableConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmMonitorAvailableConfigResponse */ public DescribeDnsGtmMonitorAvailableConfigResponse describeDnsGtmMonitorAvailableConfigWithOptions(DescribeDnsGtmMonitorAvailableConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmMonitorAvailableConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmMonitorAvailableConfigResponse()); } /** * <b>summary</b> : * <p>Queries the configuration items that can be set for a health check task.</p> * * @param request DescribeDnsGtmMonitorAvailableConfigRequest * @return DescribeDnsGtmMonitorAvailableConfigResponse */ public DescribeDnsGtmMonitorAvailableConfigResponse describeDnsGtmMonitorAvailableConfig(DescribeDnsGtmMonitorAvailableConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmMonitorAvailableConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the health check configuration of an address pool.</p> * * @param request DescribeDnsGtmMonitorConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsGtmMonitorConfigResponse */ public DescribeDnsGtmMonitorConfigResponse describeDnsGtmMonitorConfigWithOptions(DescribeDnsGtmMonitorConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.monitorConfigId)) { query.put("MonitorConfigId", request.monitorConfigId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsGtmMonitorConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsGtmMonitorConfigResponse()); } /** * <b>summary</b> : * <p>Queries the health check configuration of an address pool.</p> * * @param request DescribeDnsGtmMonitorConfigRequest * @return DescribeDnsGtmMonitorConfigResponse */ public DescribeDnsGtmMonitorConfigResponse describeDnsGtmMonitorConfig(DescribeDnsGtmMonitorConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsGtmMonitorConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the details about a paid Alibaba Cloud DNS instance based on the instance ID.</p> * * @param request DescribeDnsProductInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsProductInstanceResponse */ public DescribeDnsProductInstanceResponse describeDnsProductInstanceWithOptions(DescribeDnsProductInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsProductInstance"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsProductInstanceResponse()); } /** * <b>summary</b> : * <p>Queries the details about a paid Alibaba Cloud DNS instance based on the instance ID.</p> * * @param request DescribeDnsProductInstanceRequest * @return DescribeDnsProductInstanceResponse */ public DescribeDnsProductInstanceResponse describeDnsProductInstance(DescribeDnsProductInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsProductInstanceWithOptions(request, runtime); } /** * <b>description</b> : * <blockquote> * <p> If the response parameters of an Alibaba Cloud DNS instance do not contain domain names, no domain names are bound to the instance.</p> * </blockquote> * * <b>summary</b> : * <p>Calls the DescribeDnsProductInstances operation to query the list of paid Alibaba Cloud DNS instances based on input parameters.</p> * * @param request DescribeDnsProductInstancesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDnsProductInstancesResponse */ public DescribeDnsProductInstancesResponse describeDnsProductInstancesWithOptions(DescribeDnsProductInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.domainType)) { query.put("DomainType", request.domainType); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.orderBy)) { query.put("OrderBy", request.orderBy); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } if (!com.aliyun.teautil.Common.isUnset(request.versionCode)) { query.put("VersionCode", request.versionCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDnsProductInstances"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDnsProductInstancesResponse()); } /** * <b>description</b> : * <blockquote> * <p> If the response parameters of an Alibaba Cloud DNS instance do not contain domain names, no domain names are bound to the instance.</p> * </blockquote> * * <b>summary</b> : * <p>Calls the DescribeDnsProductInstances operation to query the list of paid Alibaba Cloud DNS instances based on input parameters.</p> * * @param request DescribeDnsProductInstancesRequest * @return DescribeDnsProductInstancesResponse */ public DescribeDnsProductInstancesResponse describeDnsProductInstances(DescribeDnsProductInstancesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDnsProductInstancesWithOptions(request, runtime); } /** * @param request DescribeDohAccountStatisticsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDohAccountStatisticsResponse */ public DescribeDohAccountStatisticsResponse describeDohAccountStatisticsWithOptions(DescribeDohAccountStatisticsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDohAccountStatistics"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDohAccountStatisticsResponse()); } /** * @param request DescribeDohAccountStatisticsRequest * @return DescribeDohAccountStatisticsResponse */ public DescribeDohAccountStatisticsResponse describeDohAccountStatistics(DescribeDohAccountStatisticsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDohAccountStatisticsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询DOH域名请求量数据</p> * * @param request DescribeDohDomainStatisticsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDohDomainStatisticsResponse */ public DescribeDohDomainStatisticsResponse describeDohDomainStatisticsWithOptions(DescribeDohDomainStatisticsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDohDomainStatistics"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDohDomainStatisticsResponse()); } /** * <b>summary</b> : * <p>查询DOH域名请求量数据</p> * * @param request DescribeDohDomainStatisticsRequest * @return DescribeDohDomainStatisticsResponse */ public DescribeDohDomainStatisticsResponse describeDohDomainStatistics(DescribeDohDomainStatisticsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDohDomainStatisticsWithOptions(request, runtime); } /** * @param request DescribeDohDomainStatisticsSummaryRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDohDomainStatisticsSummaryResponse */ public DescribeDohDomainStatisticsSummaryResponse describeDohDomainStatisticsSummaryWithOptions(DescribeDohDomainStatisticsSummaryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDohDomainStatisticsSummary"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDohDomainStatisticsSummaryResponse()); } /** * @param request DescribeDohDomainStatisticsSummaryRequest * @return DescribeDohDomainStatisticsSummaryResponse */ public DescribeDohDomainStatisticsSummaryResponse describeDohDomainStatisticsSummary(DescribeDohDomainStatisticsSummaryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDohDomainStatisticsSummaryWithOptions(request, runtime); } /** * @param request DescribeDohSubDomainStatisticsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDohSubDomainStatisticsResponse */ public DescribeDohSubDomainStatisticsResponse describeDohSubDomainStatisticsWithOptions(DescribeDohSubDomainStatisticsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.subDomain)) { query.put("SubDomain", request.subDomain); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDohSubDomainStatistics"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDohSubDomainStatisticsResponse()); } /** * @param request DescribeDohSubDomainStatisticsRequest * @return DescribeDohSubDomainStatisticsResponse */ public DescribeDohSubDomainStatisticsResponse describeDohSubDomainStatistics(DescribeDohSubDomainStatisticsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDohSubDomainStatisticsWithOptions(request, runtime); } /** * @param request DescribeDohSubDomainStatisticsSummaryRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDohSubDomainStatisticsSummaryResponse */ public DescribeDohSubDomainStatisticsSummaryResponse describeDohSubDomainStatisticsSummaryWithOptions(DescribeDohSubDomainStatisticsSummaryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.subDomain)) { query.put("SubDomain", request.subDomain); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDohSubDomainStatisticsSummary"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDohSubDomainStatisticsSummaryResponse()); } /** * @param request DescribeDohSubDomainStatisticsSummaryRequest * @return DescribeDohSubDomainStatisticsSummaryResponse */ public DescribeDohSubDomainStatisticsSummaryResponse describeDohSubDomainStatisticsSummary(DescribeDohSubDomainStatisticsSummaryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDohSubDomainStatisticsSummaryWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the numbers of accessed domains and subdomains by using DNS over HTTPS (DoH).</p> * * @param request DescribeDohUserInfoRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDohUserInfoResponse */ public DescribeDohUserInfoResponse describeDohUserInfoWithOptions(DescribeDohUserInfoRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDohUserInfo"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDohUserInfoResponse()); } /** * <b>summary</b> : * <p>Queries the numbers of accessed domains and subdomains by using DNS over HTTPS (DoH).</p> * * @param request DescribeDohUserInfoRequest * @return DescribeDohUserInfoResponse */ public DescribeDohUserInfoResponse describeDohUserInfo(DescribeDohUserInfoRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDohUserInfoWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the Domain Name System Security Extensions (DNSSEC) configurations of a domain name based on the specified parameters.</p> * * @param request DescribeDomainDnssecInfoRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainDnssecInfoResponse */ public DescribeDomainDnssecInfoResponse describeDomainDnssecInfoWithOptions(DescribeDomainDnssecInfoRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainDnssecInfo"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainDnssecInfoResponse()); } /** * <b>summary</b> : * <p>Queries the Domain Name System Security Extensions (DNSSEC) configurations of a domain name based on the specified parameters.</p> * * @param request DescribeDomainDnssecInfoRequest * @return DescribeDomainDnssecInfoResponse */ public DescribeDomainDnssecInfoResponse describeDomainDnssecInfo(DescribeDomainDnssecInfoRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainDnssecInfoWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries all domain name groups based on the specified parameters.</p> * * @param request DescribeDomainGroupsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainGroupsResponse */ public DescribeDomainGroupsResponse describeDomainGroupsWithOptions(DescribeDomainGroupsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.keyWord)) { query.put("KeyWord", request.keyWord); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainGroups"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainGroupsResponse()); } /** * <b>summary</b> : * <p>Queries all domain name groups based on the specified parameters.</p> * * @param request DescribeDomainGroupsRequest * @return DescribeDomainGroupsResponse */ public DescribeDomainGroupsResponse describeDomainGroups(DescribeDomainGroupsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainGroupsWithOptions(request, runtime); } /** * <b>description</b> : * <p>In this example, the domain name is bound to an instance of Alibaba Cloud DNS Enterprise Ultimate Edition. For more information about valid Domain Name System (DNS) request lines, see the return values of the RecordLines parameter.</p> * * <b>summary</b> : * <p>Queries the information about a domain name based on specified parameters.</p> * * @param request DescribeDomainInfoRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainInfoResponse */ public DescribeDomainInfoResponse describeDomainInfoWithOptions(DescribeDomainInfoRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.needDetailAttributes)) { query.put("NeedDetailAttributes", request.needDetailAttributes); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainInfo"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainInfoResponse()); } /** * <b>description</b> : * <p>In this example, the domain name is bound to an instance of Alibaba Cloud DNS Enterprise Ultimate Edition. For more information about valid Domain Name System (DNS) request lines, see the return values of the RecordLines parameter.</p> * * <b>summary</b> : * <p>Queries the information about a domain name based on specified parameters.</p> * * @param request DescribeDomainInfoRequest * @return DescribeDomainInfoResponse */ public DescribeDomainInfoResponse describeDomainInfo(DescribeDomainInfoRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainInfoWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the operation logs of domain names based on the specified parameters.</p> * * @param request DescribeDomainLogsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainLogsResponse */ public DescribeDomainLogsResponse describeDomainLogsWithOptions(DescribeDomainLogsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.groupId)) { query.put("GroupId", request.groupId); } if (!com.aliyun.teautil.Common.isUnset(request.keyWord)) { query.put("KeyWord", request.keyWord); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("endDate", request.endDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainLogs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainLogsResponse()); } /** * <b>summary</b> : * <p>Queries the operation logs of domain names based on the specified parameters.</p> * * @param request DescribeDomainLogsRequest * @return DescribeDomainLogsResponse */ public DescribeDomainLogsResponse describeDomainLogs(DescribeDomainLogsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainLogsWithOptions(request, runtime); } /** * <b>description</b> : * <blockquote> * <p> You can call this operation to query the authoritative servers of a domain name registry to obtain the name servers for a domain name. If the domain name is in an invalid state, such as serverHold or clientHold, an error may be returned.</p> * </blockquote> * * <b>summary</b> : * <p>Queries the name servers configured for a specified domain name and checks whether all the name servers are Alibaba Cloud Domain Name System (DNS) servers.</p> * * @param request DescribeDomainNsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainNsResponse */ public DescribeDomainNsResponse describeDomainNsWithOptions(DescribeDomainNsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainNs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainNsResponse()); } /** * <b>description</b> : * <blockquote> * <p> You can call this operation to query the authoritative servers of a domain name registry to obtain the name servers for a domain name. If the domain name is in an invalid state, such as serverHold or clientHold, an error may be returned.</p> * </blockquote> * * <b>summary</b> : * <p>Queries the name servers configured for a specified domain name and checks whether all the name servers are Alibaba Cloud Domain Name System (DNS) servers.</p> * * @param request DescribeDomainNsRequest * @return DescribeDomainNsResponse */ public DescribeDomainNsResponse describeDomainNs(DescribeDomainNsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainNsWithOptions(request, runtime); } /** * <b>description</b> : * <h2>Debugging</h2> * <p><a href="https://api.aliyun.com/#product=Alidns%5C&api=DescribeDomainRecordInfo%5C&type=RPC%5C&version=2015-01-09">OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.</a></p> * * <b>summary</b> : * <p>Queries the information about a Domain Name System (DNS) record by the ID of the DNS record.</p> * * @param request DescribeDomainRecordInfoRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainRecordInfoResponse */ public DescribeDomainRecordInfoResponse describeDomainRecordInfoWithOptions(DescribeDomainRecordInfoRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainRecordInfo"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainRecordInfoResponse()); } /** * <b>description</b> : * <h2>Debugging</h2> * <p><a href="https://api.aliyun.com/#product=Alidns%5C&api=DescribeDomainRecordInfo%5C&type=RPC%5C&version=2015-01-09">OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.</a></p> * * <b>summary</b> : * <p>Queries the information about a Domain Name System (DNS) record by the ID of the DNS record.</p> * * @param request DescribeDomainRecordInfoRequest * @return DescribeDomainRecordInfoResponse */ public DescribeDomainRecordInfoResponse describeDomainRecordInfo(DescribeDomainRecordInfoRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainRecordInfoWithOptions(request, runtime); } /** * <b>description</b> : * <p> You can specify DomainName, PageNumber, and PageSize to query the DNS records of the specified domain names.</p> * <ul> * <li>You can also specify RRKeyWord, TypeKeyWord, or ValueKeyWord to query the DNS records that contain the specified keyword.</li> * <li>By default, the DNS records are sorted in reverse chronological order based on the time when they were added.</li> * <li>You can specify GroupId to query the DNS records of the specified domain names based on the group ID. You can query the DNS records of all domain names and the domain names in the default group.</li> * </ul> * * <b>summary</b> : * <p>Queries all Domain Name System (DNS) records of the specified primary domain names based on the specified parameters.</p> * * @param request DescribeDomainRecordsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainRecordsResponse */ public DescribeDomainRecordsResponse describeDomainRecordsWithOptions(DescribeDomainRecordsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.groupId)) { query.put("GroupId", request.groupId); } if (!com.aliyun.teautil.Common.isUnset(request.keyWord)) { query.put("KeyWord", request.keyWord); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.line)) { query.put("Line", request.line); } if (!com.aliyun.teautil.Common.isUnset(request.orderBy)) { query.put("OrderBy", request.orderBy); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.RRKeyWord)) { query.put("RRKeyWord", request.RRKeyWord); } if (!com.aliyun.teautil.Common.isUnset(request.searchMode)) { query.put("SearchMode", request.searchMode); } if (!com.aliyun.teautil.Common.isUnset(request.status)) { query.put("Status", request.status); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.typeKeyWord)) { query.put("TypeKeyWord", request.typeKeyWord); } if (!com.aliyun.teautil.Common.isUnset(request.valueKeyWord)) { query.put("ValueKeyWord", request.valueKeyWord); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainRecords"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainRecordsResponse()); } /** * <b>description</b> : * <p> You can specify DomainName, PageNumber, and PageSize to query the DNS records of the specified domain names.</p> * <ul> * <li>You can also specify RRKeyWord, TypeKeyWord, or ValueKeyWord to query the DNS records that contain the specified keyword.</li> * <li>By default, the DNS records are sorted in reverse chronological order based on the time when they were added.</li> * <li>You can specify GroupId to query the DNS records of the specified domain names based on the group ID. You can query the DNS records of all domain names and the domain names in the default group.</li> * </ul> * * <b>summary</b> : * <p>Queries all Domain Name System (DNS) records of the specified primary domain names based on the specified parameters.</p> * * @param request DescribeDomainRecordsRequest * @return DescribeDomainRecordsResponse */ public DescribeDomainRecordsResponse describeDomainRecords(DescribeDomainRecordsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainRecordsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the resolution requests of all paid domain names within your account.</p> * * @param request DescribeDomainResolveStatisticsSummaryRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainResolveStatisticsSummaryResponse */ public DescribeDomainResolveStatisticsSummaryResponse describeDomainResolveStatisticsSummaryWithOptions(DescribeDomainResolveStatisticsSummaryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.searchMode)) { query.put("SearchMode", request.searchMode); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.threshold)) { query.put("Threshold", request.threshold); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainResolveStatisticsSummary"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainResolveStatisticsSummaryResponse()); } /** * <b>summary</b> : * <p>Queries the resolution requests of all paid domain names within your account.</p> * * @param request DescribeDomainResolveStatisticsSummaryRequest * @return DescribeDomainResolveStatisticsSummaryResponse */ public DescribeDomainResolveStatisticsSummaryResponse describeDomainResolveStatisticsSummary(DescribeDomainResolveStatisticsSummaryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainResolveStatisticsSummaryWithOptions(request, runtime); } /** * <b>description</b> : * <p>Real-time data is collected per hour.</p> * * <b>summary</b> : * <p>Queries the real-time statistics on the Domain Name System (DNS) requests for a primary domain name.</p> * * @param request DescribeDomainStatisticsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainStatisticsResponse */ public DescribeDomainStatisticsResponse describeDomainStatisticsWithOptions(DescribeDomainStatisticsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.domainType)) { query.put("DomainType", request.domainType); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainStatistics"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainStatisticsResponse()); } /** * <b>description</b> : * <p>Real-time data is collected per hour.</p> * * <b>summary</b> : * <p>Queries the real-time statistics on the Domain Name System (DNS) requests for a primary domain name.</p> * * @param request DescribeDomainStatisticsRequest * @return DescribeDomainStatisticsResponse */ public DescribeDomainStatisticsResponse describeDomainStatistics(DescribeDomainStatisticsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainStatisticsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Calls the DescribeDomainStatisticsSummary operation to obtain the query volume of all paid domain names under your account.</p> * * @param request DescribeDomainStatisticsSummaryRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainStatisticsSummaryResponse */ public DescribeDomainStatisticsSummaryResponse describeDomainStatisticsSummaryWithOptions(DescribeDomainStatisticsSummaryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.searchMode)) { query.put("SearchMode", request.searchMode); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.threshold)) { query.put("Threshold", request.threshold); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomainStatisticsSummary"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainStatisticsSummaryResponse()); } /** * <b>summary</b> : * <p>Calls the DescribeDomainStatisticsSummary operation to obtain the query volume of all paid domain names under your account.</p> * * @param request DescribeDomainStatisticsSummaryRequest * @return DescribeDomainStatisticsSummaryResponse */ public DescribeDomainStatisticsSummaryResponse describeDomainStatisticsSummary(DescribeDomainStatisticsSummaryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainStatisticsSummaryWithOptions(request, runtime); } /** * <b>description</b> : * <p> You can specify the PageNumber and PageSize parameters to query domain names.</p> * <ul> * <li>You can specify the KeyWord parameter to query domain names that contain the specified keyword.</li> * <li>By default, the domain names in a list are sorted in descending order of the time they were added.</li> * <li>You can specify the GroupId parameter. If you do not specify this parameter, all domain names are queried by default.</li> * </ul> * * <b>summary</b> : * <p>Calls the DescribeDomains operation to query domain names of a user based on input parameters.</p> * * @param request DescribeDomainsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeDomainsResponse */ public DescribeDomainsResponse describeDomainsWithOptions(DescribeDomainsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.groupId)) { query.put("GroupId", request.groupId); } if (!com.aliyun.teautil.Common.isUnset(request.keyWord)) { query.put("KeyWord", request.keyWord); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.searchMode)) { query.put("SearchMode", request.searchMode); } if (!com.aliyun.teautil.Common.isUnset(request.starmark)) { query.put("Starmark", request.starmark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeDomains"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeDomainsResponse()); } /** * <b>description</b> : * <p> You can specify the PageNumber and PageSize parameters to query domain names.</p> * <ul> * <li>You can specify the KeyWord parameter to query domain names that contain the specified keyword.</li> * <li>By default, the domain names in a list are sorted in descending order of the time they were added.</li> * <li>You can specify the GroupId parameter. If you do not specify this parameter, all domain names are queried by default.</li> * </ul> * * <b>summary</b> : * <p>Calls the DescribeDomains operation to query domain names of a user based on input parameters.</p> * * @param request DescribeDomainsRequest * @return DescribeDomainsResponse */ public DescribeDomainsResponse describeDomains(DescribeDomainsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeDomainsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>You can call this operation to query the access policies of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmAccessStrategiesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmAccessStrategiesResponse */ public DescribeGtmAccessStrategiesResponse describeGtmAccessStrategiesWithOptions(DescribeGtmAccessStrategiesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmAccessStrategies"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmAccessStrategiesResponse()); } /** * <b>summary</b> : * <p>You can call this operation to query the access policies of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmAccessStrategiesRequest * @return DescribeGtmAccessStrategiesResponse */ public DescribeGtmAccessStrategiesResponse describeGtmAccessStrategies(DescribeGtmAccessStrategiesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmAccessStrategiesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>You can call this operation to query the details about an access policy of a Global Traffic Manager (GTM) instance based on the policy ID.</p> * * @param request DescribeGtmAccessStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmAccessStrategyResponse */ public DescribeGtmAccessStrategyResponse describeGtmAccessStrategyWithOptions(DescribeGtmAccessStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyId)) { query.put("StrategyId", request.strategyId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmAccessStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmAccessStrategyResponse()); } /** * <b>summary</b> : * <p>You can call this operation to query the details about an access policy of a Global Traffic Manager (GTM) instance based on the policy ID.</p> * * @param request DescribeGtmAccessStrategyRequest * @return DescribeGtmAccessStrategyResponse */ public DescribeGtmAccessStrategyResponse describeGtmAccessStrategy(DescribeGtmAccessStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmAccessStrategyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the configuration items that can be set for an access policy.</p> * * @param request DescribeGtmAccessStrategyAvailableConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmAccessStrategyAvailableConfigResponse */ public DescribeGtmAccessStrategyAvailableConfigResponse describeGtmAccessStrategyAvailableConfigWithOptions(DescribeGtmAccessStrategyAvailableConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmAccessStrategyAvailableConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmAccessStrategyAvailableConfigResponse()); } /** * <b>summary</b> : * <p>Queries the configuration items that can be set for an access policy.</p> * * @param request DescribeGtmAccessStrategyAvailableConfigRequest * @return DescribeGtmAccessStrategyAvailableConfigResponse */ public DescribeGtmAccessStrategyAvailableConfigResponse describeGtmAccessStrategyAvailableConfig(DescribeGtmAccessStrategyAvailableConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmAccessStrategyAvailableConfigWithOptions(request, runtime); } /** * @param request DescribeGtmAvailableAlertGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmAvailableAlertGroupResponse */ public DescribeGtmAvailableAlertGroupResponse describeGtmAvailableAlertGroupWithOptions(DescribeGtmAvailableAlertGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmAvailableAlertGroup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmAvailableAlertGroupResponse()); } /** * @param request DescribeGtmAvailableAlertGroupRequest * @return DescribeGtmAvailableAlertGroupResponse */ public DescribeGtmAvailableAlertGroupResponse describeGtmAvailableAlertGroup(DescribeGtmAvailableAlertGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmAvailableAlertGroupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the details about a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmInstanceRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmInstanceResponse */ public DescribeGtmInstanceResponse describeGtmInstanceWithOptions(DescribeGtmInstanceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.needDetailAttributes)) { query.put("NeedDetailAttributes", request.needDetailAttributes); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmInstance"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmInstanceResponse()); } /** * <b>summary</b> : * <p>Queries the details about a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmInstanceRequest * @return DescribeGtmInstanceResponse */ public DescribeGtmInstanceResponse describeGtmInstance(DescribeGtmInstanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmInstanceWithOptions(request, runtime); } /** * <b>summary</b> : * <p>You can call this operation to query the details about an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmInstanceAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmInstanceAddressPoolResponse */ public DescribeGtmInstanceAddressPoolResponse describeGtmInstanceAddressPoolWithOptions(DescribeGtmInstanceAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addrPoolId)) { query.put("AddrPoolId", request.addrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmInstanceAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmInstanceAddressPoolResponse()); } /** * <b>summary</b> : * <p>You can call this operation to query the details about an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmInstanceAddressPoolRequest * @return DescribeGtmInstanceAddressPoolResponse */ public DescribeGtmInstanceAddressPoolResponse describeGtmInstanceAddressPool(DescribeGtmInstanceAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmInstanceAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>You can call this operation to query the address pools of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmInstanceAddressPoolsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmInstanceAddressPoolsResponse */ public DescribeGtmInstanceAddressPoolsResponse describeGtmInstanceAddressPoolsWithOptions(DescribeGtmInstanceAddressPoolsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmInstanceAddressPools"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmInstanceAddressPoolsResponse()); } /** * <b>summary</b> : * <p>You can call this operation to query the address pools of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmInstanceAddressPoolsRequest * @return DescribeGtmInstanceAddressPoolsResponse */ public DescribeGtmInstanceAddressPoolsResponse describeGtmInstanceAddressPools(DescribeGtmInstanceAddressPoolsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmInstanceAddressPoolsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the status of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmInstanceStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmInstanceStatusResponse */ public DescribeGtmInstanceStatusResponse describeGtmInstanceStatusWithOptions(DescribeGtmInstanceStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmInstanceStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmInstanceStatusResponse()); } /** * <b>summary</b> : * <p>Queries the status of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmInstanceStatusRequest * @return DescribeGtmInstanceStatusResponse */ public DescribeGtmInstanceStatusResponse describeGtmInstanceStatus(DescribeGtmInstanceStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmInstanceStatusWithOptions(request, runtime); } /** * @param request DescribeGtmInstanceSystemCnameRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmInstanceSystemCnameResponse */ public DescribeGtmInstanceSystemCnameResponse describeGtmInstanceSystemCnameWithOptions(DescribeGtmInstanceSystemCnameRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmInstanceSystemCname"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmInstanceSystemCnameResponse()); } /** * @param request DescribeGtmInstanceSystemCnameRequest * @return DescribeGtmInstanceSystemCnameResponse */ public DescribeGtmInstanceSystemCnameResponse describeGtmInstanceSystemCname(DescribeGtmInstanceSystemCnameRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmInstanceSystemCnameWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the Global Traffic Manager (GTM) instances under your account.</p> * * @param request DescribeGtmInstancesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmInstancesResponse */ public DescribeGtmInstancesResponse describeGtmInstancesWithOptions(DescribeGtmInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.needDetailAttributes)) { query.put("NeedDetailAttributes", request.needDetailAttributes); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) { query.put("ResourceGroupId", request.resourceGroupId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmInstances"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmInstancesResponse()); } /** * <b>summary</b> : * <p>Queries the Global Traffic Manager (GTM) instances under your account.</p> * * @param request DescribeGtmInstancesRequest * @return DescribeGtmInstancesResponse */ public DescribeGtmInstancesResponse describeGtmInstances(DescribeGtmInstancesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmInstancesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>You can call this operation to query logs of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmLogsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmLogsResponse */ public DescribeGtmLogsResponse describeGtmLogsWithOptions(DescribeGtmLogsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endTimestamp)) { query.put("EndTimestamp", request.endTimestamp); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startTimestamp)) { query.put("StartTimestamp", request.startTimestamp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmLogs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmLogsResponse()); } /** * <b>summary</b> : * <p>You can call this operation to query logs of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmLogsRequest * @return DescribeGtmLogsResponse */ public DescribeGtmLogsResponse describeGtmLogs(DescribeGtmLogsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmLogsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries available monitored nodes.</p> * * @param request DescribeGtmMonitorAvailableConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmMonitorAvailableConfigResponse */ public DescribeGtmMonitorAvailableConfigResponse describeGtmMonitorAvailableConfigWithOptions(DescribeGtmMonitorAvailableConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmMonitorAvailableConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmMonitorAvailableConfigResponse()); } /** * <b>summary</b> : * <p>Queries available monitored nodes.</p> * * @param request DescribeGtmMonitorAvailableConfigRequest * @return DescribeGtmMonitorAvailableConfigResponse */ public DescribeGtmMonitorAvailableConfigResponse describeGtmMonitorAvailableConfig(DescribeGtmMonitorAvailableConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmMonitorAvailableConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the health check configuration of an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmMonitorConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmMonitorConfigResponse */ public DescribeGtmMonitorConfigResponse describeGtmMonitorConfigWithOptions(DescribeGtmMonitorConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.monitorConfigId)) { query.put("MonitorConfigId", request.monitorConfigId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmMonitorConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmMonitorConfigResponse()); } /** * <b>summary</b> : * <p>Queries the health check configuration of an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmMonitorConfigRequest * @return DescribeGtmMonitorConfigResponse */ public DescribeGtmMonitorConfigResponse describeGtmMonitorConfig(DescribeGtmMonitorConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmMonitorConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the details of a disaster recovery plan.</p> * * @param request DescribeGtmRecoveryPlanRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmRecoveryPlanResponse */ public DescribeGtmRecoveryPlanResponse describeGtmRecoveryPlanWithOptions(DescribeGtmRecoveryPlanRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recoveryPlanId)) { query.put("RecoveryPlanId", request.recoveryPlanId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmRecoveryPlan"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmRecoveryPlanResponse()); } /** * <b>summary</b> : * <p>Queries the details of a disaster recovery plan.</p> * * @param request DescribeGtmRecoveryPlanRequest * @return DescribeGtmRecoveryPlanResponse */ public DescribeGtmRecoveryPlanResponse describeGtmRecoveryPlan(DescribeGtmRecoveryPlanRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmRecoveryPlanWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the configuration items that can be set for a disaster recovery plan.</p> * * @param request DescribeGtmRecoveryPlanAvailableConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmRecoveryPlanAvailableConfigResponse */ public DescribeGtmRecoveryPlanAvailableConfigResponse describeGtmRecoveryPlanAvailableConfigWithOptions(DescribeGtmRecoveryPlanAvailableConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmRecoveryPlanAvailableConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmRecoveryPlanAvailableConfigResponse()); } /** * <b>summary</b> : * <p>Queries the configuration items that can be set for a disaster recovery plan.</p> * * @param request DescribeGtmRecoveryPlanAvailableConfigRequest * @return DescribeGtmRecoveryPlanAvailableConfigResponse */ public DescribeGtmRecoveryPlanAvailableConfigResponse describeGtmRecoveryPlanAvailableConfig(DescribeGtmRecoveryPlanAvailableConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmRecoveryPlanAvailableConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the disaster recovery plans for a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmRecoveryPlansRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeGtmRecoveryPlansResponse */ public DescribeGtmRecoveryPlansResponse describeGtmRecoveryPlansWithOptions(DescribeGtmRecoveryPlansRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeGtmRecoveryPlans"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeGtmRecoveryPlansResponse()); } /** * <b>summary</b> : * <p>Queries the disaster recovery plans for a Global Traffic Manager (GTM) instance.</p> * * @param request DescribeGtmRecoveryPlansRequest * @return DescribeGtmRecoveryPlansResponse */ public DescribeGtmRecoveryPlansResponse describeGtmRecoveryPlans(DescribeGtmRecoveryPlansRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeGtmRecoveryPlansWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the domain names that are bound to an Alibaba Cloud DNS instance.</p> * * @param request DescribeInstanceDomainsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeInstanceDomainsResponse */ public DescribeInstanceDomainsResponse describeInstanceDomainsWithOptions(DescribeInstanceDomainsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeInstanceDomains"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeInstanceDomainsResponse()); } /** * <b>summary</b> : * <p>Queries the domain names that are bound to an Alibaba Cloud DNS instance.</p> * * @param request DescribeInstanceDomainsRequest * @return DescribeInstanceDomainsResponse */ public DescribeInstanceDomainsResponse describeInstanceDomains(DescribeInstanceDomainsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeInstanceDomainsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询解析日志</p> * * @param request DescribeInternetDnsLogsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeInternetDnsLogsResponse */ public DescribeInternetDnsLogsResponse describeInternetDnsLogsWithOptions(DescribeInternetDnsLogsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.accountId)) { query.put("AccountId", request.accountId); } if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.endTimestamp)) { query.put("EndTimestamp", request.endTimestamp); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.module)) { query.put("Module", request.module); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.queryCondition)) { query.put("QueryCondition", request.queryCondition); } if (!com.aliyun.teautil.Common.isUnset(request.recursionProtocolType)) { query.put("RecursionProtocolType", request.recursionProtocolType); } if (!com.aliyun.teautil.Common.isUnset(request.startTimestamp)) { query.put("StartTimestamp", request.startTimestamp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeInternetDnsLogs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeInternetDnsLogsResponse()); } /** * <b>summary</b> : * <p>查询解析日志</p> * * @param request DescribeInternetDnsLogsRequest * @return DescribeInternetDnsLogsResponse */ public DescribeInternetDnsLogsResponse describeInternetDnsLogs(DescribeInternetDnsLogsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeInternetDnsLogsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取缓存刷新套餐包列表</p> * * @param request DescribeIspFlushCacheInstancesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeIspFlushCacheInstancesResponse */ public DescribeIspFlushCacheInstancesResponse describeIspFlushCacheInstancesWithOptions(DescribeIspFlushCacheInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.isp)) { query.put("Isp", request.isp); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.orderBy)) { query.put("OrderBy", request.orderBy); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeIspFlushCacheInstances"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeIspFlushCacheInstancesResponse()); } /** * <b>summary</b> : * <p>获取缓存刷新套餐包列表</p> * * @param request DescribeIspFlushCacheInstancesRequest * @return DescribeIspFlushCacheInstancesResponse */ public DescribeIspFlushCacheInstancesResponse describeIspFlushCacheInstances(DescribeIspFlushCacheInstancesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeIspFlushCacheInstancesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取剩余可缓存刷新次数</p> * * @param request DescribeIspFlushCacheRemainQuotaRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeIspFlushCacheRemainQuotaResponse */ public DescribeIspFlushCacheRemainQuotaResponse describeIspFlushCacheRemainQuotaWithOptions(DescribeIspFlushCacheRemainQuotaRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeIspFlushCacheRemainQuota"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeIspFlushCacheRemainQuotaResponse()); } /** * <b>summary</b> : * <p>获取剩余可缓存刷新次数</p> * * @param request DescribeIspFlushCacheRemainQuotaRequest * @return DescribeIspFlushCacheRemainQuotaResponse */ public DescribeIspFlushCacheRemainQuotaResponse describeIspFlushCacheRemainQuota(DescribeIspFlushCacheRemainQuotaRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeIspFlushCacheRemainQuotaWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取缓存刷新任务详情</p> * * @param request DescribeIspFlushCacheTaskRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeIspFlushCacheTaskResponse */ public DescribeIspFlushCacheTaskResponse describeIspFlushCacheTaskWithOptions(DescribeIspFlushCacheTaskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.taskId)) { query.put("TaskId", request.taskId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeIspFlushCacheTask"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeIspFlushCacheTaskResponse()); } /** * <b>summary</b> : * <p>获取缓存刷新任务详情</p> * * @param request DescribeIspFlushCacheTaskRequest * @return DescribeIspFlushCacheTaskResponse */ public DescribeIspFlushCacheTaskResponse describeIspFlushCacheTask(DescribeIspFlushCacheTaskRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeIspFlushCacheTaskWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取缓存刷新任务列表</p> * * @param request DescribeIspFlushCacheTasksRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeIspFlushCacheTasksResponse */ public DescribeIspFlushCacheTasksResponse describeIspFlushCacheTasksWithOptions(DescribeIspFlushCacheTasksRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.isp)) { query.put("Isp", request.isp); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.orderBy)) { query.put("OrderBy", request.orderBy); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeIspFlushCacheTasks"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeIspFlushCacheTasksResponse()); } /** * <b>summary</b> : * <p>获取缓存刷新任务列表</p> * * @param request DescribeIspFlushCacheTasksRequest * @return DescribeIspFlushCacheTasksResponse */ public DescribeIspFlushCacheTasksResponse describeIspFlushCacheTasks(DescribeIspFlushCacheTasksRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeIspFlushCacheTasksWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取公共DNS用户数据概览</p> * * @param request DescribePdnsAccountSummaryRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsAccountSummaryResponse */ public DescribePdnsAccountSummaryResponse describePdnsAccountSummaryWithOptions(DescribePdnsAccountSummaryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsAccountSummary"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsAccountSummaryResponse()); } /** * <b>summary</b> : * <p>获取公共DNS用户数据概览</p> * * @param request DescribePdnsAccountSummaryRequest * @return DescribePdnsAccountSummaryResponse */ public DescribePdnsAccountSummaryResponse describePdnsAccountSummary(DescribePdnsAccountSummaryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsAccountSummaryWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取公共DNS AppKey 详情</p> * * @param request DescribePdnsAppKeyRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsAppKeyResponse */ public DescribePdnsAppKeyResponse describePdnsAppKeyWithOptions(DescribePdnsAppKeyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.appKeyId)) { query.put("AppKeyId", request.appKeyId); } if (!com.aliyun.teautil.Common.isUnset(request.authCode)) { query.put("AuthCode", request.authCode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsAppKey"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsAppKeyResponse()); } /** * <b>summary</b> : * <p>获取公共DNS AppKey 详情</p> * * @param request DescribePdnsAppKeyRequest * @return DescribePdnsAppKeyResponse */ public DescribePdnsAppKeyResponse describePdnsAppKey(DescribePdnsAppKeyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsAppKeyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取公共DNS AppKey 列表</p> * * @param request DescribePdnsAppKeysRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsAppKeysResponse */ public DescribePdnsAppKeysResponse describePdnsAppKeysWithOptions(DescribePdnsAppKeysRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsAppKeys"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsAppKeysResponse()); } /** * <b>summary</b> : * <p>获取公共DNS AppKey 列表</p> * * @param request DescribePdnsAppKeysRequest * @return DescribePdnsAppKeysResponse */ public DescribePdnsAppKeysResponse describePdnsAppKeys(DescribePdnsAppKeysRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsAppKeysWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取公共DNS 操作日志列表</p> * * @param request DescribePdnsOperateLogsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsOperateLogsResponse */ public DescribePdnsOperateLogsResponse describePdnsOperateLogsWithOptions(DescribePdnsOperateLogsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.actionType)) { query.put("ActionType", request.actionType); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.resourceType)) { query.put("ResourceType", request.resourceType); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsOperateLogs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsOperateLogsResponse()); } /** * <b>summary</b> : * <p>获取公共DNS 操作日志列表</p> * * @param request DescribePdnsOperateLogsRequest * @return DescribePdnsOperateLogsResponse */ public DescribePdnsOperateLogsResponse describePdnsOperateLogs(DescribePdnsOperateLogsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsOperateLogsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the statistics on requests for Alibaba Cloud Public DNS.</p> * * @param request DescribePdnsRequestStatisticRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsRequestStatisticResponse */ public DescribePdnsRequestStatisticResponse describePdnsRequestStatisticWithOptions(DescribePdnsRequestStatisticRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.subDomain)) { query.put("SubDomain", request.subDomain); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsRequestStatistic"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsRequestStatisticResponse()); } /** * <b>summary</b> : * <p>Queries the statistics on requests for Alibaba Cloud Public DNS.</p> * * @param request DescribePdnsRequestStatisticRequest * @return DescribePdnsRequestStatisticResponse */ public DescribePdnsRequestStatisticResponse describePdnsRequestStatistic(DescribePdnsRequestStatisticRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsRequestStatisticWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of statistics on requests for Alibaba Cloud Public DNS.</p> * * @param request DescribePdnsRequestStatisticsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsRequestStatisticsResponse */ public DescribePdnsRequestStatisticsResponse describePdnsRequestStatisticsWithOptions(DescribePdnsRequestStatisticsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.subDomain)) { query.put("SubDomain", request.subDomain); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsRequestStatistics"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsRequestStatisticsResponse()); } /** * <b>summary</b> : * <p>Queries a list of statistics on requests for Alibaba Cloud Public DNS.</p> * * @param request DescribePdnsRequestStatisticsRequest * @return DescribePdnsRequestStatisticsResponse */ public DescribePdnsRequestStatisticsResponse describePdnsRequestStatistics(DescribePdnsRequestStatisticsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsRequestStatisticsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取公共DNS 威胁日志列表</p> * * @param request DescribePdnsThreatLogsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsThreatLogsResponse */ public DescribePdnsThreatLogsResponse describePdnsThreatLogsWithOptions(DescribePdnsThreatLogsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.threatLevel)) { query.put("ThreatLevel", request.threatLevel); } if (!com.aliyun.teautil.Common.isUnset(request.threatSourceIp)) { query.put("ThreatSourceIp", request.threatSourceIp); } if (!com.aliyun.teautil.Common.isUnset(request.threatType)) { query.put("ThreatType", request.threatType); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsThreatLogs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsThreatLogsResponse()); } /** * <b>summary</b> : * <p>获取公共DNS 威胁日志列表</p> * * @param request DescribePdnsThreatLogsRequest * @return DescribePdnsThreatLogsResponse */ public DescribePdnsThreatLogsResponse describePdnsThreatLogs(DescribePdnsThreatLogsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsThreatLogsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取公共DNS 威胁统计</p> * * @param request DescribePdnsThreatStatisticRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsThreatStatisticResponse */ public DescribePdnsThreatStatisticResponse describePdnsThreatStatisticWithOptions(DescribePdnsThreatStatisticRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.threatSourceIp)) { query.put("ThreatSourceIp", request.threatSourceIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsThreatStatistic"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsThreatStatisticResponse()); } /** * <b>summary</b> : * <p>获取公共DNS 威胁统计</p> * * @param request DescribePdnsThreatStatisticRequest * @return DescribePdnsThreatStatisticResponse */ public DescribePdnsThreatStatisticResponse describePdnsThreatStatistic(DescribePdnsThreatStatisticRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsThreatStatisticWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取公共DNS 威胁统计列表</p> * * @param request DescribePdnsThreatStatisticsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsThreatStatisticsResponse */ public DescribePdnsThreatStatisticsResponse describePdnsThreatStatisticsWithOptions(DescribePdnsThreatStatisticsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.orderBy)) { query.put("OrderBy", request.orderBy); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.subDomain)) { query.put("SubDomain", request.subDomain); } if (!com.aliyun.teautil.Common.isUnset(request.threatLevel)) { query.put("ThreatLevel", request.threatLevel); } if (!com.aliyun.teautil.Common.isUnset(request.threatSourceIp)) { query.put("ThreatSourceIp", request.threatSourceIp); } if (!com.aliyun.teautil.Common.isUnset(request.threatType)) { query.put("ThreatType", request.threatType); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsThreatStatistics"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsThreatStatisticsResponse()); } /** * <b>summary</b> : * <p>获取公共DNS 威胁统计列表</p> * * @param request DescribePdnsThreatStatisticsRequest * @return DescribePdnsThreatStatisticsResponse */ public DescribePdnsThreatStatisticsResponse describePdnsThreatStatistics(DescribePdnsThreatStatisticsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsThreatStatisticsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>获取公共DNS Udp IP段列表</p> * * @param request DescribePdnsUdpIpSegmentsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsUdpIpSegmentsResponse */ public DescribePdnsUdpIpSegmentsResponse describePdnsUdpIpSegmentsWithOptions(DescribePdnsUdpIpSegmentsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsUdpIpSegments"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsUdpIpSegmentsResponse()); } /** * <b>summary</b> : * <p>获取公共DNS Udp IP段列表</p> * * @param request DescribePdnsUdpIpSegmentsRequest * @return DescribePdnsUdpIpSegmentsResponse */ public DescribePdnsUdpIpSegmentsResponse describePdnsUdpIpSegments(DescribePdnsUdpIpSegmentsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsUdpIpSegmentsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the information about users in Alibaba Cloud Public DNS.</p> * * @param request DescribePdnsUserInfoRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribePdnsUserInfoResponse */ public DescribePdnsUserInfoResponse describePdnsUserInfoWithOptions(DescribePdnsUserInfoRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribePdnsUserInfo"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribePdnsUserInfoResponse()); } /** * <b>summary</b> : * <p>Queries the information about users in Alibaba Cloud Public DNS.</p> * * @param request DescribePdnsUserInfoRequest * @return DescribePdnsUserInfoResponse */ public DescribePdnsUserInfoResponse describePdnsUserInfo(DescribePdnsUserInfoRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describePdnsUserInfoWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the operation logs of a domain name based on the specified parameters.</p> * * @param request DescribeRecordLogsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeRecordLogsResponse */ public DescribeRecordLogsResponse describeRecordLogsWithOptions(DescribeRecordLogsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.keyWord)) { query.put("KeyWord", request.keyWord); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("endDate", request.endDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeRecordLogs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeRecordLogsResponse()); } /** * <b>summary</b> : * <p>Queries the operation logs of a domain name based on the specified parameters.</p> * * @param request DescribeRecordLogsRequest * @return DescribeRecordLogsResponse */ public DescribeRecordLogsResponse describeRecordLogs(DescribeRecordLogsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeRecordLogsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the number of resolution requests for all subdomain names of a specified domain name.</p> * * @param request DescribeRecordResolveStatisticsSummaryRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeRecordResolveStatisticsSummaryResponse */ public DescribeRecordResolveStatisticsSummaryResponse describeRecordResolveStatisticsSummaryWithOptions(DescribeRecordResolveStatisticsSummaryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.domainType)) { query.put("DomainType", request.domainType); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.searchMode)) { query.put("SearchMode", request.searchMode); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.threshold)) { query.put("Threshold", request.threshold); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeRecordResolveStatisticsSummary"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeRecordResolveStatisticsSummaryResponse()); } /** * <b>summary</b> : * <p>Queries the number of resolution requests for all subdomain names of a specified domain name.</p> * * @param request DescribeRecordResolveStatisticsSummaryRequest * @return DescribeRecordResolveStatisticsSummaryResponse */ public DescribeRecordResolveStatisticsSummaryResponse describeRecordResolveStatisticsSummary(DescribeRecordResolveStatisticsSummaryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeRecordResolveStatisticsSummaryWithOptions(request, runtime); } /** * <b>description</b> : * <p>Real-time data is collected per hour.</p> * * <b>summary</b> : * <p>Queries the real-time statistics on the Domain Name System (DNS) requests for a subdomain name.</p> * * @param request DescribeRecordStatisticsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeRecordStatisticsResponse */ public DescribeRecordStatisticsResponse describeRecordStatisticsWithOptions(DescribeRecordStatisticsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.domainType)) { query.put("DomainType", request.domainType); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.rr)) { query.put("Rr", request.rr); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeRecordStatistics"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeRecordStatisticsResponse()); } /** * <b>description</b> : * <p>Real-time data is collected per hour.</p> * * <b>summary</b> : * <p>Queries the real-time statistics on the Domain Name System (DNS) requests for a subdomain name.</p> * * @param request DescribeRecordStatisticsRequest * @return DescribeRecordStatisticsResponse */ public DescribeRecordStatisticsResponse describeRecordStatistics(DescribeRecordStatisticsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeRecordStatisticsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the number of Domain Name System (DNS) requests for all subdomain names of a specified domain name.</p> * * @param request DescribeRecordStatisticsSummaryRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeRecordStatisticsSummaryResponse */ public DescribeRecordStatisticsSummaryResponse describeRecordStatisticsSummaryWithOptions(DescribeRecordStatisticsSummaryRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.domainType)) { query.put("DomainType", request.domainType); } if (!com.aliyun.teautil.Common.isUnset(request.endDate)) { query.put("EndDate", request.endDate); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.searchMode)) { query.put("SearchMode", request.searchMode); } if (!com.aliyun.teautil.Common.isUnset(request.startDate)) { query.put("StartDate", request.startDate); } if (!com.aliyun.teautil.Common.isUnset(request.threshold)) { query.put("Threshold", request.threshold); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeRecordStatisticsSummary"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeRecordStatisticsSummaryResponse()); } /** * <b>summary</b> : * <p>Queries the number of Domain Name System (DNS) requests for all subdomain names of a specified domain name.</p> * * @param request DescribeRecordStatisticsSummaryRequest * @return DescribeRecordStatisticsSummaryResponse */ public DescribeRecordStatisticsSummaryResponse describeRecordStatisticsSummary(DescribeRecordStatisticsSummaryRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeRecordStatisticsSummaryWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询递归解析内置权威解析记录详情</p> * * @param request DescribeRecursionRecordRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeRecursionRecordResponse */ public DescribeRecursionRecordResponse describeRecursionRecordWithOptions(DescribeRecursionRecordRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeRecursionRecord"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeRecursionRecordResponse()); } /** * <b>summary</b> : * <p>查询递归解析内置权威解析记录详情</p> * * @param request DescribeRecursionRecordRequest * @return DescribeRecursionRecordResponse */ public DescribeRecursionRecordResponse describeRecursionRecord(DescribeRecursionRecordRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeRecursionRecordWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询递归解析内置权威域名zone详情</p> * * @param request DescribeRecursionZoneRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeRecursionZoneResponse */ public DescribeRecursionZoneResponse describeRecursionZoneWithOptions(DescribeRecursionZoneRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeRecursionZone"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeRecursionZoneResponse()); } /** * <b>summary</b> : * <p>查询递归解析内置权威域名zone详情</p> * * @param request DescribeRecursionZoneRequest * @return DescribeRecursionZoneResponse */ public DescribeRecursionZoneResponse describeRecursionZone(DescribeRecursionZoneRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeRecursionZoneWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries all Domain Name System (DNS) records of a subdomain name based on the specified parameters.</p> * * @param request DescribeSubDomainRecordsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeSubDomainRecordsResponse */ public DescribeSubDomainRecordsResponse describeSubDomainRecordsWithOptions(DescribeSubDomainRecordsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.line)) { query.put("Line", request.line); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.subDomain)) { query.put("SubDomain", request.subDomain); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeSubDomainRecords"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeSubDomainRecordsResponse()); } /** * <b>summary</b> : * <p>Queries all Domain Name System (DNS) records of a subdomain name based on the specified parameters.</p> * * @param request DescribeSubDomainRecordsRequest * @return DescribeSubDomainRecordsResponse */ public DescribeSubDomainRecordsResponse describeSubDomainRecords(DescribeSubDomainRecordsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeSubDomainRecordsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询支持的所有线路</p> * * @param request DescribeSupportLinesRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeSupportLinesResponse */ public DescribeSupportLinesResponse describeSupportLinesWithOptions(DescribeSupportLinesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeSupportLines"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeSupportLinesResponse()); } /** * <b>summary</b> : * <p>查询支持的所有线路</p> * * @param request DescribeSupportLinesRequest * @return DescribeSupportLinesResponse */ public DescribeSupportLinesResponse describeSupportLines(DescribeSupportLinesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeSupportLinesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries existing tags.</p> * * @param request DescribeTagsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeTagsResponse */ public DescribeTagsResponse describeTagsWithOptions(DescribeTagsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.resourceType)) { query.put("ResourceType", request.resourceType); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeTags"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeTagsResponse()); } /** * <b>summary</b> : * <p>Queries existing tags.</p> * * @param request DescribeTagsRequest * @return DescribeTagsResponse */ public DescribeTagsResponse describeTags(DescribeTagsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeTagsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the domain names that were transferred between the current account and another account based on the specified parameters.</p> * * @param request DescribeTransferDomainsRequest * @param runtime runtime options for this request RuntimeOptions * @return DescribeTransferDomainsResponse */ public DescribeTransferDomainsResponse describeTransferDomainsWithOptions(DescribeTransferDomainsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.fromUserId)) { query.put("FromUserId", request.fromUserId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.targetUserId)) { query.put("TargetUserId", request.targetUserId); } if (!com.aliyun.teautil.Common.isUnset(request.transferType)) { query.put("TransferType", request.transferType); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DescribeTransferDomains"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DescribeTransferDomainsResponse()); } /** * <b>summary</b> : * <p>Queries the domain names that were transferred between the current account and another account based on the specified parameters.</p> * * @param request DescribeTransferDomainsRequest * @return DescribeTransferDomainsResponse */ public DescribeTransferDomainsResponse describeTransferDomains(DescribeTransferDomainsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.describeTransferDomainsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Executes a disaster recovery plan.</p> * * @param request ExecuteGtmRecoveryPlanRequest * @param runtime runtime options for this request RuntimeOptions * @return ExecuteGtmRecoveryPlanResponse */ public ExecuteGtmRecoveryPlanResponse executeGtmRecoveryPlanWithOptions(ExecuteGtmRecoveryPlanRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recoveryPlanId)) { query.put("RecoveryPlanId", request.recoveryPlanId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ExecuteGtmRecoveryPlan"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ExecuteGtmRecoveryPlanResponse()); } /** * <b>summary</b> : * <p>Executes a disaster recovery plan.</p> * * @param request ExecuteGtmRecoveryPlanRequest * @return ExecuteGtmRecoveryPlanResponse */ public ExecuteGtmRecoveryPlanResponse executeGtmRecoveryPlan(ExecuteGtmRecoveryPlanRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.executeGtmRecoveryPlanWithOptions(request, runtime); } /** * <b>description</b> : * <p>For more information about the difference between primary domain names and subdomain names, see * <a href="https://www.alibabacloud.com/help/zh/faq-detail/39803.htm">Subdomain levels</a>. For example, if you enter <code>www.abc.com</code>, abc.com is obtained.</p> * * <b>summary</b> : * <p>Queries a primary domain name based on the specified parameters.</p> * * @param request GetMainDomainNameRequest * @param runtime runtime options for this request RuntimeOptions * @return GetMainDomainNameResponse */ public GetMainDomainNameResponse getMainDomainNameWithOptions(GetMainDomainNameRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.inputString)) { query.put("InputString", request.inputString); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetMainDomainName"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetMainDomainNameResponse()); } /** * <b>description</b> : * <p>For more information about the difference between primary domain names and subdomain names, see * <a href="https://www.alibabacloud.com/help/zh/faq-detail/39803.htm">Subdomain levels</a>. For example, if you enter <code>www.abc.com</code>, abc.com is obtained.</p> * * <b>summary</b> : * <p>Queries a primary domain name based on the specified parameters.</p> * * @param request GetMainDomainNameRequest * @return GetMainDomainNameResponse */ public GetMainDomainNameResponse getMainDomainName(GetMainDomainNameRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getMainDomainNameWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Generates a text (TXT) record. TXT records are used to retrieve domain names and subdomain names, enable the subdomain name verification feature, and perform batch retrievals.</p> * * @param request GetTxtRecordForVerifyRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTxtRecordForVerifyResponse */ public GetTxtRecordForVerifyResponse getTxtRecordForVerifyWithOptions(GetTxtRecordForVerifyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetTxtRecordForVerify"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTxtRecordForVerifyResponse()); } /** * <b>summary</b> : * <p>Generates a text (TXT) record. TXT records are used to retrieve domain names and subdomain names, enable the subdomain name verification feature, and perform batch retrievals.</p> * * @param request GetTxtRecordForVerifyRequest * @return GetTxtRecordForVerifyResponse */ public GetTxtRecordForVerifyResponse getTxtRecordForVerify(GetTxtRecordForVerifyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTxtRecordForVerifyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of address pools.</p> * * @param request ListCloudGtmAddressPoolsRequest * @param runtime runtime options for this request RuntimeOptions * @return ListCloudGtmAddressPoolsResponse */ public ListCloudGtmAddressPoolsResponse listCloudGtmAddressPoolsWithOptions(ListCloudGtmAddressPoolsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolName)) { query.put("AddressPoolName", request.addressPoolName); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolType)) { query.put("AddressPoolType", request.addressPoolType); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCloudGtmAddressPools"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListCloudGtmAddressPoolsResponse()); } /** * <b>summary</b> : * <p>Queries a list of address pools.</p> * * @param request ListCloudGtmAddressPoolsRequest * @return ListCloudGtmAddressPoolsResponse */ public ListCloudGtmAddressPoolsResponse listCloudGtmAddressPools(ListCloudGtmAddressPoolsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listCloudGtmAddressPoolsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of addresses.</p> * * @param request ListCloudGtmAddressesRequest * @param runtime runtime options for this request RuntimeOptions * @return ListCloudGtmAddressesResponse */ public ListCloudGtmAddressesResponse listCloudGtmAddressesWithOptions(ListCloudGtmAddressesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.address)) { query.put("Address", request.address); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.healthStatus)) { query.put("HealthStatus", request.healthStatus); } if (!com.aliyun.teautil.Common.isUnset(request.monitorTemplateId)) { query.put("MonitorTemplateId", request.monitorTemplateId); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCloudGtmAddresses"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListCloudGtmAddressesResponse()); } /** * <b>summary</b> : * <p>Queries a list of addresses.</p> * * @param request ListCloudGtmAddressesRequest * @return ListCloudGtmAddressesResponse */ public ListCloudGtmAddressesResponse listCloudGtmAddresses(ListCloudGtmAddressesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listCloudGtmAddressesWithOptions(request, runtime); } /** * @param request ListCloudGtmAlertLogsRequest * @param runtime runtime options for this request RuntimeOptions * @return ListCloudGtmAlertLogsResponse */ public ListCloudGtmAlertLogsResponse listCloudGtmAlertLogsWithOptions(ListCloudGtmAlertLogsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.actionType)) { query.put("ActionType", request.actionType); } if (!com.aliyun.teautil.Common.isUnset(request.endTimestamp)) { query.put("EndTimestamp", request.endTimestamp); } if (!com.aliyun.teautil.Common.isUnset(request.entityType)) { query.put("EntityType", request.entityType); } if (!com.aliyun.teautil.Common.isUnset(request.keyword)) { query.put("Keyword", request.keyword); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.startTimestamp)) { query.put("StartTimestamp", request.startTimestamp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCloudGtmAlertLogs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListCloudGtmAlertLogsResponse()); } /** * @param request ListCloudGtmAlertLogsRequest * @return ListCloudGtmAlertLogsResponse */ public ListCloudGtmAlertLogsResponse listCloudGtmAlertLogs(ListCloudGtmAlertLogsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listCloudGtmAlertLogsWithOptions(request, runtime); } /** * @param request ListCloudGtmAvailableAlertGroupsRequest * @param runtime runtime options for this request RuntimeOptions * @return ListCloudGtmAvailableAlertGroupsResponse */ public ListCloudGtmAvailableAlertGroupsResponse listCloudGtmAvailableAlertGroupsWithOptions(ListCloudGtmAvailableAlertGroupsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCloudGtmAvailableAlertGroups"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListCloudGtmAvailableAlertGroupsResponse()); } /** * @param request ListCloudGtmAvailableAlertGroupsRequest * @return ListCloudGtmAvailableAlertGroupsResponse */ public ListCloudGtmAvailableAlertGroupsResponse listCloudGtmAvailableAlertGroups(ListCloudGtmAvailableAlertGroupsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listCloudGtmAvailableAlertGroupsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the configurations of a Global Traffic Manager (GTM) instance, including the information about access domain names and address pools.</p> * * @param request ListCloudGtmInstanceConfigsRequest * @param runtime runtime options for this request RuntimeOptions * @return ListCloudGtmInstanceConfigsResponse */ public ListCloudGtmInstanceConfigsResponse listCloudGtmInstanceConfigsWithOptions(ListCloudGtmInstanceConfigsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleDomainName)) { query.put("ScheduleDomainName", request.scheduleDomainName); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleZoneName)) { query.put("ScheduleZoneName", request.scheduleZoneName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCloudGtmInstanceConfigs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListCloudGtmInstanceConfigsResponse()); } /** * <b>summary</b> : * <p>Queries the configurations of a Global Traffic Manager (GTM) instance, including the information about access domain names and address pools.</p> * * @param request ListCloudGtmInstanceConfigsRequest * @return ListCloudGtmInstanceConfigsResponse */ public ListCloudGtmInstanceConfigsResponse listCloudGtmInstanceConfigs(ListCloudGtmInstanceConfigsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listCloudGtmInstanceConfigsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of Global Traffic Manager (GTM) 3.0 instances.</p> * * @param request ListCloudGtmInstancesRequest * @param runtime runtime options for this request RuntimeOptions * @return ListCloudGtmInstancesResponse */ public ListCloudGtmInstancesResponse listCloudGtmInstancesWithOptions(ListCloudGtmInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceName)) { query.put("InstanceName", request.instanceName); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCloudGtmInstances"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListCloudGtmInstancesResponse()); } /** * <b>summary</b> : * <p>Queries a list of Global Traffic Manager (GTM) 3.0 instances.</p> * * @param request ListCloudGtmInstancesRequest * @return ListCloudGtmInstancesResponse */ public ListCloudGtmInstancesResponse listCloudGtmInstances(ListCloudGtmInstancesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listCloudGtmInstancesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of health check nodes.</p> * * @param request ListCloudGtmMonitorNodesRequest * @param runtime runtime options for this request RuntimeOptions * @return ListCloudGtmMonitorNodesResponse */ public ListCloudGtmMonitorNodesResponse listCloudGtmMonitorNodesWithOptions(ListCloudGtmMonitorNodesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCloudGtmMonitorNodes"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListCloudGtmMonitorNodesResponse()); } /** * <b>summary</b> : * <p>Queries a list of health check nodes.</p> * * @param request ListCloudGtmMonitorNodesRequest * @return ListCloudGtmMonitorNodesResponse */ public ListCloudGtmMonitorNodesResponse listCloudGtmMonitorNodes(ListCloudGtmMonitorNodesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listCloudGtmMonitorNodesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of health check templates.</p> * * @param request ListCloudGtmMonitorTemplatesRequest * @param runtime runtime options for this request RuntimeOptions * @return ListCloudGtmMonitorTemplatesResponse */ public ListCloudGtmMonitorTemplatesResponse listCloudGtmMonitorTemplatesWithOptions(ListCloudGtmMonitorTemplatesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.ipVersion)) { query.put("IpVersion", request.ipVersion); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.protocol)) { query.put("Protocol", request.protocol); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListCloudGtmMonitorTemplates"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListCloudGtmMonitorTemplatesResponse()); } /** * <b>summary</b> : * <p>Queries a list of health check templates.</p> * * @param request ListCloudGtmMonitorTemplatesRequest * @return ListCloudGtmMonitorTemplatesResponse */ public ListCloudGtmMonitorTemplatesResponse listCloudGtmMonitorTemplates(ListCloudGtmMonitorTemplatesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listCloudGtmMonitorTemplatesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询递归解析内置权威解析记录</p> * * @param request ListRecursionRecordsRequest * @param runtime runtime options for this request RuntimeOptions * @return ListRecursionRecordsResponse */ public ListRecursionRecordsResponse listRecursionRecordsWithOptions(ListRecursionRecordsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.enable)) { query.put("Enable", request.enable); } if (!com.aliyun.teautil.Common.isUnset(request.maxResults)) { query.put("MaxResults", request.maxResults); } if (!com.aliyun.teautil.Common.isUnset(request.nextToken)) { query.put("NextToken", request.nextToken); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.requestSource)) { query.put("RequestSource", request.requestSource); } if (!com.aliyun.teautil.Common.isUnset(request.rr)) { query.put("Rr", request.rr); } if (!com.aliyun.teautil.Common.isUnset(request.ttl)) { query.put("Ttl", request.ttl); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.weight)) { query.put("Weight", request.weight); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListRecursionRecords"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListRecursionRecordsResponse()); } /** * <b>summary</b> : * <p>查询递归解析内置权威解析记录</p> * * @param request ListRecursionRecordsRequest * @return ListRecursionRecordsResponse */ public ListRecursionRecordsResponse listRecursionRecords(ListRecursionRecordsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listRecursionRecordsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>查询递归解析内置权威域名zone</p> * * @param request ListRecursionZonesRequest * @param runtime runtime options for this request RuntimeOptions * @return ListRecursionZonesResponse */ public ListRecursionZonesResponse listRecursionZonesWithOptions(ListRecursionZonesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.maxResults)) { query.put("MaxResults", request.maxResults); } if (!com.aliyun.teautil.Common.isUnset(request.nextToken)) { query.put("NextToken", request.nextToken); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.zoneName)) { query.put("ZoneName", request.zoneName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListRecursionZones"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListRecursionZonesResponse()); } /** * <b>summary</b> : * <p>查询递归解析内置权威域名zone</p> * * @param request ListRecursionZonesRequest * @return ListRecursionZonesResponse */ public ListRecursionZonesResponse listRecursionZones(ListRecursionZonesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listRecursionZonesWithOptions(request, runtime); } /** * <b>description</b> : * <p> 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.</p> * <ul> * <li>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.</li> * <li>If you set both Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.</li> * <li>If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.</li> * </ul> * * <b>summary</b> : * <p>Queries resources by tag.</p> * * @param request ListTagResourcesRequest * @param runtime runtime options for this request RuntimeOptions * @return ListTagResourcesResponse */ public ListTagResourcesResponse listTagResourcesWithOptions(ListTagResourcesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.nextToken)) { query.put("NextToken", request.nextToken); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceType)) { query.put("ResourceType", request.resourceType); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListTagResources"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListTagResourcesResponse()); } /** * <b>description</b> : * <p> 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.</p> * <ul> * <li>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.</li> * <li>If you set both Tag.N and ResourceId.N to filter tags, ResourceId.N must match all specified key-value pairs.</li> * <li>If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.</li> * </ul> * * <b>summary</b> : * <p>Queries resources by tag.</p> * * @param request ListTagResourcesRequest * @return ListTagResourcesResponse */ public ListTagResourcesResponse listTagResources(ListTagResourcesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.listTagResourcesWithOptions(request, runtime); } /** * <b>description</b> : * <p>If the operation succeeds, the names of DNS servers change to those of Alibaba Cloud DNS servers (ending with hichina.com).</p> * <blockquote> * <p> **Before you call this operation, make sure that your domain name has been registered with Alibaba Cloud and the DNS servers in use are not Alibaba Cloud DNS servers.</p> * </blockquote> * * <b>summary</b> : * <p>Changes the names of DNS servers bound to a domain name from DNS server names provided by a third-party service provider to DNS server names provided by Alibaba Cloud DNS.</p> * * @param request ModifyHichinaDomainDNSRequest * @param runtime runtime options for this request RuntimeOptions * @return ModifyHichinaDomainDNSResponse */ public ModifyHichinaDomainDNSResponse modifyHichinaDomainDNSWithOptions(ModifyHichinaDomainDNSRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ModifyHichinaDomainDNS"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ModifyHichinaDomainDNSResponse()); } /** * <b>description</b> : * <p>If the operation succeeds, the names of DNS servers change to those of Alibaba Cloud DNS servers (ending with hichina.com).</p> * <blockquote> * <p> **Before you call this operation, make sure that your domain name has been registered with Alibaba Cloud and the DNS servers in use are not Alibaba Cloud DNS servers.</p> * </blockquote> * * <b>summary</b> : * <p>Changes the names of DNS servers bound to a domain name from DNS server names provided by a third-party service provider to DNS server names provided by Alibaba Cloud DNS.</p> * * @param request ModifyHichinaDomainDNSRequest * @return ModifyHichinaDomainDNSResponse */ public ModifyHichinaDomainDNSResponse modifyHichinaDomainDNS(ModifyHichinaDomainDNSRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.modifyHichinaDomainDNSWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Moves a domain name to another resource group.</p> * * @param request MoveDomainResourceGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return MoveDomainResourceGroupResponse */ public MoveDomainResourceGroupResponse moveDomainResourceGroupWithOptions(MoveDomainResourceGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.newResourceGroupId)) { query.put("NewResourceGroupId", request.newResourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "MoveDomainResourceGroup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new MoveDomainResourceGroupResponse()); } /** * <b>summary</b> : * <p>Moves a domain name to another resource group.</p> * * @param request MoveDomainResourceGroupRequest * @return MoveDomainResourceGroupResponse */ public MoveDomainResourceGroupResponse moveDomainResourceGroup(MoveDomainResourceGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.moveDomainResourceGroupWithOptions(request, runtime); } /** * @param request MoveGtmResourceGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return MoveGtmResourceGroupResponse */ public MoveGtmResourceGroupResponse moveGtmResourceGroupWithOptions(MoveGtmResourceGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.newResourceGroupId)) { query.put("NewResourceGroupId", request.newResourceGroupId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "MoveGtmResourceGroup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new MoveGtmResourceGroupResponse()); } /** * @param request MoveGtmResourceGroupRequest * @return MoveGtmResourceGroupResponse */ public MoveGtmResourceGroupResponse moveGtmResourceGroup(MoveGtmResourceGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.moveGtmResourceGroupWithOptions(request, runtime); } /** * <b>description</b> : * <p>Scenario: You need to execute a large number of tasks related to DNS resolution and you do not have high requirements for efficiency.</p> * * <b>summary</b> : * <p>Adds or deletes domain names and Domain Name System (DNS) records in batches.</p> * * @param request OperateBatchDomainRequest * @param runtime runtime options for this request RuntimeOptions * @return OperateBatchDomainResponse */ public OperateBatchDomainResponse operateBatchDomainWithOptions(OperateBatchDomainRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainRecordInfo)) { query.put("DomainRecordInfo", request.domainRecordInfo); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "OperateBatchDomain"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new OperateBatchDomainResponse()); } /** * <b>description</b> : * <p>Scenario: You need to execute a large number of tasks related to DNS resolution and you do not have high requirements for efficiency.</p> * * <b>summary</b> : * <p>Adds or deletes domain names and Domain Name System (DNS) records in batches.</p> * * @param request OperateBatchDomainRequest * @return OperateBatchDomainResponse */ public OperateBatchDomainResponse operateBatchDomain(OperateBatchDomainRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.operateBatchDomainWithOptions(request, runtime); } /** * <b>summary</b> : * <p>暂停公共DNS服务</p> * * @param request PausePdnsServiceRequest * @param runtime runtime options for this request RuntimeOptions * @return PausePdnsServiceResponse */ public PausePdnsServiceResponse pausePdnsServiceWithOptions(PausePdnsServiceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.serviceType)) { query.put("ServiceType", request.serviceType); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PausePdnsService"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PausePdnsServiceResponse()); } /** * <b>summary</b> : * <p>暂停公共DNS服务</p> * * @param request PausePdnsServiceRequest * @return PausePdnsServiceResponse */ public PausePdnsServiceResponse pausePdnsService(PausePdnsServiceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.pausePdnsServiceWithOptions(request, runtime); } /** * <b>summary</b> : * <p>You can call this operation to preview a disaster recovery plan of a Global Traffic Manager (GTM) instance.</p> * * @param request PreviewGtmRecoveryPlanRequest * @param runtime runtime options for this request RuntimeOptions * @return PreviewGtmRecoveryPlanResponse */ public PreviewGtmRecoveryPlanResponse previewGtmRecoveryPlanWithOptions(PreviewGtmRecoveryPlanRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.recoveryPlanId)) { query.put("RecoveryPlanId", request.recoveryPlanId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PreviewGtmRecoveryPlan"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PreviewGtmRecoveryPlanResponse()); } /** * <b>summary</b> : * <p>You can call this operation to preview a disaster recovery plan of a Global Traffic Manager (GTM) instance.</p> * * @param request PreviewGtmRecoveryPlanRequest * @return PreviewGtmRecoveryPlanResponse */ public PreviewGtmRecoveryPlanResponse previewGtmRecoveryPlan(PreviewGtmRecoveryPlanRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.previewGtmRecoveryPlanWithOptions(request, runtime); } /** * <b>summary</b> : * <p>删除公共DNS AppKey</p> * * @param request RemovePdnsAppKeyRequest * @param runtime runtime options for this request RuntimeOptions * @return RemovePdnsAppKeyResponse */ public RemovePdnsAppKeyResponse removePdnsAppKeyWithOptions(RemovePdnsAppKeyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.appKeyId)) { query.put("AppKeyId", request.appKeyId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RemovePdnsAppKey"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new RemovePdnsAppKeyResponse()); } /** * <b>summary</b> : * <p>删除公共DNS AppKey</p> * * @param request RemovePdnsAppKeyRequest * @return RemovePdnsAppKeyResponse */ public RemovePdnsAppKeyResponse removePdnsAppKey(RemovePdnsAppKeyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.removePdnsAppKeyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>删除公共DNS Udp Ip地址段</p> * * @param request RemovePdnsUdpIpSegmentRequest * @param runtime runtime options for this request RuntimeOptions * @return RemovePdnsUdpIpSegmentResponse */ public RemovePdnsUdpIpSegmentResponse removePdnsUdpIpSegmentWithOptions(RemovePdnsUdpIpSegmentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.ip)) { query.put("Ip", request.ip); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RemovePdnsUdpIpSegment"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new RemovePdnsUdpIpSegmentResponse()); } /** * <b>summary</b> : * <p>删除公共DNS Udp Ip地址段</p> * * @param request RemovePdnsUdpIpSegmentRequest * @return RemovePdnsUdpIpSegmentResponse */ public RemovePdnsUdpIpSegmentResponse removePdnsUdpIpSegment(RemovePdnsUdpIpSegmentRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.removePdnsUdpIpSegmentWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Replaces the addresses referenced by an address pool.</p> * * @param tmpReq ReplaceCloudGtmAddressPoolAddressRequest * @param runtime runtime options for this request RuntimeOptions * @return ReplaceCloudGtmAddressPoolAddressResponse */ public ReplaceCloudGtmAddressPoolAddressResponse replaceCloudGtmAddressPoolAddressWithOptions(ReplaceCloudGtmAddressPoolAddressRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ReplaceCloudGtmAddressPoolAddressShrinkRequest request = new ReplaceCloudGtmAddressPoolAddressShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.addresses)) { request.addressesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.addresses, "Addresses", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolId)) { query.put("AddressPoolId", request.addressPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.addressesShrink)) { query.put("Addresses", request.addressesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ReplaceCloudGtmAddressPoolAddress"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ReplaceCloudGtmAddressPoolAddressResponse()); } /** * <b>summary</b> : * <p>Replaces the addresses referenced by an address pool.</p> * * @param request ReplaceCloudGtmAddressPoolAddressRequest * @return ReplaceCloudGtmAddressPoolAddressResponse */ public ReplaceCloudGtmAddressPoolAddressResponse replaceCloudGtmAddressPoolAddress(ReplaceCloudGtmAddressPoolAddressRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.replaceCloudGtmAddressPoolAddressWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Replaces address pools that are associated with a Global Traffic Manager (GTM) 3.0 instance with new address pools.</p> * * @param tmpReq ReplaceCloudGtmInstanceConfigAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return ReplaceCloudGtmInstanceConfigAddressPoolResponse */ public ReplaceCloudGtmInstanceConfigAddressPoolResponse replaceCloudGtmInstanceConfigAddressPoolWithOptions(ReplaceCloudGtmInstanceConfigAddressPoolRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ReplaceCloudGtmInstanceConfigAddressPoolShrinkRequest request = new ReplaceCloudGtmInstanceConfigAddressPoolShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.addressPools)) { request.addressPoolsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.addressPools, "AddressPools", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolsShrink)) { query.put("AddressPools", request.addressPoolsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ReplaceCloudGtmInstanceConfigAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ReplaceCloudGtmInstanceConfigAddressPoolResponse()); } /** * <b>summary</b> : * <p>Replaces address pools that are associated with a Global Traffic Manager (GTM) 3.0 instance with new address pools.</p> * * @param request ReplaceCloudGtmInstanceConfigAddressPoolRequest * @return ReplaceCloudGtmInstanceConfigAddressPoolResponse */ public ReplaceCloudGtmInstanceConfigAddressPoolResponse replaceCloudGtmInstanceConfigAddressPool(ReplaceCloudGtmInstanceConfigAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.replaceCloudGtmInstanceConfigAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>恢复公共DNS服务</p> * * @param request ResumePdnsServiceRequest * @param runtime runtime options for this request RuntimeOptions * @return ResumePdnsServiceResponse */ public ResumePdnsServiceResponse resumePdnsServiceWithOptions(ResumePdnsServiceRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.serviceType)) { query.put("ServiceType", request.serviceType); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ResumePdnsService"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ResumePdnsServiceResponse()); } /** * <b>summary</b> : * <p>恢复公共DNS服务</p> * * @param request ResumePdnsServiceRequest * @return ResumePdnsServiceResponse */ public ResumePdnsServiceResponse resumePdnsService(ResumePdnsServiceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.resumePdnsServiceWithOptions(request, runtime); } /** * <b>description</b> : * <p>To retrieve a domain name, you must verify a text (TXT) record. Therefore, before you call this API operation to retrieve a domain name, call the <a href="https://www.alibabacloud.com/help/en/alibaba-cloud-dns/latest/generating-a-txt-record">GetTxtRecordForVerify</a> operation to generate a TXT record.</p> * * <b>summary</b> : * <p>Retrieves a domain name.</p> * * @param request RetrieveDomainRequest * @param runtime runtime options for this request RuntimeOptions * @return RetrieveDomainResponse */ public RetrieveDomainResponse retrieveDomainWithOptions(RetrieveDomainRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RetrieveDomain"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new RetrieveDomainResponse()); } /** * <b>description</b> : * <p>To retrieve a domain name, you must verify a text (TXT) record. Therefore, before you call this API operation to retrieve a domain name, call the <a href="https://www.alibabacloud.com/help/en/alibaba-cloud-dns/latest/generating-a-txt-record">GetTxtRecordForVerify</a> operation to generate a TXT record.</p> * * <b>summary</b> : * <p>Retrieves a domain name.</p> * * @param request RetrieveDomainRequest * @return RetrieveDomainResponse */ public RetrieveDomainResponse retrieveDomain(RetrieveDomainRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.retrieveDomainWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Rolls back a disaster recovery plan.</p> * * @param request RollbackGtmRecoveryPlanRequest * @param runtime runtime options for this request RuntimeOptions * @return RollbackGtmRecoveryPlanResponse */ public RollbackGtmRecoveryPlanResponse rollbackGtmRecoveryPlanWithOptions(RollbackGtmRecoveryPlanRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recoveryPlanId)) { query.put("RecoveryPlanId", request.recoveryPlanId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RollbackGtmRecoveryPlan"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new RollbackGtmRecoveryPlanResponse()); } /** * <b>summary</b> : * <p>Rolls back a disaster recovery plan.</p> * * @param request RollbackGtmRecoveryPlanRequest * @return RollbackGtmRecoveryPlanResponse */ public RollbackGtmRecoveryPlanResponse rollbackGtmRecoveryPlan(RollbackGtmRecoveryPlanRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.rollbackGtmRecoveryPlanWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of address pools.</p> * * @param request SearchCloudGtmAddressPoolsRequest * @param runtime runtime options for this request RuntimeOptions * @return SearchCloudGtmAddressPoolsResponse */ public SearchCloudGtmAddressPoolsResponse searchCloudGtmAddressPoolsWithOptions(SearchCloudGtmAddressPoolsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolName)) { query.put("AddressPoolName", request.addressPoolName); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolType)) { query.put("AddressPoolType", request.addressPoolType); } if (!com.aliyun.teautil.Common.isUnset(request.availableStatus)) { query.put("AvailableStatus", request.availableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.healthStatus)) { query.put("HealthStatus", request.healthStatus); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SearchCloudGtmAddressPools"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SearchCloudGtmAddressPoolsResponse()); } /** * <b>summary</b> : * <p>Queries a list of address pools.</p> * * @param request SearchCloudGtmAddressPoolsRequest * @return SearchCloudGtmAddressPoolsResponse */ public SearchCloudGtmAddressPoolsResponse searchCloudGtmAddressPools(SearchCloudGtmAddressPoolsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.searchCloudGtmAddressPoolsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of addresses based on address names, descriptions, health check templates referenced by the addresses, or address IDs.</p> * * @param request SearchCloudGtmAddressesRequest * @param runtime runtime options for this request RuntimeOptions * @return SearchCloudGtmAddressesResponse */ public SearchCloudGtmAddressesResponse searchCloudGtmAddressesWithOptions(SearchCloudGtmAddressesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.address)) { query.put("Address", request.address); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.availableStatus)) { query.put("AvailableStatus", request.availableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.healthStatus)) { query.put("HealthStatus", request.healthStatus); } if (!com.aliyun.teautil.Common.isUnset(request.monitorTemplateName)) { query.put("MonitorTemplateName", request.monitorTemplateName); } if (!com.aliyun.teautil.Common.isUnset(request.nameSearchCondition)) { query.put("NameSearchCondition", request.nameSearchCondition); } if (!com.aliyun.teautil.Common.isUnset(request.names)) { query.put("Names", request.names); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remarkSearchCondition)) { query.put("RemarkSearchCondition", request.remarkSearchCondition); } if (!com.aliyun.teautil.Common.isUnset(request.remarks)) { query.put("Remarks", request.remarks); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SearchCloudGtmAddresses"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SearchCloudGtmAddressesResponse()); } /** * <b>summary</b> : * <p>Queries a list of addresses based on address names, descriptions, health check templates referenced by the addresses, or address IDs.</p> * * @param request SearchCloudGtmAddressesRequest * @return SearchCloudGtmAddressesResponse */ public SearchCloudGtmAddressesResponse searchCloudGtmAddresses(SearchCloudGtmAddressesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.searchCloudGtmAddressesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the configurations of an access domain name.</p> * * @param request SearchCloudGtmInstanceConfigsRequest * @param runtime runtime options for this request RuntimeOptions * @return SearchCloudGtmInstanceConfigsResponse */ public SearchCloudGtmInstanceConfigsResponse searchCloudGtmInstanceConfigsWithOptions(SearchCloudGtmInstanceConfigsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.availableStatus)) { query.put("AvailableStatus", request.availableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.healthStatus)) { query.put("HealthStatus", request.healthStatus); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleDomainName)) { query.put("ScheduleDomainName", request.scheduleDomainName); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleZoneName)) { query.put("ScheduleZoneName", request.scheduleZoneName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SearchCloudGtmInstanceConfigs"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SearchCloudGtmInstanceConfigsResponse()); } /** * <b>summary</b> : * <p>Queries the configurations of an access domain name.</p> * * @param request SearchCloudGtmInstanceConfigsRequest * @return SearchCloudGtmInstanceConfigsResponse */ public SearchCloudGtmInstanceConfigsResponse searchCloudGtmInstanceConfigs(SearchCloudGtmInstanceConfigsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.searchCloudGtmInstanceConfigsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries a list of instances.</p> * * @param request SearchCloudGtmInstancesRequest * @param runtime runtime options for this request RuntimeOptions * @return SearchCloudGtmInstancesResponse */ public SearchCloudGtmInstancesResponse searchCloudGtmInstancesWithOptions(SearchCloudGtmInstancesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceName)) { query.put("InstanceName", request.instanceName); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SearchCloudGtmInstances"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SearchCloudGtmInstancesResponse()); } /** * <b>summary</b> : * <p>Queries a list of instances.</p> * * @param request SearchCloudGtmInstancesRequest * @return SearchCloudGtmInstancesResponse */ public SearchCloudGtmInstancesResponse searchCloudGtmInstances(SearchCloudGtmInstancesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.searchCloudGtmInstancesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Queries the list of health check templates.</p> * * @param request SearchCloudGtmMonitorTemplatesRequest * @param runtime runtime options for this request RuntimeOptions * @return SearchCloudGtmMonitorTemplatesResponse */ public SearchCloudGtmMonitorTemplatesResponse searchCloudGtmMonitorTemplatesWithOptions(SearchCloudGtmMonitorTemplatesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.ipVersion)) { query.put("IpVersion", request.ipVersion); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.protocol)) { query.put("Protocol", request.protocol); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SearchCloudGtmMonitorTemplates"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SearchCloudGtmMonitorTemplatesResponse()); } /** * <b>summary</b> : * <p>Queries the list of health check templates.</p> * * @param request SearchCloudGtmMonitorTemplatesRequest * @return SearchCloudGtmMonitorTemplatesResponse */ public SearchCloudGtmMonitorTemplatesResponse searchCloudGtmMonitorTemplates(SearchCloudGtmMonitorTemplatesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.searchCloudGtmMonitorTemplatesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>搜索递归解析内置权威解析记录</p> * * @param request SearchRecursionRecordsRequest * @param runtime runtime options for this request RuntimeOptions * @return SearchRecursionRecordsResponse */ public SearchRecursionRecordsResponse searchRecursionRecordsWithOptions(SearchRecursionRecordsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.maxResults)) { query.put("MaxResults", request.maxResults); } if (!com.aliyun.teautil.Common.isUnset(request.nextToken)) { query.put("NextToken", request.nextToken); } if (!com.aliyun.teautil.Common.isUnset(request.orderBy)) { query.put("OrderBy", request.orderBy); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.requestSource)) { query.put("RequestSource", request.requestSource); } if (!com.aliyun.teautil.Common.isUnset(request.rr)) { query.put("Rr", request.rr); } if (!com.aliyun.teautil.Common.isUnset(request.ttl)) { query.put("Ttl", request.ttl); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.value)) { query.put("Value", request.value); } if (!com.aliyun.teautil.Common.isUnset(request.weight)) { query.put("Weight", request.weight); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SearchRecursionRecords"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SearchRecursionRecordsResponse()); } /** * <b>summary</b> : * <p>搜索递归解析内置权威解析记录</p> * * @param request SearchRecursionRecordsRequest * @return SearchRecursionRecordsResponse */ public SearchRecursionRecordsResponse searchRecursionRecords(SearchRecursionRecordsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.searchRecursionRecordsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>搜索递归解析内置权威域名zone</p> * * @param tmpReq SearchRecursionZonesRequest * @param runtime runtime options for this request RuntimeOptions * @return SearchRecursionZonesResponse */ public SearchRecursionZonesResponse searchRecursionZonesWithOptions(SearchRecursionZonesRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); SearchRecursionZonesShrinkRequest request = new SearchRecursionZonesShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.effectiveScopes)) { request.effectiveScopesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.effectiveScopes, "EffectiveScopes", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.direction)) { query.put("Direction", request.direction); } if (!com.aliyun.teautil.Common.isUnset(request.effectiveScopesShrink)) { query.put("EffectiveScopes", request.effectiveScopesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.maxResults)) { query.put("MaxResults", request.maxResults); } if (!com.aliyun.teautil.Common.isUnset(request.nextToken)) { query.put("NextToken", request.nextToken); } if (!com.aliyun.teautil.Common.isUnset(request.orderBy)) { query.put("OrderBy", request.orderBy); } if (!com.aliyun.teautil.Common.isUnset(request.pageNumber)) { query.put("PageNumber", request.pageNumber); } if (!com.aliyun.teautil.Common.isUnset(request.pageSize)) { query.put("PageSize", request.pageSize); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.zoneName)) { query.put("ZoneName", request.zoneName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SearchRecursionZones"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SearchRecursionZonesResponse()); } /** * <b>summary</b> : * <p>搜索递归解析内置权威域名zone</p> * * @param request SearchRecursionZonesRequest * @return SearchRecursionZonesResponse */ public SearchRecursionZonesResponse searchRecursionZones(SearchRecursionZonesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.searchRecursionZonesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Enables or disables weighted round-robin based on the specified parameters.</p> * * @param request SetDNSSLBStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return SetDNSSLBStatusResponse */ public SetDNSSLBStatusResponse setDNSSLBStatusWithOptions(SetDNSSLBStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.line)) { query.put("Line", request.line); } if (!com.aliyun.teautil.Common.isUnset(request.open)) { query.put("Open", request.open); } if (!com.aliyun.teautil.Common.isUnset(request.subDomain)) { query.put("SubDomain", request.subDomain); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SetDNSSLBStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SetDNSSLBStatusResponse()); } /** * <b>summary</b> : * <p>Enables or disables weighted round-robin based on the specified parameters.</p> * * @param request SetDNSSLBStatusRequest * @return SetDNSSLBStatusResponse */ public SetDNSSLBStatusResponse setDNSSLBStatus(SetDNSSLBStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.setDNSSLBStatusWithOptions(request, runtime); } /** * <b>description</b> : * <hr> * * <b>summary</b> : * <p>Modifies an access policy.</p> * * @param request SetDnsGtmAccessModeRequest * @param runtime runtime options for this request RuntimeOptions * @return SetDnsGtmAccessModeResponse */ public SetDnsGtmAccessModeResponse setDnsGtmAccessModeWithOptions(SetDnsGtmAccessModeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.accessMode)) { query.put("AccessMode", request.accessMode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyId)) { query.put("StrategyId", request.strategyId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SetDnsGtmAccessMode"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SetDnsGtmAccessModeResponse()); } /** * <b>description</b> : * <hr> * * <b>summary</b> : * <p>Modifies an access policy.</p> * * @param request SetDnsGtmAccessModeRequest * @return SetDnsGtmAccessModeResponse */ public SetDnsGtmAccessModeResponse setDnsGtmAccessMode(SetDnsGtmAccessModeRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.setDnsGtmAccessModeWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Specifies the health check status of an address pool.</p> * * @param request SetDnsGtmMonitorStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return SetDnsGtmMonitorStatusResponse */ public SetDnsGtmMonitorStatusResponse setDnsGtmMonitorStatusWithOptions(SetDnsGtmMonitorStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.monitorConfigId)) { query.put("MonitorConfigId", request.monitorConfigId); } if (!com.aliyun.teautil.Common.isUnset(request.status)) { query.put("Status", request.status); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SetDnsGtmMonitorStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SetDnsGtmMonitorStatusResponse()); } /** * <b>summary</b> : * <p>Specifies the health check status of an address pool.</p> * * @param request SetDnsGtmMonitorStatusRequest * @return SetDnsGtmMonitorStatusResponse */ public SetDnsGtmMonitorStatusResponse setDnsGtmMonitorStatus(SetDnsGtmMonitorStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.setDnsGtmMonitorStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Enables or disables the Domain Name System Security Extensions (DNSSEC) for a domain name. This feature is available only for the users of the paid editions of Alibaba Cloud DNS.</p> * * @param request SetDomainDnssecStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return SetDomainDnssecStatusResponse */ public SetDomainDnssecStatusResponse setDomainDnssecStatusWithOptions(SetDomainDnssecStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.status)) { query.put("Status", request.status); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SetDomainDnssecStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SetDomainDnssecStatusResponse()); } /** * <b>summary</b> : * <p>Enables or disables the Domain Name System Security Extensions (DNSSEC) for a domain name. This feature is available only for the users of the paid editions of Alibaba Cloud DNS.</p> * * @param request SetDomainDnssecStatusRequest * @return SetDomainDnssecStatusResponse */ public SetDomainDnssecStatusResponse setDomainDnssecStatus(SetDomainDnssecStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.setDomainDnssecStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Specifies the status of an Alibaba Cloud DNS (DNS) record based on the specified parameters.</p> * * @param request SetDomainRecordStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return SetDomainRecordStatusResponse */ public SetDomainRecordStatusResponse setDomainRecordStatusWithOptions(SetDomainRecordStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.status)) { query.put("Status", request.status); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SetDomainRecordStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SetDomainRecordStatusResponse()); } /** * <b>summary</b> : * <p>Specifies the status of an Alibaba Cloud DNS (DNS) record based on the specified parameters.</p> * * @param request SetDomainRecordStatusRequest * @return SetDomainRecordStatusResponse */ public SetDomainRecordStatusResponse setDomainRecordStatus(SetDomainRecordStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.setDomainRecordStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies a policy for switchover between address pool sets.</p> * * @param request SetGtmAccessModeRequest * @param runtime runtime options for this request RuntimeOptions * @return SetGtmAccessModeResponse */ public SetGtmAccessModeResponse setGtmAccessModeWithOptions(SetGtmAccessModeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.accessMode)) { query.put("AccessMode", request.accessMode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyId)) { query.put("StrategyId", request.strategyId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SetGtmAccessMode"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SetGtmAccessModeResponse()); } /** * <b>summary</b> : * <p>Modifies a policy for switchover between address pool sets.</p> * * @param request SetGtmAccessModeRequest * @return SetGtmAccessModeResponse */ public SetGtmAccessModeResponse setGtmAccessMode(SetGtmAccessModeRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.setGtmAccessModeWithOptions(request, runtime); } /** * @param request SetGtmMonitorStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return SetGtmMonitorStatusResponse */ public SetGtmMonitorStatusResponse setGtmMonitorStatusWithOptions(SetGtmMonitorStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.monitorConfigId)) { query.put("MonitorConfigId", request.monitorConfigId); } if (!com.aliyun.teautil.Common.isUnset(request.status)) { query.put("Status", request.status); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SetGtmMonitorStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SetGtmMonitorStatusResponse()); } /** * @param request SetGtmMonitorStatusRequest * @return SetGtmMonitorStatusResponse */ public SetGtmMonitorStatusResponse setGtmMonitorStatus(SetGtmMonitorStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.setGtmMonitorStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>提交缓存刷新任务</p> * * @param request SubmitIspFlushCacheTaskRequest * @param runtime runtime options for this request RuntimeOptions * @return SubmitIspFlushCacheTaskResponse */ public SubmitIspFlushCacheTaskResponse submitIspFlushCacheTaskWithOptions(SubmitIspFlushCacheTaskRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.isp)) { query.put("Isp", request.isp); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SubmitIspFlushCacheTask"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SubmitIspFlushCacheTaskResponse()); } /** * <b>summary</b> : * <p>提交缓存刷新任务</p> * * @param request SubmitIspFlushCacheTaskRequest * @return SubmitIspFlushCacheTaskResponse */ public SubmitIspFlushCacheTaskResponse submitIspFlushCacheTask(SubmitIspFlushCacheTaskRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.submitIspFlushCacheTaskWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Changes the access policy type for a Global Traffic Manager (GTM) instance.</p> * * @param request SwitchDnsGtmInstanceStrategyModeRequest * @param runtime runtime options for this request RuntimeOptions * @return SwitchDnsGtmInstanceStrategyModeResponse */ public SwitchDnsGtmInstanceStrategyModeResponse switchDnsGtmInstanceStrategyModeWithOptions(SwitchDnsGtmInstanceStrategyModeRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyMode)) { query.put("StrategyMode", request.strategyMode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "SwitchDnsGtmInstanceStrategyMode"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new SwitchDnsGtmInstanceStrategyModeResponse()); } /** * <b>summary</b> : * <p>Changes the access policy type for a Global Traffic Manager (GTM) instance.</p> * * @param request SwitchDnsGtmInstanceStrategyModeRequest * @return SwitchDnsGtmInstanceStrategyModeResponse */ public SwitchDnsGtmInstanceStrategyModeResponse switchDnsGtmInstanceStrategyMode(SwitchDnsGtmInstanceStrategyModeRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.switchDnsGtmInstanceStrategyModeWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Adds and modifies a tag for a resource.</p> * * @param request TagResourcesRequest * @param runtime runtime options for this request RuntimeOptions * @return TagResourcesResponse */ public TagResourcesResponse tagResourcesWithOptions(TagResourcesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceType)) { query.put("ResourceType", request.resourceType); } if (!com.aliyun.teautil.Common.isUnset(request.tag)) { query.put("Tag", request.tag); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "TagResources"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new TagResourcesResponse()); } /** * <b>summary</b> : * <p>Adds and modifies a tag for a resource.</p> * * @param request TagResourcesRequest * @return TagResourcesResponse */ public TagResourcesResponse tagResources(TagResourcesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.tagResourcesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Transfers multiple domain names from the current account to another account at a time.</p> * * @param request TransferDomainRequest * @param runtime runtime options for this request RuntimeOptions * @return TransferDomainResponse */ public TransferDomainResponse transferDomainWithOptions(TransferDomainRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainNames)) { query.put("DomainNames", request.domainNames); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.targetUserId)) { query.put("TargetUserId", request.targetUserId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "TransferDomain"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new TransferDomainResponse()); } /** * <b>summary</b> : * <p>Transfers multiple domain names from the current account to another account at a time.</p> * * @param request TransferDomainRequest * @return TransferDomainResponse */ public TransferDomainResponse transferDomain(TransferDomainRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.transferDomainWithOptions(request, runtime); } /** * <b>description</b> : * <p>A paid Alibaba Cloud DNS instance whose ID starts with dns is an instance of the new version. You can call an API operation to bind multiple domain names to the instance. If the upper limit is exceeded, an error message is returned.\ * A paid Alibaba Cloud DNS instance whose ID does not start with dns is an instance of the old version. You can call an API operation to bind only one domain name to the instance. However, if the instance that you want to bind to the desired domain name is already bound to a domain name, you can call this operation to unbind the original domain name from the instance and then bind the desired domain name to the instance.</p> * * <b>summary</b> : * <p>Unbinds one or more domain names from a paid Alibaba Cloud DNS instance based on the instance ID.</p> * * @param request UnbindInstanceDomainsRequest * @param runtime runtime options for this request RuntimeOptions * @return UnbindInstanceDomainsResponse */ public UnbindInstanceDomainsResponse unbindInstanceDomainsWithOptions(UnbindInstanceDomainsRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainNames)) { query.put("DomainNames", request.domainNames); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UnbindInstanceDomains"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UnbindInstanceDomainsResponse()); } /** * <b>description</b> : * <p>A paid Alibaba Cloud DNS instance whose ID starts with dns is an instance of the new version. You can call an API operation to bind multiple domain names to the instance. If the upper limit is exceeded, an error message is returned.\ * A paid Alibaba Cloud DNS instance whose ID does not start with dns is an instance of the old version. You can call an API operation to bind only one domain name to the instance. However, if the instance that you want to bind to the desired domain name is already bound to a domain name, you can call this operation to unbind the original domain name from the instance and then bind the desired domain name to the instance.</p> * * <b>summary</b> : * <p>Unbinds one or more domain names from a paid Alibaba Cloud DNS instance based on the instance ID.</p> * * @param request UnbindInstanceDomainsRequest * @return UnbindInstanceDomainsResponse */ public UnbindInstanceDomainsResponse unbindInstanceDomains(UnbindInstanceDomainsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.unbindInstanceDomainsWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Removes tags from resources.</p> * * @param request UntagResourcesRequest * @param runtime runtime options for this request RuntimeOptions * @return UntagResourcesResponse */ public UntagResourcesResponse untagResourcesWithOptions(UntagResourcesRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.all)) { query.put("All", request.all); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.resourceId)) { query.put("ResourceId", request.resourceId); } if (!com.aliyun.teautil.Common.isUnset(request.resourceType)) { query.put("ResourceType", request.resourceType); } if (!com.aliyun.teautil.Common.isUnset(request.tagKey)) { query.put("TagKey", request.tagKey); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UntagResources"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UntagResourcesResponse()); } /** * <b>summary</b> : * <p>Removes tags from resources.</p> * * @param request UntagResourcesRequest * @return UntagResourcesResponse */ public UntagResourcesResponse untagResources(UntagResourcesRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.untagResourcesWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改 AppKey 状态</p> * * @param request UpdateAppKeyStateRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateAppKeyStateResponse */ public UpdateAppKeyStateResponse updateAppKeyStateWithOptions(UpdateAppKeyStateRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.appKeyId)) { query.put("AppKeyId", request.appKeyId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.state)) { query.put("State", request.state); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateAppKeyState"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateAppKeyStateResponse()); } /** * <b>summary</b> : * <p>修改 AppKey 状态</p> * * @param request UpdateAppKeyStateRequest * @return UpdateAppKeyStateResponse */ public UpdateAppKeyStateResponse updateAppKeyState(UpdateAppKeyStateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateAppKeyStateWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the condition for determining the health status of a specified address.</p> * * @param tmpReq UpdateCloudGtmAddressRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmAddressResponse */ public UpdateCloudGtmAddressResponse updateCloudGtmAddressWithOptions(UpdateCloudGtmAddressRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateCloudGtmAddressShrinkRequest request = new UpdateCloudGtmAddressShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.healthTasks)) { request.healthTasksShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.healthTasks, "HealthTasks", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.address)) { query.put("Address", request.address); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.attributeInfo)) { query.put("AttributeInfo", request.attributeInfo); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.healthJudgement)) { query.put("HealthJudgement", request.healthJudgement); } if (!com.aliyun.teautil.Common.isUnset(request.healthTasksShrink)) { query.put("HealthTasks", request.healthTasksShrink); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmAddress"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmAddressResponse()); } /** * <b>summary</b> : * <p>Modifies the condition for determining the health status of a specified address.</p> * * @param request UpdateCloudGtmAddressRequest * @return UpdateCloudGtmAddressResponse */ public UpdateCloudGtmAddressResponse updateCloudGtmAddress(UpdateCloudGtmAddressRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmAddressWithOptions(request, runtime); } /** * <b>description</b> : * <p> If an address is <strong>enabled</strong> and the health status of the address is <strong>Normal</strong>, the availability status of the address is <strong>Available</strong>.</p> * <ul> * <li>If an address is <strong>disabled</strong> or the health status of the address is <strong>Abnormal</strong>, the availability status of the address is <strong>Unavailable</strong>.</li> * </ul> * * <b>summary</b> : * <p>Modifies the enabling status of an address.</p> * * @param request UpdateCloudGtmAddressEnableStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmAddressEnableStatusResponse */ public UpdateCloudGtmAddressEnableStatusResponse updateCloudGtmAddressEnableStatusWithOptions(UpdateCloudGtmAddressEnableStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmAddressEnableStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmAddressEnableStatusResponse()); } /** * <b>description</b> : * <p> If an address is <strong>enabled</strong> and the health status of the address is <strong>Normal</strong>, the availability status of the address is <strong>Available</strong>.</p> * <ul> * <li>If an address is <strong>disabled</strong> or the health status of the address is <strong>Abnormal</strong>, the availability status of the address is <strong>Unavailable</strong>.</li> * </ul> * * <b>summary</b> : * <p>Modifies the enabling status of an address.</p> * * @param request UpdateCloudGtmAddressEnableStatusRequest * @return UpdateCloudGtmAddressEnableStatusResponse */ public UpdateCloudGtmAddressEnableStatusResponse updateCloudGtmAddressEnableStatus(UpdateCloudGtmAddressEnableStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmAddressEnableStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the failover mode that is used when address exceptions are identified.</p> * * @param request UpdateCloudGtmAddressManualAvailableStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmAddressManualAvailableStatusResponse */ public UpdateCloudGtmAddressManualAvailableStatusResponse updateCloudGtmAddressManualAvailableStatusWithOptions(UpdateCloudGtmAddressManualAvailableStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.availableMode)) { query.put("AvailableMode", request.availableMode); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.manualAvailableStatus)) { query.put("ManualAvailableStatus", request.manualAvailableStatus); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmAddressManualAvailableStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmAddressManualAvailableStatusResponse()); } /** * <b>summary</b> : * <p>Modifies the failover mode that is used when address exceptions are identified.</p> * * @param request UpdateCloudGtmAddressManualAvailableStatusRequest * @return UpdateCloudGtmAddressManualAvailableStatusResponse */ public UpdateCloudGtmAddressManualAvailableStatusResponse updateCloudGtmAddressManualAvailableStatus(UpdateCloudGtmAddressManualAvailableStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmAddressManualAvailableStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the basic configurations of an address pool.</p> * * @param request UpdateCloudGtmAddressPoolBasicConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmAddressPoolBasicConfigResponse */ public UpdateCloudGtmAddressPoolBasicConfigResponse updateCloudGtmAddressPoolBasicConfigWithOptions(UpdateCloudGtmAddressPoolBasicConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolId)) { query.put("AddressPoolId", request.addressPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolName)) { query.put("AddressPoolName", request.addressPoolName); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.healthJudgement)) { query.put("HealthJudgement", request.healthJudgement); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmAddressPoolBasicConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmAddressPoolBasicConfigResponse()); } /** * <b>summary</b> : * <p>Modifies the basic configurations of an address pool.</p> * * @param request UpdateCloudGtmAddressPoolBasicConfigRequest * @return UpdateCloudGtmAddressPoolBasicConfigResponse */ public UpdateCloudGtmAddressPoolBasicConfigResponse updateCloudGtmAddressPoolBasicConfig(UpdateCloudGtmAddressPoolBasicConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmAddressPoolBasicConfigWithOptions(request, runtime); } /** * <b>description</b> : * <p> If an address pool is <strong>enabled</strong> and the health status of the address pool is <strong>Normal</strong>, the availability status of the address pool is <strong>Available</strong>.</p> * <ul> * <li>If an address pool is <strong>disabled</strong> or the health status of the address pool is <strong>Abnormal</strong>, the availability status of the address pool is <strong>unavailable</strong>.</li> * </ul> * * <b>summary</b> : * <p>Modifies the enabling status of an address pool.</p> * * @param request UpdateCloudGtmAddressPoolEnableStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmAddressPoolEnableStatusResponse */ public UpdateCloudGtmAddressPoolEnableStatusResponse updateCloudGtmAddressPoolEnableStatusWithOptions(UpdateCloudGtmAddressPoolEnableStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolId)) { query.put("AddressPoolId", request.addressPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmAddressPoolEnableStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmAddressPoolEnableStatusResponse()); } /** * <b>description</b> : * <p> If an address pool is <strong>enabled</strong> and the health status of the address pool is <strong>Normal</strong>, the availability status of the address pool is <strong>Available</strong>.</p> * <ul> * <li>If an address pool is <strong>disabled</strong> or the health status of the address pool is <strong>Abnormal</strong>, the availability status of the address pool is <strong>unavailable</strong>.</li> * </ul> * * <b>summary</b> : * <p>Modifies the enabling status of an address pool.</p> * * @param request UpdateCloudGtmAddressPoolEnableStatusRequest * @return UpdateCloudGtmAddressPoolEnableStatusResponse */ public UpdateCloudGtmAddressPoolEnableStatusResponse updateCloudGtmAddressPoolEnableStatus(UpdateCloudGtmAddressPoolEnableStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmAddressPoolEnableStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the load balancing policy of an address pool.</p> * * @param request UpdateCloudGtmAddressPoolLbStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmAddressPoolLbStrategyResponse */ public UpdateCloudGtmAddressPoolLbStrategyResponse updateCloudGtmAddressPoolLbStrategyWithOptions(UpdateCloudGtmAddressPoolLbStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressLbStrategy)) { query.put("AddressLbStrategy", request.addressLbStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolId)) { query.put("AddressPoolId", request.addressPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.sequenceLbStrategyMode)) { query.put("SequenceLbStrategyMode", request.sequenceLbStrategyMode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmAddressPoolLbStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmAddressPoolLbStrategyResponse()); } /** * <b>summary</b> : * <p>Modifies the load balancing policy of an address pool.</p> * * @param request UpdateCloudGtmAddressPoolLbStrategyRequest * @return UpdateCloudGtmAddressPoolLbStrategyResponse */ public UpdateCloudGtmAddressPoolLbStrategyResponse updateCloudGtmAddressPoolLbStrategy(UpdateCloudGtmAddressPoolLbStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmAddressPoolLbStrategyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the remarks of an address pool.</p> * * @param request UpdateCloudGtmAddressPoolRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmAddressPoolRemarkResponse */ public UpdateCloudGtmAddressPoolRemarkResponse updateCloudGtmAddressPoolRemarkWithOptions(UpdateCloudGtmAddressPoolRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolId)) { query.put("AddressPoolId", request.addressPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmAddressPoolRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmAddressPoolRemarkResponse()); } /** * <b>summary</b> : * <p>Modifies the remarks of an address pool.</p> * * @param request UpdateCloudGtmAddressPoolRemarkRequest * @return UpdateCloudGtmAddressPoolRemarkResponse */ public UpdateCloudGtmAddressPoolRemarkResponse updateCloudGtmAddressPoolRemark(UpdateCloudGtmAddressPoolRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmAddressPoolRemarkWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the remarks of an address.</p> * * @param request UpdateCloudGtmAddressRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmAddressRemarkResponse */ public UpdateCloudGtmAddressRemarkResponse updateCloudGtmAddressRemarkWithOptions(UpdateCloudGtmAddressRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressId)) { query.put("AddressId", request.addressId); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmAddressRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmAddressRemarkResponse()); } /** * <b>summary</b> : * <p>Modifies the remarks of an address.</p> * * @param request UpdateCloudGtmAddressRemarkRequest * @return UpdateCloudGtmAddressRemarkResponse */ public UpdateCloudGtmAddressRemarkResponse updateCloudGtmAddressRemark(UpdateCloudGtmAddressRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmAddressRemarkWithOptions(request, runtime); } /** * @param tmpReq UpdateCloudGtmGlobalAlertRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmGlobalAlertResponse */ public UpdateCloudGtmGlobalAlertResponse updateCloudGtmGlobalAlertWithOptions(UpdateCloudGtmGlobalAlertRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateCloudGtmGlobalAlertShrinkRequest request = new UpdateCloudGtmGlobalAlertShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.alertConfig)) { request.alertConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.alertConfig, "AlertConfig", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.alertGroup)) { request.alertGroupShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.alertGroup, "AlertGroup", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.alertConfigShrink)) { query.put("AlertConfig", request.alertConfigShrink); } if (!com.aliyun.teautil.Common.isUnset(request.alertGroupShrink)) { query.put("AlertGroup", request.alertGroupShrink); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmGlobalAlert"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmGlobalAlertResponse()); } /** * @param request UpdateCloudGtmGlobalAlertRequest * @return UpdateCloudGtmGlobalAlertResponse */ public UpdateCloudGtmGlobalAlertResponse updateCloudGtmGlobalAlert(UpdateCloudGtmGlobalAlertRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmGlobalAlertWithOptions(request, runtime); } /** * @param tmpReq UpdateCloudGtmInstanceConfigAlertRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmInstanceConfigAlertResponse */ public UpdateCloudGtmInstanceConfigAlertResponse updateCloudGtmInstanceConfigAlertWithOptions(UpdateCloudGtmInstanceConfigAlertRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateCloudGtmInstanceConfigAlertShrinkRequest request = new UpdateCloudGtmInstanceConfigAlertShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.alertConfig)) { request.alertConfigShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.alertConfig, "AlertConfig", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.alertGroup)) { request.alertGroupShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.alertGroup, "AlertGroup", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.alertConfigShrink)) { query.put("AlertConfig", request.alertConfigShrink); } if (!com.aliyun.teautil.Common.isUnset(request.alertGroupShrink)) { query.put("AlertGroup", request.alertGroupShrink); } if (!com.aliyun.teautil.Common.isUnset(request.alertMode)) { query.put("AlertMode", request.alertMode); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmInstanceConfigAlert"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmInstanceConfigAlertResponse()); } /** * @param request UpdateCloudGtmInstanceConfigAlertRequest * @return UpdateCloudGtmInstanceConfigAlertResponse */ public UpdateCloudGtmInstanceConfigAlertResponse updateCloudGtmInstanceConfigAlert(UpdateCloudGtmInstanceConfigAlertRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmInstanceConfigAlertWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Updates the global time-to-live (TTL) configuration of a GTM 3.0 instance.</p> * * @param request UpdateCloudGtmInstanceConfigBasicRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmInstanceConfigBasicResponse */ public UpdateCloudGtmInstanceConfigBasicResponse updateCloudGtmInstanceConfigBasicWithOptions(UpdateCloudGtmInstanceConfigBasicRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleHostname)) { query.put("ScheduleHostname", request.scheduleHostname); } if (!com.aliyun.teautil.Common.isUnset(request.scheduleZoneName)) { query.put("ScheduleZoneName", request.scheduleZoneName); } if (!com.aliyun.teautil.Common.isUnset(request.ttl)) { query.put("Ttl", request.ttl); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmInstanceConfigBasic"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmInstanceConfigBasicResponse()); } /** * <b>summary</b> : * <p>Updates the global time-to-live (TTL) configuration of a GTM 3.0 instance.</p> * * @param request UpdateCloudGtmInstanceConfigBasicRequest * @return UpdateCloudGtmInstanceConfigBasicResponse */ public UpdateCloudGtmInstanceConfigBasicResponse updateCloudGtmInstanceConfigBasic(UpdateCloudGtmInstanceConfigBasicRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmInstanceConfigBasicWithOptions(request, runtime); } /** * <b>description</b> : * <p> If an access domain name is <strong>enabled</strong> and the health state is <strong>normal</strong>, the access domain name is deemed <strong>available</strong>.</p> * <ul> * <li>If an access domain name is <strong>disabled</strong> or the health state is <strong>abnormal</strong>, the access domain name is deemed <strong>unavailable</strong>.</li> * </ul> * * <b>summary</b> : * <p>Modifies the enabling status of an access domain name.</p> * * @param request UpdateCloudGtmInstanceConfigEnableStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmInstanceConfigEnableStatusResponse */ public UpdateCloudGtmInstanceConfigEnableStatusResponse updateCloudGtmInstanceConfigEnableStatusWithOptions(UpdateCloudGtmInstanceConfigEnableStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmInstanceConfigEnableStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmInstanceConfigEnableStatusResponse()); } /** * <b>description</b> : * <p> If an access domain name is <strong>enabled</strong> and the health state is <strong>normal</strong>, the access domain name is deemed <strong>available</strong>.</p> * <ul> * <li>If an access domain name is <strong>disabled</strong> or the health state is <strong>abnormal</strong>, the access domain name is deemed <strong>unavailable</strong>.</li> * </ul> * * <b>summary</b> : * <p>Modifies the enabling status of an access domain name.</p> * * @param request UpdateCloudGtmInstanceConfigEnableStatusRequest * @return UpdateCloudGtmInstanceConfigEnableStatusResponse */ public UpdateCloudGtmInstanceConfigEnableStatusResponse updateCloudGtmInstanceConfigEnableStatus(UpdateCloudGtmInstanceConfigEnableStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmInstanceConfigEnableStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the load balancing policy of a Global Traffic Manager (GTM) 3.0 instance.</p> * * @param request UpdateCloudGtmInstanceConfigLbStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmInstanceConfigLbStrategyResponse */ public UpdateCloudGtmInstanceConfigLbStrategyResponse updateCloudGtmInstanceConfigLbStrategyWithOptions(UpdateCloudGtmInstanceConfigLbStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.addressPoolLbStrategy)) { query.put("AddressPoolLbStrategy", request.addressPoolLbStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.sequenceLbStrategyMode)) { query.put("SequenceLbStrategyMode", request.sequenceLbStrategyMode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmInstanceConfigLbStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmInstanceConfigLbStrategyResponse()); } /** * <b>summary</b> : * <p>Modifies the load balancing policy of a Global Traffic Manager (GTM) 3.0 instance.</p> * * @param request UpdateCloudGtmInstanceConfigLbStrategyRequest * @return UpdateCloudGtmInstanceConfigLbStrategyResponse */ public UpdateCloudGtmInstanceConfigLbStrategyResponse updateCloudGtmInstanceConfigLbStrategy(UpdateCloudGtmInstanceConfigLbStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmInstanceConfigLbStrategyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the description of a Global Traffic Manager (GTM) 3.0 instance.</p> * * @param request UpdateCloudGtmInstanceConfigRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmInstanceConfigRemarkResponse */ public UpdateCloudGtmInstanceConfigRemarkResponse updateCloudGtmInstanceConfigRemarkWithOptions(UpdateCloudGtmInstanceConfigRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.configId)) { query.put("ConfigId", request.configId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmInstanceConfigRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmInstanceConfigRemarkResponse()); } /** * <b>summary</b> : * <p>Modifies the description of a Global Traffic Manager (GTM) 3.0 instance.</p> * * @param request UpdateCloudGtmInstanceConfigRemarkRequest * @return UpdateCloudGtmInstanceConfigRemarkResponse */ public UpdateCloudGtmInstanceConfigRemarkResponse updateCloudGtmInstanceConfigRemark(UpdateCloudGtmInstanceConfigRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmInstanceConfigRemarkWithOptions(request, runtime); } /** * @param request UpdateCloudGtmInstanceNameRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmInstanceNameResponse */ public UpdateCloudGtmInstanceNameResponse updateCloudGtmInstanceNameWithOptions(UpdateCloudGtmInstanceNameRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceName)) { query.put("InstanceName", request.instanceName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmInstanceName"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmInstanceNameResponse()); } /** * @param request UpdateCloudGtmInstanceNameRequest * @return UpdateCloudGtmInstanceNameResponse */ public UpdateCloudGtmInstanceNameResponse updateCloudGtmInstanceName(UpdateCloudGtmInstanceNameRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmInstanceNameWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the information about a health check template.</p> * * @param tmpReq UpdateCloudGtmMonitorTemplateRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmMonitorTemplateResponse */ public UpdateCloudGtmMonitorTemplateResponse updateCloudGtmMonitorTemplateWithOptions(UpdateCloudGtmMonitorTemplateRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateCloudGtmMonitorTemplateShrinkRequest request = new UpdateCloudGtmMonitorTemplateShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.ispCityNodes)) { request.ispCityNodesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.ispCityNodes, "IspCityNodes", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.evaluationCount)) { query.put("EvaluationCount", request.evaluationCount); } if (!com.aliyun.teautil.Common.isUnset(request.extendInfo)) { query.put("ExtendInfo", request.extendInfo); } if (!com.aliyun.teautil.Common.isUnset(request.failureRate)) { query.put("FailureRate", request.failureRate); } if (!com.aliyun.teautil.Common.isUnset(request.interval)) { query.put("Interval", request.interval); } if (!com.aliyun.teautil.Common.isUnset(request.ispCityNodesShrink)) { query.put("IspCityNodes", request.ispCityNodesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.templateId)) { query.put("TemplateId", request.templateId); } if (!com.aliyun.teautil.Common.isUnset(request.timeout)) { query.put("Timeout", request.timeout); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmMonitorTemplate"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmMonitorTemplateResponse()); } /** * <b>summary</b> : * <p>Modifies the information about a health check template.</p> * * @param request UpdateCloudGtmMonitorTemplateRequest * @return UpdateCloudGtmMonitorTemplateResponse */ public UpdateCloudGtmMonitorTemplateResponse updateCloudGtmMonitorTemplate(UpdateCloudGtmMonitorTemplateRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmMonitorTemplateWithOptions(request, runtime); } /** * @param request UpdateCloudGtmMonitorTemplateRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCloudGtmMonitorTemplateRemarkResponse */ public UpdateCloudGtmMonitorTemplateRemarkResponse updateCloudGtmMonitorTemplateRemarkWithOptions(UpdateCloudGtmMonitorTemplateRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.acceptLanguage)) { query.put("AcceptLanguage", request.acceptLanguage); } if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.templateId)) { query.put("TemplateId", request.templateId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCloudGtmMonitorTemplateRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCloudGtmMonitorTemplateRemarkResponse()); } /** * @param request UpdateCloudGtmMonitorTemplateRemarkRequest * @return UpdateCloudGtmMonitorTemplateRemarkResponse */ public UpdateCloudGtmMonitorTemplateRemarkResponse updateCloudGtmMonitorTemplateRemark(UpdateCloudGtmMonitorTemplateRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCloudGtmMonitorTemplateRemarkWithOptions(request, runtime); } /** * <b>description</b> : * <p>In each CIDR block, the end IP address must be greater than or equal to the start IP address.\ * The CIDR blocks that are specified for all custom lines of a domain name cannot be overlapped.</p> * * <b>summary</b> : * <p>Modifies a custom line with its unique ID.</p> * * @param request UpdateCustomLineRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateCustomLineResponse */ public UpdateCustomLineResponse updateCustomLineWithOptions(UpdateCustomLineRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.ipSegment)) { query.put("IpSegment", request.ipSegment); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lineId)) { query.put("LineId", request.lineId); } if (!com.aliyun.teautil.Common.isUnset(request.lineName)) { query.put("LineName", request.lineName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateCustomLine"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateCustomLineResponse()); } /** * <b>description</b> : * <p>In each CIDR block, the end IP address must be greater than or equal to the start IP address.\ * The CIDR blocks that are specified for all custom lines of a domain name cannot be overlapped.</p> * * <b>summary</b> : * <p>Modifies a custom line with its unique ID.</p> * * @param request UpdateCustomLineRequest * @return UpdateCustomLineResponse */ public UpdateCustomLineResponse updateCustomLine(UpdateCustomLineRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateCustomLineWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the weight of a Domain Name System (DNS) record based on the specified parameters.</p> * * @param request UpdateDNSSLBWeightRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDNSSLBWeightResponse */ public UpdateDNSSLBWeightResponse updateDNSSLBWeightWithOptions(UpdateDNSSLBWeightRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } if (!com.aliyun.teautil.Common.isUnset(request.weight)) { query.put("Weight", request.weight); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDNSSLBWeight"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDNSSLBWeightResponse()); } /** * <b>summary</b> : * <p>Modifies the weight of a Domain Name System (DNS) record based on the specified parameters.</p> * * @param request UpdateDNSSLBWeightRequest * @return UpdateDNSSLBWeightResponse */ public UpdateDNSSLBWeightResponse updateDNSSLBWeight(UpdateDNSSLBWeightRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDNSSLBWeightWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Updates the cache-accelerated domain name based on the specified parameters.</p> * * @param request UpdateDnsCacheDomainRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDnsCacheDomainResponse */ public UpdateDnsCacheDomainResponse updateDnsCacheDomainWithOptions(UpdateDnsCacheDomainRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.cacheTtlMax)) { query.put("CacheTtlMax", request.cacheTtlMax); } if (!com.aliyun.teautil.Common.isUnset(request.cacheTtlMin)) { query.put("CacheTtlMin", request.cacheTtlMin); } if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.sourceDnsServer)) { query.put("SourceDnsServer", request.sourceDnsServer); } if (!com.aliyun.teautil.Common.isUnset(request.sourceEdns)) { query.put("SourceEdns", request.sourceEdns); } if (!com.aliyun.teautil.Common.isUnset(request.sourceProtocol)) { query.put("SourceProtocol", request.sourceProtocol); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDnsCacheDomain"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDnsCacheDomainResponse()); } /** * <b>summary</b> : * <p>Updates the cache-accelerated domain name based on the specified parameters.</p> * * @param request UpdateDnsCacheDomainRequest * @return UpdateDnsCacheDomainResponse */ public UpdateDnsCacheDomainResponse updateDnsCacheDomain(UpdateDnsCacheDomainRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDnsCacheDomainWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Updates the remarks for the cache-accelerated domain name of the destination domain name.</p> * * @param request UpdateDnsCacheDomainRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDnsCacheDomainRemarkResponse */ public UpdateDnsCacheDomainRemarkResponse updateDnsCacheDomainRemarkWithOptions(UpdateDnsCacheDomainRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDnsCacheDomainRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDnsCacheDomainRemarkResponse()); } /** * <b>summary</b> : * <p>Updates the remarks for the cache-accelerated domain name of the destination domain name.</p> * * @param request UpdateDnsCacheDomainRemarkRequest * @return UpdateDnsCacheDomainRemarkResponse */ public UpdateDnsCacheDomainRemarkResponse updateDnsCacheDomainRemark(UpdateDnsCacheDomainRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDnsCacheDomainRemarkWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies an access policy.</p> * * @param request UpdateDnsGtmAccessStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDnsGtmAccessStrategyResponse */ public UpdateDnsGtmAccessStrategyResponse updateDnsGtmAccessStrategyWithOptions(UpdateDnsGtmAccessStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.accessMode)) { query.put("AccessMode", request.accessMode); } if (!com.aliyun.teautil.Common.isUnset(request.defaultAddrPool)) { query.put("DefaultAddrPool", request.defaultAddrPool); } if (!com.aliyun.teautil.Common.isUnset(request.defaultAddrPoolType)) { query.put("DefaultAddrPoolType", request.defaultAddrPoolType); } if (!com.aliyun.teautil.Common.isUnset(request.defaultLatencyOptimization)) { query.put("DefaultLatencyOptimization", request.defaultLatencyOptimization); } if (!com.aliyun.teautil.Common.isUnset(request.defaultLbaStrategy)) { query.put("DefaultLbaStrategy", request.defaultLbaStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.defaultMaxReturnAddrNum)) { query.put("DefaultMaxReturnAddrNum", request.defaultMaxReturnAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.defaultMinAvailableAddrNum)) { query.put("DefaultMinAvailableAddrNum", request.defaultMinAvailableAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.failoverAddrPool)) { query.put("FailoverAddrPool", request.failoverAddrPool); } if (!com.aliyun.teautil.Common.isUnset(request.failoverAddrPoolType)) { query.put("FailoverAddrPoolType", request.failoverAddrPoolType); } if (!com.aliyun.teautil.Common.isUnset(request.failoverLatencyOptimization)) { query.put("FailoverLatencyOptimization", request.failoverLatencyOptimization); } if (!com.aliyun.teautil.Common.isUnset(request.failoverLbaStrategy)) { query.put("FailoverLbaStrategy", request.failoverLbaStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.failoverMaxReturnAddrNum)) { query.put("FailoverMaxReturnAddrNum", request.failoverMaxReturnAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.failoverMinAvailableAddrNum)) { query.put("FailoverMinAvailableAddrNum", request.failoverMinAvailableAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lines)) { query.put("Lines", request.lines); } if (!com.aliyun.teautil.Common.isUnset(request.strategyId)) { query.put("StrategyId", request.strategyId); } if (!com.aliyun.teautil.Common.isUnset(request.strategyName)) { query.put("StrategyName", request.strategyName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDnsGtmAccessStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDnsGtmAccessStrategyResponse()); } /** * <b>summary</b> : * <p>Modifies an access policy.</p> * * @param request UpdateDnsGtmAccessStrategyRequest * @return UpdateDnsGtmAccessStrategyResponse */ public UpdateDnsGtmAccessStrategyResponse updateDnsGtmAccessStrategy(UpdateDnsGtmAccessStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDnsGtmAccessStrategyWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies an address pool.</p> * * @param request UpdateDnsGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDnsGtmAddressPoolResponse */ public UpdateDnsGtmAddressPoolResponse updateDnsGtmAddressPoolWithOptions(UpdateDnsGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addr)) { query.put("Addr", request.addr); } if (!com.aliyun.teautil.Common.isUnset(request.addrPoolId)) { query.put("AddrPoolId", request.addrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lbaStrategy)) { query.put("LbaStrategy", request.lbaStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDnsGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDnsGtmAddressPoolResponse()); } /** * <b>summary</b> : * <p>Modifies an address pool.</p> * * @param request UpdateDnsGtmAddressPoolRequest * @return UpdateDnsGtmAddressPoolResponse */ public UpdateDnsGtmAddressPoolResponse updateDnsGtmAddressPool(UpdateDnsGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDnsGtmAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the configurations of a Global Traffic Manager (GTM) instance.</p> * * @param request UpdateDnsGtmInstanceGlobalConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDnsGtmInstanceGlobalConfigResponse */ public UpdateDnsGtmInstanceGlobalConfigResponse updateDnsGtmInstanceGlobalConfigWithOptions(UpdateDnsGtmInstanceGlobalConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.alertConfig)) { query.put("AlertConfig", request.alertConfig); } if (!com.aliyun.teautil.Common.isUnset(request.alertGroup)) { query.put("AlertGroup", request.alertGroup); } if (!com.aliyun.teautil.Common.isUnset(request.cnameType)) { query.put("CnameType", request.cnameType); } if (!com.aliyun.teautil.Common.isUnset(request.forceUpdate)) { query.put("ForceUpdate", request.forceUpdate); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceName)) { query.put("InstanceName", request.instanceName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.publicCnameMode)) { query.put("PublicCnameMode", request.publicCnameMode); } if (!com.aliyun.teautil.Common.isUnset(request.publicRr)) { query.put("PublicRr", request.publicRr); } if (!com.aliyun.teautil.Common.isUnset(request.publicUserDomainName)) { query.put("PublicUserDomainName", request.publicUserDomainName); } if (!com.aliyun.teautil.Common.isUnset(request.publicZoneName)) { query.put("PublicZoneName", request.publicZoneName); } if (!com.aliyun.teautil.Common.isUnset(request.ttl)) { query.put("Ttl", request.ttl); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDnsGtmInstanceGlobalConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDnsGtmInstanceGlobalConfigResponse()); } /** * <b>summary</b> : * <p>Modifies the configurations of a Global Traffic Manager (GTM) instance.</p> * * @param request UpdateDnsGtmInstanceGlobalConfigRequest * @return UpdateDnsGtmInstanceGlobalConfigResponse */ public UpdateDnsGtmInstanceGlobalConfigResponse updateDnsGtmInstanceGlobalConfig(UpdateDnsGtmInstanceGlobalConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDnsGtmInstanceGlobalConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies a health check task.</p> * * @param request UpdateDnsGtmMonitorRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDnsGtmMonitorResponse */ public UpdateDnsGtmMonitorResponse updateDnsGtmMonitorWithOptions(UpdateDnsGtmMonitorRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.evaluationCount)) { query.put("EvaluationCount", request.evaluationCount); } if (!com.aliyun.teautil.Common.isUnset(request.interval)) { query.put("Interval", request.interval); } if (!com.aliyun.teautil.Common.isUnset(request.ispCityNode)) { query.put("IspCityNode", request.ispCityNode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.monitorConfigId)) { query.put("MonitorConfigId", request.monitorConfigId); } if (!com.aliyun.teautil.Common.isUnset(request.monitorExtendInfo)) { query.put("MonitorExtendInfo", request.monitorExtendInfo); } if (!com.aliyun.teautil.Common.isUnset(request.protocolType)) { query.put("ProtocolType", request.protocolType); } if (!com.aliyun.teautil.Common.isUnset(request.timeout)) { query.put("Timeout", request.timeout); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDnsGtmMonitor"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDnsGtmMonitorResponse()); } /** * <b>summary</b> : * <p>Modifies a health check task.</p> * * @param request UpdateDnsGtmMonitorRequest * @return UpdateDnsGtmMonitorResponse */ public UpdateDnsGtmMonitorResponse updateDnsGtmMonitor(UpdateDnsGtmMonitorRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDnsGtmMonitorWithOptions(request, runtime); } /** * <b>description</b> : * <p>Modifies the name of an existing domain name group.</p> * * <b>summary</b> : * <p>Modifies the name of a domain name group based on the specified parameters.</p> * * @param request UpdateDomainGroupRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDomainGroupResponse */ public UpdateDomainGroupResponse updateDomainGroupWithOptions(UpdateDomainGroupRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.groupId)) { query.put("GroupId", request.groupId); } if (!com.aliyun.teautil.Common.isUnset(request.groupName)) { query.put("GroupName", request.groupName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDomainGroup"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDomainGroupResponse()); } /** * <b>description</b> : * <p>Modifies the name of an existing domain name group.</p> * * <b>summary</b> : * <p>Modifies the name of a domain name group based on the specified parameters.</p> * * @param request UpdateDomainGroupRequest * @return UpdateDomainGroupResponse */ public UpdateDomainGroupResponse updateDomainGroup(UpdateDomainGroupRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDomainGroupWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies a Domain Name System (DNS) record based on the specified parameters.</p> * * @param request UpdateDomainRecordRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDomainRecordResponse */ public UpdateDomainRecordResponse updateDomainRecordWithOptions(UpdateDomainRecordRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.line)) { query.put("Line", request.line); } if (!com.aliyun.teautil.Common.isUnset(request.priority)) { query.put("Priority", request.priority); } if (!com.aliyun.teautil.Common.isUnset(request.RR)) { query.put("RR", request.RR); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.TTL)) { query.put("TTL", request.TTL); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } if (!com.aliyun.teautil.Common.isUnset(request.value)) { query.put("Value", request.value); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDomainRecord"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDomainRecordResponse()); } /** * <b>summary</b> : * <p>Modifies a Domain Name System (DNS) record based on the specified parameters.</p> * * @param request UpdateDomainRecordRequest * @return UpdateDomainRecordResponse */ public UpdateDomainRecordResponse updateDomainRecord(UpdateDomainRecordRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDomainRecordWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the description of a Domain Name System (DNS) record based on the specified parameters.</p> * * @param request UpdateDomainRecordRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDomainRecordRemarkResponse */ public UpdateDomainRecordRemarkResponse updateDomainRecordRemarkWithOptions(UpdateDomainRecordRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.userClientIp)) { query.put("UserClientIp", request.userClientIp); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDomainRecordRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDomainRecordRemarkResponse()); } /** * <b>summary</b> : * <p>Modifies the description of a Domain Name System (DNS) record based on the specified parameters.</p> * * @param request UpdateDomainRecordRemarkRequest * @return UpdateDomainRecordRemarkResponse */ public UpdateDomainRecordRemarkResponse updateDomainRecordRemark(UpdateDomainRecordRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDomainRecordRemarkWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the description of a domain name based on the specified parameters.</p> * * @param request UpdateDomainRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateDomainRemarkResponse */ public UpdateDomainRemarkResponse updateDomainRemarkWithOptions(UpdateDomainRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.domainName)) { query.put("DomainName", request.domainName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateDomainRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateDomainRemarkResponse()); } /** * <b>summary</b> : * <p>Modifies the description of a domain name based on the specified parameters.</p> * * @param request UpdateDomainRemarkRequest * @return UpdateDomainRemarkResponse */ public UpdateDomainRemarkResponse updateDomainRemark(UpdateDomainRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateDomainRemarkWithOptions(request, runtime); } /** * @param request UpdateGtmAccessStrategyRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateGtmAccessStrategyResponse */ public UpdateGtmAccessStrategyResponse updateGtmAccessStrategyWithOptions(UpdateGtmAccessStrategyRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.accessLines)) { query.put("AccessLines", request.accessLines); } if (!com.aliyun.teautil.Common.isUnset(request.defaultAddrPoolId)) { query.put("DefaultAddrPoolId", request.defaultAddrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.failoverAddrPoolId)) { query.put("FailoverAddrPoolId", request.failoverAddrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.strategyId)) { query.put("StrategyId", request.strategyId); } if (!com.aliyun.teautil.Common.isUnset(request.strategyName)) { query.put("StrategyName", request.strategyName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateGtmAccessStrategy"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateGtmAccessStrategyResponse()); } /** * @param request UpdateGtmAccessStrategyRequest * @return UpdateGtmAccessStrategyResponse */ public UpdateGtmAccessStrategyResponse updateGtmAccessStrategy(UpdateGtmAccessStrategyRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateGtmAccessStrategyWithOptions(request, runtime); } /** * @param request UpdateGtmAddressPoolRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateGtmAddressPoolResponse */ public UpdateGtmAddressPoolResponse updateGtmAddressPoolWithOptions(UpdateGtmAddressPoolRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.addr)) { query.put("Addr", request.addr); } if (!com.aliyun.teautil.Common.isUnset(request.addrPoolId)) { query.put("AddrPoolId", request.addrPoolId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.minAvailableAddrNum)) { query.put("MinAvailableAddrNum", request.minAvailableAddrNum); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateGtmAddressPool"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateGtmAddressPoolResponse()); } /** * @param request UpdateGtmAddressPoolRequest * @return UpdateGtmAddressPoolResponse */ public UpdateGtmAddressPoolResponse updateGtmAddressPool(UpdateGtmAddressPoolRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateGtmAddressPoolWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the configurations of a Global Traffic Manager (GTM) instance based on the specified parameters.</p> * * @param request UpdateGtmInstanceGlobalConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateGtmInstanceGlobalConfigResponse */ public UpdateGtmInstanceGlobalConfigResponse updateGtmInstanceGlobalConfigWithOptions(UpdateGtmInstanceGlobalConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.alertGroup)) { query.put("AlertGroup", request.alertGroup); } if (!com.aliyun.teautil.Common.isUnset(request.cnameCustomDomainName)) { query.put("CnameCustomDomainName", request.cnameCustomDomainName); } if (!com.aliyun.teautil.Common.isUnset(request.cnameMode)) { query.put("CnameMode", request.cnameMode); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceName)) { query.put("InstanceName", request.instanceName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.lbaStrategy)) { query.put("LbaStrategy", request.lbaStrategy); } if (!com.aliyun.teautil.Common.isUnset(request.ttl)) { query.put("Ttl", request.ttl); } if (!com.aliyun.teautil.Common.isUnset(request.userDomainName)) { query.put("UserDomainName", request.userDomainName); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateGtmInstanceGlobalConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateGtmInstanceGlobalConfigResponse()); } /** * <b>summary</b> : * <p>Modifies the configurations of a Global Traffic Manager (GTM) instance based on the specified parameters.</p> * * @param request UpdateGtmInstanceGlobalConfigRequest * @return UpdateGtmInstanceGlobalConfigResponse */ public UpdateGtmInstanceGlobalConfigResponse updateGtmInstanceGlobalConfig(UpdateGtmInstanceGlobalConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateGtmInstanceGlobalConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies the health check configuration for an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request UpdateGtmMonitorRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateGtmMonitorResponse */ public UpdateGtmMonitorResponse updateGtmMonitorWithOptions(UpdateGtmMonitorRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.evaluationCount)) { query.put("EvaluationCount", request.evaluationCount); } if (!com.aliyun.teautil.Common.isUnset(request.interval)) { query.put("Interval", request.interval); } if (!com.aliyun.teautil.Common.isUnset(request.ispCityNode)) { query.put("IspCityNode", request.ispCityNode); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.monitorConfigId)) { query.put("MonitorConfigId", request.monitorConfigId); } if (!com.aliyun.teautil.Common.isUnset(request.monitorExtendInfo)) { query.put("MonitorExtendInfo", request.monitorExtendInfo); } if (!com.aliyun.teautil.Common.isUnset(request.protocolType)) { query.put("ProtocolType", request.protocolType); } if (!com.aliyun.teautil.Common.isUnset(request.timeout)) { query.put("Timeout", request.timeout); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateGtmMonitor"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateGtmMonitorResponse()); } /** * <b>summary</b> : * <p>Modifies the health check configuration for an address pool of a Global Traffic Manager (GTM) instance.</p> * * @param request UpdateGtmMonitorRequest * @return UpdateGtmMonitorResponse */ public UpdateGtmMonitorResponse updateGtmMonitor(UpdateGtmMonitorRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateGtmMonitorWithOptions(request, runtime); } /** * <b>summary</b> : * <p>Modifies a disaster recovery plan.</p> * * @param request UpdateGtmRecoveryPlanRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateGtmRecoveryPlanResponse */ public UpdateGtmRecoveryPlanResponse updateGtmRecoveryPlanWithOptions(UpdateGtmRecoveryPlanRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.faultAddrPool)) { query.put("FaultAddrPool", request.faultAddrPool); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { query.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.recoveryPlanId)) { query.put("RecoveryPlanId", request.recoveryPlanId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateGtmRecoveryPlan"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateGtmRecoveryPlanResponse()); } /** * <b>summary</b> : * <p>Modifies a disaster recovery plan.</p> * * @param request UpdateGtmRecoveryPlanRequest * @return UpdateGtmRecoveryPlanResponse */ public UpdateGtmRecoveryPlanResponse updateGtmRecoveryPlan(UpdateGtmRecoveryPlanRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateGtmRecoveryPlanWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改缓存刷新套餐包配置</p> * * @param request UpdateIspFlushCacheInstanceConfigRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateIspFlushCacheInstanceConfigResponse */ public UpdateIspFlushCacheInstanceConfigResponse updateIspFlushCacheInstanceConfigWithOptions(UpdateIspFlushCacheInstanceConfigRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.instanceName)) { query.put("InstanceName", request.instanceName); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateIspFlushCacheInstanceConfig"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateIspFlushCacheInstanceConfigResponse()); } /** * <b>summary</b> : * <p>修改缓存刷新套餐包配置</p> * * @param request UpdateIspFlushCacheInstanceConfigRequest * @return UpdateIspFlushCacheInstanceConfigResponse */ public UpdateIspFlushCacheInstanceConfigResponse updateIspFlushCacheInstanceConfig(UpdateIspFlushCacheInstanceConfigRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateIspFlushCacheInstanceConfigWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改递归解析内置权威解析记录</p> * * @param request UpdateRecursionRecordRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateRecursionRecordResponse */ public UpdateRecursionRecordResponse updateRecursionRecordWithOptions(UpdateRecursionRecordRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.priority)) { query.put("Priority", request.priority); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.requestSource)) { query.put("RequestSource", request.requestSource); } if (!com.aliyun.teautil.Common.isUnset(request.rr)) { query.put("Rr", request.rr); } if (!com.aliyun.teautil.Common.isUnset(request.ttl)) { query.put("Ttl", request.ttl); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.value)) { query.put("Value", request.value); } if (!com.aliyun.teautil.Common.isUnset(request.weight)) { query.put("Weight", request.weight); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRecursionRecord"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRecursionRecordResponse()); } /** * <b>summary</b> : * <p>修改递归解析内置权威解析记录</p> * * @param request UpdateRecursionRecordRequest * @return UpdateRecursionRecordResponse */ public UpdateRecursionRecordResponse updateRecursionRecord(UpdateRecursionRecordRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateRecursionRecordWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改内置权威解析记录启用状态</p> * * @param request UpdateRecursionRecordEnableStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateRecursionRecordEnableStatusResponse */ public UpdateRecursionRecordEnableStatusResponse updateRecursionRecordEnableStatusWithOptions(UpdateRecursionRecordEnableStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRecursionRecordEnableStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRecursionRecordEnableStatusResponse()); } /** * <b>summary</b> : * <p>修改内置权威解析记录启用状态</p> * * @param request UpdateRecursionRecordEnableStatusRequest * @return UpdateRecursionRecordEnableStatusResponse */ public UpdateRecursionRecordEnableStatusResponse updateRecursionRecordEnableStatus(UpdateRecursionRecordEnableStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateRecursionRecordEnableStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改递归解析内置权威解析记录备注</p> * * @param request UpdateRecursionRecordRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateRecursionRecordRemarkResponse */ public UpdateRecursionRecordRemarkResponse updateRecursionRecordRemarkWithOptions(UpdateRecursionRecordRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRecursionRecordRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRecursionRecordRemarkResponse()); } /** * <b>summary</b> : * <p>修改递归解析内置权威解析记录备注</p> * * @param request UpdateRecursionRecordRemarkRequest * @return UpdateRecursionRecordRemarkResponse */ public UpdateRecursionRecordRemarkResponse updateRecursionRecordRemark(UpdateRecursionRecordRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateRecursionRecordRemarkWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改递归解析内置权威解析记录权重</p> * * @param request UpdateRecursionRecordWeightRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateRecursionRecordWeightResponse */ public UpdateRecursionRecordWeightResponse updateRecursionRecordWeightWithOptions(UpdateRecursionRecordWeightRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.recordId)) { query.put("RecordId", request.recordId); } if (!com.aliyun.teautil.Common.isUnset(request.weight)) { query.put("Weight", request.weight); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRecursionRecordWeight"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRecursionRecordWeightResponse()); } /** * <b>summary</b> : * <p>修改递归解析内置权威解析记录权重</p> * * @param request UpdateRecursionRecordWeightRequest * @return UpdateRecursionRecordWeightResponse */ public UpdateRecursionRecordWeightResponse updateRecursionRecordWeight(UpdateRecursionRecordWeightRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateRecursionRecordWeightWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改递归解析内置权威解析记录权重算法启用状态</p> * * @param request UpdateRecursionRecordWeightEnableStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateRecursionRecordWeightEnableStatusResponse */ public UpdateRecursionRecordWeightEnableStatusResponse updateRecursionRecordWeightEnableStatusWithOptions(UpdateRecursionRecordWeightEnableStatusRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.enableStatus)) { query.put("EnableStatus", request.enableStatus); } if (!com.aliyun.teautil.Common.isUnset(request.requestSource)) { query.put("RequestSource", request.requestSource); } if (!com.aliyun.teautil.Common.isUnset(request.rr)) { query.put("Rr", request.rr); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { query.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRecursionRecordWeightEnableStatus"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRecursionRecordWeightEnableStatusResponse()); } /** * <b>summary</b> : * <p>修改递归解析内置权威解析记录权重算法启用状态</p> * * @param request UpdateRecursionRecordWeightEnableStatusRequest * @return UpdateRecursionRecordWeightEnableStatusResponse */ public UpdateRecursionRecordWeightEnableStatusResponse updateRecursionRecordWeightEnableStatus(UpdateRecursionRecordWeightEnableStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateRecursionRecordWeightEnableStatusWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改递归解析内置权威域名zone生效范围</p> * * @param tmpReq UpdateRecursionZoneEffectiveScopeRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateRecursionZoneEffectiveScopeResponse */ public UpdateRecursionZoneEffectiveScopeResponse updateRecursionZoneEffectiveScopeWithOptions(UpdateRecursionZoneEffectiveScopeRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateRecursionZoneEffectiveScopeShrinkRequest request = new UpdateRecursionZoneEffectiveScopeShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.effectiveScopes)) { request.effectiveScopesShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.effectiveScopes, "EffectiveScopes", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.effectiveScopesShrink)) { query.put("EffectiveScopes", request.effectiveScopesShrink); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRecursionZoneEffectiveScope"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRecursionZoneEffectiveScopeResponse()); } /** * <b>summary</b> : * <p>修改递归解析内置权威域名zone生效范围</p> * * @param request UpdateRecursionZoneEffectiveScopeRequest * @return UpdateRecursionZoneEffectiveScopeResponse */ public UpdateRecursionZoneEffectiveScopeResponse updateRecursionZoneEffectiveScope(UpdateRecursionZoneEffectiveScopeRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateRecursionZoneEffectiveScopeWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改递归解析内置权威域名zone递归代理模式</p> * * @param request UpdateRecursionZoneProxyPatternRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateRecursionZoneProxyPatternResponse */ public UpdateRecursionZoneProxyPatternResponse updateRecursionZoneProxyPatternWithOptions(UpdateRecursionZoneProxyPatternRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.proxyPattern)) { query.put("ProxyPattern", request.proxyPattern); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRecursionZoneProxyPattern"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRecursionZoneProxyPatternResponse()); } /** * <b>summary</b> : * <p>修改递归解析内置权威域名zone递归代理模式</p> * * @param request UpdateRecursionZoneProxyPatternRequest * @return UpdateRecursionZoneProxyPatternResponse */ public UpdateRecursionZoneProxyPatternResponse updateRecursionZoneProxyPattern(UpdateRecursionZoneProxyPatternRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateRecursionZoneProxyPatternWithOptions(request, runtime); } /** * <b>summary</b> : * <p>修改递归解析内置权威域名zone备注</p> * * @param request UpdateRecursionZoneRemarkRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateRecursionZoneRemarkResponse */ public UpdateRecursionZoneRemarkResponse updateRecursionZoneRemarkWithOptions(UpdateRecursionZoneRemarkRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.clientToken)) { query.put("ClientToken", request.clientToken); } if (!com.aliyun.teautil.Common.isUnset(request.remark)) { query.put("Remark", request.remark); } if (!com.aliyun.teautil.Common.isUnset(request.zoneId)) { query.put("ZoneId", request.zoneId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateRecursionZoneRemark"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateRecursionZoneRemarkResponse()); } /** * <b>summary</b> : * <p>修改递归解析内置权威域名zone备注</p> * * @param request UpdateRecursionZoneRemarkRequest * @return UpdateRecursionZoneRemarkResponse */ public UpdateRecursionZoneRemarkResponse updateRecursionZoneRemark(UpdateRecursionZoneRemarkRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateRecursionZoneRemarkWithOptions(request, runtime); } /** * <b>summary</b> : * <p>检查实例主机名是否可添加</p> * * @param request ValidateDnsGtmCnameRrCanUseRequest * @param runtime runtime options for this request RuntimeOptions * @return ValidateDnsGtmCnameRrCanUseResponse */ public ValidateDnsGtmCnameRrCanUseResponse validateDnsGtmCnameRrCanUseWithOptions(ValidateDnsGtmCnameRrCanUseRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.cnameMode)) { query.put("CnameMode", request.cnameMode); } if (!com.aliyun.teautil.Common.isUnset(request.cnameRr)) { query.put("CnameRr", request.cnameRr); } if (!com.aliyun.teautil.Common.isUnset(request.cnameType)) { query.put("CnameType", request.cnameType); } if (!com.aliyun.teautil.Common.isUnset(request.cnameZone)) { query.put("CnameZone", request.cnameZone); } if (!com.aliyun.teautil.Common.isUnset(request.instanceId)) { query.put("InstanceId", request.instanceId); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ValidateDnsGtmCnameRrCanUse"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ValidateDnsGtmCnameRrCanUseResponse()); } /** * <b>summary</b> : * <p>检查实例主机名是否可添加</p> * * @param request ValidateDnsGtmCnameRrCanUseRequest * @return ValidateDnsGtmCnameRrCanUseResponse */ public ValidateDnsGtmCnameRrCanUseResponse validateDnsGtmCnameRrCanUse(ValidateDnsGtmCnameRrCanUseRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.validateDnsGtmCnameRrCanUseWithOptions(request, runtime); } /** * <b>summary</b> : * <p>验证公共DNS Udp Ip地址段</p> * * @param request ValidatePdnsUdpIpSegmentRequest * @param runtime runtime options for this request RuntimeOptions * @return ValidatePdnsUdpIpSegmentResponse */ public ValidatePdnsUdpIpSegmentResponse validatePdnsUdpIpSegmentWithOptions(ValidatePdnsUdpIpSegmentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.ip)) { query.put("Ip", request.ip); } if (!com.aliyun.teautil.Common.isUnset(request.ipToken)) { query.put("IpToken", request.ipToken); } if (!com.aliyun.teautil.Common.isUnset(request.lang)) { query.put("Lang", request.lang); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ValidatePdnsUdpIpSegment"), new TeaPair("version", "2015-01-09"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ValidatePdnsUdpIpSegmentResponse()); } /** * <b>summary</b> : * <p>验证公共DNS Udp Ip地址段</p> * * @param request ValidatePdnsUdpIpSegmentRequest * @return ValidatePdnsUdpIpSegmentResponse */ public ValidatePdnsUdpIpSegmentResponse validatePdnsUdpIpSegment(ValidatePdnsUdpIpSegmentRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.validatePdnsUdpIpSegmentWithOptions(request, runtime); } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddCustomLineRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddCustomLineRequest extends TeaModel { /** * <p>The domain name. You can call the <a href="https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0">DescribeDomains</a> operation to obtain the domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ @NameInMap("DomainName") public String domainName; /** * <p>The CIDR blocks.</p> * <p>This parameter is required.</p> */ @NameInMap("IpSegment") public java.util.List<AddCustomLineRequestIpSegment> ipSegment; /** * <p>The language of the content within the request and response. Default value: <strong>zh</strong>. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The name of the custom line.</p> * <p>This parameter is required.</p> */ @NameInMap("LineName") public String lineName; public static AddCustomLineRequest build(java.util.Map<String, ?> map) throws Exception { AddCustomLineRequest self = new AddCustomLineRequest(); return TeaModel.build(map, self); } public AddCustomLineRequest setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public AddCustomLineRequest setIpSegment(java.util.List<AddCustomLineRequestIpSegment> ipSegment) { this.ipSegment = ipSegment; return this; } public java.util.List<AddCustomLineRequestIpSegment> getIpSegment() { return this.ipSegment; } public AddCustomLineRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddCustomLineRequest setLineName(String lineName) { this.lineName = lineName; return this; } public String getLineName() { return this.lineName; } public static class AddCustomLineRequestIpSegment extends TeaModel { /** * <p>The end IP address of the CIDR block.</p> * * <strong>example:</strong> * <p>192.0.2.254</p> */ @NameInMap("EndIp") public String endIp; /** * <p>The start IP address of the CIDR block.</p> * * <strong>example:</strong> * <p>192.0.2.0</p> */ @NameInMap("StartIp") public String startIp; public static AddCustomLineRequestIpSegment build(java.util.Map<String, ?> map) throws Exception { AddCustomLineRequestIpSegment self = new AddCustomLineRequestIpSegment(); return TeaModel.build(map, self); } public AddCustomLineRequestIpSegment setEndIp(String endIp) { this.endIp = endIp; return this; } public String getEndIp() { return this.endIp; } public AddCustomLineRequestIpSegment setStartIp(String startIp) { this.startIp = startIp; return this; } public String getStartIp() { return this.startIp; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddCustomLineResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddCustomLineResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddCustomLineResponseBody body; public static AddCustomLineResponse build(java.util.Map<String, ?> map) throws Exception { AddCustomLineResponse self = new AddCustomLineResponse(); return TeaModel.build(map, self); } public AddCustomLineResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddCustomLineResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddCustomLineResponse setBody(AddCustomLineResponseBody body) { this.body = body; return this; } public AddCustomLineResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddCustomLineResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddCustomLineResponseBody extends TeaModel { /** * <p>The code of the custom line.</p> * * <strong>example:</strong> * <p>hra0yc-597</p> */ @NameInMap("LineCode") public String lineCode; /** * <p>The unique ID of the custom line.</p> * * <strong>example:</strong> * <p>597</p> */ @NameInMap("LineId") public Long lineId; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>B57C121B-A45F-44D8-A9B2-13E5A5044195</p> */ @NameInMap("RequestId") public String requestId; public static AddCustomLineResponseBody build(java.util.Map<String, ?> map) throws Exception { AddCustomLineResponseBody self = new AddCustomLineResponseBody(); return TeaModel.build(map, self); } public AddCustomLineResponseBody setLineCode(String lineCode) { this.lineCode = lineCode; return this; } public String getLineCode() { return this.lineCode; } public AddCustomLineResponseBody setLineId(Long lineId) { this.lineId = lineId; return this; } public Long getLineId() { return this.lineId; } public AddCustomLineResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsCacheDomainRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsCacheDomainRequest extends TeaModel { /** * <p>The maximum TTL period of the cached data retrieved from the origin DNS server. Unit: seconds. Valid values: 30 to 86400.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>86400</p> */ @NameInMap("CacheTtlMax") public Integer cacheTtlMax; /** * <p>The minimum time-to-live (TTL) period of the cached data retrieved from the origin Domain Name System (DNS) server. Unit: seconds. Valid values: 30 to 86400.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>30</p> */ @NameInMap("CacheTtlMin") public Integer cacheTtlMin; /** * <p>The domain name. You can call the <a href="https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0">DescribeDomains</a> operation to obtain the domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>dns.example.com</p> */ @NameInMap("DomainName") public String domainName; /** * <p>The instance ID of the cache-accelerated domain name. You can call the <a href="https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0">ListCloudGtmInstances</a> operation to obtain the instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>dns-cn-j6666</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English Default: <strong>zh</strong></li> * </ul> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The remarks.</p> * * <strong>example:</strong> * <p>test</p> */ @NameInMap("Remark") public String remark; /** * <p>The origin DNS servers. A maximum of 10 origin DNS servers are supported.</p> * <p>This parameter is required.</p> */ @NameInMap("SourceDnsServer") public java.util.List<AddDnsCacheDomainRequestSourceDnsServer> sourceDnsServer; /** * <p>Specifies whether the origin DNS server supports Extension Mechanisms for DNS (EDNS). Valid values: NOT_SUPPORT and SUPPORT.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>SUPPORT</p> */ @NameInMap("SourceEdns") public String sourceEdns; /** * <p>The origin protocol policy. Valid values: TCP and UDP. Default value: UDP.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>UDP</p> */ @NameInMap("SourceProtocol") public String sourceProtocol; public static AddDnsCacheDomainRequest build(java.util.Map<String, ?> map) throws Exception { AddDnsCacheDomainRequest self = new AddDnsCacheDomainRequest(); return TeaModel.build(map, self); } public AddDnsCacheDomainRequest setCacheTtlMax(Integer cacheTtlMax) { this.cacheTtlMax = cacheTtlMax; return this; } public Integer getCacheTtlMax() { return this.cacheTtlMax; } public AddDnsCacheDomainRequest setCacheTtlMin(Integer cacheTtlMin) { this.cacheTtlMin = cacheTtlMin; return this; } public Integer getCacheTtlMin() { return this.cacheTtlMin; } public AddDnsCacheDomainRequest setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public AddDnsCacheDomainRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public AddDnsCacheDomainRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddDnsCacheDomainRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public AddDnsCacheDomainRequest setSourceDnsServer(java.util.List<AddDnsCacheDomainRequestSourceDnsServer> sourceDnsServer) { this.sourceDnsServer = sourceDnsServer; return this; } public java.util.List<AddDnsCacheDomainRequestSourceDnsServer> getSourceDnsServer() { return this.sourceDnsServer; } public AddDnsCacheDomainRequest setSourceEdns(String sourceEdns) { this.sourceEdns = sourceEdns; return this; } public String getSourceEdns() { return this.sourceEdns; } public AddDnsCacheDomainRequest setSourceProtocol(String sourceProtocol) { this.sourceProtocol = sourceProtocol; return this; } public String getSourceProtocol() { return this.sourceProtocol; } public static class AddDnsCacheDomainRequestSourceDnsServer extends TeaModel { /** * <p>The domain name or IP address of the origin DNS server.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>192.0.0.0</p> */ @NameInMap("Host") public String host; /** * <p>The port of the origin DNS server.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>53</p> */ @NameInMap("Port") public String port; public static AddDnsCacheDomainRequestSourceDnsServer build(java.util.Map<String, ?> map) throws Exception { AddDnsCacheDomainRequestSourceDnsServer self = new AddDnsCacheDomainRequestSourceDnsServer(); return TeaModel.build(map, self); } public AddDnsCacheDomainRequestSourceDnsServer setHost(String host) { this.host = host; return this; } public String getHost() { return this.host; } public AddDnsCacheDomainRequestSourceDnsServer setPort(String port) { this.port = port; return this; } public String getPort() { return this.port; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsCacheDomainResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsCacheDomainResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddDnsCacheDomainResponseBody body; public static AddDnsCacheDomainResponse build(java.util.Map<String, ?> map) throws Exception { AddDnsCacheDomainResponse self = new AddDnsCacheDomainResponse(); return TeaModel.build(map, self); } public AddDnsCacheDomainResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddDnsCacheDomainResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddDnsCacheDomainResponse setBody(AddDnsCacheDomainResponseBody body) { this.body = body; return this; } public AddDnsCacheDomainResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsCacheDomainResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsCacheDomainResponseBody extends TeaModel { /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>B57C121B-A45F-44D8-A9B2-XXXXXXX</p> */ @NameInMap("RequestId") public String requestId; public static AddDnsCacheDomainResponseBody build(java.util.Map<String, ?> map) throws Exception { AddDnsCacheDomainResponseBody self = new AddDnsCacheDomainResponseBody(); return TeaModel.build(map, self); } public AddDnsCacheDomainResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmAccessStrategyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmAccessStrategyRequest extends TeaModel { /** * <p>The address pools in the primary address pool set.</p> * <p>This parameter is required.</p> */ @NameInMap("DefaultAddrPool") public java.util.List<AddDnsGtmAccessStrategyRequestDefaultAddrPool> defaultAddrPool; /** * <p>The type of the primary address pool. Valid values:</p> * <ul> * <li>IPV4</li> * <li>IPV6</li> * <li>DOMAIN</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ipv4</p> */ @NameInMap("DefaultAddrPoolType") public String defaultAddrPoolType; /** * <p>Specifies whether to enable DNS resolution with optimal latency for the primary address pool set. Valid values:</p> * <ul> * <li>OPEN</li> * <li>CLOSE</li> * </ul> * * <strong>example:</strong> * <p>open</p> */ @NameInMap("DefaultLatencyOptimization") public String defaultLatencyOptimization; /** * <p>The load balancing policy of the primary address pool set. Valid values:</p> * <ul> * <li>ALL_RR: returns all addresses.</li> * <li>RATIO: returns addresses by weight.</li> * </ul> * * <strong>example:</strong> * <p>all_rr</p> */ @NameInMap("DefaultLbaStrategy") public String defaultLbaStrategy; /** * <p>The maximum number of addresses returned from the primary address pool set.</p> * * <strong>example:</strong> * <p>3</p> */ @NameInMap("DefaultMaxReturnAddrNum") public Integer defaultMaxReturnAddrNum; /** * <p>The minimum number of available addresses in the primary address pool set.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("DefaultMinAvailableAddrNum") public Integer defaultMinAvailableAddrNum; /** * <p>The address pools in the secondary address pool set. If no address pool exists in the secondary address pool set, set this parameter to EMPTY.</p> */ @NameInMap("FailoverAddrPool") public java.util.List<AddDnsGtmAccessStrategyRequestFailoverAddrPool> failoverAddrPool; /** * <p>The type of the secondary address pool. Valid values:</p> * <ul> * <li>IPV4</li> * <li>IPV6</li> * <li>DOMAIN</li> * </ul> * * <strong>example:</strong> * <p>ipv4</p> */ @NameInMap("FailoverAddrPoolType") public String failoverAddrPoolType; /** * <p>Specifies whether to enable DNS resolution with optimal latency for the secondary address pool set. Valid values:</p> * <ul> * <li>OPEN</li> * <li>CLOSE</li> * </ul> * * <strong>example:</strong> * <p>open</p> */ @NameInMap("FailoverLatencyOptimization") public String failoverLatencyOptimization; /** * <p>The load balancing policy of the secondary address pool set. Valid values:</p> * <ul> * <li>ALL_RR: returns all addresses.</li> * <li>RATIO: returns addresses by weight.</li> * </ul> * * <strong>example:</strong> * <p>all_rr</p> */ @NameInMap("FailoverLbaStrategy") public String failoverLbaStrategy; /** * <p>The maximum number of addresses returned from the secondary address pool set.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("FailoverMaxReturnAddrNum") public Integer failoverMaxReturnAddrNum; /** * <p>The minimum number of available addresses in the secondary address pool set.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("FailoverMinAvailableAddrNum") public Integer failoverMinAvailableAddrNum; /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>instance1</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The language of the values for specific response parameters. Default value: en. Valid values: en, zh, and ja.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The Domain Name System (DNS) request source. For example: <code>[&quot;default&quot;, &quot;drpeng&quot;]</code> indicates Global and Dr. Peng Group.</p> * * <strong>example:</strong> * <p>[&quot;default&quot;, &quot;drpeng&quot;]</p> */ @NameInMap("Lines") public String lines; /** * <p>The type of the access policy. Valid values:</p> * <ul> * <li>GEO: geographical location-based access policy</li> * <li>LATENCY: latency-based access policy</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>geo</p> */ @NameInMap("StrategyMode") public String strategyMode; /** * <p>The name of the access policy.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testStrategyName</p> */ @NameInMap("StrategyName") public String strategyName; public static AddDnsGtmAccessStrategyRequest build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAccessStrategyRequest self = new AddDnsGtmAccessStrategyRequest(); return TeaModel.build(map, self); } public AddDnsGtmAccessStrategyRequest setDefaultAddrPool(java.util.List<AddDnsGtmAccessStrategyRequestDefaultAddrPool> defaultAddrPool) { this.defaultAddrPool = defaultAddrPool; return this; } public java.util.List<AddDnsGtmAccessStrategyRequestDefaultAddrPool> getDefaultAddrPool() { return this.defaultAddrPool; } public AddDnsGtmAccessStrategyRequest setDefaultAddrPoolType(String defaultAddrPoolType) { this.defaultAddrPoolType = defaultAddrPoolType; return this; } public String getDefaultAddrPoolType() { return this.defaultAddrPoolType; } public AddDnsGtmAccessStrategyRequest setDefaultLatencyOptimization(String defaultLatencyOptimization) { this.defaultLatencyOptimization = defaultLatencyOptimization; return this; } public String getDefaultLatencyOptimization() { return this.defaultLatencyOptimization; } public AddDnsGtmAccessStrategyRequest setDefaultLbaStrategy(String defaultLbaStrategy) { this.defaultLbaStrategy = defaultLbaStrategy; return this; } public String getDefaultLbaStrategy() { return this.defaultLbaStrategy; } public AddDnsGtmAccessStrategyRequest setDefaultMaxReturnAddrNum(Integer defaultMaxReturnAddrNum) { this.defaultMaxReturnAddrNum = defaultMaxReturnAddrNum; return this; } public Integer getDefaultMaxReturnAddrNum() { return this.defaultMaxReturnAddrNum; } public AddDnsGtmAccessStrategyRequest setDefaultMinAvailableAddrNum(Integer defaultMinAvailableAddrNum) { this.defaultMinAvailableAddrNum = defaultMinAvailableAddrNum; return this; } public Integer getDefaultMinAvailableAddrNum() { return this.defaultMinAvailableAddrNum; } public AddDnsGtmAccessStrategyRequest setFailoverAddrPool(java.util.List<AddDnsGtmAccessStrategyRequestFailoverAddrPool> failoverAddrPool) { this.failoverAddrPool = failoverAddrPool; return this; } public java.util.List<AddDnsGtmAccessStrategyRequestFailoverAddrPool> getFailoverAddrPool() { return this.failoverAddrPool; } public AddDnsGtmAccessStrategyRequest setFailoverAddrPoolType(String failoverAddrPoolType) { this.failoverAddrPoolType = failoverAddrPoolType; return this; } public String getFailoverAddrPoolType() { return this.failoverAddrPoolType; } public AddDnsGtmAccessStrategyRequest setFailoverLatencyOptimization(String failoverLatencyOptimization) { this.failoverLatencyOptimization = failoverLatencyOptimization; return this; } public String getFailoverLatencyOptimization() { return this.failoverLatencyOptimization; } public AddDnsGtmAccessStrategyRequest setFailoverLbaStrategy(String failoverLbaStrategy) { this.failoverLbaStrategy = failoverLbaStrategy; return this; } public String getFailoverLbaStrategy() { return this.failoverLbaStrategy; } public AddDnsGtmAccessStrategyRequest setFailoverMaxReturnAddrNum(Integer failoverMaxReturnAddrNum) { this.failoverMaxReturnAddrNum = failoverMaxReturnAddrNum; return this; } public Integer getFailoverMaxReturnAddrNum() { return this.failoverMaxReturnAddrNum; } public AddDnsGtmAccessStrategyRequest setFailoverMinAvailableAddrNum(Integer failoverMinAvailableAddrNum) { this.failoverMinAvailableAddrNum = failoverMinAvailableAddrNum; return this; } public Integer getFailoverMinAvailableAddrNum() { return this.failoverMinAvailableAddrNum; } public AddDnsGtmAccessStrategyRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public AddDnsGtmAccessStrategyRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddDnsGtmAccessStrategyRequest setLines(String lines) { this.lines = lines; return this; } public String getLines() { return this.lines; } public AddDnsGtmAccessStrategyRequest setStrategyMode(String strategyMode) { this.strategyMode = strategyMode; return this; } public String getStrategyMode() { return this.strategyMode; } public AddDnsGtmAccessStrategyRequest setStrategyName(String strategyName) { this.strategyName = strategyName; return this; } public String getStrategyName() { return this.strategyName; } public static class AddDnsGtmAccessStrategyRequestDefaultAddrPool extends TeaModel { /** * <p>The ID of the address pool in the primary address pool set.</p> * * <strong>example:</strong> * <p>pool1</p> */ @NameInMap("Id") public String id; /** * <p>The weight of the address pool in the primary address pool set.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("LbaWeight") public Integer lbaWeight; public static AddDnsGtmAccessStrategyRequestDefaultAddrPool build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAccessStrategyRequestDefaultAddrPool self = new AddDnsGtmAccessStrategyRequestDefaultAddrPool(); return TeaModel.build(map, self); } public AddDnsGtmAccessStrategyRequestDefaultAddrPool setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public AddDnsGtmAccessStrategyRequestDefaultAddrPool setLbaWeight(Integer lbaWeight) { this.lbaWeight = lbaWeight; return this; } public Integer getLbaWeight() { return this.lbaWeight; } } public static class AddDnsGtmAccessStrategyRequestFailoverAddrPool extends TeaModel { /** * <p>The ID of the address pool in the secondary address pool set.</p> * * <strong>example:</strong> * <p>pool1</p> */ @NameInMap("Id") public String id; /** * <p>The weight of the address pool in the secondary address pool set.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("LbaWeight") public Integer lbaWeight; public static AddDnsGtmAccessStrategyRequestFailoverAddrPool build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAccessStrategyRequestFailoverAddrPool self = new AddDnsGtmAccessStrategyRequestFailoverAddrPool(); return TeaModel.build(map, self); } public AddDnsGtmAccessStrategyRequestFailoverAddrPool setId(String id) { this.id = id; return this; } public String getId() { return this.id; } public AddDnsGtmAccessStrategyRequestFailoverAddrPool setLbaWeight(Integer lbaWeight) { this.lbaWeight = lbaWeight; return this; } public Integer getLbaWeight() { return this.lbaWeight; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmAccessStrategyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmAccessStrategyResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddDnsGtmAccessStrategyResponseBody body; public static AddDnsGtmAccessStrategyResponse build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAccessStrategyResponse self = new AddDnsGtmAccessStrategyResponse(); return TeaModel.build(map, self); } public AddDnsGtmAccessStrategyResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddDnsGtmAccessStrategyResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddDnsGtmAccessStrategyResponse setBody(AddDnsGtmAccessStrategyResponseBody body) { this.body = body; return this; } public AddDnsGtmAccessStrategyResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmAccessStrategyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmAccessStrategyResponseBody extends TeaModel { /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</p> */ @NameInMap("RequestId") public String requestId; /** * <p>The ID of the access policy.</p> * * <strong>example:</strong> * <p>testStrategyId1</p> */ @NameInMap("StrategyId") public String strategyId; public static AddDnsGtmAccessStrategyResponseBody build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAccessStrategyResponseBody self = new AddDnsGtmAccessStrategyResponseBody(); return TeaModel.build(map, self); } public AddDnsGtmAccessStrategyResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddDnsGtmAccessStrategyResponseBody setStrategyId(String strategyId) { this.strategyId = strategyId; return this; } public String getStrategyId() { return this.strategyId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmAddressPoolRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmAddressPoolRequest extends TeaModel { /** * <p>The address pools.</p> * <p>This parameter is required.</p> */ @NameInMap("Addr") public java.util.List<AddDnsGtmAddressPoolRequestAddr> addr; /** * <p>The number of consecutive failures.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("EvaluationCount") public Integer evaluationCount; /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>instance1</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The health check interval. Unit: seconds.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("Interval") public Integer interval; /** * <p>The nodes for monitoring.</p> */ @NameInMap("IspCityNode") public java.util.List<AddDnsGtmAddressPoolRequestIspCityNode> ispCityNode; /** * <p>The language of the values of specific response parameters. Default value: en. Valid values: en, zh, and ja.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The load balancing policy of the address pool. Valid values:</p> * <ul> * <li>ALL_RR: returns all addresses.</li> * <li>RATIO: returns addresses by weight.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>all_rr</p> */ @NameInMap("LbaStrategy") public String lbaStrategy; /** * <p>The extended information. The required parameters vary based on the health check protocol.</p> * <ul> * <li><p>HTTP or HTTPS:</p> * <ul> * <li><p>port: the port that you want to check</p> * </li> * <li><p>host: the host settings</p> * </li> * <li><p>path: the URL</p> * </li> * <li><p>code: the return code. The health check result is deemed abnormal if the returned value is greater than the specified value. Valid values: 400 and 500.</p> * </li> * <li><p>failureRate: the failure rate</p> * </li> * <li><p>sni: specifies whether to enable Server Name Indication (SNI). This parameter is available only when ProtocolType is set to HTTPS. Valid values:</p> * <ul> * <li>true: enables SNI.</li> * <li>other: disables SNI.</li> * </ul> * </li> * <li><p>nodeType: the type of the node for monitoring when Type is set to DOMAIN. Valid values:</p> * <ul> * <li>IPV4</li> * <li>IPV6</li> * </ul> * </li> * </ul> * </li> * <li><p>ping:</p> * <ul> * <li><p>failureRate: the failure rate</p> * </li> * <li><p>packetNum: the number of ping packets</p> * </li> * <li><p>packetLossRate: the loss rate of ping packets</p> * </li> * <li><p>nodeType: the type of the node for monitoring when Type is set to DOMAIN. Valid values:</p> * <ul> * <li>IPV4</li> * <li>IPV6</li> * </ul> * </li> * </ul> * </li> * <li><p>TCP:</p> * <ul> * <li><p>port: the port that you want to check</p> * </li> * <li><p>failureRate: the failure rate</p> * </li> * <li><p>nodeType: the type of the node for monitoring when Type is set to DOMAIN. Valid values:</p> * <ul> * <li>IPV4</li> * <li>IPV6</li> * </ul> * </li> * </ul> * </li> * </ul> * * <strong>example:</strong> * <p>{\&quot;code\&quot;:200,\&quot;path\&quot;:\&quot;\\index.htm\&quot;,\&quot;host\&quot;:\&quot;aliyun.com\&quot;}</p> */ @NameInMap("MonitorExtendInfo") public String monitorExtendInfo; /** * <p>Specifies whether to enable the health check feature. If you set this parameter to OPEN, the system verifies the health check configurations. If you set this parameter to CLOSE, the system discards the health check configurations. Default value: CLOSE. Valid values:</p> * <ul> * <li>OPEN: enables the health check feature.</li> * <li>CLOSE: disables the health check feature.</li> * </ul> * * <strong>example:</strong> * <p>open</p> */ @NameInMap("MonitorStatus") public String monitorStatus; /** * <p>The name of the address pool.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test</p> */ @NameInMap("Name") public String name; /** * <p>The health check protocol. Valid values:</p> * <ul> * <li>HTTP</li> * <li>HTTPS</li> * <li>PING</li> * <li>TCP</li> * </ul> * * <strong>example:</strong> * <p>http</p> */ @NameInMap("ProtocolType") public String protocolType; /** * <p>The timeout period. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("Timeout") public Integer timeout; /** * <p>The type of the address pool. Valid values:</p> * <ul> * <li>IPV4: IPv4 address</li> * <li>IPV6: IPv6 address</li> * <li>DOMAIN: domain name</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ipv4</p> */ @NameInMap("Type") public String type; public static AddDnsGtmAddressPoolRequest build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAddressPoolRequest self = new AddDnsGtmAddressPoolRequest(); return TeaModel.build(map, self); } public AddDnsGtmAddressPoolRequest setAddr(java.util.List<AddDnsGtmAddressPoolRequestAddr> addr) { this.addr = addr; return this; } public java.util.List<AddDnsGtmAddressPoolRequestAddr> getAddr() { return this.addr; } public AddDnsGtmAddressPoolRequest setEvaluationCount(Integer evaluationCount) { this.evaluationCount = evaluationCount; return this; } public Integer getEvaluationCount() { return this.evaluationCount; } public AddDnsGtmAddressPoolRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public AddDnsGtmAddressPoolRequest setInterval(Integer interval) { this.interval = interval; return this; } public Integer getInterval() { return this.interval; } public AddDnsGtmAddressPoolRequest setIspCityNode(java.util.List<AddDnsGtmAddressPoolRequestIspCityNode> ispCityNode) { this.ispCityNode = ispCityNode; return this; } public java.util.List<AddDnsGtmAddressPoolRequestIspCityNode> getIspCityNode() { return this.ispCityNode; } public AddDnsGtmAddressPoolRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddDnsGtmAddressPoolRequest setLbaStrategy(String lbaStrategy) { this.lbaStrategy = lbaStrategy; return this; } public String getLbaStrategy() { return this.lbaStrategy; } public AddDnsGtmAddressPoolRequest setMonitorExtendInfo(String monitorExtendInfo) { this.monitorExtendInfo = monitorExtendInfo; return this; } public String getMonitorExtendInfo() { return this.monitorExtendInfo; } public AddDnsGtmAddressPoolRequest setMonitorStatus(String monitorStatus) { this.monitorStatus = monitorStatus; return this; } public String getMonitorStatus() { return this.monitorStatus; } public AddDnsGtmAddressPoolRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public AddDnsGtmAddressPoolRequest setProtocolType(String protocolType) { this.protocolType = protocolType; return this; } public String getProtocolType() { return this.protocolType; } public AddDnsGtmAddressPoolRequest setTimeout(Integer timeout) { this.timeout = timeout; return this; } public Integer getTimeout() { return this.timeout; } public AddDnsGtmAddressPoolRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public static class AddDnsGtmAddressPoolRequestAddr extends TeaModel { /** * <p>The address in the address pool.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1.1.1.1</p> */ @NameInMap("Addr") public String addr; /** * <p>The information about the source region of the address. The value of this parameter is a JSON string. Valid values:</p> * <ul> * <li><p>lineCode: the line code of the source region for the address</p> * </li> * <li><p>lineCodeRectifyType: the rectification type of the line code. Default value: AUTO. Valid values:</p> * <ul> * <li>NO_NEED: no need for rectification</li> * <li>RECTIFIED: rectified</li> * <li>AUTO: automatic rectification</li> * </ul> * </li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>default</p> */ @NameInMap("AttributeInfo") public String attributeInfo; /** * <p>The weight of the address.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("LbaWeight") public Integer lbaWeight; /** * <p>The return mode of the addresses: Valid values:</p> * <ul> * <li>SMART: smart return</li> * <li>ONLINE: always online</li> * <li>OFFLINE: always offline</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>online</p> */ @NameInMap("Mode") public String mode; /** * <p>The description of the address pool.</p> * * <strong>example:</strong> * <p>test</p> */ @NameInMap("Remark") public String remark; public static AddDnsGtmAddressPoolRequestAddr build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAddressPoolRequestAddr self = new AddDnsGtmAddressPoolRequestAddr(); return TeaModel.build(map, self); } public AddDnsGtmAddressPoolRequestAddr setAddr(String addr) { this.addr = addr; return this; } public String getAddr() { return this.addr; } public AddDnsGtmAddressPoolRequestAddr setAttributeInfo(String attributeInfo) { this.attributeInfo = attributeInfo; return this; } public String getAttributeInfo() { return this.attributeInfo; } public AddDnsGtmAddressPoolRequestAddr setLbaWeight(Integer lbaWeight) { this.lbaWeight = lbaWeight; return this; } public Integer getLbaWeight() { return this.lbaWeight; } public AddDnsGtmAddressPoolRequestAddr setMode(String mode) { this.mode = mode; return this; } public String getMode() { return this.mode; } public AddDnsGtmAddressPoolRequestAddr setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } } public static class AddDnsGtmAddressPoolRequestIspCityNode extends TeaModel { /** * <p>The city code.</p> * <p>Specify the parameter according to the value of CityCode returned by the DescribeGtmMonitorAvailableConfig operation.</p> * * <strong>example:</strong> * <p>503</p> */ @NameInMap("CityCode") public String cityCode; /** * <ul> * <li>The Internet service provider (ISP) node. Specify the parameter according to the value of IspCode returned by the DescribeGtmMonitorAvailableConfig operation.</li> * <li>If the returned value of GroupType for the DescribeGtmMonitorAvailableConfig operation is BGP or Overseas, IspCode is not required and is set to 465 by default.</li> * <li>If the returned value of GroupType for the DescribeGtmMonitorAvailableConfig operation is not BGP or Overseas, IspCode is required. When IspCode is specified, CityCode is required.</li> * </ul> * * <strong>example:</strong> * <p>465</p> */ @NameInMap("IspCode") public String ispCode; public static AddDnsGtmAddressPoolRequestIspCityNode build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAddressPoolRequestIspCityNode self = new AddDnsGtmAddressPoolRequestIspCityNode(); return TeaModel.build(map, self); } public AddDnsGtmAddressPoolRequestIspCityNode setCityCode(String cityCode) { this.cityCode = cityCode; return this; } public String getCityCode() { return this.cityCode; } public AddDnsGtmAddressPoolRequestIspCityNode setIspCode(String ispCode) { this.ispCode = ispCode; return this; } public String getIspCode() { return this.ispCode; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmAddressPoolResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmAddressPoolResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddDnsGtmAddressPoolResponseBody body; public static AddDnsGtmAddressPoolResponse build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAddressPoolResponse self = new AddDnsGtmAddressPoolResponse(); return TeaModel.build(map, self); } public AddDnsGtmAddressPoolResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddDnsGtmAddressPoolResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddDnsGtmAddressPoolResponse setBody(AddDnsGtmAddressPoolResponseBody body) { this.body = body; return this; } public AddDnsGtmAddressPoolResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmAddressPoolResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmAddressPoolResponseBody extends TeaModel { /** * <p>The ID of the address pool.</p> * * <strong>example:</strong> * <p>testpool1</p> */ @NameInMap("AddrPoolId") public String addrPoolId; /** * <p>The ID of the health check configuration.</p> * * <strong>example:</strong> * <p>test1</p> */ @NameInMap("MonitorConfigId") public String monitorConfigId; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>6856BCF6-11D6-4D7E-AC53-FD579933522B</p> */ @NameInMap("RequestId") public String requestId; public static AddDnsGtmAddressPoolResponseBody build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmAddressPoolResponseBody self = new AddDnsGtmAddressPoolResponseBody(); return TeaModel.build(map, self); } public AddDnsGtmAddressPoolResponseBody setAddrPoolId(String addrPoolId) { this.addrPoolId = addrPoolId; return this; } public String getAddrPoolId() { return this.addrPoolId; } public AddDnsGtmAddressPoolResponseBody setMonitorConfigId(String monitorConfigId) { this.monitorConfigId = monitorConfigId; return this; } public String getMonitorConfigId() { return this.monitorConfigId; } public AddDnsGtmAddressPoolResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmMonitorRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmMonitorRequest extends TeaModel { /** * <p>The ID of the address pool.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>pool1</p> */ @NameInMap("AddrPoolId") public String addrPoolId; /** * <p>The maximum number of consecutive exceptions detected. If the number of consecutive exceptions detected reaches the maximum number, the application service is deemed abnormal.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("EvaluationCount") public Integer evaluationCount; /** * <p>The health check interval. Unit: seconds.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>60</p> */ @NameInMap("Interval") public Integer interval; /** * <p>The monitored nodes.</p> * <p>This parameter is required.</p> */ @NameInMap("IspCityNode") public java.util.List<AddDnsGtmMonitorRequestIspCityNode> ispCityNode; /** * <p>The language of the values of specific response parameters. Default value: en. Valid values: en, zh, and ja.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The extended information. The required parameters vary based on the value of ProtocolType.</p> * <ul> * <li><p>HTTP or HTTPS</p> * <ul> * <li><p>port: the port that you want to check</p> * </li> * <li><p>host: the host settings</p> * </li> * <li><p>path: the URL path</p> * </li> * <li><p>code: the response code. The health check result is deemed abnormal if the returned value is greater than the specified value.</p> * </li> * <li><p>failureRate: the failure rate</p> * </li> * <li><p>sni: specifies whether to enable server name indication (SNI). This parameter is available only when ProtocolType is set to HTTPS. Valid values:</p> * <ul> * <li>true: enables SNI.</li> * <li>false: disables SNI.</li> * </ul> * </li> * <li><p>nodeType: the type of the node for monitoring when Type is set to DOMAIN. Valid values:</p> * <ul> * <li>IPV4</li> * <li>IPV6</li> * </ul> * </li> * </ul> * </li> * <li><p>PING</p> * <ul> * <li><p>failureRate: the failure rate</p> * </li> * <li><p>packetNum: the number of ping packets</p> * </li> * <li><p>packetLossRate: the loss rate of ping packets</p> * </li> * <li><p>nodeType: the type of the node for monitoring when Type is set to DOMAIN. Valid values:</p> * <ul> * <li>IPV4</li> * <li>IPV6</li> * </ul> * </li> * </ul> * </li> * <li><p>TCP</p> * <ul> * <li><p>port: the port that you want to check</p> * </li> * <li><p>failureRate: the failure rate</p> * </li> * <li><p>nodeType: the type of the node for monitoring when Type is set to DOMAIN. Valid values:</p> * <ul> * <li>IPV4</li> * <li>IPV6</li> * </ul> * </li> * </ul> * </li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>{\&quot;code\&quot;:200,\&quot;path\&quot;:\&quot;\\index.htm\&quot;,\&quot;host\&quot;:\&quot;aliyun.com\&quot;}</p> */ @NameInMap("MonitorExtendInfo") public String monitorExtendInfo; /** * <p>The health check protocol. Valid values:</p> * <ul> * <li>HTTP</li> * <li>HTTPS</li> * <li>PING</li> * <li>TCP</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>http</p> */ @NameInMap("ProtocolType") public String protocolType; /** * <p>The timeout period. Unit: milliseconds.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>30000</p> */ @NameInMap("Timeout") public Integer timeout; public static AddDnsGtmMonitorRequest build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmMonitorRequest self = new AddDnsGtmMonitorRequest(); return TeaModel.build(map, self); } public AddDnsGtmMonitorRequest setAddrPoolId(String addrPoolId) { this.addrPoolId = addrPoolId; return this; } public String getAddrPoolId() { return this.addrPoolId; } public AddDnsGtmMonitorRequest setEvaluationCount(Integer evaluationCount) { this.evaluationCount = evaluationCount; return this; } public Integer getEvaluationCount() { return this.evaluationCount; } public AddDnsGtmMonitorRequest setInterval(Integer interval) { this.interval = interval; return this; } public Integer getInterval() { return this.interval; } public AddDnsGtmMonitorRequest setIspCityNode(java.util.List<AddDnsGtmMonitorRequestIspCityNode> ispCityNode) { this.ispCityNode = ispCityNode; return this; } public java.util.List<AddDnsGtmMonitorRequestIspCityNode> getIspCityNode() { return this.ispCityNode; } public AddDnsGtmMonitorRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddDnsGtmMonitorRequest setMonitorExtendInfo(String monitorExtendInfo) { this.monitorExtendInfo = monitorExtendInfo; return this; } public String getMonitorExtendInfo() { return this.monitorExtendInfo; } public AddDnsGtmMonitorRequest setProtocolType(String protocolType) { this.protocolType = protocolType; return this; } public String getProtocolType() { return this.protocolType; } public AddDnsGtmMonitorRequest setTimeout(Integer timeout) { this.timeout = timeout; return this; } public Integer getTimeout() { return this.timeout; } public static class AddDnsGtmMonitorRequestIspCityNode extends TeaModel { /** * <p>The code of the city where the monitored node is deployed.</p> * * <strong>example:</strong> * <p>123</p> */ @NameInMap("CityCode") public String cityCode; /** * <p>The code of the Internet service provider (ISP) to which the monitored node belongs.</p> * * <strong>example:</strong> * <p>123</p> */ @NameInMap("IspCode") public String ispCode; public static AddDnsGtmMonitorRequestIspCityNode build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmMonitorRequestIspCityNode self = new AddDnsGtmMonitorRequestIspCityNode(); return TeaModel.build(map, self); } public AddDnsGtmMonitorRequestIspCityNode setCityCode(String cityCode) { this.cityCode = cityCode; return this; } public String getCityCode() { return this.cityCode; } public AddDnsGtmMonitorRequestIspCityNode setIspCode(String ispCode) { this.ispCode = ispCode; return this; } public String getIspCode() { return this.ispCode; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmMonitorResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmMonitorResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddDnsGtmMonitorResponseBody body; public static AddDnsGtmMonitorResponse build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmMonitorResponse self = new AddDnsGtmMonitorResponse(); return TeaModel.build(map, self); } public AddDnsGtmMonitorResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddDnsGtmMonitorResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddDnsGtmMonitorResponse setBody(AddDnsGtmMonitorResponseBody body) { this.body = body; return this; } public AddDnsGtmMonitorResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDnsGtmMonitorResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDnsGtmMonitorResponseBody extends TeaModel { /** * <p>The ID of the health check configuration.</p> * * <strong>example:</strong> * <p>MonitorConfigId1</p> */ @NameInMap("MonitorConfigId") public String monitorConfigId; /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>6856BCF6-11D6-4D7E-AC53-FD579933522B</p> */ @NameInMap("RequestId") public String requestId; public static AddDnsGtmMonitorResponseBody build(java.util.Map<String, ?> map) throws Exception { AddDnsGtmMonitorResponseBody self = new AddDnsGtmMonitorResponseBody(); return TeaModel.build(map, self); } public AddDnsGtmMonitorResponseBody setMonitorConfigId(String monitorConfigId) { this.monitorConfigId = monitorConfigId; return this; } public String getMonitorConfigId() { return this.monitorConfigId; } public AddDnsGtmMonitorResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainBackupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainBackupRequest extends TeaModel { /** * <p>The domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test.aliyun.com</p> */ @NameInMap("DomainName") public String domainName; /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh: Chinese</li> * <li>en: English</li> * </ul> * <p>Default value: en.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The backup cycle. Valid values:</p> * <ul> * <li>DAY: backs up data on a daily basis.</li> * <li>HOUR: backs up data on an hourly basis.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>HOUR</p> */ @NameInMap("PeriodType") public String periodType; public static AddDomainBackupRequest build(java.util.Map<String, ?> map) throws Exception { AddDomainBackupRequest self = new AddDomainBackupRequest(); return TeaModel.build(map, self); } public AddDomainBackupRequest setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public AddDomainBackupRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddDomainBackupRequest setPeriodType(String periodType) { this.periodType = periodType; return this; } public String getPeriodType() { return this.periodType; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainBackupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainBackupResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddDomainBackupResponseBody body; public static AddDomainBackupResponse build(java.util.Map<String, ?> map) throws Exception { AddDomainBackupResponse self = new AddDomainBackupResponse(); return TeaModel.build(map, self); } public AddDomainBackupResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddDomainBackupResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddDomainBackupResponse setBody(AddDomainBackupResponseBody body) { this.body = body; return this; } public AddDomainBackupResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainBackupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainBackupResponseBody extends TeaModel { /** * <p>The domain name.</p> * * <strong>example:</strong> * <p>test.aliyun.com</p> */ @NameInMap("DomainName") public String domainName; /** * <p>The backup cycle.</p> * * <strong>example:</strong> * <p>DAY</p> */ @NameInMap("PeriodType") public String periodType; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>FD552816-FCC8-4832-B4A2-2DA0C2BA1688</p> */ @NameInMap("RequestId") public String requestId; public static AddDomainBackupResponseBody build(java.util.Map<String, ?> map) throws Exception { AddDomainBackupResponseBody self = new AddDomainBackupResponseBody(); return TeaModel.build(map, self); } public AddDomainBackupResponseBody setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public AddDomainBackupResponseBody setPeriodType(String periodType) { this.periodType = periodType; return this; } public String getPeriodType() { return this.periodType; } public AddDomainBackupResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainGroupRequest extends TeaModel { /** * <p>The name of the domain name group.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>MyGroup</p> */ @NameInMap("GroupName") public String groupName; /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh: Chinese</li> * <li>en: English</li> * </ul> * <p>Default value: en.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; public static AddDomainGroupRequest build(java.util.Map<String, ?> map) throws Exception { AddDomainGroupRequest self = new AddDomainGroupRequest(); return TeaModel.build(map, self); } public AddDomainGroupRequest setGroupName(String groupName) { this.groupName = groupName; return this; } public String getGroupName() { return this.groupName; } public AddDomainGroupRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainGroupResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddDomainGroupResponseBody body; public static AddDomainGroupResponse build(java.util.Map<String, ?> map) throws Exception { AddDomainGroupResponse self = new AddDomainGroupResponse(); return TeaModel.build(map, self); } public AddDomainGroupResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddDomainGroupResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddDomainGroupResponse setBody(AddDomainGroupResponseBody body) { this.body = body; return this; } public AddDomainGroupResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainGroupResponseBody extends TeaModel { /** * <p>The ID of the domain name group.</p> * * <strong>example:</strong> * <p>2223</p> */ @NameInMap("GroupId") public String groupId; /** * <p>The name of the domain name group.</p> * * <strong>example:</strong> * <p>NewName</p> */ @NameInMap("GroupName") public String groupName; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>536E9CAD-DB30-4647-AC87-AA5CC38C5382</p> */ @NameInMap("RequestId") public String requestId; public static AddDomainGroupResponseBody build(java.util.Map<String, ?> map) throws Exception { AddDomainGroupResponseBody self = new AddDomainGroupResponseBody(); return TeaModel.build(map, self); } public AddDomainGroupResponseBody setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public AddDomainGroupResponseBody setGroupName(String groupName) { this.groupName = groupName; return this; } public String getGroupName() { return this.groupName; } public AddDomainGroupResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainRecordRequest extends TeaModel { /** * <p>The domain name. You can call the <a href="https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0">DescribeDomains</a> operation to obtain the domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ @NameInMap("DomainName") public String domainName; /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English Default: <strong>zh</strong></li> * </ul> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The resolution line. Default value: <strong>default</strong>. For more information, see</p> * <p><a href="https://www.alibabacloud.com/help/zh/doc-detail/29807.htm">DNS resolution lines</a>.</p> * * <strong>example:</strong> * <p>default</p> */ @NameInMap("Line") public String line; /** * <p>The priority of the mail exchanger (MX) record. Valid values: <code>1 to 50</code>.</p> * <p>This parameter is required if the type of the DNS record is MX. A smaller value indicates a higher priority.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("Priority") public Long priority; /** * <p>The hostname.</p> * <p>For example, to resolve @.example.com, you must set this parameter to an at sign (@). You cannot leave this parameter empty.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>www</p> */ @NameInMap("RR") public String RR; /** * <p>The time to live (TTL) period of the Alibaba Cloud DNS (DNS) record. Default value: 600. Unit: seconds. For more information, see</p> * <p><a href="https://www.alibabacloud.com/help/zh/doc-detail/29806.htm">TTL definition</a>.</p> * * <strong>example:</strong> * <p>600</p> */ @NameInMap("TTL") public Long TTL; /** * <p>The type of the DNS record. For more information, see</p> * <p><a href="https://www.alibabacloud.com/help/zh/doc-detail/29805.htm">DNS record types</a>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>A</p> */ @NameInMap("Type") public String type; /** * <p>The IP address of the client.</p> * * <strong>example:</strong> * <p>192.0.2.0</p> */ @NameInMap("UserClientIp") public String userClientIp; /** * <p>The value of the DNS record.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>192.0.2.254</p> */ @NameInMap("Value") public String value; public static AddDomainRecordRequest build(java.util.Map<String, ?> map) throws Exception { AddDomainRecordRequest self = new AddDomainRecordRequest(); return TeaModel.build(map, self); } public AddDomainRecordRequest setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public AddDomainRecordRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddDomainRecordRequest setLine(String line) { this.line = line; return this; } public String getLine() { return this.line; } public AddDomainRecordRequest setPriority(Long priority) { this.priority = priority; return this; } public Long getPriority() { return this.priority; } public AddDomainRecordRequest setRR(String RR) { this.RR = RR; return this; } public String getRR() { return this.RR; } public AddDomainRecordRequest setTTL(Long TTL) { this.TTL = TTL; return this; } public Long getTTL() { return this.TTL; } public AddDomainRecordRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public AddDomainRecordRequest setUserClientIp(String userClientIp) { this.userClientIp = userClientIp; return this; } public String getUserClientIp() { return this.userClientIp; } public AddDomainRecordRequest setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainRecordResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddDomainRecordResponseBody body; public static AddDomainRecordResponse build(java.util.Map<String, ?> map) throws Exception { AddDomainRecordResponse self = new AddDomainRecordResponse(); return TeaModel.build(map, self); } public AddDomainRecordResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddDomainRecordResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddDomainRecordResponse setBody(AddDomainRecordResponseBody body) { this.body = body; return this; } public AddDomainRecordResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainRecordResponseBody extends TeaModel { /** * <p>The ID of the DNS record.</p> * * <strong>example:</strong> * <p>9999985</p> */ @NameInMap("RecordId") public String recordId; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>536E9CAD-DB30-4647-AC87-AA5CC38C5382</p> */ @NameInMap("RequestId") public String requestId; public static AddDomainRecordResponseBody build(java.util.Map<String, ?> map) throws Exception { AddDomainRecordResponseBody self = new AddDomainRecordResponseBody(); return TeaModel.build(map, self); } public AddDomainRecordResponseBody setRecordId(String recordId) { this.recordId = recordId; return this; } public String getRecordId() { return this.recordId; } public AddDomainRecordResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainRequest extends TeaModel { /** * <p>The domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>dns-example.top</p> */ @NameInMap("DomainName") public String domainName; /** * <p>The ID of the group to which the domain name will belong. The default value is the ID of the default group.</p> * * <strong>example:</strong> * <p>2223</p> */ @NameInMap("GroupId") public String groupId; /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh: Chinese</li> * <li>en: English</li> * </ul> * <p>Default value: en.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-resourcegroupid</p> */ @NameInMap("ResourceGroupId") public String resourceGroupId; public static AddDomainRequest build(java.util.Map<String, ?> map) throws Exception { AddDomainRequest self = new AddDomainRequest(); return TeaModel.build(map, self); } public AddDomainRequest setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public AddDomainRequest setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public AddDomainRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddDomainRequest setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } public String getResourceGroupId() { return this.resourceGroupId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddDomainResponseBody body; public static AddDomainResponse build(java.util.Map<String, ?> map) throws Exception { AddDomainResponse self = new AddDomainResponse(); return TeaModel.build(map, self); } public AddDomainResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddDomainResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddDomainResponse setBody(AddDomainResponseBody body) { this.body = body; return this; } public AddDomainResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddDomainResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddDomainResponseBody extends TeaModel { /** * <p>The Domain Name System (DNS) servers configured for the domain name.</p> */ @NameInMap("DnsServers") public AddDomainResponseBodyDnsServers dnsServers; /** * <p>The ID of the domain name.</p> * * <strong>example:</strong> * <p>00efd71a-770e-4255-b54e-6fe5659baffe</p> */ @NameInMap("DomainId") public String domainId; /** * <p>The domain name.</p> * * <strong>example:</strong> * <p>dns-example.top</p> */ @NameInMap("DomainName") public String domainName; /** * <p>The ID of the domain name group.</p> * * <strong>example:</strong> * <p>2223</p> */ @NameInMap("GroupId") public String groupId; /** * <p>The name of the domain name group.</p> * * <strong>example:</strong> * <p>MyGroup</p> */ @NameInMap("GroupName") public String groupName; /** * <p>The Punycode for the domain name. This parameter is returned only for Chinese domain names.</p> * * <strong>example:</strong> * <p>xn--fsq270a.com</p> */ @NameInMap("PunyCode") public String punyCode; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>536E9CAD-DB30-4647-AC87-AA5CC38C5382</p> */ @NameInMap("RequestId") public String requestId; public static AddDomainResponseBody build(java.util.Map<String, ?> map) throws Exception { AddDomainResponseBody self = new AddDomainResponseBody(); return TeaModel.build(map, self); } public AddDomainResponseBody setDnsServers(AddDomainResponseBodyDnsServers dnsServers) { this.dnsServers = dnsServers; return this; } public AddDomainResponseBodyDnsServers getDnsServers() { return this.dnsServers; } public AddDomainResponseBody setDomainId(String domainId) { this.domainId = domainId; return this; } public String getDomainId() { return this.domainId; } public AddDomainResponseBody setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public AddDomainResponseBody setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public AddDomainResponseBody setGroupName(String groupName) { this.groupName = groupName; return this; } public String getGroupName() { return this.groupName; } public AddDomainResponseBody setPunyCode(String punyCode) { this.punyCode = punyCode; return this; } public String getPunyCode() { return this.punyCode; } public AddDomainResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class AddDomainResponseBodyDnsServers extends TeaModel { @NameInMap("DnsServer") public java.util.List<String> dnsServer; public static AddDomainResponseBodyDnsServers build(java.util.Map<String, ?> map) throws Exception { AddDomainResponseBodyDnsServers self = new AddDomainResponseBodyDnsServers(); return TeaModel.build(map, self); } public AddDomainResponseBodyDnsServers setDnsServer(java.util.List<String> dnsServer) { this.dnsServer = dnsServer; return this; } public java.util.List<String> getDnsServer() { return this.dnsServer; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmAccessStrategyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmAccessStrategyRequest extends TeaModel { /** * <p>The line codes of access regions.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>[&quot;default&quot;, &quot;drpeng&quot;]</p> */ @NameInMap("AccessLines") public String accessLines; /** * <p>The ID of the default address pool.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>hrsix</p> */ @NameInMap("DefaultAddrPoolId") public String defaultAddrPoolId; /** * <p>The ID of the failover address pool.</p> * <p>If the failover address pool is not set, pass the <strong>Empty</strong> value.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>hrsyw</p> */ @NameInMap("FailoverAddrPoolId") public String failoverAddrPoolId; /** * <p>The ID of the GTM instance for which you want to create an access policy.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>instance1</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The language used by the user.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The name of the access policy.</p> * <p>This parameter is required.</p> */ @NameInMap("StrategyName") public String strategyName; public static AddGtmAccessStrategyRequest build(java.util.Map<String, ?> map) throws Exception { AddGtmAccessStrategyRequest self = new AddGtmAccessStrategyRequest(); return TeaModel.build(map, self); } public AddGtmAccessStrategyRequest setAccessLines(String accessLines) { this.accessLines = accessLines; return this; } public String getAccessLines() { return this.accessLines; } public AddGtmAccessStrategyRequest setDefaultAddrPoolId(String defaultAddrPoolId) { this.defaultAddrPoolId = defaultAddrPoolId; return this; } public String getDefaultAddrPoolId() { return this.defaultAddrPoolId; } public AddGtmAccessStrategyRequest setFailoverAddrPoolId(String failoverAddrPoolId) { this.failoverAddrPoolId = failoverAddrPoolId; return this; } public String getFailoverAddrPoolId() { return this.failoverAddrPoolId; } public AddGtmAccessStrategyRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public AddGtmAccessStrategyRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddGtmAccessStrategyRequest setStrategyName(String strategyName) { this.strategyName = strategyName; return this; } public String getStrategyName() { return this.strategyName; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmAccessStrategyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmAccessStrategyResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddGtmAccessStrategyResponseBody body; public static AddGtmAccessStrategyResponse build(java.util.Map<String, ?> map) throws Exception { AddGtmAccessStrategyResponse self = new AddGtmAccessStrategyResponse(); return TeaModel.build(map, self); } public AddGtmAccessStrategyResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddGtmAccessStrategyResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddGtmAccessStrategyResponse setBody(AddGtmAccessStrategyResponseBody body) { this.body = body; return this; } public AddGtmAccessStrategyResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmAccessStrategyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmAccessStrategyResponseBody extends TeaModel { /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</p> */ @NameInMap("RequestId") public String requestId; /** * <p>The ID of the access policy created.</p> * * <strong>example:</strong> * <p>strategyid</p> */ @NameInMap("StrategyId") public String strategyId; public static AddGtmAccessStrategyResponseBody build(java.util.Map<String, ?> map) throws Exception { AddGtmAccessStrategyResponseBody self = new AddGtmAccessStrategyResponseBody(); return TeaModel.build(map, self); } public AddGtmAccessStrategyResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddGtmAccessStrategyResponseBody setStrategyId(String strategyId) { this.strategyId = strategyId; return this; } public String getStrategyId() { return this.strategyId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmAddressPoolRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmAddressPoolRequest extends TeaModel { /** * <p>The address pools.</p> * <p>This parameter is required.</p> */ @NameInMap("Addr") public java.util.List<AddGtmAddressPoolRequestAddr> addr; /** * <p>The number of consecutive failures.</p> * * <strong>example:</strong> * <p>2</p> */ @NameInMap("EvaluationCount") public Integer evaluationCount; /** * <p>The ID of the GTM instance for which you want to create an address pool.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>gtm-cn-xxxxxxx</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The health check interval. Unit: seconds. Set the value to 60.</p> * * <strong>example:</strong> * <p>60</p> */ @NameInMap("Interval") public Integer interval; /** * <p>The monitored nodes.</p> */ @NameInMap("IspCityNode") public java.util.List<AddGtmAddressPoolRequestIspCityNode> ispCityNode; /** * <p>The language of the values of specific response parameters.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The minimum number of available addresses in the address pool.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2</p> */ @NameInMap("MinAvailableAddrNum") public Integer minAvailableAddrNum; /** * <p>The extended information. The required parameters vary based on the value of ProtocolType.</p> * <p>When ProtocolType is set to HTTP or HTTPS:</p> * <ul> * <li>port: the port that you want to check</li> * <li>failureRate: the failure rate</li> * <li>code: the return code. The health check result is deemed abnormal if the returned value is greater than the specified value. Valid values: 400 and 500.</li> * <li>host: the host settings</li> * <li>path: the URL path</li> * </ul> * <p>When ProtocolType is set to PING:</p> * <ul> * <li>packetNum: the number of ping packets</li> * <li>packetLossRate: the packet loss rate</li> * <li>failureRate: the failure rate</li> * </ul> * <p>When ProtocolType is set to TCP:</p> * <ul> * <li>port: the port that you want to check</li> * <li>failureRate: the failure rate</li> * </ul> * * <strong>example:</strong> * <p>{&quot;host&quot;:&quot;aliyun.com&quot;,&quot;port&quot;:80}</p> */ @NameInMap("MonitorExtendInfo") public String monitorExtendInfo; /** * <p>Specifies whether to enable the health check. Valid values:</p> * <ul> * <li><strong>OPEN</strong>: enables the health check.</li> * <li><strong>CLOSE</strong>: disables the health check. This is the default value.</li> * </ul> * * <strong>example:</strong> * <p>OPEN</p> */ @NameInMap("MonitorStatus") public String monitorStatus; /** * <p>The name of the address pool.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Alibaba Cloud cluster</p> */ @NameInMap("Name") public String name; /** * <p>The health check protocol. Valid values:</p> * <ul> * <li>HTTP</li> * <li>HTTPS</li> * <li>Ping</li> * <li>TCP</li> * </ul> * * <strong>example:</strong> * <p>HTTPS</p> */ @NameInMap("ProtocolType") public String protocolType; /** * <p>The timeout period. Unit: milliseconds. Valid values: 2000, 3000, 5000, and 10000.</p> * * <strong>example:</strong> * <p>60</p> */ @NameInMap("Timeout") public Integer timeout; /** * <p>The type of the address pool. Valid values:</p> * <ul> * <li><strong>IP</strong>: IPv4 address</li> * <li><strong>DOMAIN</strong>: domain name</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>IP</p> */ @NameInMap("Type") public String type; public static AddGtmAddressPoolRequest build(java.util.Map<String, ?> map) throws Exception { AddGtmAddressPoolRequest self = new AddGtmAddressPoolRequest(); return TeaModel.build(map, self); } public AddGtmAddressPoolRequest setAddr(java.util.List<AddGtmAddressPoolRequestAddr> addr) { this.addr = addr; return this; } public java.util.List<AddGtmAddressPoolRequestAddr> getAddr() { return this.addr; } public AddGtmAddressPoolRequest setEvaluationCount(Integer evaluationCount) { this.evaluationCount = evaluationCount; return this; } public Integer getEvaluationCount() { return this.evaluationCount; } public AddGtmAddressPoolRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public AddGtmAddressPoolRequest setInterval(Integer interval) { this.interval = interval; return this; } public Integer getInterval() { return this.interval; } public AddGtmAddressPoolRequest setIspCityNode(java.util.List<AddGtmAddressPoolRequestIspCityNode> ispCityNode) { this.ispCityNode = ispCityNode; return this; } public java.util.List<AddGtmAddressPoolRequestIspCityNode> getIspCityNode() { return this.ispCityNode; } public AddGtmAddressPoolRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddGtmAddressPoolRequest setMinAvailableAddrNum(Integer minAvailableAddrNum) { this.minAvailableAddrNum = minAvailableAddrNum; return this; } public Integer getMinAvailableAddrNum() { return this.minAvailableAddrNum; } public AddGtmAddressPoolRequest setMonitorExtendInfo(String monitorExtendInfo) { this.monitorExtendInfo = monitorExtendInfo; return this; } public String getMonitorExtendInfo() { return this.monitorExtendInfo; } public AddGtmAddressPoolRequest setMonitorStatus(String monitorStatus) { this.monitorStatus = monitorStatus; return this; } public String getMonitorStatus() { return this.monitorStatus; } public AddGtmAddressPoolRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public AddGtmAddressPoolRequest setProtocolType(String protocolType) { this.protocolType = protocolType; return this; } public String getProtocolType() { return this.protocolType; } public AddGtmAddressPoolRequest setTimeout(Integer timeout) { this.timeout = timeout; return this; } public Integer getTimeout() { return this.timeout; } public AddGtmAddressPoolRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public static class AddGtmAddressPoolRequestAddr extends TeaModel { /** * <p>The weight of the address pool.</p> * * <strong>example:</strong> * <p>1</p> */ @NameInMap("LbaWeight") public Integer lbaWeight; /** * <p>The mode of the address pool. Valid values:</p> * <ul> * <li><strong>SMART</strong>: smart return</li> * <li><strong>ONLINE</strong>: always online</li> * <li><strong>OFFLINE</strong>: always offline</li> * </ul> * * <strong>example:</strong> * <p>SMART</p> */ @NameInMap("Mode") public String mode; /** * <p>The address in the address pool.</p> * * <strong>example:</strong> * <p>1.1.1.1</p> */ @NameInMap("Value") public String value; public static AddGtmAddressPoolRequestAddr build(java.util.Map<String, ?> map) throws Exception { AddGtmAddressPoolRequestAddr self = new AddGtmAddressPoolRequestAddr(); return TeaModel.build(map, self); } public AddGtmAddressPoolRequestAddr setLbaWeight(Integer lbaWeight) { this.lbaWeight = lbaWeight; return this; } public Integer getLbaWeight() { return this.lbaWeight; } public AddGtmAddressPoolRequestAddr setMode(String mode) { this.mode = mode; return this; } public String getMode() { return this.mode; } public AddGtmAddressPoolRequestAddr setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } } public static class AddGtmAddressPoolRequestIspCityNode extends TeaModel { /** * <p>The code of the city where the monitored node is deployed. For more information about specific values, see the response parameters of DescribeGtmMonitorAvailableConfig.</p> * * <strong>example:</strong> * <p>546</p> */ @NameInMap("CityCode") public String cityCode; /** * <ul> * <li>The code of the Internet service provider (ISP) to which the monitored node belongs. For more information about specific values, see the response parameters of DescribeGtmMonitorAvailableConfig.</li> * <li>If the value of the GroupType parameter is BGP or OVERSEAS, IspCode is optional. The default value is 465.</li> * <li>If the value of the GroupType parameter is not BGP or OVERSEAS, IspCode is required and is used together with CityCode.</li> * </ul> * * <strong>example:</strong> * <p>465</p> */ @NameInMap("IspCode") public String ispCode; public static AddGtmAddressPoolRequestIspCityNode build(java.util.Map<String, ?> map) throws Exception { AddGtmAddressPoolRequestIspCityNode self = new AddGtmAddressPoolRequestIspCityNode(); return TeaModel.build(map, self); } public AddGtmAddressPoolRequestIspCityNode setCityCode(String cityCode) { this.cityCode = cityCode; return this; } public String getCityCode() { return this.cityCode; } public AddGtmAddressPoolRequestIspCityNode setIspCode(String ispCode) { this.ispCode = ispCode; return this; } public String getIspCode() { return this.ispCode; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmAddressPoolResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmAddressPoolResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddGtmAddressPoolResponseBody body; public static AddGtmAddressPoolResponse build(java.util.Map<String, ?> map) throws Exception { AddGtmAddressPoolResponse self = new AddGtmAddressPoolResponse(); return TeaModel.build(map, self); } public AddGtmAddressPoolResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddGtmAddressPoolResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddGtmAddressPoolResponse setBody(AddGtmAddressPoolResponseBody body) { this.body = body; return this; } public AddGtmAddressPoolResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmAddressPoolResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmAddressPoolResponseBody extends TeaModel { /** * <p>The ID of the address pool created.</p> * * <strong>example:</strong> * <p>hraf3x</p> */ @NameInMap("AddrPoolId") public String addrPoolId; /** * <p>The ID of the health check configuration.</p> * * <strong>example:</strong> * <p>hraf14</p> */ @NameInMap("MonitorConfigId") public String monitorConfigId; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>6856BCF6-11D6-4D7E-AC53-FD579933522B</p> */ @NameInMap("RequestId") public String requestId; public static AddGtmAddressPoolResponseBody build(java.util.Map<String, ?> map) throws Exception { AddGtmAddressPoolResponseBody self = new AddGtmAddressPoolResponseBody(); return TeaModel.build(map, self); } public AddGtmAddressPoolResponseBody setAddrPoolId(String addrPoolId) { this.addrPoolId = addrPoolId; return this; } public String getAddrPoolId() { return this.addrPoolId; } public AddGtmAddressPoolResponseBody setMonitorConfigId(String monitorConfigId) { this.monitorConfigId = monitorConfigId; return this; } public String getMonitorConfigId() { return this.monitorConfigId; } public AddGtmAddressPoolResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmMonitorRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmMonitorRequest extends TeaModel { /** * <p>The ID of the address pool.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>xxxx</p> */ @NameInMap("AddrPoolId") public String addrPoolId; /** * <p>The number of consecutive failures.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>3</p> */ @NameInMap("EvaluationCount") public Integer evaluationCount; /** * <p>The health check interval. Unit: seconds. Set the value to 60.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>60</p> */ @NameInMap("Interval") public Integer interval; /** * <p>The nodes for monitoring.</p> * <p>This parameter is required.</p> */ @NameInMap("IspCityNode") public java.util.List<AddGtmMonitorRequestIspCityNode> ispCityNode; /** * <p>The language.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The extended information. The required parameters vary based on the health check protocol.</p> * <p>HTTP or HTTPS</p> * <ul> * <li>port: the port that you want to check</li> * <li>failureRate: the failure rate</li> * <li>code: the return code. The health check result is deemed abnormal if the returned value is greater than the specified value. Valid values: 400 and 500.</li> * <li>host: the host settings</li> * <li>path: the URL path</li> * </ul> * <p>PING</p> * <ul> * <li>packetNum: the number of ping packets</li> * <li>packetLossRate: the packet loss rate</li> * <li>failureRate: the failure rate</li> * </ul> * <p>TCP</p> * <ul> * <li>port: the port that you want to check</li> * <li>failureRate: the failure rate</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>{\&quot;code\&quot;:200,\&quot;path\&quot;:\&quot;/index.htm\&quot;,\&quot;host\&quot;:\&quot;aliyun.com\&quot;}</p> */ @NameInMap("MonitorExtendInfo") public String monitorExtendInfo; /** * <p>The protocol used for the health check. Valid values:</p> * <ul> * <li>HTTP</li> * <li>HTTPS</li> * <li>PING</li> * <li>TCP</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>HTTP</p> */ @NameInMap("ProtocolType") public String protocolType; /** * <p>The health check timeout period. Unit: milliseconds. Valid values: 2000, 3000, 5000, and 10000.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>3000</p> */ @NameInMap("Timeout") public Integer timeout; public static AddGtmMonitorRequest build(java.util.Map<String, ?> map) throws Exception { AddGtmMonitorRequest self = new AddGtmMonitorRequest(); return TeaModel.build(map, self); } public AddGtmMonitorRequest setAddrPoolId(String addrPoolId) { this.addrPoolId = addrPoolId; return this; } public String getAddrPoolId() { return this.addrPoolId; } public AddGtmMonitorRequest setEvaluationCount(Integer evaluationCount) { this.evaluationCount = evaluationCount; return this; } public Integer getEvaluationCount() { return this.evaluationCount; } public AddGtmMonitorRequest setInterval(Integer interval) { this.interval = interval; return this; } public Integer getInterval() { return this.interval; } public AddGtmMonitorRequest setIspCityNode(java.util.List<AddGtmMonitorRequestIspCityNode> ispCityNode) { this.ispCityNode = ispCityNode; return this; } public java.util.List<AddGtmMonitorRequestIspCityNode> getIspCityNode() { return this.ispCityNode; } public AddGtmMonitorRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddGtmMonitorRequest setMonitorExtendInfo(String monitorExtendInfo) { this.monitorExtendInfo = monitorExtendInfo; return this; } public String getMonitorExtendInfo() { return this.monitorExtendInfo; } public AddGtmMonitorRequest setProtocolType(String protocolType) { this.protocolType = protocolType; return this; } public String getProtocolType() { return this.protocolType; } public AddGtmMonitorRequest setTimeout(Integer timeout) { this.timeout = timeout; return this; } public Integer getTimeout() { return this.timeout; } public static class AddGtmMonitorRequestIspCityNode extends TeaModel { /** * <p>The city code.</p> * <p>Specify the parameter according to the value of CityCode returned by the DescribeGtmMonitorAvailableConfig operation.</p> * * <strong>example:</strong> * <p>503</p> */ @NameInMap("CityCode") public String cityCode; /** * <p>The Internet service provider (ISP) node. Specify the parameter according to the value of IspCode returned by the DescribeGtmMonitorAvailableConfig operation.</p> * <ul> * <li>If the return value of GroupType for the DescribeGtmMonitorAvailableConfig operation is BGP or Overseas, IspCode is not required and is set to 465 by default.</li> * <li>If the return value of GroupType for the DescribeGtmMonitorAvailableConfig operation is not BGP or Overseas, IspCode is required. When IspCode is specified, CityCode is required.</li> * </ul> * * <strong>example:</strong> * <p>465</p> */ @NameInMap("IspCode") public String ispCode; public static AddGtmMonitorRequestIspCityNode build(java.util.Map<String, ?> map) throws Exception { AddGtmMonitorRequestIspCityNode self = new AddGtmMonitorRequestIspCityNode(); return TeaModel.build(map, self); } public AddGtmMonitorRequestIspCityNode setCityCode(String cityCode) { this.cityCode = cityCode; return this; } public String getCityCode() { return this.cityCode; } public AddGtmMonitorRequestIspCityNode setIspCode(String ispCode) { this.ispCode = ispCode; return this; } public String getIspCode() { return this.ispCode; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmMonitorResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmMonitorResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddGtmMonitorResponseBody body; public static AddGtmMonitorResponse build(java.util.Map<String, ?> map) throws Exception { AddGtmMonitorResponse self = new AddGtmMonitorResponse(); return TeaModel.build(map, self); } public AddGtmMonitorResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddGtmMonitorResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddGtmMonitorResponse setBody(AddGtmMonitorResponseBody body) { this.body = body; return this; } public AddGtmMonitorResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmMonitorResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmMonitorResponseBody extends TeaModel { /** * <p>The ID of the health check configuration.</p> * * <strong>example:</strong> * <p>1234abc</p> */ @NameInMap("MonitorConfigId") public String monitorConfigId; /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>6856BCF6-11D6-4D7E-AC53-FD579933522B</p> */ @NameInMap("RequestId") public String requestId; public static AddGtmMonitorResponseBody build(java.util.Map<String, ?> map) throws Exception { AddGtmMonitorResponseBody self = new AddGtmMonitorResponseBody(); return TeaModel.build(map, self); } public AddGtmMonitorResponseBody setMonitorConfigId(String monitorConfigId) { this.monitorConfigId = monitorConfigId; return this; } public String getMonitorConfigId() { return this.monitorConfigId; } public AddGtmMonitorResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmRecoveryPlanRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmRecoveryPlanRequest extends TeaModel { /** * <p>The IDs of faulty address pools.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>[&quot;hra0or&quot;]</p> */ @NameInMap("FaultAddrPool") public String faultAddrPool; /** * <p>The language.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The name of the disaster recovery plan.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>name-example</p> */ @NameInMap("Name") public String name; /** * <p>The description of the disaster recovery plan.</p> * * <strong>example:</strong> * <p>remark</p> */ @NameInMap("Remark") public String remark; public static AddGtmRecoveryPlanRequest build(java.util.Map<String, ?> map) throws Exception { AddGtmRecoveryPlanRequest self = new AddGtmRecoveryPlanRequest(); return TeaModel.build(map, self); } public AddGtmRecoveryPlanRequest setFaultAddrPool(String faultAddrPool) { this.faultAddrPool = faultAddrPool; return this; } public String getFaultAddrPool() { return this.faultAddrPool; } public AddGtmRecoveryPlanRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public AddGtmRecoveryPlanRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public AddGtmRecoveryPlanRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmRecoveryPlanResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmRecoveryPlanResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddGtmRecoveryPlanResponseBody body; public static AddGtmRecoveryPlanResponse build(java.util.Map<String, ?> map) throws Exception { AddGtmRecoveryPlanResponse self = new AddGtmRecoveryPlanResponse(); return TeaModel.build(map, self); } public AddGtmRecoveryPlanResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddGtmRecoveryPlanResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddGtmRecoveryPlanResponse setBody(AddGtmRecoveryPlanResponseBody body) { this.body = body; return this; } public AddGtmRecoveryPlanResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddGtmRecoveryPlanResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddGtmRecoveryPlanResponseBody extends TeaModel { /** * <p>The ID of the disaster recovery plan.</p> * * <strong>example:</strong> * <p>100</p> */ @NameInMap("RecoveryPlanId") public String recoveryPlanId; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>6856BCF6-11D6-4D7E-AC53-FD579933522B</p> */ @NameInMap("RequestId") public String requestId; public static AddGtmRecoveryPlanResponseBody build(java.util.Map<String, ?> map) throws Exception { AddGtmRecoveryPlanResponseBody self = new AddGtmRecoveryPlanResponseBody(); return TeaModel.build(map, self); } public AddGtmRecoveryPlanResponseBody setRecoveryPlanId(String recoveryPlanId) { this.recoveryPlanId = recoveryPlanId; return this; } public String getRecoveryPlanId() { return this.recoveryPlanId; } public AddGtmRecoveryPlanResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddRecursionRecordRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddRecursionRecordRequest extends TeaModel { /** * <strong>example:</strong> * <p>6447728c8578e66aacf062d2df4446dc</p> */ @NameInMap("ClientToken") public String clientToken; /** * <strong>example:</strong> * <p>1</p> */ @NameInMap("Priority") public Integer priority; /** * <strong>example:</strong> * <p>default</p> */ @NameInMap("RequestSource") public String requestSource; /** * <strong>example:</strong> * <p>www</p> */ @NameInMap("Rr") public String rr; /** * <strong>example:</strong> * <p>60</p> */ @NameInMap("Ttl") public Integer ttl; /** * <strong>example:</strong> * <p>A</p> */ @NameInMap("Type") public String type; /** * <strong>example:</strong> * <p>192.168.0.1</p> */ @NameInMap("UserClientIp") public String userClientIp; /** * <strong>example:</strong> * <p>1.1.1.1</p> */ @NameInMap("Value") public String value; /** * <strong>example:</strong> * <p>2</p> */ @NameInMap("Weight") public Integer weight; /** * <p>Zone ID。</p> * * <strong>example:</strong> * <p>173671468000011</p> */ @NameInMap("ZoneId") public String zoneId; public static AddRecursionRecordRequest build(java.util.Map<String, ?> map) throws Exception { AddRecursionRecordRequest self = new AddRecursionRecordRequest(); return TeaModel.build(map, self); } public AddRecursionRecordRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public AddRecursionRecordRequest setPriority(Integer priority) { this.priority = priority; return this; } public Integer getPriority() { return this.priority; } public AddRecursionRecordRequest setRequestSource(String requestSource) { this.requestSource = requestSource; return this; } public String getRequestSource() { return this.requestSource; } public AddRecursionRecordRequest setRr(String rr) { this.rr = rr; return this; } public String getRr() { return this.rr; } public AddRecursionRecordRequest setTtl(Integer ttl) { this.ttl = ttl; return this; } public Integer getTtl() { return this.ttl; } public AddRecursionRecordRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public AddRecursionRecordRequest setUserClientIp(String userClientIp) { this.userClientIp = userClientIp; return this; } public String getUserClientIp() { return this.userClientIp; } public AddRecursionRecordRequest setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } public AddRecursionRecordRequest setWeight(Integer weight) { this.weight = weight; return this; } public Integer getWeight() { return this.weight; } public AddRecursionRecordRequest setZoneId(String zoneId) { this.zoneId = zoneId; return this; } public String getZoneId() { return this.zoneId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddRecursionRecordResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddRecursionRecordResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddRecursionRecordResponseBody body; public static AddRecursionRecordResponse build(java.util.Map<String, ?> map) throws Exception { AddRecursionRecordResponse self = new AddRecursionRecordResponse(); return TeaModel.build(map, self); } public AddRecursionRecordResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddRecursionRecordResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddRecursionRecordResponse setBody(AddRecursionRecordResponseBody body) { this.body = body; return this; } public AddRecursionRecordResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddRecursionRecordResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddRecursionRecordResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>173671468000010</p> */ @NameInMap("RecordId") public String recordId; /** * <strong>example:</strong> * <p>29D0F8F8-5499-4F6C-9FDC-1EE13BF55925</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static AddRecursionRecordResponseBody build(java.util.Map<String, ?> map) throws Exception { AddRecursionRecordResponseBody self = new AddRecursionRecordResponseBody(); return TeaModel.build(map, self); } public AddRecursionRecordResponseBody setRecordId(String recordId) { this.recordId = recordId; return this; } public String getRecordId() { return this.recordId; } public AddRecursionRecordResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddRecursionRecordResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddRecursionZoneRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddRecursionZoneRequest extends TeaModel { /** * <strong>example:</strong> * <p>1ae05db4-10e7-11ef-b126-00163e24**22</p> */ @NameInMap("ClientToken") public String clientToken; /** * <strong>example:</strong> * <p>record</p> */ @NameInMap("ProxyPattern") public String proxyPattern; /** * <strong>example:</strong> * <p>example.com</p> */ @NameInMap("ZoneName") public String zoneName; public static AddRecursionZoneRequest build(java.util.Map<String, ?> map) throws Exception { AddRecursionZoneRequest self = new AddRecursionZoneRequest(); return TeaModel.build(map, self); } public AddRecursionZoneRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public AddRecursionZoneRequest setProxyPattern(String proxyPattern) { this.proxyPattern = proxyPattern; return this; } public String getProxyPattern() { return this.proxyPattern; } public AddRecursionZoneRequest setZoneName(String zoneName) { this.zoneName = zoneName; return this; } public String getZoneName() { return this.zoneName; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddRecursionZoneResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddRecursionZoneResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public AddRecursionZoneResponseBody body; public static AddRecursionZoneResponse build(java.util.Map<String, ?> map) throws Exception { AddRecursionZoneResponse self = new AddRecursionZoneResponse(); return TeaModel.build(map, self); } public AddRecursionZoneResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public AddRecursionZoneResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public AddRecursionZoneResponse setBody(AddRecursionZoneResponseBody body) { this.body = body; return this; } public AddRecursionZoneResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/AddRecursionZoneResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class AddRecursionZoneResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>51899B6F-04A5-5B96-977D-340673091ACA</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; /** * <p>Zone ID。</p> * * <strong>example:</strong> * <p>173671468000011</p> */ @NameInMap("ZoneId") public String zoneId; public static AddRecursionZoneResponseBody build(java.util.Map<String, ?> map) throws Exception { AddRecursionZoneResponseBody self = new AddRecursionZoneResponseBody(); return TeaModel.build(map, self); } public AddRecursionZoneResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public AddRecursionZoneResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public AddRecursionZoneResponseBody setZoneId(String zoneId) { this.zoneId = zoneId; return this; } public String getZoneId() { return this.zoneId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/BindInstanceDomainsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class BindInstanceDomainsRequest extends TeaModel { /** * <p>The domain names.</p> * <blockquote> * <p> Separate multiple domain names with commas (,). Up to 100 domain names can be entered.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com,example.net</p> */ @NameInMap("DomainNames") public String domainNames; /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>sdfasdf</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The language.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; public static BindInstanceDomainsRequest build(java.util.Map<String, ?> map) throws Exception { BindInstanceDomainsRequest self = new BindInstanceDomainsRequest(); return TeaModel.build(map, self); } public BindInstanceDomainsRequest setDomainNames(String domainNames) { this.domainNames = domainNames; return this; } public String getDomainNames() { return this.domainNames; } public BindInstanceDomainsRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public BindInstanceDomainsRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/BindInstanceDomainsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class BindInstanceDomainsResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public BindInstanceDomainsResponseBody body; public static BindInstanceDomainsResponse build(java.util.Map<String, ?> map) throws Exception { BindInstanceDomainsResponse self = new BindInstanceDomainsResponse(); return TeaModel.build(map, self); } public BindInstanceDomainsResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public BindInstanceDomainsResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public BindInstanceDomainsResponse setBody(BindInstanceDomainsResponseBody body) { this.body = body; return this; } public BindInstanceDomainsResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/BindInstanceDomainsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class BindInstanceDomainsResponseBody extends TeaModel { /** * <p>The number of domain names that failed to be bound to the instance.</p> * * <strong>example:</strong> * <p>0</p> */ @NameInMap("FailedCount") public Integer failedCount; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>536E9CAD-DB30-4647-AC87-AA5CC38C5382</p> */ @NameInMap("RequestId") public String requestId; /** * <p>The number of domain names that are bound to the instance.</p> * * <strong>example:</strong> * <p>2</p> */ @NameInMap("SuccessCount") public Integer successCount; public static BindInstanceDomainsResponseBody build(java.util.Map<String, ?> map) throws Exception { BindInstanceDomainsResponseBody self = new BindInstanceDomainsResponseBody(); return TeaModel.build(map, self); } public BindInstanceDomainsResponseBody setFailedCount(Integer failedCount) { this.failedCount = failedCount; return this; } public Integer getFailedCount() { return this.failedCount; } public BindInstanceDomainsResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public BindInstanceDomainsResponseBody setSuccessCount(Integer successCount) { this.successCount = successCount; return this; } public Integer getSuccessCount() { return this.successCount; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/ChangeDomainGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class ChangeDomainGroupRequest extends TeaModel { /** * <p>The domain name. You can call the <a href="https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-describedomains?spm=a2c63.p38356.help-menu-search-29697.d_0">DescribeDomains </a>operation to obtain the domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ @NameInMap("DomainName") public String domainName; /** * <p>The ID of the target domain name group.</p> * <ul> * <li>If you do not specify GroupId, the domain name belongs to the default group.</li> * <li>If you specify an empty string &quot;&quot; for GroupId, the domain name belongs to the default group.</li> * <li>If you set GroupId to defaultGroup, the domain name belongs to the default group.</li> * <li>If you specify GroupId to another value and the value is verified existent, the value of GroupId for the target domain name is updated. If the value is verified inexistent, the value of GroupId for the target domain name is not updated.</li> * </ul> * * <strong>example:</strong> * <p>2223</p> */ @NameInMap("GroupId") public String groupId; /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh: Chinese</li> * <li>en: English</li> * </ul> * <p>Default value: en</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; public static ChangeDomainGroupRequest build(java.util.Map<String, ?> map) throws Exception { ChangeDomainGroupRequest self = new ChangeDomainGroupRequest(); return TeaModel.build(map, self); } public ChangeDomainGroupRequest setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public ChangeDomainGroupRequest setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public ChangeDomainGroupRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/ChangeDomainGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class ChangeDomainGroupResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ChangeDomainGroupResponseBody body; public static ChangeDomainGroupResponse build(java.util.Map<String, ?> map) throws Exception { ChangeDomainGroupResponse self = new ChangeDomainGroupResponse(); return TeaModel.build(map, self); } public ChangeDomainGroupResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ChangeDomainGroupResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ChangeDomainGroupResponse setBody(ChangeDomainGroupResponseBody body) { this.body = body; return this; } public ChangeDomainGroupResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/ChangeDomainGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class ChangeDomainGroupResponseBody extends TeaModel { /** * <p>The ID of the target domain name group.</p> * * <strong>example:</strong> * <p>2223</p> */ @NameInMap("GroupId") public String groupId; /** * <p>The name of the destination domain name group.</p> * * <strong>example:</strong> * <p>MyGroup</p> */ @NameInMap("GroupName") public String groupName; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>536E9CAD-DB30-4647-AC87-AA5CC38C5382</p> */ @NameInMap("RequestId") public String requestId; public static ChangeDomainGroupResponseBody build(java.util.Map<String, ?> map) throws Exception { ChangeDomainGroupResponseBody self = new ChangeDomainGroupResponseBody(); return TeaModel.build(map, self); } public ChangeDomainGroupResponseBody setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public ChangeDomainGroupResponseBody setGroupName(String groupName) { this.groupName = groupName; return this; } public String getGroupName() { return this.groupName; } public ChangeDomainGroupResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/ChangeDomainOfDnsProductRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class ChangeDomainOfDnsProductRequest extends TeaModel { /** * <p>Specifies whether to forcibly bind a domain name to the instance. Valid values:</p> * <ul> * <li><strong>false</strong><strong>: no</strong></li> * <li><strong>true</strong>: <strong>yes</strong></li> * </ul> * <p>Default value: <strong>false</strong>.</p> * * <strong>example:</strong> * <p>false</p> */ @NameInMap("Force") public Boolean force; /** * <p>The ID of the Alibaba Cloud Domain Name System (DNS) instance.</p> * <p>You can call the <a href="https://www.alibabacloud.com/help/zh/dns/api-alidns-2015-01-09-listcloudgtminstances?spm=a2c63.p38356.help-menu-search-29697.d_0">ListCloudGtmInstances </a>operation to obtain the ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>i-7sb</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The language of the content within the request and response. Valid values:</p> * <ul> * <li><strong>zh</strong>: Chinese</li> * <li><strong>en</strong>: English</li> * </ul> * <p>Default value: <strong>zh</strong>.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The domain name that you want to bind to the instance. If you leave this parameter empty, the domain name that is bound to the instance is unbound from the instance.</p> * * <strong>example:</strong> * <p>newdomain.com</p> */ @NameInMap("NewDomain") public String newDomain; /** * <p>The IP address of the client.</p> * * <strong>example:</strong> * <p>1.1.1.1</p> */ @NameInMap("UserClientIp") public String userClientIp; public static ChangeDomainOfDnsProductRequest build(java.util.Map<String, ?> map) throws Exception { ChangeDomainOfDnsProductRequest self = new ChangeDomainOfDnsProductRequest(); return TeaModel.build(map, self); } public ChangeDomainOfDnsProductRequest setForce(Boolean force) { this.force = force; return this; } public Boolean getForce() { return this.force; } public ChangeDomainOfDnsProductRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public ChangeDomainOfDnsProductRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public ChangeDomainOfDnsProductRequest setNewDomain(String newDomain) { this.newDomain = newDomain; return this; } public String getNewDomain() { return this.newDomain; } public ChangeDomainOfDnsProductRequest setUserClientIp(String userClientIp) { this.userClientIp = userClientIp; return this; } public String getUserClientIp() { return this.userClientIp; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/ChangeDomainOfDnsProductResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class ChangeDomainOfDnsProductResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ChangeDomainOfDnsProductResponseBody body; public static ChangeDomainOfDnsProductResponse build(java.util.Map<String, ?> map) throws Exception { ChangeDomainOfDnsProductResponse self = new ChangeDomainOfDnsProductResponse(); return TeaModel.build(map, self); } public ChangeDomainOfDnsProductResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ChangeDomainOfDnsProductResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ChangeDomainOfDnsProductResponse setBody(ChangeDomainOfDnsProductResponseBody body) { this.body = body; return this; } public ChangeDomainOfDnsProductResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/ChangeDomainOfDnsProductResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class ChangeDomainOfDnsProductResponseBody extends TeaModel { /** * <p>The domain name that is originally bound to the instance. If no value is returned for this parameter, the instance is bound to a domain name for the first time.</p> * * <strong>example:</strong> * <p>originaldomain.com</p> */ @NameInMap("OriginalDomain") public String originalDomain; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>536E9CAD-DB30-4647-AC87-AA5CC38C5382</p> */ @NameInMap("RequestId") public String requestId; public static ChangeDomainOfDnsProductResponseBody build(java.util.Map<String, ?> map) throws Exception { ChangeDomainOfDnsProductResponseBody self = new ChangeDomainOfDnsProductResponseBody(); return TeaModel.build(map, self); } public ChangeDomainOfDnsProductResponseBody setOriginalDomain(String originalDomain) { this.originalDomain = originalDomain; return this; } public String getOriginalDomain() { return this.originalDomain; } public ChangeDomainOfDnsProductResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CopyGtmConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CopyGtmConfigRequest extends TeaModel { /** * <p>The type of the object that is copied. Only the INSTANCE type is supported.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>INSTANCE</p> */ @NameInMap("CopyType") public String copyType; /** * <p>The language.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Lang") public String lang; /** * <p>The ID of the source object. Only instance IDs are supported.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>gtm-cn-0pp1j84v60d</p> */ @NameInMap("SourceId") public String sourceId; /** * <p>The ID of the target object. Only instance IDs are supported.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>gtm-cn-v0h1gaujg06</p> */ @NameInMap("TargetId") public String targetId; public static CopyGtmConfigRequest build(java.util.Map<String, ?> map) throws Exception { CopyGtmConfigRequest self = new CopyGtmConfigRequest(); return TeaModel.build(map, self); } public CopyGtmConfigRequest setCopyType(String copyType) { this.copyType = copyType; return this; } public String getCopyType() { return this.copyType; } public CopyGtmConfigRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public CopyGtmConfigRequest setSourceId(String sourceId) { this.sourceId = sourceId; return this; } public String getSourceId() { return this.sourceId; } public CopyGtmConfigRequest setTargetId(String targetId) { this.targetId = targetId; return this; } public String getTargetId() { return this.targetId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CopyGtmConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CopyGtmConfigResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CopyGtmConfigResponseBody body; public static CopyGtmConfigResponse build(java.util.Map<String, ?> map) throws Exception { CopyGtmConfigResponse self = new CopyGtmConfigResponse(); return TeaModel.build(map, self); } public CopyGtmConfigResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CopyGtmConfigResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CopyGtmConfigResponse setBody(CopyGtmConfigResponseBody body) { this.body = body; return this; } public CopyGtmConfigResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CopyGtmConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CopyGtmConfigResponseBody extends TeaModel { /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA</p> */ @NameInMap("RequestId") public String requestId; public static CopyGtmConfigResponseBody build(java.util.Map<String, ?> map) throws Exception { CopyGtmConfigResponseBody self = new CopyGtmConfigResponseBody(); return TeaModel.build(map, self); } public CopyGtmConfigResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmAddressPoolRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmAddressPoolRequest extends TeaModel { /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh-CN: Chinese</li> * <li>en-US (default): English</li> * </ul> * * <strong>example:</strong> * <p>en-US</p> */ @NameInMap("AcceptLanguage") public String acceptLanguage; /** * <p>Address pool name, helping users distinguish the purpose of address pools.</p> * * <strong>example:</strong> * <p>Address pool-1</p> */ @NameInMap("AddressPoolName") public String addressPoolName; /** * <p>The type of the address pool. Valid values:</p> * <ul> * <li>IPv4: IPv4 addresses are returned for Domain Name System (DNS) resolution.</li> * <li>IPv6: IPv6 addresses are returned for DNS resolution.</li> * <li>domain: Domain names are returned for DNS resolution.</li> * </ul> * * <strong>example:</strong> * <p>IPv4</p> */ @NameInMap("AddressPoolType") public String addressPoolType; /** * <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p> * * <strong>example:</strong> * <p>1ae05db4-10e7-11ef-b126-00163e24**22</p> */ @NameInMap("ClientToken") public String clientToken; /** * <p>The enabling state of the address pool. Valid values:</p> * <ul> * <li>enable: The address pool is enabled, and the addresses in the address pool are returned for DNS resolution when the health check results are normal.</li> * <li>disable: The address pool is disabled, and the addresses in the address pool are not returned for DNS resolution regardless of whether the health check results are normal or not.</li> * </ul> * * <strong>example:</strong> * <p>enable</p> */ @NameInMap("EnableStatus") public String enableStatus; /** * <p>The condition for determining the health status of the address pool. Valid values:</p> * <ul> * <li>any_ok: At least one address in the address pool is available.</li> * <li>p30_ok: At least 30% of the addresses in the address pool are available.</li> * <li>p50_ok: At least 50% of the addresses in the address pool are available.</li> * <li>p70_ok: At least 70% of the addresses in the address pool are available.</li> * <li>all_ok: All addresses in the address pool are available.</li> * </ul> * * <strong>example:</strong> * <p>any_ok</p> */ @NameInMap("HealthJudgement") public String healthJudgement; /** * <p>Remarks for the address pool, helping users distinguish the usage scenarios of different address pools.</p> * * <strong>example:</strong> * <p>app</p> */ @NameInMap("Remark") public String remark; public static CreateCloudGtmAddressPoolRequest build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmAddressPoolRequest self = new CreateCloudGtmAddressPoolRequest(); return TeaModel.build(map, self); } public CreateCloudGtmAddressPoolRequest setAcceptLanguage(String acceptLanguage) { this.acceptLanguage = acceptLanguage; return this; } public String getAcceptLanguage() { return this.acceptLanguage; } public CreateCloudGtmAddressPoolRequest setAddressPoolName(String addressPoolName) { this.addressPoolName = addressPoolName; return this; } public String getAddressPoolName() { return this.addressPoolName; } public CreateCloudGtmAddressPoolRequest setAddressPoolType(String addressPoolType) { this.addressPoolType = addressPoolType; return this; } public String getAddressPoolType() { return this.addressPoolType; } public CreateCloudGtmAddressPoolRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public CreateCloudGtmAddressPoolRequest setEnableStatus(String enableStatus) { this.enableStatus = enableStatus; return this; } public String getEnableStatus() { return this.enableStatus; } public CreateCloudGtmAddressPoolRequest setHealthJudgement(String healthJudgement) { this.healthJudgement = healthJudgement; return this; } public String getHealthJudgement() { return this.healthJudgement; } public CreateCloudGtmAddressPoolRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmAddressPoolResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmAddressPoolResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateCloudGtmAddressPoolResponseBody body; public static CreateCloudGtmAddressPoolResponse build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmAddressPoolResponse self = new CreateCloudGtmAddressPoolResponse(); return TeaModel.build(map, self); } public CreateCloudGtmAddressPoolResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateCloudGtmAddressPoolResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateCloudGtmAddressPoolResponse setBody(CreateCloudGtmAddressPoolResponseBody body) { this.body = body; return this; } public CreateCloudGtmAddressPoolResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmAddressPoolResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmAddressPoolResponseBody extends TeaModel { /** * <p>The ID of the address pool. This ID uniquely identifies the address pool.</p> * * <strong>example:</strong> * <p>pool-89528023225442**16</p> */ @NameInMap("AddressPoolId") public String addressPoolId; /** * <p>Unique request identification code.</p> * * <strong>example:</strong> * <p>46973D4C-E3E4-4ABA-9190-9A9DE406C7E</p> */ @NameInMap("RequestId") public String requestId; /** * <p>Indicates whether the address pool creation operation was successful:</p> * <ul> * <li>true: Operation was successful</li> * <li>false: Operation was failed</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static CreateCloudGtmAddressPoolResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmAddressPoolResponseBody self = new CreateCloudGtmAddressPoolResponseBody(); return TeaModel.build(map, self); } public CreateCloudGtmAddressPoolResponseBody setAddressPoolId(String addressPoolId) { this.addressPoolId = addressPoolId; return this; } public String getAddressPoolId() { return this.addressPoolId; } public CreateCloudGtmAddressPoolResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateCloudGtmAddressPoolResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmAddressRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmAddressRequest extends TeaModel { /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh-CN: Chinese</li> * <li>en-US (default): English</li> * </ul> * * <strong>example:</strong> * <p>zh-CN</p> */ @NameInMap("AcceptLanguage") public String acceptLanguage; /** * <p>IP address or domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>223.5.XX.XX</p> */ @NameInMap("Address") public String address; /** * <p>Address ownership information.</p> * * <strong>example:</strong> * <p>This parameter is not supported in the version. Do not enter this parameter</p> */ @NameInMap("AttributeInfo") public String attributeInfo; /** * <p>The failover mode that is used when address exceptions are identified. Valid values:</p> * <ul> * <li>auto: the automatic mode. The system determines whether to return an address based on the health check results. If the address fails health checks, the system does not return the address. If the address passes health checks, the system returns the address.</li> * <li>manual: the manual mode. If an address is in the unavailable state, the address is not returned for DNS requests even if the address passes health checks. If an address is in the available state, the address is returned for DNS requests even if an alert is triggered when the address fails health checks.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>auto</p> */ @NameInMap("AvailableMode") public String availableMode; /** * <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p> * * <strong>example:</strong> * <p>1ae05db4-10e7-11ef-b126-00163e24**22</p> */ @NameInMap("ClientToken") public String clientToken; /** * <p>Indicates the current enabled status of the address:</p> * <ul> * <li>enable: Enabled status </li> * <li>disable: Disabled status</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>enable</p> */ @NameInMap("EnableStatus") public String enableStatus; /** * <p>The condition for determining the health status of the address. This parameter is required when HealthTasks is specified. Valid values:</p> * <ul> * <li>any_ok: The health check results of at least one health check template are normal.</li> * <li>p30_ok: The health check results of at least 30% of health check templates are normal.</li> * <li>p50_ok: The health check results of at least 50% of health check templates are normal.</li> * <li>p70_ok: The health check results of at least 70% of health check templates are normal.</li> * <li>all_ok: The health check results of all health check templates are normal.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>p50_ok</p> */ @NameInMap("HealthJudgement") public String healthJudgement; /** * <p>The health check tasks associated with the address.</p> */ @NameInMap("HealthTasks") public java.util.List<CreateCloudGtmAddressRequestHealthTasks> healthTasks; /** * <p>The availability state of the address. This parameter is required when AvailableMode is set to <strong>manual</strong>. Valid values:</p> * <ul> * <li>available: The address is normal. In this state, the address is returned for DNS requests even if an alert is triggered when the address fails health checks.</li> * <li>unavailable: The address is abnormal. In this state, the address is not returned for DNS requests even if the address passes health checks.</li> * </ul> * * <strong>example:</strong> * <p>available</p> */ @NameInMap("ManualAvailableStatus") public String manualAvailableStatus; /** * <p>Address name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Address-1</p> */ @NameInMap("Name") public String name; /** * <p>Remarks.</p> * * <strong>example:</strong> * <p>test</p> */ @NameInMap("Remark") public String remark; /** * <p>Address type:</p> * <ul> * <li>IPv4</li> * <li>IPv6</li> * <li>domain</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>IPv4</p> */ @NameInMap("Type") public String type; public static CreateCloudGtmAddressRequest build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmAddressRequest self = new CreateCloudGtmAddressRequest(); return TeaModel.build(map, self); } public CreateCloudGtmAddressRequest setAcceptLanguage(String acceptLanguage) { this.acceptLanguage = acceptLanguage; return this; } public String getAcceptLanguage() { return this.acceptLanguage; } public CreateCloudGtmAddressRequest setAddress(String address) { this.address = address; return this; } public String getAddress() { return this.address; } public CreateCloudGtmAddressRequest setAttributeInfo(String attributeInfo) { this.attributeInfo = attributeInfo; return this; } public String getAttributeInfo() { return this.attributeInfo; } public CreateCloudGtmAddressRequest setAvailableMode(String availableMode) { this.availableMode = availableMode; return this; } public String getAvailableMode() { return this.availableMode; } public CreateCloudGtmAddressRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public CreateCloudGtmAddressRequest setEnableStatus(String enableStatus) { this.enableStatus = enableStatus; return this; } public String getEnableStatus() { return this.enableStatus; } public CreateCloudGtmAddressRequest setHealthJudgement(String healthJudgement) { this.healthJudgement = healthJudgement; return this; } public String getHealthJudgement() { return this.healthJudgement; } public CreateCloudGtmAddressRequest setHealthTasks(java.util.List<CreateCloudGtmAddressRequestHealthTasks> healthTasks) { this.healthTasks = healthTasks; return this; } public java.util.List<CreateCloudGtmAddressRequestHealthTasks> getHealthTasks() { return this.healthTasks; } public CreateCloudGtmAddressRequest setManualAvailableStatus(String manualAvailableStatus) { this.manualAvailableStatus = manualAvailableStatus; return this; } public String getManualAvailableStatus() { return this.manualAvailableStatus; } public CreateCloudGtmAddressRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreateCloudGtmAddressRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public CreateCloudGtmAddressRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public static class CreateCloudGtmAddressRequestHealthTasks extends TeaModel { /** * <p>The service port of the address on which health check tasks are performed. If the ping protocol is used for health checks, the configuration of the service port is not supported.</p> * * <strong>example:</strong> * <p>80</p> */ @NameInMap("Port") public Integer port; /** * <p>The ID of the health check template associated with the address.</p> * * <strong>example:</strong> * <p>mtp-89518052425100**80</p> */ @NameInMap("TemplateId") public String templateId; public static CreateCloudGtmAddressRequestHealthTasks build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmAddressRequestHealthTasks self = new CreateCloudGtmAddressRequestHealthTasks(); return TeaModel.build(map, self); } public CreateCloudGtmAddressRequestHealthTasks setPort(Integer port) { this.port = port; return this; } public Integer getPort() { return this.port; } public CreateCloudGtmAddressRequestHealthTasks setTemplateId(String templateId) { this.templateId = templateId; return this; } public String getTemplateId() { return this.templateId; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmAddressResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmAddressResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateCloudGtmAddressResponseBody body; public static CreateCloudGtmAddressResponse build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmAddressResponse self = new CreateCloudGtmAddressResponse(); return TeaModel.build(map, self); } public CreateCloudGtmAddressResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateCloudGtmAddressResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateCloudGtmAddressResponse setBody(CreateCloudGtmAddressResponseBody body) { this.body = body; return this; } public CreateCloudGtmAddressResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmAddressResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmAddressResponseBody extends TeaModel { /** * <p>The address ID. This ID uniquely identifies the address.</p> * * <strong>example:</strong> * <p>addr-8951821811436**192</p> */ @NameInMap("AddressId") public String addressId; /** * <p>Unique request identification code.</p> * * <strong>example:</strong> * <p>46973D4C-E3E4-4ABA-9190-9A9DE406C7E</p> */ @NameInMap("RequestId") public String requestId; /** * <p>Indicates whether the address creation operation is successful:</p> * <ul> * <li>true: Operation was successful</li> * <li>false: Operation was failed</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static CreateCloudGtmAddressResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmAddressResponseBody self = new CreateCloudGtmAddressResponseBody(); return TeaModel.build(map, self); } public CreateCloudGtmAddressResponseBody setAddressId(String addressId) { this.addressId = addressId; return this; } public String getAddressId() { return this.addressId; } public CreateCloudGtmAddressResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateCloudGtmAddressResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmAddressShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmAddressShrinkRequest extends TeaModel { /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh-CN: Chinese</li> * <li>en-US (default): English</li> * </ul> * * <strong>example:</strong> * <p>zh-CN</p> */ @NameInMap("AcceptLanguage") public String acceptLanguage; /** * <p>IP address or domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>223.5.XX.XX</p> */ @NameInMap("Address") public String address; /** * <p>Address ownership information.</p> * * <strong>example:</strong> * <p>This parameter is not supported in the version. Do not enter this parameter</p> */ @NameInMap("AttributeInfo") public String attributeInfo; /** * <p>The failover mode that is used when address exceptions are identified. Valid values:</p> * <ul> * <li>auto: the automatic mode. The system determines whether to return an address based on the health check results. If the address fails health checks, the system does not return the address. If the address passes health checks, the system returns the address.</li> * <li>manual: the manual mode. If an address is in the unavailable state, the address is not returned for DNS requests even if the address passes health checks. If an address is in the available state, the address is returned for DNS requests even if an alert is triggered when the address fails health checks.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>auto</p> */ @NameInMap("AvailableMode") public String availableMode; /** * <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p> * * <strong>example:</strong> * <p>1ae05db4-10e7-11ef-b126-00163e24**22</p> */ @NameInMap("ClientToken") public String clientToken; /** * <p>Indicates the current enabled status of the address:</p> * <ul> * <li>enable: Enabled status </li> * <li>disable: Disabled status</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>enable</p> */ @NameInMap("EnableStatus") public String enableStatus; /** * <p>The condition for determining the health status of the address. This parameter is required when HealthTasks is specified. Valid values:</p> * <ul> * <li>any_ok: The health check results of at least one health check template are normal.</li> * <li>p30_ok: The health check results of at least 30% of health check templates are normal.</li> * <li>p50_ok: The health check results of at least 50% of health check templates are normal.</li> * <li>p70_ok: The health check results of at least 70% of health check templates are normal.</li> * <li>all_ok: The health check results of all health check templates are normal.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>p50_ok</p> */ @NameInMap("HealthJudgement") public String healthJudgement; /** * <p>The health check tasks associated with the address.</p> */ @NameInMap("HealthTasks") public String healthTasksShrink; /** * <p>The availability state of the address. This parameter is required when AvailableMode is set to <strong>manual</strong>. Valid values:</p> * <ul> * <li>available: The address is normal. In this state, the address is returned for DNS requests even if an alert is triggered when the address fails health checks.</li> * <li>unavailable: The address is abnormal. In this state, the address is not returned for DNS requests even if the address passes health checks.</li> * </ul> * * <strong>example:</strong> * <p>available</p> */ @NameInMap("ManualAvailableStatus") public String manualAvailableStatus; /** * <p>Address name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Address-1</p> */ @NameInMap("Name") public String name; /** * <p>Remarks.</p> * * <strong>example:</strong> * <p>test</p> */ @NameInMap("Remark") public String remark; /** * <p>Address type:</p> * <ul> * <li>IPv4</li> * <li>IPv6</li> * <li>domain</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>IPv4</p> */ @NameInMap("Type") public String type; public static CreateCloudGtmAddressShrinkRequest build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmAddressShrinkRequest self = new CreateCloudGtmAddressShrinkRequest(); return TeaModel.build(map, self); } public CreateCloudGtmAddressShrinkRequest setAcceptLanguage(String acceptLanguage) { this.acceptLanguage = acceptLanguage; return this; } public String getAcceptLanguage() { return this.acceptLanguage; } public CreateCloudGtmAddressShrinkRequest setAddress(String address) { this.address = address; return this; } public String getAddress() { return this.address; } public CreateCloudGtmAddressShrinkRequest setAttributeInfo(String attributeInfo) { this.attributeInfo = attributeInfo; return this; } public String getAttributeInfo() { return this.attributeInfo; } public CreateCloudGtmAddressShrinkRequest setAvailableMode(String availableMode) { this.availableMode = availableMode; return this; } public String getAvailableMode() { return this.availableMode; } public CreateCloudGtmAddressShrinkRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public CreateCloudGtmAddressShrinkRequest setEnableStatus(String enableStatus) { this.enableStatus = enableStatus; return this; } public String getEnableStatus() { return this.enableStatus; } public CreateCloudGtmAddressShrinkRequest setHealthJudgement(String healthJudgement) { this.healthJudgement = healthJudgement; return this; } public String getHealthJudgement() { return this.healthJudgement; } public CreateCloudGtmAddressShrinkRequest setHealthTasksShrink(String healthTasksShrink) { this.healthTasksShrink = healthTasksShrink; return this; } public String getHealthTasksShrink() { return this.healthTasksShrink; } public CreateCloudGtmAddressShrinkRequest setManualAvailableStatus(String manualAvailableStatus) { this.manualAvailableStatus = manualAvailableStatus; return this; } public String getManualAvailableStatus() { return this.manualAvailableStatus; } public CreateCloudGtmAddressShrinkRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreateCloudGtmAddressShrinkRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public CreateCloudGtmAddressShrinkRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmInstanceConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmInstanceConfigRequest extends TeaModel { /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh-CN: Chinese</li> * <li>en-US: English</li> * </ul> * * <strong>example:</strong> * <p>en-US</p> */ @NameInMap("AcceptLanguage") public String acceptLanguage; /** * <p>The client token that is used to ensure the idempotence of the request. You can specify a custom value for this parameter, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p> * * <strong>example:</strong> * <p>1ae05db4-10e7-11ef-b126-00163e24**22</p> */ @NameInMap("ClientToken") public String clientToken; /** * <p>The enabling state of the access domain name. Valid values:</p> * <ul> * <li>enable: The access domain name is enabled and the intelligent scheduling policy of the corresponding GTM instance takes effect.</li> * <li>disable: The access domain name is disabled and the intelligent scheduling policy of the corresponding GTM instance is unavailable.</li> * </ul> * * <strong>example:</strong> * <p>enable</p> */ @NameInMap("EnableStatus") public String enableStatus; /** * <p>The ID of the Global Traffic Manager (GTM) 3.0 instance. This ID uniquely identifies a GTM 3.0 instance.</p> * * <strong>example:</strong> * <p>gtm-cn-jmp3qnw**03</p> */ @NameInMap("InstanceId") public String instanceId; /** * <p>The description of the access domain name.</p> * * <strong>example:</strong> * <p>test</p> */ @NameInMap("Remark") public String remark; /** * <p>The hostname of the access domain name.</p> * * <strong>example:</strong> * <p>www</p> */ @NameInMap("ScheduleHostname") public String scheduleHostname; /** * <p>The type of the Domain Name System (DNS) record configured for the access domain name. Valid values:</p> * <ul> * <li>A: IPv4 address</li> * <li>AAAA: IPv6 address</li> * <li>CNAME: domain name</li> * </ul> * * <strong>example:</strong> * <p>A</p> */ @NameInMap("ScheduleRrType") public String scheduleRrType; /** * <p>The configuration mode of the access domain name. Valid values:</p> * <ul> * <li>sys_assign: system allocation. This mode is not supported.</li> * <li>custom: custom allocation. You must select a zone within the account to which the instance belongs and enter a hostname to generate an access domain name.</li> * </ul> * * <strong>example:</strong> * <p>custom</p> */ @NameInMap("ScheduleZoneMode") public String scheduleZoneMode; /** * <p>The name of the parent zone for the access domain name configured in GTM. In most cases, the value of this parameter is the name of a zone hosted by Alibaba Cloud DNS. This zone belongs to the account to which the GTM instance belongs. You can specify the name of a zone or subzone.</p> * * <strong>example:</strong> * <p>example.com</p> */ @NameInMap("ScheduleZoneName") public String scheduleZoneName; /** * <p>The global time to live (TTL) period. Unit: seconds. The global TTL period affects how long the DNS records that map the access domain name to the addresses in the address pools are cached in the local DNS servers of Internet service providers (ISPs). You can specify a custom value.</p> * * <strong>example:</strong> * <p>30</p> */ @NameInMap("Ttl") public Integer ttl; public static CreateCloudGtmInstanceConfigRequest build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmInstanceConfigRequest self = new CreateCloudGtmInstanceConfigRequest(); return TeaModel.build(map, self); } public CreateCloudGtmInstanceConfigRequest setAcceptLanguage(String acceptLanguage) { this.acceptLanguage = acceptLanguage; return this; } public String getAcceptLanguage() { return this.acceptLanguage; } public CreateCloudGtmInstanceConfigRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public CreateCloudGtmInstanceConfigRequest setEnableStatus(String enableStatus) { this.enableStatus = enableStatus; return this; } public String getEnableStatus() { return this.enableStatus; } public CreateCloudGtmInstanceConfigRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public CreateCloudGtmInstanceConfigRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } public CreateCloudGtmInstanceConfigRequest setScheduleHostname(String scheduleHostname) { this.scheduleHostname = scheduleHostname; return this; } public String getScheduleHostname() { return this.scheduleHostname; } public CreateCloudGtmInstanceConfigRequest setScheduleRrType(String scheduleRrType) { this.scheduleRrType = scheduleRrType; return this; } public String getScheduleRrType() { return this.scheduleRrType; } public CreateCloudGtmInstanceConfigRequest setScheduleZoneMode(String scheduleZoneMode) { this.scheduleZoneMode = scheduleZoneMode; return this; } public String getScheduleZoneMode() { return this.scheduleZoneMode; } public CreateCloudGtmInstanceConfigRequest setScheduleZoneName(String scheduleZoneName) { this.scheduleZoneName = scheduleZoneName; return this; } public String getScheduleZoneName() { return this.scheduleZoneName; } public CreateCloudGtmInstanceConfigRequest setTtl(Integer ttl) { this.ttl = ttl; return this; } public Integer getTtl() { return this.ttl; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmInstanceConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmInstanceConfigResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateCloudGtmInstanceConfigResponseBody body; public static CreateCloudGtmInstanceConfigResponse build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmInstanceConfigResponse self = new CreateCloudGtmInstanceConfigResponse(); return TeaModel.build(map, self); } public CreateCloudGtmInstanceConfigResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateCloudGtmInstanceConfigResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateCloudGtmInstanceConfigResponse setBody(CreateCloudGtmInstanceConfigResponseBody body) { this.body = body; return this; } public CreateCloudGtmInstanceConfigResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmInstanceConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmInstanceConfigResponseBody extends TeaModel { /** * <p>The configuration ID of the access domain name. Two configuration IDs exist when the access domain name is bound to the same GTM instance but an A record and an AAAA record are configured for the access domain name. The configuration ID uniquely identifies a configuration.</p> * * <strong>example:</strong> * <p>config-000**1</p> */ @NameInMap("ConfigId") public Boolean configId; /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>536E9CAD-DB30-4647-AC87-AA5CC38C5382</p> */ @NameInMap("RequestId") public String requestId; /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; public static CreateCloudGtmInstanceConfigResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmInstanceConfigResponseBody self = new CreateCloudGtmInstanceConfigResponseBody(); return TeaModel.build(map, self); } public CreateCloudGtmInstanceConfigResponseBody setConfigId(Boolean configId) { this.configId = configId; return this; } public Boolean getConfigId() { return this.configId; } public CreateCloudGtmInstanceConfigResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateCloudGtmInstanceConfigResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmMonitorTemplateRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmMonitorTemplateRequest extends TeaModel { /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh-CN: Chinese</li> * <li>en-US (default): English</li> * </ul> * * <strong>example:</strong> * <p>en-US</p> */ @NameInMap("AcceptLanguage") public String acceptLanguage; /** * <p>The client token that is used to ensure the idempotence of the request. You can specify a custom value for this parameter, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p> * * <strong>example:</strong> * <p>1ae05db4-10e7-11ef-b126-00163e24**22</p> */ @NameInMap("ClientToken") public String clientToken; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2</p> */ @NameInMap("EvaluationCount") public Integer evaluationCount; /** * <p>The extended information. The value of this parameter is a JSON string. The required parameters vary based on the health check protocol.</p> * <ul> * <li><p>HTTP or HTTPS:</p> * <p><strong>host</strong>: the Host field of an HTTP or HTTPS request header during an HTTP or HTTPS health check. The parameter value indicates the HTTP website that you want to visit. By default, the value is the primary domain name. You can change the value based on your business requirements.</p> * <p><strong>path</strong>: the URL for HTTP or HTTPS health checks. Default value: /.</p> * <p><strong>code</strong>: the alert threshold. During an HTTP or HTTPS health check, the system checks whether a web server functions as expected based on the status code that is returned from the web server. If the returned status code is greater than the specified threshold, the corresponding application service address is deemed abnormal. Valid values:</p> * <ul> * <li>400: specifies an invalid request. If an HTTP or HTTPS request contains invalid request parameters, a web server returns a status code that is greater than 400. You must set path to an exact URL if you set code to 400.</li> * <li>500: specifies a server error. If some exceptions occur on a web server, the web server returns a status code that is greater than 500. This value is used by default.</li> * </ul> * <p><strong>sni</strong>: specifies whether to enable Server Name Indication (SNI). This parameter is used only when the health check protocol is HTTPS. SNI is an extension to the Transport Layer Security (TLS) protocol, which allows a client to specify the host to be connected when the client sends a TLS handshake request. TLS handshakes occur before any data of HTTP requests is sent. Therefore, SNI enables servers to identify the services that clients are attempting to access before certificates are sent. This allows the servers to present correct certificates to the clients. Valid values:</p> * <ul> * <li>true: enables SNI.</li> * <li>false: disables SNI.</li> * </ul> * <p><strong>followRedirect</strong>: specifies whether to follow 3XX redirects. Valid values:</p> * <ul> * <li>true: follows 3XX redirects. You are redirected to the destination address if a 3XX status code such as 301, 302, 303, 307, or 308 is returned.</li> * <li>false: does not follow 3XX redirects.</li> * </ul> * </li> * <li><p>ping:</p> * <p><strong>packetNum</strong>: the total number of Internet Control Message Protocol (ICMP) packets that are sent to the address for each ping-based health check. Valid values: 20, 50, and 100.</p> * <p><strong>packetLossRate</strong>: the ICMP packet loss rate for each ping-based health check. The packet loss rate in a health check can be calculated by using the following formula: Packet loss rate in a health check = (Number of lost packets/Total number of sent ICMP packets) × 100%. If the packet loss rate reaches the threshold, an alert is triggered. Valid values: 10, 30, 40, 80, 90, and 100.</p> * </li> * </ul> * * <strong>example:</strong> * <p>{\&quot;code\&quot;:200,\&quot;path\&quot;:\&quot;\\index.htm\&quot;,\&quot;host\&quot;:\&quot;aliyun.com\&quot;}</p> */ @NameInMap("ExtendInfo") public String extendInfo; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>50</p> */ @NameInMap("FailureRate") public Integer failureRate; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>60</p> */ @NameInMap("Interval") public Integer interval; /** * <p>The IP address type of health check nodes. Valid values:</p> * <ul> * <li>IPv4: You can set IpVersion to IPv4 to perform health checks on IPv4 addresses.</li> * <li>IPv6: You can set IpVersion to IPv6 to perform health checks on IPv6 addresses.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>IPv4</p> */ @NameInMap("IpVersion") public String ipVersion; /** * <p>The health check nodes. You can call the <a href="~~ListCloudGtmMonitorNodes~~">ListCloudGtmMonitorNodes</a> operation to obtain the health check nodes.</p> * <p>This parameter is required.</p> */ @NameInMap("IspCityNodes") public java.util.List<CreateCloudGtmMonitorTemplateRequestIspCityNodes> ispCityNodes; /** * <p>The name of the health check template. We recommend that you use a name that distinguishes the type of health check protocol used.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Ping-IPv4</p> */ @NameInMap("Name") public String name; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ping</p> */ @NameInMap("Protocol") public String protocol; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>5000</p> */ @NameInMap("Timeout") public Integer timeout; public static CreateCloudGtmMonitorTemplateRequest build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmMonitorTemplateRequest self = new CreateCloudGtmMonitorTemplateRequest(); return TeaModel.build(map, self); } public CreateCloudGtmMonitorTemplateRequest setAcceptLanguage(String acceptLanguage) { this.acceptLanguage = acceptLanguage; return this; } public String getAcceptLanguage() { return this.acceptLanguage; } public CreateCloudGtmMonitorTemplateRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public CreateCloudGtmMonitorTemplateRequest setEvaluationCount(Integer evaluationCount) { this.evaluationCount = evaluationCount; return this; } public Integer getEvaluationCount() { return this.evaluationCount; } public CreateCloudGtmMonitorTemplateRequest setExtendInfo(String extendInfo) { this.extendInfo = extendInfo; return this; } public String getExtendInfo() { return this.extendInfo; } public CreateCloudGtmMonitorTemplateRequest setFailureRate(Integer failureRate) { this.failureRate = failureRate; return this; } public Integer getFailureRate() { return this.failureRate; } public CreateCloudGtmMonitorTemplateRequest setInterval(Integer interval) { this.interval = interval; return this; } public Integer getInterval() { return this.interval; } public CreateCloudGtmMonitorTemplateRequest setIpVersion(String ipVersion) { this.ipVersion = ipVersion; return this; } public String getIpVersion() { return this.ipVersion; } public CreateCloudGtmMonitorTemplateRequest setIspCityNodes(java.util.List<CreateCloudGtmMonitorTemplateRequestIspCityNodes> ispCityNodes) { this.ispCityNodes = ispCityNodes; return this; } public java.util.List<CreateCloudGtmMonitorTemplateRequestIspCityNodes> getIspCityNodes() { return this.ispCityNodes; } public CreateCloudGtmMonitorTemplateRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreateCloudGtmMonitorTemplateRequest setProtocol(String protocol) { this.protocol = protocol; return this; } public String getProtocol() { return this.protocol; } public CreateCloudGtmMonitorTemplateRequest setTimeout(Integer timeout) { this.timeout = timeout; return this; } public Integer getTimeout() { return this.timeout; } public static class CreateCloudGtmMonitorTemplateRequestIspCityNodes extends TeaModel { /** * <p>The city code of the health check node.</p> * * <strong>example:</strong> * <p>503</p> */ @NameInMap("CityCode") public String cityCode; /** * <p>The Internet service provider (ISP) code of the health check node.</p> * * <strong>example:</strong> * <p>465</p> */ @NameInMap("IspCode") public String ispCode; public static CreateCloudGtmMonitorTemplateRequestIspCityNodes build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmMonitorTemplateRequestIspCityNodes self = new CreateCloudGtmMonitorTemplateRequestIspCityNodes(); return TeaModel.build(map, self); } public CreateCloudGtmMonitorTemplateRequestIspCityNodes setCityCode(String cityCode) { this.cityCode = cityCode; return this; } public String getCityCode() { return this.cityCode; } public CreateCloudGtmMonitorTemplateRequestIspCityNodes setIspCode(String ispCode) { this.ispCode = ispCode; return this; } public String getIspCode() { return this.ispCode; } } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmMonitorTemplateResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmMonitorTemplateResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreateCloudGtmMonitorTemplateResponseBody body; public static CreateCloudGtmMonitorTemplateResponse build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmMonitorTemplateResponse self = new CreateCloudGtmMonitorTemplateResponse(); return TeaModel.build(map, self); } public CreateCloudGtmMonitorTemplateResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreateCloudGtmMonitorTemplateResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreateCloudGtmMonitorTemplateResponse setBody(CreateCloudGtmMonitorTemplateResponseBody body) { this.body = body; return this; } public CreateCloudGtmMonitorTemplateResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmMonitorTemplateResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmMonitorTemplateResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>B57C121B-A45F-44D8-A9B2-13E5A5044195</p> */ @NameInMap("RequestId") public String requestId; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; /** * <p>The ID of the health check template. This ID uniquely identifies the health check template.</p> * * <strong>example:</strong> * <p>mtp-89518052425100**80</p> */ @NameInMap("TemplateId") public String templateId; public static CreateCloudGtmMonitorTemplateResponseBody build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmMonitorTemplateResponseBody self = new CreateCloudGtmMonitorTemplateResponseBody(); return TeaModel.build(map, self); } public CreateCloudGtmMonitorTemplateResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public CreateCloudGtmMonitorTemplateResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public CreateCloudGtmMonitorTemplateResponseBody setTemplateId(String templateId) { this.templateId = templateId; return this; } public String getTemplateId() { return this.templateId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreateCloudGtmMonitorTemplateShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreateCloudGtmMonitorTemplateShrinkRequest extends TeaModel { /** * <p>The language of the response. Valid values:</p> * <ul> * <li>zh-CN: Chinese</li> * <li>en-US (default): English</li> * </ul> * * <strong>example:</strong> * <p>en-US</p> */ @NameInMap("AcceptLanguage") public String acceptLanguage; /** * <p>The client token that is used to ensure the idempotence of the request. You can specify a custom value for this parameter, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p> * * <strong>example:</strong> * <p>1ae05db4-10e7-11ef-b126-00163e24**22</p> */ @NameInMap("ClientToken") public String clientToken; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2</p> */ @NameInMap("EvaluationCount") public Integer evaluationCount; /** * <p>The extended information. The value of this parameter is a JSON string. The required parameters vary based on the health check protocol.</p> * <ul> * <li><p>HTTP or HTTPS:</p> * <p><strong>host</strong>: the Host field of an HTTP or HTTPS request header during an HTTP or HTTPS health check. The parameter value indicates the HTTP website that you want to visit. By default, the value is the primary domain name. You can change the value based on your business requirements.</p> * <p><strong>path</strong>: the URL for HTTP or HTTPS health checks. Default value: /.</p> * <p><strong>code</strong>: the alert threshold. During an HTTP or HTTPS health check, the system checks whether a web server functions as expected based on the status code that is returned from the web server. If the returned status code is greater than the specified threshold, the corresponding application service address is deemed abnormal. Valid values:</p> * <ul> * <li>400: specifies an invalid request. If an HTTP or HTTPS request contains invalid request parameters, a web server returns a status code that is greater than 400. You must set path to an exact URL if you set code to 400.</li> * <li>500: specifies a server error. If some exceptions occur on a web server, the web server returns a status code that is greater than 500. This value is used by default.</li> * </ul> * <p><strong>sni</strong>: specifies whether to enable Server Name Indication (SNI). This parameter is used only when the health check protocol is HTTPS. SNI is an extension to the Transport Layer Security (TLS) protocol, which allows a client to specify the host to be connected when the client sends a TLS handshake request. TLS handshakes occur before any data of HTTP requests is sent. Therefore, SNI enables servers to identify the services that clients are attempting to access before certificates are sent. This allows the servers to present correct certificates to the clients. Valid values:</p> * <ul> * <li>true: enables SNI.</li> * <li>false: disables SNI.</li> * </ul> * <p><strong>followRedirect</strong>: specifies whether to follow 3XX redirects. Valid values:</p> * <ul> * <li>true: follows 3XX redirects. You are redirected to the destination address if a 3XX status code such as 301, 302, 303, 307, or 308 is returned.</li> * <li>false: does not follow 3XX redirects.</li> * </ul> * </li> * <li><p>ping:</p> * <p><strong>packetNum</strong>: the total number of Internet Control Message Protocol (ICMP) packets that are sent to the address for each ping-based health check. Valid values: 20, 50, and 100.</p> * <p><strong>packetLossRate</strong>: the ICMP packet loss rate for each ping-based health check. The packet loss rate in a health check can be calculated by using the following formula: Packet loss rate in a health check = (Number of lost packets/Total number of sent ICMP packets) × 100%. If the packet loss rate reaches the threshold, an alert is triggered. Valid values: 10, 30, 40, 80, 90, and 100.</p> * </li> * </ul> * * <strong>example:</strong> * <p>{\&quot;code\&quot;:200,\&quot;path\&quot;:\&quot;\\index.htm\&quot;,\&quot;host\&quot;:\&quot;aliyun.com\&quot;}</p> */ @NameInMap("ExtendInfo") public String extendInfo; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>50</p> */ @NameInMap("FailureRate") public Integer failureRate; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>60</p> */ @NameInMap("Interval") public Integer interval; /** * <p>The IP address type of health check nodes. Valid values:</p> * <ul> * <li>IPv4: You can set IpVersion to IPv4 to perform health checks on IPv4 addresses.</li> * <li>IPv6: You can set IpVersion to IPv6 to perform health checks on IPv6 addresses.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>IPv4</p> */ @NameInMap("IpVersion") public String ipVersion; /** * <p>The health check nodes. You can call the <a href="~~ListCloudGtmMonitorNodes~~">ListCloudGtmMonitorNodes</a> operation to obtain the health check nodes.</p> * <p>This parameter is required.</p> */ @NameInMap("IspCityNodes") public String ispCityNodesShrink; /** * <p>The name of the health check template. We recommend that you use a name that distinguishes the type of health check protocol used.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Ping-IPv4</p> */ @NameInMap("Name") public String name; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ping</p> */ @NameInMap("Protocol") public String protocol; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>5000</p> */ @NameInMap("Timeout") public Integer timeout; public static CreateCloudGtmMonitorTemplateShrinkRequest build(java.util.Map<String, ?> map) throws Exception { CreateCloudGtmMonitorTemplateShrinkRequest self = new CreateCloudGtmMonitorTemplateShrinkRequest(); return TeaModel.build(map, self); } public CreateCloudGtmMonitorTemplateShrinkRequest setAcceptLanguage(String acceptLanguage) { this.acceptLanguage = acceptLanguage; return this; } public String getAcceptLanguage() { return this.acceptLanguage; } public CreateCloudGtmMonitorTemplateShrinkRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public CreateCloudGtmMonitorTemplateShrinkRequest setEvaluationCount(Integer evaluationCount) { this.evaluationCount = evaluationCount; return this; } public Integer getEvaluationCount() { return this.evaluationCount; } public CreateCloudGtmMonitorTemplateShrinkRequest setExtendInfo(String extendInfo) { this.extendInfo = extendInfo; return this; } public String getExtendInfo() { return this.extendInfo; } public CreateCloudGtmMonitorTemplateShrinkRequest setFailureRate(Integer failureRate) { this.failureRate = failureRate; return this; } public Integer getFailureRate() { return this.failureRate; } public CreateCloudGtmMonitorTemplateShrinkRequest setInterval(Integer interval) { this.interval = interval; return this; } public Integer getInterval() { return this.interval; } public CreateCloudGtmMonitorTemplateShrinkRequest setIpVersion(String ipVersion) { this.ipVersion = ipVersion; return this; } public String getIpVersion() { return this.ipVersion; } public CreateCloudGtmMonitorTemplateShrinkRequest setIspCityNodesShrink(String ispCityNodesShrink) { this.ispCityNodesShrink = ispCityNodesShrink; return this; } public String getIspCityNodesShrink() { return this.ispCityNodesShrink; } public CreateCloudGtmMonitorTemplateShrinkRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreateCloudGtmMonitorTemplateShrinkRequest setProtocol(String protocol) { this.protocol = protocol; return this; } public String getProtocol() { return this.protocol; } public CreateCloudGtmMonitorTemplateShrinkRequest setTimeout(Integer timeout) { this.timeout = timeout; return this; } public Integer getTimeout() { return this.timeout; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreatePdnsAppKeyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreatePdnsAppKeyRequest extends TeaModel { @NameInMap("Lang") public String lang; @NameInMap("Remark") public String remark; public static CreatePdnsAppKeyRequest build(java.util.Map<String, ?> map) throws Exception { CreatePdnsAppKeyRequest self = new CreatePdnsAppKeyRequest(); return TeaModel.build(map, self); } public CreatePdnsAppKeyRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public CreatePdnsAppKeyRequest setRemark(String remark) { this.remark = remark; return this; } public String getRemark() { return this.remark; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreatePdnsAppKeyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreatePdnsAppKeyResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreatePdnsAppKeyResponseBody body; public static CreatePdnsAppKeyResponse build(java.util.Map<String, ?> map) throws Exception { CreatePdnsAppKeyResponse self = new CreatePdnsAppKeyResponse(); return TeaModel.build(map, self); } public CreatePdnsAppKeyResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreatePdnsAppKeyResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreatePdnsAppKeyResponse setBody(CreatePdnsAppKeyResponseBody body) { this.body = body; return this; } public CreatePdnsAppKeyResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreatePdnsAppKeyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreatePdnsAppKeyResponseBody extends TeaModel { @NameInMap("RequestId") public String requestId; public static CreatePdnsAppKeyResponseBody build(java.util.Map<String, ?> map) throws Exception { CreatePdnsAppKeyResponseBody self = new CreatePdnsAppKeyResponseBody(); return TeaModel.build(map, self); } public CreatePdnsAppKeyResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreatePdnsUdpIpSegmentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreatePdnsUdpIpSegmentRequest extends TeaModel { @NameInMap("Ip") public String ip; @NameInMap("IpToken") public String ipToken; @NameInMap("Lang") public String lang; @NameInMap("Name") public String name; public static CreatePdnsUdpIpSegmentRequest build(java.util.Map<String, ?> map) throws Exception { CreatePdnsUdpIpSegmentRequest self = new CreatePdnsUdpIpSegmentRequest(); return TeaModel.build(map, self); } public CreatePdnsUdpIpSegmentRequest setIp(String ip) { this.ip = ip; return this; } public String getIp() { return this.ip; } public CreatePdnsUdpIpSegmentRequest setIpToken(String ipToken) { this.ipToken = ipToken; return this; } public String getIpToken() { return this.ipToken; } public CreatePdnsUdpIpSegmentRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public CreatePdnsUdpIpSegmentRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } }
0
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109
java-sources/com/aliyun/alidns20150109/3.5.0/com/aliyun/alidns20150109/models/CreatePdnsUdpIpSegmentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alidns20150109.models; import com.aliyun.tea.*; public class CreatePdnsUdpIpSegmentResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public CreatePdnsUdpIpSegmentResponseBody body; public static CreatePdnsUdpIpSegmentResponse build(java.util.Map<String, ?> map) throws Exception { CreatePdnsUdpIpSegmentResponse self = new CreatePdnsUdpIpSegmentResponse(); return TeaModel.build(map, self); } public CreatePdnsUdpIpSegmentResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public CreatePdnsUdpIpSegmentResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public CreatePdnsUdpIpSegmentResponse setBody(CreatePdnsUdpIpSegmentResponseBody body) { this.body = body; return this; } public CreatePdnsUdpIpSegmentResponseBody getBody() { return this.body; } }