import * as $dara from '@darabonba/typescript'; import OpenApi from '@alicloud/openapi-core'; import { $OpenApiUtil } from '@alicloud/openapi-core'; import * as $_model from './models/model'; export * from './models/model'; export default class Client extends OpenApi { constructor(config: $OpenApiUtil.Config); getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: { [key: string]: string; }, endpoint: string): string; /** * Adds IP entries to an access control list (ACL). * * @remarks * Each ACL can contain IP addresses or CIDR blocks. Take note of the following limits on ACLs: * * The maximum number of IP entries that can be added to an ACL with each Alibaba Cloud account at a time: 20 * * The maximum number of IP entries that each ACL can contain: 1,000 * * **AddEntriesToAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclEntries](https://help.aliyun.com/document_detail/213616.html) operation to query the status of the task. * * If the ACL is in the **Adding** state, the IP entries are being added. * * If the ACL is in the **Available** state, the IP entries are added. * * @param request - AddEntriesToAclRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddEntriesToAclResponse */ addEntriesToAclWithOptions(request: $_model.AddEntriesToAclRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddEntriesToAclResponse>; /** * Adds IP entries to an access control list (ACL). * * @remarks * Each ACL can contain IP addresses or CIDR blocks. Take note of the following limits on ACLs: * * The maximum number of IP entries that can be added to an ACL with each Alibaba Cloud account at a time: 20 * * The maximum number of IP entries that each ACL can contain: 1,000 * * **AddEntriesToAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclEntries](https://help.aliyun.com/document_detail/213616.html) operation to query the status of the task. * * If the ACL is in the **Adding** state, the IP entries are being added. * * If the ACL is in the **Available** state, the IP entries are added. * * @param request - AddEntriesToAclRequest * @returns AddEntriesToAclResponse */ addEntriesToAcl(request: $_model.AddEntriesToAclRequest): Promise<$_model.AddEntriesToAclResponse>; /** * Adds backend servers to a server group. * * @remarks * *AddServersToServerGroup** is an asynchronous operation. After a request ID is returned, the backend server may not be added yet because the system is still processing the task in the background. * 1. Call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the status of the server group: * - If the server group is in the **Configuring** state, the server group is being modified. * - If the server group is in the **Available** state, the server group is running. * 2. Call [ListServerGroupServers](https://help.aliyun.com/document_detail/213628.html) to query the status of the backend server: * - If the backend server is in the **Adding** state, the backend server is being added to the server group. * - If the backend server is in the **Available** state, the backend server is running. * * @param request - AddServersToServerGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddServersToServerGroupResponse */ addServersToServerGroupWithOptions(request: $_model.AddServersToServerGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddServersToServerGroupResponse>; /** * Adds backend servers to a server group. * * @remarks * *AddServersToServerGroup** is an asynchronous operation. After a request ID is returned, the backend server may not be added yet because the system is still processing the task in the background. * 1. Call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the status of the server group: * - If the server group is in the **Configuring** state, the server group is being modified. * - If the server group is in the **Available** state, the server group is running. * 2. Call [ListServerGroupServers](https://help.aliyun.com/document_detail/213628.html) to query the status of the backend server: * - If the backend server is in the **Adding** state, the backend server is being added to the server group. * - If the backend server is in the **Available** state, the backend server is running. * * @param request - AddServersToServerGroupRequest * @returns AddServersToServerGroupResponse */ addServersToServerGroup(request: $_model.AddServersToServerGroupRequest): Promise<$_model.AddServersToServerGroupResponse>; /** * Applies a health check template to a server group. * * @param request - ApplyHealthCheckTemplateToServerGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ApplyHealthCheckTemplateToServerGroupResponse */ applyHealthCheckTemplateToServerGroupWithOptions(request: $_model.ApplyHealthCheckTemplateToServerGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ApplyHealthCheckTemplateToServerGroupResponse>; /** * Applies a health check template to a server group. * * @param request - ApplyHealthCheckTemplateToServerGroupRequest * @returns ApplyHealthCheckTemplateToServerGroupResponse */ applyHealthCheckTemplateToServerGroup(request: $_model.ApplyHealthCheckTemplateToServerGroupRequest): Promise<$_model.ApplyHealthCheckTemplateToServerGroupResponse>; /** * Associates access control lists (ACLs) with a listener. * * @remarks * *DeleteDhcpOptionsSet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclRelations](https://help.aliyun.com/document_detail/213618.html) operation to query the status of the task. * * If an ACL is in the **Associating** state, the ACL is being associated with a listener. * * If an ACL is in the **Associated** state, the ACL is associated with a listener. * * @param request - AssociateAclsWithListenerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AssociateAclsWithListenerResponse */ associateAclsWithListenerWithOptions(request: $_model.AssociateAclsWithListenerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AssociateAclsWithListenerResponse>; /** * Associates access control lists (ACLs) with a listener. * * @remarks * *DeleteDhcpOptionsSet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclRelations](https://help.aliyun.com/document_detail/213618.html) operation to query the status of the task. * * If an ACL is in the **Associating** state, the ACL is being associated with a listener. * * If an ACL is in the **Associated** state, the ACL is associated with a listener. * * @param request - AssociateAclsWithListenerRequest * @returns AssociateAclsWithListenerResponse */ associateAclsWithListener(request: $_model.AssociateAclsWithListenerRequest): Promise<$_model.AssociateAclsWithListenerResponse>; /** * Associates additional certificates with a listener. * * @remarks * *AssociateAdditionalCertificatesWithListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [](t2324519.xdita#)operation to query the status of the task: * - If the HTTPS or QUIC listener is in the **Associating** state, the additional certificates are being associated. * - If the HTTPS or QUIC listener is in the **Associated** state, the certificates are associated. * * @param request - AssociateAdditionalCertificatesWithListenerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AssociateAdditionalCertificatesWithListenerResponse */ associateAdditionalCertificatesWithListenerWithOptions(request: $_model.AssociateAdditionalCertificatesWithListenerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AssociateAdditionalCertificatesWithListenerResponse>; /** * Associates additional certificates with a listener. * * @remarks * *AssociateAdditionalCertificatesWithListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [](t2324519.xdita#)operation to query the status of the task: * - If the HTTPS or QUIC listener is in the **Associating** state, the additional certificates are being associated. * - If the HTTPS or QUIC listener is in the **Associated** state, the certificates are associated. * * @param request - AssociateAdditionalCertificatesWithListenerRequest * @returns AssociateAdditionalCertificatesWithListenerResponse */ associateAdditionalCertificatesWithListener(request: $_model.AssociateAdditionalCertificatesWithListenerRequest): Promise<$_model.AssociateAdditionalCertificatesWithListenerResponse>; /** * Associates an Internet Shared Bandwidth instance with an Application Load Balancer (ALB) instance. * * @remarks * *AttachCommonBandwidthPackageToLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) to query the status of the task. * * If the ALB instance is in the **Configuring** state, the EIP bandwidth plan is being associated with the ALB instance. * * If the ALB instance is in the **Active** state, the EIP bandwidth plan is associated with the ALB instance. * * @param request - AttachCommonBandwidthPackageToLoadBalancerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AttachCommonBandwidthPackageToLoadBalancerResponse */ attachCommonBandwidthPackageToLoadBalancerWithOptions(request: $_model.AttachCommonBandwidthPackageToLoadBalancerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AttachCommonBandwidthPackageToLoadBalancerResponse>; /** * Associates an Internet Shared Bandwidth instance with an Application Load Balancer (ALB) instance. * * @remarks * *AttachCommonBandwidthPackageToLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) to query the status of the task. * * If the ALB instance is in the **Configuring** state, the EIP bandwidth plan is being associated with the ALB instance. * * If the ALB instance is in the **Active** state, the EIP bandwidth plan is associated with the ALB instance. * * @param request - AttachCommonBandwidthPackageToLoadBalancerRequest * @returns AttachCommonBandwidthPackageToLoadBalancerResponse */ attachCommonBandwidthPackageToLoadBalancer(request: $_model.AttachCommonBandwidthPackageToLoadBalancerRequest): Promise<$_model.AttachCommonBandwidthPackageToLoadBalancerResponse>; /** * Adds the elastic IP address (EIP) and virtual IP address (VIP) of a zone to a DNS record. * * @remarks * This operation is supported only by Application Load Balancer (ALB) instances that use static IP addresses. Before you call this operation, you must call the StartShiftLoadBalancerZones operation to remove the zone from the ALB instance. * * @param request - CancelShiftLoadBalancerZonesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CancelShiftLoadBalancerZonesResponse */ cancelShiftLoadBalancerZonesWithOptions(request: $_model.CancelShiftLoadBalancerZonesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CancelShiftLoadBalancerZonesResponse>; /** * Adds the elastic IP address (EIP) and virtual IP address (VIP) of a zone to a DNS record. * * @remarks * This operation is supported only by Application Load Balancer (ALB) instances that use static IP addresses. Before you call this operation, you must call the StartShiftLoadBalancerZones operation to remove the zone from the ALB instance. * * @param request - CancelShiftLoadBalancerZonesRequest * @returns CancelShiftLoadBalancerZonesResponse */ cancelShiftLoadBalancerZones(request: $_model.CancelShiftLoadBalancerZonesRequest): Promise<$_model.CancelShiftLoadBalancerZonesResponse>; /** * Create a script. * * @remarks * ### Prerequisites * - You have created a standard edition or WAF-enhanced edition ALB instance. For more information, see [CreateLoadBalancer](https://help.aliyun.com/document_detail/214358.html). * ### Usage * **CreateAScripts** is an asynchronous operation. After you send a request, the system returns a request ID, but the programmable script is not created immediately because the creation task runs in the background. You can call [ListAScripts](https://help.aliyun.com/document_detail/472574.html) to query the creation status of the programmable script: * - If the programmable script is in the **Creating** state, it is being created. * - If the programmable script is in the **Available** state, it has been created. * * @param request - CreateAScriptsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateAScriptsResponse */ createAScriptsWithOptions(request: $_model.CreateAScriptsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAScriptsResponse>; /** * Create a script. * * @remarks * ### Prerequisites * - You have created a standard edition or WAF-enhanced edition ALB instance. For more information, see [CreateLoadBalancer](https://help.aliyun.com/document_detail/214358.html). * ### Usage * **CreateAScripts** is an asynchronous operation. After you send a request, the system returns a request ID, but the programmable script is not created immediately because the creation task runs in the background. You can call [ListAScripts](https://help.aliyun.com/document_detail/472574.html) to query the creation status of the programmable script: * - If the programmable script is in the **Creating** state, it is being created. * - If the programmable script is in the **Available** state, it has been created. * * @param request - CreateAScriptsRequest * @returns CreateAScriptsResponse */ createAScripts(request: $_model.CreateAScriptsRequest): Promise<$_model.CreateAScriptsResponse>; /** * Creates an access control list (ACL) in a specified region. * * @remarks * *CreateAcl** is an asynchronous operation. After you send a request, the system returns an instance ID and starts to create the ACL in the background. You can call the [ListAcls](https://help.aliyun.com/document_detail/213617.html) operation to query the status of the ACL. * - If the ACL is in the **Creating** state, the ACL is being created. * - If the ACL is in the **Available** state, the ACL is available for use. * * @param request - CreateAclRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateAclResponse */ createAclWithOptions(request: $_model.CreateAclRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAclResponse>; /** * Creates an access control list (ACL) in a specified region. * * @remarks * *CreateAcl** is an asynchronous operation. After you send a request, the system returns an instance ID and starts to create the ACL in the background. You can call the [ListAcls](https://help.aliyun.com/document_detail/213617.html) operation to query the status of the ACL. * - If the ACL is in the **Creating** state, the ACL is being created. * - If the ACL is in the **Available** state, the ACL is available for use. * * @param request - CreateAclRequest * @returns CreateAclResponse */ createAcl(request: $_model.CreateAclRequest): Promise<$_model.CreateAclResponse>; /** * Create a health check template in a specified region. * * @param request - CreateHealthCheckTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateHealthCheckTemplateResponse */ createHealthCheckTemplateWithOptions(request: $_model.CreateHealthCheckTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateHealthCheckTemplateResponse>; /** * Create a health check template in a specified region. * * @param request - CreateHealthCheckTemplateRequest * @returns CreateHealthCheckTemplateResponse */ createHealthCheckTemplate(request: $_model.CreateHealthCheckTemplateRequest): Promise<$_model.CreateHealthCheckTemplateResponse>; /** * Creates a listener. * * @remarks * *CreateListener** is an asynchronous operation. After a request ID is returned, the HTTP, HTTPS, or QUIC listener may not be created yet because the system is still processing the creation task in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the creation status of the HTTP, HTTPS, or QUIC listener: * - If the HTTP, HTTPS, or QUIC listener is in the **Provisioning** state, the listener is being created. * - If the HTTP, HTTPS, or QUIC listener is in the **Running** state, the listener is created. * * @param request - CreateListenerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateListenerResponse */ createListenerWithOptions(request: $_model.CreateListenerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateListenerResponse>; /** * Creates a listener. * * @remarks * *CreateListener** is an asynchronous operation. After a request ID is returned, the HTTP, HTTPS, or QUIC listener may not be created yet because the system is still processing the creation task in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the creation status of the HTTP, HTTPS, or QUIC listener: * - If the HTTP, HTTPS, or QUIC listener is in the **Provisioning** state, the listener is being created. * - If the HTTP, HTTPS, or QUIC listener is in the **Running** state, the listener is created. * * @param request - CreateListenerRequest * @returns CreateListenerResponse */ createListener(request: $_model.CreateListenerRequest): Promise<$_model.CreateListenerResponse>; /** * Create an application load balancer in a specified region * * @remarks * The **CreateLoadBalancer** operation is asynchronous. A successful call returns an instance ID, but the application load balancer instance is created in the background. Call [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) to check the creation status of the application load balancer instance: * - If the instance is in the **provisioning** state, it is being created. * - If the instance is in the **active** state, it has been created. * * @param request - CreateLoadBalancerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateLoadBalancerResponse */ createLoadBalancerWithOptions(request: $_model.CreateLoadBalancerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateLoadBalancerResponse>; /** * Create an application load balancer in a specified region * * @remarks * The **CreateLoadBalancer** operation is asynchronous. A successful call returns an instance ID, but the application load balancer instance is created in the background. Call [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) to check the creation status of the application load balancer instance: * - If the instance is in the **provisioning** state, it is being created. * - If the instance is in the **active** state, it has been created. * * @param request - CreateLoadBalancerRequest * @returns CreateLoadBalancerResponse */ createLoadBalancer(request: $_model.CreateLoadBalancerRequest): Promise<$_model.CreateLoadBalancerResponse>; /** * Creates a forwarding rule for a specified listener. * * @remarks * When you call this operation to create a forwarding rule, take note of the following items: * - When you configure a **Redirect** action, parameters other than **HttpCode** cannot all be set to default values. * - When you configure multiple actions for a forwarding rule, the **Rewrite** action must be used together with the **ForwardGroup** action type. * - The **CreateRule** operation is asynchronous. After a request is sent, the system returns an instance ID, but the forwarding rule may not be created yet. The system creates the forwarding rule in the background. You can call [ListRules](https://help.aliyun.com/document_detail/214379.html) to query the creation status of the forwarding rule: * - If the forwarding rule is in the **Provisioning** state, the forwarding rule is being created. * - If the forwarding rule is in the **Available** state, the forwarding rule is created. * - The maximum number of conditions (**RuleConditions**) and actions (**RuleActions**) that can be added to a forwarding rule is as follows: * - Conditions: 5 for Basic Edition, 10 for Standard Edition, and 10 for WAF-enabled Edition. * - Actions: 3 for Basic Edition, 5 for Standard Edition, and 5 for WAF-enabled Edition. * * @param request - CreateRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateRuleResponse */ createRuleWithOptions(request: $_model.CreateRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRuleResponse>; /** * Creates a forwarding rule for a specified listener. * * @remarks * When you call this operation to create a forwarding rule, take note of the following items: * - When you configure a **Redirect** action, parameters other than **HttpCode** cannot all be set to default values. * - When you configure multiple actions for a forwarding rule, the **Rewrite** action must be used together with the **ForwardGroup** action type. * - The **CreateRule** operation is asynchronous. After a request is sent, the system returns an instance ID, but the forwarding rule may not be created yet. The system creates the forwarding rule in the background. You can call [ListRules](https://help.aliyun.com/document_detail/214379.html) to query the creation status of the forwarding rule: * - If the forwarding rule is in the **Provisioning** state, the forwarding rule is being created. * - If the forwarding rule is in the **Available** state, the forwarding rule is created. * - The maximum number of conditions (**RuleConditions**) and actions (**RuleActions**) that can be added to a forwarding rule is as follows: * - Conditions: 5 for Basic Edition, 10 for Standard Edition, and 10 for WAF-enabled Edition. * - Actions: 3 for Basic Edition, 5 for Standard Edition, and 5 for WAF-enabled Edition. * * @param request - CreateRuleRequest * @returns CreateRuleResponse */ createRule(request: $_model.CreateRuleRequest): Promise<$_model.CreateRuleResponse>; /** * Creates multiple forwarding rules in a batch. * * @remarks * When you call this operation to create forwarding rules, take note of the following items: * - When you configure a **Redirect** action, you cannot set all parameters except **HttpCode** to default values. * - When you configure multiple actions for the same forwarding rule, the **Rewrite** action must be used together with the **ForwardGroup** action type. * - The **CreateRules** operation is asynchronous. After a request is sent, the system returns an instance ID but the forwarding rules are not yet created. The creation task is still running in the background. You can call [ListRules](https://help.aliyun.com/document_detail/214379.html) to query the creation status of the forwarding rules: * - If the forwarding rules are in the **Provisioning** state, the forwarding rules are being created. * - If the forwarding rules are in the **Available** state, the forwarding rules are created. * - The maximum number of conditions (**RuleConditions**) and actions (**RuleActions**) that can be added to a forwarding rule is as follows: * - Conditions: 5 for Basic Edition, 10 for Standard Edition, and 10 for WAF Enhanced Edition. * - Actions: 3 for Basic Edition, 5 for Standard Edition, and 5 for WAF Enhanced Edition. * * @param request - CreateRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateRulesResponse */ createRulesWithOptions(request: $_model.CreateRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRulesResponse>; /** * Creates multiple forwarding rules in a batch. * * @remarks * When you call this operation to create forwarding rules, take note of the following items: * - When you configure a **Redirect** action, you cannot set all parameters except **HttpCode** to default values. * - When you configure multiple actions for the same forwarding rule, the **Rewrite** action must be used together with the **ForwardGroup** action type. * - The **CreateRules** operation is asynchronous. After a request is sent, the system returns an instance ID but the forwarding rules are not yet created. The creation task is still running in the background. You can call [ListRules](https://help.aliyun.com/document_detail/214379.html) to query the creation status of the forwarding rules: * - If the forwarding rules are in the **Provisioning** state, the forwarding rules are being created. * - If the forwarding rules are in the **Available** state, the forwarding rules are created. * - The maximum number of conditions (**RuleConditions**) and actions (**RuleActions**) that can be added to a forwarding rule is as follows: * - Conditions: 5 for Basic Edition, 10 for Standard Edition, and 10 for WAF Enhanced Edition. * - Actions: 3 for Basic Edition, 5 for Standard Edition, and 5 for WAF Enhanced Edition. * * @param request - CreateRulesRequest * @returns CreateRulesResponse */ createRules(request: $_model.CreateRulesRequest): Promise<$_model.CreateRulesResponse>; /** * Creates a custom security policy in a specified region. * * @param request - CreateSecurityPolicyRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateSecurityPolicyResponse */ createSecurityPolicyWithOptions(request: $_model.CreateSecurityPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSecurityPolicyResponse>; /** * Creates a custom security policy in a specified region. * * @param request - CreateSecurityPolicyRequest * @returns CreateSecurityPolicyResponse */ createSecurityPolicy(request: $_model.CreateSecurityPolicyRequest): Promise<$_model.CreateSecurityPolicyResponse>; /** * Creates a server group in a specified region. * * @remarks * The **CreateServerGroup** operation is asynchronous. After a request is sent, the system returns a request ID. However, the server group is not yet created. The creation task continues to run in the background. You can call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the creation status of the server group: * - If the server group is in the **Creating** state, the server group is being created. * - If the server group is in the **Available** state, the server group is created. * * @param request - CreateServerGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateServerGroupResponse */ createServerGroupWithOptions(request: $_model.CreateServerGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateServerGroupResponse>; /** * Creates a server group in a specified region. * * @remarks * The **CreateServerGroup** operation is asynchronous. After a request is sent, the system returns a request ID. However, the server group is not yet created. The creation task continues to run in the background. You can call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the creation status of the server group: * - If the server group is in the **Creating** state, the server group is being created. * - If the server group is in the **Available** state, the server group is created. * * @param request - CreateServerGroupRequest * @returns CreateServerGroupResponse */ createServerGroup(request: $_model.CreateServerGroupRequest): Promise<$_model.CreateServerGroupResponse>; /** * Deletes AScript rules. * * @remarks * *DeleteAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAScripts](https://help.aliyun.com/document_detail/472574.html) operation to query the status of the task: * - If an AScript rule is in the **Deleting** state, the AScript rule is being deleted. * - If an AScript rule cannot be found, the AScript rule is deleted. * * @param request - DeleteAScriptsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteAScriptsResponse */ deleteAScriptsWithOptions(request: $_model.DeleteAScriptsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAScriptsResponse>; /** * Deletes AScript rules. * * @remarks * *DeleteAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAScripts](https://help.aliyun.com/document_detail/472574.html) operation to query the status of the task: * - If an AScript rule is in the **Deleting** state, the AScript rule is being deleted. * - If an AScript rule cannot be found, the AScript rule is deleted. * * @param request - DeleteAScriptsRequest * @returns DeleteAScriptsResponse */ deleteAScripts(request: $_model.DeleteAScriptsRequest): Promise<$_model.DeleteAScriptsResponse>; /** * Deletes an access control list (ACL). * * @remarks * *DeleteAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAcls](https://help.aliyun.com/document_detail/213617.html) operation to query the status of the task. * - If the ACL is in the **Deleting** state, the ACL is being deleted. * - If the ACL cannot be found, the ACL is deleted. * * @param request - DeleteAclRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteAclResponse */ deleteAclWithOptions(request: $_model.DeleteAclRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAclResponse>; /** * Deletes an access control list (ACL). * * @remarks * *DeleteAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAcls](https://help.aliyun.com/document_detail/213617.html) operation to query the status of the task. * - If the ACL is in the **Deleting** state, the ACL is being deleted. * - If the ACL cannot be found, the ACL is deleted. * * @param request - DeleteAclRequest * @returns DeleteAclResponse */ deleteAcl(request: $_model.DeleteAclRequest): Promise<$_model.DeleteAclResponse>; /** * Deletes health check templates. * * @param request - DeleteHealthCheckTemplatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteHealthCheckTemplatesResponse */ deleteHealthCheckTemplatesWithOptions(request: $_model.DeleteHealthCheckTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHealthCheckTemplatesResponse>; /** * Deletes health check templates. * * @param request - DeleteHealthCheckTemplatesRequest * @returns DeleteHealthCheckTemplatesResponse */ deleteHealthCheckTemplates(request: $_model.DeleteHealthCheckTemplatesRequest): Promise<$_model.DeleteHealthCheckTemplatesResponse>; /** * Deletes a listener. * * @remarks * *DeleteListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the status of the task. * * If the listener is in the **Deleting** state, the listener is being deleted. * * If the listener cannot be found, the listener is deleted. * * @param request - DeleteListenerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteListenerResponse */ deleteListenerWithOptions(request: $_model.DeleteListenerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteListenerResponse>; /** * Deletes a listener. * * @remarks * *DeleteListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the status of the task. * * If the listener is in the **Deleting** state, the listener is being deleted. * * If the listener cannot be found, the listener is deleted. * * @param request - DeleteListenerRequest * @returns DeleteListenerResponse */ deleteListener(request: $_model.DeleteListenerRequest): Promise<$_model.DeleteListenerResponse>; /** * Deletes the specified load balancer instance. * * @remarks * *DeleteLoadBalancer** is an asynchronous operation. After you send a request, the system returns a request ID, but the instance is not deleted immediately. The system deletes the instance in the background. You can call [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) to check the deletion status of the Application Load Balancer instance: * - If the Application Load Balancer instance is in the **Deleting** state, the instance is being deleted. * - If the Application Load Balancer instance cannot be found, the instance has been deleted. * * @param request - DeleteLoadBalancerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLoadBalancerResponse */ deleteLoadBalancerWithOptions(request: $_model.DeleteLoadBalancerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLoadBalancerResponse>; /** * Deletes the specified load balancer instance. * * @remarks * *DeleteLoadBalancer** is an asynchronous operation. After you send a request, the system returns a request ID, but the instance is not deleted immediately. The system deletes the instance in the background. You can call [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) to check the deletion status of the Application Load Balancer instance: * - If the Application Load Balancer instance is in the **Deleting** state, the instance is being deleted. * - If the Application Load Balancer instance cannot be found, the instance has been deleted. * * @param request - DeleteLoadBalancerRequest * @returns DeleteLoadBalancerResponse */ deleteLoadBalancer(request: $_model.DeleteLoadBalancerRequest): Promise<$_model.DeleteLoadBalancerResponse>; /** * Deletes a forwarding rule. * * @remarks * *DeleteRule** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](https://help.aliyun.com/document_detail/214379.html) operation to query the status of a forwarding rule: * * If the forwarding rule is in the **Deleting** state, the forwarding rule is being deleted. * * If the forwarding rule cannot be found, the forwarding rule is deleted. * * @param request - DeleteRuleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteRuleResponse */ deleteRuleWithOptions(request: $_model.DeleteRuleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteRuleResponse>; /** * Deletes a forwarding rule. * * @remarks * *DeleteRule** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](https://help.aliyun.com/document_detail/214379.html) operation to query the status of a forwarding rule: * * If the forwarding rule is in the **Deleting** state, the forwarding rule is being deleted. * * If the forwarding rule cannot be found, the forwarding rule is deleted. * * @param request - DeleteRuleRequest * @returns DeleteRuleResponse */ deleteRule(request: $_model.DeleteRuleRequest): Promise<$_model.DeleteRuleResponse>; /** * Deletes one or more forwarding rules from a listener at a time. * * @remarks * *DeleteRules** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](https://help.aliyun.com/document_detail/214379.html) operation to query the status of forwarding rules. * * If the forwarding rules are in the **Deleting** state, the forwarding rules are being deleted. * * If the forwarding rules cannot be found, the forwarding rules are deleted. * * @param request - DeleteRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteRulesResponse */ deleteRulesWithOptions(request: $_model.DeleteRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteRulesResponse>; /** * Deletes one or more forwarding rules from a listener at a time. * * @remarks * *DeleteRules** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListRules](https://help.aliyun.com/document_detail/214379.html) operation to query the status of forwarding rules. * * If the forwarding rules are in the **Deleting** state, the forwarding rules are being deleted. * * If the forwarding rules cannot be found, the forwarding rules are deleted. * * @param request - DeleteRulesRequest * @returns DeleteRulesResponse */ deleteRules(request: $_model.DeleteRulesRequest): Promise<$_model.DeleteRulesResponse>; /** * Deletes a custom security policy. * * @param request - DeleteSecurityPolicyRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteSecurityPolicyResponse */ deleteSecurityPolicyWithOptions(request: $_model.DeleteSecurityPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSecurityPolicyResponse>; /** * Deletes a custom security policy. * * @param request - DeleteSecurityPolicyRequest * @returns DeleteSecurityPolicyResponse */ deleteSecurityPolicy(request: $_model.DeleteSecurityPolicyRequest): Promise<$_model.DeleteSecurityPolicyResponse>; /** * Deletes a server group. * * @remarks * *DeleteServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) operation to query the status of the task. * * If a server group is in the **Deleting** state, it indicates that the server group is being deleted. * * If a specified server group cannot be found, it indicates that the server group has been deleted. * * @param request - DeleteServerGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteServerGroupResponse */ deleteServerGroupWithOptions(request: $_model.DeleteServerGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteServerGroupResponse>; /** * Deletes a server group. * * @remarks * *DeleteServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) operation to query the status of the task. * * If a server group is in the **Deleting** state, it indicates that the server group is being deleted. * * If a specified server group cannot be found, it indicates that the server group has been deleted. * * @param request - DeleteServerGroupRequest * @returns DeleteServerGroupResponse */ deleteServerGroup(request: $_model.DeleteServerGroupRequest): Promise<$_model.DeleteServerGroupResponse>; /** * Queries the details of a Load Balancer Capacity Unit (LCU) reservation. * * @param request - DescribeCapacityReservationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeCapacityReservationResponse */ describeCapacityReservationWithOptions(request: $_model.DescribeCapacityReservationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCapacityReservationResponse>; /** * Queries the details of a Load Balancer Capacity Unit (LCU) reservation. * * @param request - DescribeCapacityReservationRequest * @returns DescribeCapacityReservationResponse */ describeCapacityReservation(request: $_model.DescribeCapacityReservationRequest): Promise<$_model.DescribeCapacityReservationResponse>; /** * Queries available regions. * * @param request - DescribeRegionsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeRegionsResponse */ describeRegionsWithOptions(request: $_model.DescribeRegionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRegionsResponse>; /** * Queries available regions. * * @param request - DescribeRegionsRequest * @returns DescribeRegionsResponse */ describeRegions(request: $_model.DescribeRegionsRequest): Promise<$_model.DescribeRegionsResponse>; /** * Queries zones in a region. * * @param request - DescribeZonesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeZonesResponse */ describeZonesWithOptions(request: $_model.DescribeZonesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeZonesResponse>; /** * Queries zones in a region. * * @param request - DescribeZonesRequest * @returns DescribeZonesResponse */ describeZones(request: $_model.DescribeZonesRequest): Promise<$_model.DescribeZonesResponse>; /** * Disassociates an Internet Shared Bandwidth instance from an Application Load Balancer (ALB) instance. * * @remarks * *DetachCommonBandwidthPackageFromLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214359.html) operation to query the status of the task. * - If an ALB instance is in the **Configuring** state, the EIP bandwidth plan is being disassociated from the ALB instance. * - If an ALB instance is in the **Active** state, the EIP bandwidth plan is disassociated from the ALB instance. * * @param request - DetachCommonBandwidthPackageFromLoadBalancerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DetachCommonBandwidthPackageFromLoadBalancerResponse */ detachCommonBandwidthPackageFromLoadBalancerWithOptions(request: $_model.DetachCommonBandwidthPackageFromLoadBalancerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DetachCommonBandwidthPackageFromLoadBalancerResponse>; /** * Disassociates an Internet Shared Bandwidth instance from an Application Load Balancer (ALB) instance. * * @remarks * *DetachCommonBandwidthPackageFromLoadBalancer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214359.html) operation to query the status of the task. * - If an ALB instance is in the **Configuring** state, the EIP bandwidth plan is being disassociated from the ALB instance. * - If an ALB instance is in the **Active** state, the EIP bandwidth plan is disassociated from the ALB instance. * * @param request - DetachCommonBandwidthPackageFromLoadBalancerRequest * @returns DetachCommonBandwidthPackageFromLoadBalancerResponse */ detachCommonBandwidthPackageFromLoadBalancer(request: $_model.DetachCommonBandwidthPackageFromLoadBalancerRequest): Promise<$_model.DetachCommonBandwidthPackageFromLoadBalancerResponse>; /** * Disables deletion protection for an Application Load Balancer (ALB) instance. * * @param request - DisableDeletionProtectionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DisableDeletionProtectionResponse */ disableDeletionProtectionWithOptions(request: $_model.DisableDeletionProtectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableDeletionProtectionResponse>; /** * Disables deletion protection for an Application Load Balancer (ALB) instance. * * @param request - DisableDeletionProtectionRequest * @returns DisableDeletionProtectionResponse */ disableDeletionProtection(request: $_model.DisableDeletionProtectionRequest): Promise<$_model.DisableDeletionProtectionResponse>; /** * Disables the access log feature for a Application Load Balancer (ALB) instance. * * @param request - DisableLoadBalancerAccessLogRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DisableLoadBalancerAccessLogResponse */ disableLoadBalancerAccessLogWithOptions(request: $_model.DisableLoadBalancerAccessLogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableLoadBalancerAccessLogResponse>; /** * Disables the access log feature for a Application Load Balancer (ALB) instance. * * @param request - DisableLoadBalancerAccessLogRequest * @returns DisableLoadBalancerAccessLogResponse */ disableLoadBalancerAccessLog(request: $_model.DisableLoadBalancerAccessLogRequest): Promise<$_model.DisableLoadBalancerAccessLogResponse>; /** * Changes the type of the IPv6 address that is used by a dual-stack Application Load Balancer (ALB) instance from public to private. * * @remarks * ### Prerequisites * An ALB instance is created and IPv4/IPv6 dual stack is enabled for the instance. You can call the [CreateLoadBalancer](https://help.aliyun.com/document_detail/214358.html) operation and set **AddressIpVersion** to **DualStack** to create a dual-stack ALB instance. * > If you set **AddressIpVersion** to **DualStack**: * - If you set **AddressType** to **Internet**, the ALB instance uses a public IPv4 IP address and a private IPv6 address. * - If you set **AddressType** to **Intranet**, the ALB instance uses a private IPv4 IP address and a private IPv6 address. * ### Description * - After the DisableLoadBalancerIpv6Internet operation is called, the value of **Ipv6AddressType** is changed to **Intranet** and the type of the IPv6 address of the ALB instance is changed from public to private. If you upgrade the instance or the instance scales elastic network interfaces (ENIs) along with workloads, private IPv6 addresses are automatically enabled for the instance and the new ENIs. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the value of **Ipv6AddressType**. * - **DisableLoadBalancerIpv6Internet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the status of the task. * - If the ALB instance is in the **Configuring** state, the network type of the IPv6 address that is used by the ALB instance is being changed. * - If the ALB instance is in the **Active** state, the network type of the IPv6 address that is used by the ALB instance is changed. * * @param request - DisableLoadBalancerIpv6InternetRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DisableLoadBalancerIpv6InternetResponse */ disableLoadBalancerIpv6InternetWithOptions(request: $_model.DisableLoadBalancerIpv6InternetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableLoadBalancerIpv6InternetResponse>; /** * Changes the type of the IPv6 address that is used by a dual-stack Application Load Balancer (ALB) instance from public to private. * * @remarks * ### Prerequisites * An ALB instance is created and IPv4/IPv6 dual stack is enabled for the instance. You can call the [CreateLoadBalancer](https://help.aliyun.com/document_detail/214358.html) operation and set **AddressIpVersion** to **DualStack** to create a dual-stack ALB instance. * > If you set **AddressIpVersion** to **DualStack**: * - If you set **AddressType** to **Internet**, the ALB instance uses a public IPv4 IP address and a private IPv6 address. * - If you set **AddressType** to **Intranet**, the ALB instance uses a private IPv4 IP address and a private IPv6 address. * ### Description * - After the DisableLoadBalancerIpv6Internet operation is called, the value of **Ipv6AddressType** is changed to **Intranet** and the type of the IPv6 address of the ALB instance is changed from public to private. If you upgrade the instance or the instance scales elastic network interfaces (ENIs) along with workloads, private IPv6 addresses are automatically enabled for the instance and the new ENIs. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the value of **Ipv6AddressType**. * - **DisableLoadBalancerIpv6Internet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the status of the task. * - If the ALB instance is in the **Configuring** state, the network type of the IPv6 address that is used by the ALB instance is being changed. * - If the ALB instance is in the **Active** state, the network type of the IPv6 address that is used by the ALB instance is changed. * * @param request - DisableLoadBalancerIpv6InternetRequest * @returns DisableLoadBalancerIpv6InternetResponse */ disableLoadBalancerIpv6Internet(request: $_model.DisableLoadBalancerIpv6InternetRequest): Promise<$_model.DisableLoadBalancerIpv6InternetResponse>; /** * Disassociates access control lists (ACLs) from a listener. * * @remarks * *DissociateAclsFromListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListAclRelations](https://help.aliyun.com/document_detail/213618.html) to query the status of an ACL. * * If an ACL is in the **Dissociating** state, the ACL is being disassociated from the listener. * * If an ACL is in the **Dissociated** state, the ACL is disassociated from the listener. * * @param request - DissociateAclsFromListenerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DissociateAclsFromListenerResponse */ dissociateAclsFromListenerWithOptions(request: $_model.DissociateAclsFromListenerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DissociateAclsFromListenerResponse>; /** * Disassociates access control lists (ACLs) from a listener. * * @remarks * *DissociateAclsFromListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [ListAclRelations](https://help.aliyun.com/document_detail/213618.html) to query the status of an ACL. * * If an ACL is in the **Dissociating** state, the ACL is being disassociated from the listener. * * If an ACL is in the **Dissociated** state, the ACL is disassociated from the listener. * * @param request - DissociateAclsFromListenerRequest * @returns DissociateAclsFromListenerResponse */ dissociateAclsFromListener(request: $_model.DissociateAclsFromListenerRequest): Promise<$_model.DissociateAclsFromListenerResponse>; /** * Dissociates one or more additional certificates from a listener. * * @remarks * *DissociateAdditionalCertificatesFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the background. You can call [](t2324486.xdita#)to query the status of the dissociation task: * - If an additional certificate is in the **Dissociating** state, the dissociation is in progress. * - If an additional certificate is in the **Dissociated** state, the dissociation is complete. * * @param request - DissociateAdditionalCertificatesFromListenerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DissociateAdditionalCertificatesFromListenerResponse */ dissociateAdditionalCertificatesFromListenerWithOptions(request: $_model.DissociateAdditionalCertificatesFromListenerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DissociateAdditionalCertificatesFromListenerResponse>; /** * Dissociates one or more additional certificates from a listener. * * @remarks * *DissociateAdditionalCertificatesFromListener** is an asynchronous operation. After you send a request, the system returns a request ID, but the operation is still being performed in the background. You can call [](t2324486.xdita#)to query the status of the dissociation task: * - If an additional certificate is in the **Dissociating** state, the dissociation is in progress. * - If an additional certificate is in the **Dissociated** state, the dissociation is complete. * * @param request - DissociateAdditionalCertificatesFromListenerRequest * @returns DissociateAdditionalCertificatesFromListenerResponse */ dissociateAdditionalCertificatesFromListener(request: $_model.DissociateAdditionalCertificatesFromListenerRequest): Promise<$_model.DissociateAdditionalCertificatesFromListenerResponse>; /** * Enables deletion protection for a resource. * * @param request - EnableDeletionProtectionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableDeletionProtectionResponse */ enableDeletionProtectionWithOptions(request: $_model.EnableDeletionProtectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableDeletionProtectionResponse>; /** * Enables deletion protection for a resource. * * @param request - EnableDeletionProtectionRequest * @returns EnableDeletionProtectionResponse */ enableDeletionProtection(request: $_model.EnableDeletionProtectionRequest): Promise<$_model.EnableDeletionProtectionResponse>; /** * Enables the access log feature for an Application Load Balancer (ALB) instance. * * @param request - EnableLoadBalancerAccessLogRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableLoadBalancerAccessLogResponse */ enableLoadBalancerAccessLogWithOptions(request: $_model.EnableLoadBalancerAccessLogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableLoadBalancerAccessLogResponse>; /** * Enables the access log feature for an Application Load Balancer (ALB) instance. * * @param request - EnableLoadBalancerAccessLogRequest * @returns EnableLoadBalancerAccessLogResponse */ enableLoadBalancerAccessLog(request: $_model.EnableLoadBalancerAccessLogRequest): Promise<$_model.EnableLoadBalancerAccessLogResponse>; /** * Changes the type of the IPv6 address that is used by a dual-stack Application Load Balancer (ALB) instance from private to public. * * @remarks * ### Prerequisites * An ALB instance is created and IPv4/IPv6 dual stack is enabled for the instance. You can call the [CreateLoadBalancer](https://help.aliyun.com/document_detail/214358.html) operation and set **AddressIpVersion** to **DualStack** to create a dual-stack ALB instance. * > If you set **AddressIpVersion** to **DualStack**: * * If you set **AddressType** to **Internet**, the ALB instance uses a public IPv4 IP address and a private IPv6 address. * * If you set **AddressType** to **Intranet**, the ALB instance uses a private IPv4 IP address and a private IPv6 address. * ### Description * * After the EnableLoadBalancerIpv6Internet operation is called, the value of **Ipv6AddressType** is changed to **Internet** and the type of the IPv6 address of the ALB instance is changed from private to public. If you upgrade the instance or the instance scales elastic network interfaces (ENIs) along with workloads, public IPv6 addresses are automatically enabled for the instance and the new ENIs. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the value of **Ipv6AddressType**. * * **EnableLoadBalancerIpv6Internet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the status of the task. * * If the ALB instance is in the **Configuring** state, the network type of the IPv6 address that is used by the ALB instance is being changed. * * If the ALB instance is in the **Active** state, the network type of the IPv6 address that is used by the ALB instance is changed. * * @param request - EnableLoadBalancerIpv6InternetRequest * @param runtime - runtime options for this request RuntimeOptions * @returns EnableLoadBalancerIpv6InternetResponse */ enableLoadBalancerIpv6InternetWithOptions(request: $_model.EnableLoadBalancerIpv6InternetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableLoadBalancerIpv6InternetResponse>; /** * Changes the type of the IPv6 address that is used by a dual-stack Application Load Balancer (ALB) instance from private to public. * * @remarks * ### Prerequisites * An ALB instance is created and IPv4/IPv6 dual stack is enabled for the instance. You can call the [CreateLoadBalancer](https://help.aliyun.com/document_detail/214358.html) operation and set **AddressIpVersion** to **DualStack** to create a dual-stack ALB instance. * > If you set **AddressIpVersion** to **DualStack**: * * If you set **AddressType** to **Internet**, the ALB instance uses a public IPv4 IP address and a private IPv6 address. * * If you set **AddressType** to **Intranet**, the ALB instance uses a private IPv4 IP address and a private IPv6 address. * ### Description * * After the EnableLoadBalancerIpv6Internet operation is called, the value of **Ipv6AddressType** is changed to **Internet** and the type of the IPv6 address of the ALB instance is changed from private to public. If you upgrade the instance or the instance scales elastic network interfaces (ENIs) along with workloads, public IPv6 addresses are automatically enabled for the instance and the new ENIs. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the value of **Ipv6AddressType**. * * **EnableLoadBalancerIpv6Internet** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the status of the task. * * If the ALB instance is in the **Configuring** state, the network type of the IPv6 address that is used by the ALB instance is being changed. * * If the ALB instance is in the **Active** state, the network type of the IPv6 address that is used by the ALB instance is changed. * * @param request - EnableLoadBalancerIpv6InternetRequest * @returns EnableLoadBalancerIpv6InternetResponse */ enableLoadBalancerIpv6Internet(request: $_model.EnableLoadBalancerIpv6InternetRequest): Promise<$_model.EnableLoadBalancerIpv6InternetResponse>; /** * Queries the details about a health check template. * * @param request - GetHealthCheckTemplateAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetHealthCheckTemplateAttributeResponse */ getHealthCheckTemplateAttributeWithOptions(request: $_model.GetHealthCheckTemplateAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetHealthCheckTemplateAttributeResponse>; /** * Queries the details about a health check template. * * @param request - GetHealthCheckTemplateAttributeRequest * @returns GetHealthCheckTemplateAttributeResponse */ getHealthCheckTemplateAttribute(request: $_model.GetHealthCheckTemplateAttributeRequest): Promise<$_model.GetHealthCheckTemplateAttributeResponse>; /** * Queries the details of a listener. * * @param request - GetListenerAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetListenerAttributeResponse */ getListenerAttributeWithOptions(request: $_model.GetListenerAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetListenerAttributeResponse>; /** * Queries the details of a listener. * * @param request - GetListenerAttributeRequest * @returns GetListenerAttributeResponse */ getListenerAttribute(request: $_model.GetListenerAttributeRequest): Promise<$_model.GetListenerAttributeResponse>; /** * Queries the health check status of a listener and its forwarding rules. * * @param request - GetListenerHealthStatusRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetListenerHealthStatusResponse */ getListenerHealthStatusWithOptions(request: $_model.GetListenerHealthStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetListenerHealthStatusResponse>; /** * Queries the health check status of a listener and its forwarding rules. * * @param request - GetListenerHealthStatusRequest * @returns GetListenerHealthStatusResponse */ getListenerHealthStatus(request: $_model.GetListenerHealthStatusRequest): Promise<$_model.GetListenerHealthStatusResponse>; /** * Queries the details of an Application Load Balancer (ALB) instance. * * @param request - GetLoadBalancerAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLoadBalancerAttributeResponse */ getLoadBalancerAttributeWithOptions(request: $_model.GetLoadBalancerAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLoadBalancerAttributeResponse>; /** * Queries the details of an Application Load Balancer (ALB) instance. * * @param request - GetLoadBalancerAttributeRequest * @returns GetLoadBalancerAttributeResponse */ getLoadBalancerAttribute(request: $_model.GetLoadBalancerAttributeRequest): Promise<$_model.GetLoadBalancerAttributeResponse>; /** * Queries AScript rules. * * @param request - ListAScriptsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAScriptsResponse */ listAScriptsWithOptions(request: $_model.ListAScriptsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAScriptsResponse>; /** * Queries AScript rules. * * @param request - ListAScriptsRequest * @returns ListAScriptsResponse */ listAScripts(request: $_model.ListAScriptsRequest): Promise<$_model.ListAScriptsResponse>; /** * Queries the entries of an access control list (ACL). * * @param request - ListAclEntriesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAclEntriesResponse */ listAclEntriesWithOptions(request: $_model.ListAclEntriesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAclEntriesResponse>; /** * Queries the entries of an access control list (ACL). * * @param request - ListAclEntriesRequest * @returns ListAclEntriesResponse */ listAclEntries(request: $_model.ListAclEntriesRequest): Promise<$_model.ListAclEntriesResponse>; /** * Queries the listeners that are associated with access control lists (ACLs). * * @param request - ListAclRelationsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAclRelationsResponse */ listAclRelationsWithOptions(request: $_model.ListAclRelationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAclRelationsResponse>; /** * Queries the listeners that are associated with access control lists (ACLs). * * @param request - ListAclRelationsRequest * @returns ListAclRelationsResponse */ listAclRelations(request: $_model.ListAclRelationsRequest): Promise<$_model.ListAclRelationsResponse>; /** * Queries the access control lists (ACLs) in a region. * * @param request - ListAclsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAclsResponse */ listAclsWithOptions(request: $_model.ListAclsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAclsResponse>; /** * Queries the access control lists (ACLs) in a region. * * @param request - ListAclsRequest * @returns ListAclsResponse */ listAcls(request: $_model.ListAclsRequest): Promise<$_model.ListAclsResponse>; /** * Queries asynchronous tasks in a region. * * @param request - ListAsynJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAsynJobsResponse */ listAsynJobsWithOptions(request: $_model.ListAsynJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAsynJobsResponse>; /** * Queries asynchronous tasks in a region. * * @param request - ListAsynJobsRequest * @returns ListAsynJobsResponse */ listAsynJobs(request: $_model.ListAsynJobsRequest): Promise<$_model.ListAsynJobsResponse>; /** * Queries health check templates in a region. * * @param request - ListHealthCheckTemplatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListHealthCheckTemplatesResponse */ listHealthCheckTemplatesWithOptions(request: $_model.ListHealthCheckTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListHealthCheckTemplatesResponse>; /** * Queries health check templates in a region. * * @param request - ListHealthCheckTemplatesRequest * @returns ListHealthCheckTemplatesResponse */ listHealthCheckTemplates(request: $_model.ListHealthCheckTemplatesRequest): Promise<$_model.ListHealthCheckTemplatesResponse>; /** * Queries the certificates that are associated with a listener, including additional certificates and the default certificate. * * @param request - ListListenerCertificatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListListenerCertificatesResponse */ listListenerCertificatesWithOptions(request: $_model.ListListenerCertificatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListListenerCertificatesResponse>; /** * Queries the certificates that are associated with a listener, including additional certificates and the default certificate. * * @param request - ListListenerCertificatesRequest * @returns ListListenerCertificatesResponse */ listListenerCertificates(request: $_model.ListListenerCertificatesRequest): Promise<$_model.ListListenerCertificatesResponse>; /** * Queries listeners in a specified region. * * @param request - ListListenersRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListListenersResponse */ listListenersWithOptions(request: $_model.ListListenersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListListenersResponse>; /** * Queries listeners in a specified region. * * @param request - ListListenersRequest * @returns ListListenersResponse */ listListeners(request: $_model.ListListenersRequest): Promise<$_model.ListListenersResponse>; /** * Queries the configurations of load balancer instances. * * @param request - ListLoadBalancersRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLoadBalancersResponse */ listLoadBalancersWithOptions(request: $_model.ListLoadBalancersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLoadBalancersResponse>; /** * Queries the configurations of load balancer instances. * * @param request - ListLoadBalancersRequest * @returns ListLoadBalancersResponse */ listLoadBalancers(request: $_model.ListLoadBalancersRequest): Promise<$_model.ListLoadBalancersResponse>; /** * This operation queries the forwarding rules in a specified region. * * @param request - ListRulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListRulesResponse */ listRulesWithOptions(request: $_model.ListRulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListRulesResponse>; /** * This operation queries the forwarding rules in a specified region. * * @param request - ListRulesRequest * @returns ListRulesResponse */ listRules(request: $_model.ListRulesRequest): Promise<$_model.ListRulesResponse>; /** * Queries custom security policies in a region. * * @param request - ListSecurityPoliciesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSecurityPoliciesResponse */ listSecurityPoliciesWithOptions(request: $_model.ListSecurityPoliciesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSecurityPoliciesResponse>; /** * Queries custom security policies in a region. * * @param request - ListSecurityPoliciesRequest * @returns ListSecurityPoliciesResponse */ listSecurityPolicies(request: $_model.ListSecurityPoliciesRequest): Promise<$_model.ListSecurityPoliciesResponse>; /** * Queries the listeners that are associated with security policies. * * @param request - ListSecurityPolicyRelationsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSecurityPolicyRelationsResponse */ listSecurityPolicyRelationsWithOptions(request: $_model.ListSecurityPolicyRelationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSecurityPolicyRelationsResponse>; /** * Queries the listeners that are associated with security policies. * * @param request - ListSecurityPolicyRelationsRequest * @returns ListSecurityPolicyRelationsResponse */ listSecurityPolicyRelations(request: $_model.ListSecurityPolicyRelationsRequest): Promise<$_model.ListSecurityPolicyRelationsResponse>; /** * Queries the servers in a server group. * * @param request - ListServerGroupServersRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListServerGroupServersResponse */ listServerGroupServersWithOptions(request: $_model.ListServerGroupServersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListServerGroupServersResponse>; /** * Queries the servers in a server group. * * @param request - ListServerGroupServersRequest * @returns ListServerGroupServersResponse */ listServerGroupServers(request: $_model.ListServerGroupServersRequest): Promise<$_model.ListServerGroupServersResponse>; /** * Queries a list of server groups. * * @param request - ListServerGroupsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListServerGroupsResponse */ listServerGroupsWithOptions(request: $_model.ListServerGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListServerGroupsResponse>; /** * Queries a list of server groups. * * @param request - ListServerGroupsRequest * @returns ListServerGroupsResponse */ listServerGroups(request: $_model.ListServerGroupsRequest): Promise<$_model.ListServerGroupsResponse>; /** * Queries system security policies in a region. * * @param runtime - runtime options for this request RuntimeOptions * @returns ListSystemSecurityPoliciesResponse */ listSystemSecurityPoliciesWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.ListSystemSecurityPoliciesResponse>; /** * Queries system security policies in a region. * @returns ListSystemSecurityPoliciesResponse */ listSystemSecurityPolicies(): Promise<$_model.ListSystemSecurityPoliciesResponse>; /** * Queries tag keys. * * @param request - ListTagKeysRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListTagKeysResponse */ listTagKeysWithOptions(request: $_model.ListTagKeysRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagKeysResponse>; /** * Queries tag keys. * * @param request - ListTagKeysRequest * @returns ListTagKeysResponse */ listTagKeys(request: $_model.ListTagKeysRequest): Promise<$_model.ListTagKeysResponse>; /** * Queries the tags of resources. * * @param request - ListTagResourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListTagResourcesResponse */ listTagResourcesWithOptions(request: $_model.ListTagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagResourcesResponse>; /** * Queries the tags of resources. * * @param request - ListTagResourcesRequest * @returns ListTagResourcesResponse */ listTagResources(request: $_model.ListTagResourcesRequest): Promise<$_model.ListTagResourcesResponse>; /** * Queries tag values. * * @param request - ListTagValuesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListTagValuesResponse */ listTagValuesWithOptions(request: $_model.ListTagValuesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagValuesResponse>; /** * Queries tag values. * * @param request - ListTagValuesRequest * @returns ListTagValuesResponse */ listTagValues(request: $_model.ListTagValuesRequest): Promise<$_model.ListTagValuesResponse>; /** * Adds an Application Load Balancer (ALB) instance to a security group. * * @remarks * By default, security groups are unavailable. To use security groups, contact your account manager. * * Make sure that a security group is created. For more information about how to create security groups, see [CreateSecurityGroup](https://help.aliyun.com/document_detail/2679843.html). * * Each ALB instance can be added to at most four security groups. * * To query the security groups of an ALB instance, call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/2254835.html) operation. * * GetLoadBalancerAttribute is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAsynJobs](https://help.aliyun.com/document_detail/2254893.html) operation to query the status of the task. * * If the task is in the Succeeded state, the ALB instance is added to the security group. * * If the task is in the Processing state, the ALB instance is being added to the security group. In this case, you can query the task but cannot perform other operations. * * @param request - LoadBalancerJoinSecurityGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns LoadBalancerJoinSecurityGroupResponse */ loadBalancerJoinSecurityGroupWithOptions(request: $_model.LoadBalancerJoinSecurityGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.LoadBalancerJoinSecurityGroupResponse>; /** * Adds an Application Load Balancer (ALB) instance to a security group. * * @remarks * By default, security groups are unavailable. To use security groups, contact your account manager. * * Make sure that a security group is created. For more information about how to create security groups, see [CreateSecurityGroup](https://help.aliyun.com/document_detail/2679843.html). * * Each ALB instance can be added to at most four security groups. * * To query the security groups of an ALB instance, call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/2254835.html) operation. * * GetLoadBalancerAttribute is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAsynJobs](https://help.aliyun.com/document_detail/2254893.html) operation to query the status of the task. * * If the task is in the Succeeded state, the ALB instance is added to the security group. * * If the task is in the Processing state, the ALB instance is being added to the security group. In this case, you can query the task but cannot perform other operations. * * @param request - LoadBalancerJoinSecurityGroupRequest * @returns LoadBalancerJoinSecurityGroupResponse */ loadBalancerJoinSecurityGroup(request: $_model.LoadBalancerJoinSecurityGroupRequest): Promise<$_model.LoadBalancerJoinSecurityGroupResponse>; /** * Removes an Application Load Balancer (ALB) instance from a security group. * * @remarks * - LoadBalancerLeaveSecurityGroup is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAsynJobs](https://help.aliyun.com/document_detail/2254893.html) operation to query the status of the task. * - If the task is in the Succeeded state, the ALB instance is removed from the security group. * - If the task is in the Processing state, the ALB instance is being removed from the security group. In this case, you can query the task but cannot perform other operations. * * @param request - LoadBalancerLeaveSecurityGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns LoadBalancerLeaveSecurityGroupResponse */ loadBalancerLeaveSecurityGroupWithOptions(request: $_model.LoadBalancerLeaveSecurityGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.LoadBalancerLeaveSecurityGroupResponse>; /** * Removes an Application Load Balancer (ALB) instance from a security group. * * @remarks * - LoadBalancerLeaveSecurityGroup is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAsynJobs](https://help.aliyun.com/document_detail/2254893.html) operation to query the status of the task. * - If the task is in the Succeeded state, the ALB instance is removed from the security group. * - If the task is in the Processing state, the ALB instance is being removed from the security group. In this case, you can query the task but cannot perform other operations. * * @param request - LoadBalancerLeaveSecurityGroupRequest * @returns LoadBalancerLeaveSecurityGroupResponse */ loadBalancerLeaveSecurityGroup(request: $_model.LoadBalancerLeaveSecurityGroupRequest): Promise<$_model.LoadBalancerLeaveSecurityGroupResponse>; /** * Creates and updates a Load Balancer Capacity Unit (LCU) reservation. * * @remarks * *ModifyCapacityReservation** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. The LCU reservation is not immediately updated. You can call the DescribeCapacityReservation operation to query the status of an LCU reservation: * - If an LCU reservation is in the **Pending** state, it is being created. * - If an LCU reservation is in the **Provisioned** state, it is created. * - If an LCU reservation is in the **Rebalancing** state, it is being rebalanced across zones. * * @param request - ModifyCapacityReservationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ModifyCapacityReservationResponse */ modifyCapacityReservationWithOptions(request: $_model.ModifyCapacityReservationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyCapacityReservationResponse>; /** * Creates and updates a Load Balancer Capacity Unit (LCU) reservation. * * @remarks * *ModifyCapacityReservation** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. The LCU reservation is not immediately updated. You can call the DescribeCapacityReservation operation to query the status of an LCU reservation: * - If an LCU reservation is in the **Pending** state, it is being created. * - If an LCU reservation is in the **Provisioned** state, it is created. * - If an LCU reservation is in the **Rebalancing** state, it is being rebalanced across zones. * * @param request - ModifyCapacityReservationRequest * @returns ModifyCapacityReservationResponse */ modifyCapacityReservation(request: $_model.ModifyCapacityReservationRequest): Promise<$_model.ModifyCapacityReservationResponse>; /** * Moves a resource to another resource group. * * @param request - MoveResourceGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns MoveResourceGroupResponse */ moveResourceGroupWithOptions(request: $_model.MoveResourceGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.MoveResourceGroupResponse>; /** * Moves a resource to another resource group. * * @param request - MoveResourceGroupRequest * @returns MoveResourceGroupResponse */ moveResourceGroup(request: $_model.MoveResourceGroupRequest): Promise<$_model.MoveResourceGroupResponse>; /** * Removes entries from an access control list (ACL). * * @remarks * *RemoveEntriesFromAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclEntries](https://help.aliyun.com/document_detail/213616.html) operation to query the status of the task. * * If an ACL is in the **Removing** state, the entries are being removed. * * If an ACL cannot be found, the entries are removed. * * @param request - RemoveEntriesFromAclRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RemoveEntriesFromAclResponse */ removeEntriesFromAclWithOptions(request: $_model.RemoveEntriesFromAclRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveEntriesFromAclResponse>; /** * Removes entries from an access control list (ACL). * * @remarks * *RemoveEntriesFromAcl** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListAclEntries](https://help.aliyun.com/document_detail/213616.html) operation to query the status of the task. * * If an ACL is in the **Removing** state, the entries are being removed. * * If an ACL cannot be found, the entries are removed. * * @param request - RemoveEntriesFromAclRequest * @returns RemoveEntriesFromAclResponse */ removeEntriesFromAcl(request: $_model.RemoveEntriesFromAclRequest): Promise<$_model.RemoveEntriesFromAclResponse>; /** * Removes backend servers from a server group. * * @remarks * *RemoveServersFromServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. * 1. You can call [ListServerGroups](https://help.aliyun.com/document_detail/2254862.html) to query the status of a server group. * - If the server group is in the **Configuring** state, the server group is being modified. * - If the server group is in the **Available** state, the server group is running. * 2. You can call [ListServerGroupServers](https://help.aliyun.com/document_detail/2254863.html) to query the status of a backend server. * - If the backend server is in the **Removing** state, the backend server is being removed from the server group. * - If the backend server cannot be found, the backend server is no longer in the server group. * * @param request - RemoveServersFromServerGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RemoveServersFromServerGroupResponse */ removeServersFromServerGroupWithOptions(request: $_model.RemoveServersFromServerGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveServersFromServerGroupResponse>; /** * Removes backend servers from a server group. * * @remarks * *RemoveServersFromServerGroup** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. * 1. You can call [ListServerGroups](https://help.aliyun.com/document_detail/2254862.html) to query the status of a server group. * - If the server group is in the **Configuring** state, the server group is being modified. * - If the server group is in the **Available** state, the server group is running. * 2. You can call [ListServerGroupServers](https://help.aliyun.com/document_detail/2254863.html) to query the status of a backend server. * - If the backend server is in the **Removing** state, the backend server is being removed from the server group. * - If the backend server cannot be found, the backend server is no longer in the server group. * * @param request - RemoveServersFromServerGroupRequest * @returns RemoveServersFromServerGroupResponse */ removeServersFromServerGroup(request: $_model.RemoveServersFromServerGroupRequest): Promise<$_model.RemoveServersFromServerGroupResponse>; /** * Replaces backend servers in a backend server group. * * @remarks * The **ReplaceServersInServerGroup** operation is asynchronous. After a request ID is returned, the backend server replacement task is still being processed in the background. * 1. You can call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the status of a server group: * - If the server group is in the **Configuring** state, the server group is being modified. * - If the server group is in the **Available** state, the server group is running. * 2. You can call [ListServerGroupServers](https://help.aliyun.com/document_detail/213628.html) to query the status of a backend server: * - If the backend server is in the **Replacing** state, the server group is removing the server and adding a new server. * - If the backend server is in the **Available** state, the backend server is running. * * @param request - ReplaceServersInServerGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ReplaceServersInServerGroupResponse */ replaceServersInServerGroupWithOptions(request: $_model.ReplaceServersInServerGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReplaceServersInServerGroupResponse>; /** * Replaces backend servers in a backend server group. * * @remarks * The **ReplaceServersInServerGroup** operation is asynchronous. After a request ID is returned, the backend server replacement task is still being processed in the background. * 1. You can call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the status of a server group: * - If the server group is in the **Configuring** state, the server group is being modified. * - If the server group is in the **Available** state, the server group is running. * 2. You can call [ListServerGroupServers](https://help.aliyun.com/document_detail/213628.html) to query the status of a backend server: * - If the backend server is in the **Replacing** state, the server group is removing the server and adding a new server. * - If the backend server is in the **Available** state, the backend server is running. * * @param request - ReplaceServersInServerGroupRequest * @returns ReplaceServersInServerGroupResponse */ replaceServersInServerGroup(request: $_model.ReplaceServersInServerGroupRequest): Promise<$_model.ReplaceServersInServerGroupResponse>; /** * Enables a listener. * * @remarks * *StartListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the status of the task. * * If a listener is in the **Configuring** state, the listener is being enabled. * * If a listener is in the **Running** state, the listener is enabled. * * @param request - StartListenerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartListenerResponse */ startListenerWithOptions(request: $_model.StartListenerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartListenerResponse>; /** * Enables a listener. * * @remarks * *StartListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the status of the task. * * If a listener is in the **Configuring** state, the listener is being enabled. * * If a listener is in the **Running** state, the listener is enabled. * * @param request - StartListenerRequest * @returns StartListenerResponse */ startListener(request: $_model.StartListenerRequest): Promise<$_model.StartListenerResponse>; /** * Removes an elastic IP address (EIP) or a virtual IP address (VIP) of a zone from a DNS record. * * @remarks * This operation is supported by Application Load Balancer (ALB) instances that use static IP addresses. The zone cannot be removed if the ALB instance has only one available zone. * * @param request - StartShiftLoadBalancerZonesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartShiftLoadBalancerZonesResponse */ startShiftLoadBalancerZonesWithOptions(request: $_model.StartShiftLoadBalancerZonesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartShiftLoadBalancerZonesResponse>; /** * Removes an elastic IP address (EIP) or a virtual IP address (VIP) of a zone from a DNS record. * * @remarks * This operation is supported by Application Load Balancer (ALB) instances that use static IP addresses. The zone cannot be removed if the ALB instance has only one available zone. * * @param request - StartShiftLoadBalancerZonesRequest * @returns StartShiftLoadBalancerZonesResponse */ startShiftLoadBalancerZones(request: $_model.StartShiftLoadBalancerZonesRequest): Promise<$_model.StartShiftLoadBalancerZonesResponse>; /** * Disables a listener. * * @remarks * *StopListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) operation to query the status of the task: * * If a listener is in the **Configuring** state, the listener is being disabled. * * If a listener is in the **Stopped** state, the listener is disabled. * * @param request - StopListenerRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StopListenerResponse */ stopListenerWithOptions(request: $_model.StopListenerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopListenerResponse>; /** * Disables a listener. * * @remarks * *StopListener** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) operation to query the status of the task: * * If a listener is in the **Configuring** state, the listener is being disabled. * * If a listener is in the **Stopped** state, the listener is disabled. * * @param request - StopListenerRequest * @returns StopListenerResponse */ stopListener(request: $_model.StopListenerRequest): Promise<$_model.StopListenerResponse>; /** * Adds tags to resources. * * @param request - TagResourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns TagResourcesResponse */ tagResourcesWithOptions(request: $_model.TagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse>; /** * Adds tags to resources. * * @param request - TagResourcesRequest * @returns TagResourcesResponse */ tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse>; /** * Removes tags from resources. * * @param request - UnTagResourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UnTagResourcesResponse */ unTagResourcesWithOptions(request: $_model.UnTagResourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UnTagResourcesResponse>; /** * Removes tags from resources. * * @param request - UnTagResourcesRequest * @returns UnTagResourcesResponse */ unTagResources(request: $_model.UnTagResourcesRequest): Promise<$_model.UnTagResourcesResponse>; /** * Updates programmable scripts. * * @remarks * *UpdateAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID. However, the programmable script is not yet updated, and the update task is still running in the background. You can call [ListAScripts](https://help.aliyun.com/document_detail/472574.html) to query the update status of the programmable script: * - If the programmable script is in the **Configuring** state, the programmable script is being updated. * - If the programmable script is in the **Available** state, the programmable script is updated. * * @param request - UpdateAScriptsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateAScriptsResponse */ updateAScriptsWithOptions(request: $_model.UpdateAScriptsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAScriptsResponse>; /** * Updates programmable scripts. * * @remarks * *UpdateAScripts** is an asynchronous operation. After a request is sent, the system returns a request ID. However, the programmable script is not yet updated, and the update task is still running in the background. You can call [ListAScripts](https://help.aliyun.com/document_detail/472574.html) to query the update status of the programmable script: * - If the programmable script is in the **Configuring** state, the programmable script is being updated. * - If the programmable script is in the **Available** state, the programmable script is updated. * * @param request - UpdateAScriptsRequest * @returns UpdateAScriptsResponse */ updateAScripts(request: $_model.UpdateAScriptsRequest): Promise<$_model.UpdateAScriptsResponse>; /** * Updates the attributes of an ACL, such as its name. * * @param request - UpdateAclAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateAclAttributeResponse */ updateAclAttributeWithOptions(request: $_model.UpdateAclAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAclAttributeResponse>; /** * Updates the attributes of an ACL, such as its name. * * @param request - UpdateAclAttributeRequest * @returns UpdateAclAttributeResponse */ updateAclAttribute(request: $_model.UpdateAclAttributeRequest): Promise<$_model.UpdateAclAttributeResponse>; /** * This operation updates the attributes of a health check template, such as its name and health check protocol. * * @param request - UpdateHealthCheckTemplateAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateHealthCheckTemplateAttributeResponse */ updateHealthCheckTemplateAttributeWithOptions(request: $_model.UpdateHealthCheckTemplateAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateHealthCheckTemplateAttributeResponse>; /** * This operation updates the attributes of a health check template, such as its name and health check protocol. * * @param request - UpdateHealthCheckTemplateAttributeRequest * @returns UpdateHealthCheckTemplateAttributeResponse */ updateHealthCheckTemplateAttribute(request: $_model.UpdateHealthCheckTemplateAttributeRequest): Promise<$_model.UpdateHealthCheckTemplateAttributeResponse>; /** * Updates the configuration of a listener, such as the name and default action. * * @remarks * *UpdateListenerAttribute** is an asynchronous operation. After a request ID is returned, the listener configuration update is still being processed in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the update status of the listener configuration: * - If the listener is in the **Configuring** state, the listener configuration is being updated. * - If the listener is in the **Running** state, the listener configuration has been updated. * * @param request - UpdateListenerAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateListenerAttributeResponse */ updateListenerAttributeWithOptions(request: $_model.UpdateListenerAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateListenerAttributeResponse>; /** * Updates the configuration of a listener, such as the name and default action. * * @remarks * *UpdateListenerAttribute** is an asynchronous operation. After a request ID is returned, the listener configuration update is still being processed in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the update status of the listener configuration: * - If the listener is in the **Configuring** state, the listener configuration is being updated. * - If the listener is in the **Running** state, the listener configuration has been updated. * * @param request - UpdateListenerAttributeRequest * @returns UpdateListenerAttributeResponse */ updateListenerAttribute(request: $_model.UpdateListenerAttributeRequest): Promise<$_model.UpdateListenerAttributeResponse>; /** * Updates the log-related properties of a listener, such as access logs. * * @remarks * *UpdateListenerLogConfig** is an asynchronous operation. After a request ID is returned, the log configuration of the listener is not yet updated, and the system continues to process the update task in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the update status of the listener log configuration: * - If the listener is in the **Configuring** state, the log configuration of the listener is being updated. * - If the listener is in the **Running** state, the log configuration of the listener is updated. * > You can update the log configuration of a listener only after you enable access logging for the instance. * * @param request - UpdateListenerLogConfigRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateListenerLogConfigResponse */ updateListenerLogConfigWithOptions(request: $_model.UpdateListenerLogConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateListenerLogConfigResponse>; /** * Updates the log-related properties of a listener, such as access logs. * * @remarks * *UpdateListenerLogConfig** is an asynchronous operation. After a request ID is returned, the log configuration of the listener is not yet updated, and the system continues to process the update task in the background. You can call [GetListenerAttribute](https://help.aliyun.com/document_detail/2254865.html) to query the update status of the listener log configuration: * - If the listener is in the **Configuring** state, the log configuration of the listener is being updated. * - If the listener is in the **Running** state, the log configuration of the listener is updated. * > You can update the log configuration of a listener only after you enable access logging for the instance. * * @param request - UpdateListenerLogConfigRequest * @returns UpdateListenerLogConfigResponse */ updateListenerLogConfig(request: $_model.UpdateListenerLogConfigRequest): Promise<$_model.UpdateListenerLogConfigResponse>; /** * Changing the network type of an application load balancer instance. * * @remarks * Prerequisites * - You have created an Application Load Balancer (ALB) instance. For more information, see [CreateLoadBalancer](https://help.aliyun.com/document_detail/214358.html). * - To change the network type of an ALB instance from Intranet to Internet, you must create an elastic IP address. For more information, see [AllocateEipAddress](https://help.aliyun.com/document_detail/120192.html). * Usage notes * The **UpdateLoadBalancerAddressTypeConfig** operation is an asynchronous task. After you send a request, the system returns a request ID and runs the task in the background. The network type of the ALB instance is not immediately modified. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the status of the ALB instance: * - If the ALB instance is in the **Configuring** state, its network type is being modified. * - If the ALB instance is in the **Active** state, its network type has been modified. * * @param request - UpdateLoadBalancerAddressTypeConfigRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLoadBalancerAddressTypeConfigResponse */ updateLoadBalancerAddressTypeConfigWithOptions(request: $_model.UpdateLoadBalancerAddressTypeConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLoadBalancerAddressTypeConfigResponse>; /** * Changing the network type of an application load balancer instance. * * @remarks * Prerequisites * - You have created an Application Load Balancer (ALB) instance. For more information, see [CreateLoadBalancer](https://help.aliyun.com/document_detail/214358.html). * - To change the network type of an ALB instance from Intranet to Internet, you must create an elastic IP address. For more information, see [AllocateEipAddress](https://help.aliyun.com/document_detail/120192.html). * Usage notes * The **UpdateLoadBalancerAddressTypeConfig** operation is an asynchronous task. After you send a request, the system returns a request ID and runs the task in the background. The network type of the ALB instance is not immediately modified. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the status of the ALB instance: * - If the ALB instance is in the **Configuring** state, its network type is being modified. * - If the ALB instance is in the **Active** state, its network type has been modified. * * @param request - UpdateLoadBalancerAddressTypeConfigRequest * @returns UpdateLoadBalancerAddressTypeConfigResponse */ updateLoadBalancerAddressTypeConfig(request: $_model.UpdateLoadBalancerAddressTypeConfigRequest): Promise<$_model.UpdateLoadBalancerAddressTypeConfigResponse>; /** * Updates the properties of an Application Load Balancer instance, such as its name and modification protection. * * @remarks * The **UpdateLoadBalancerAttribute** operation is asynchronous. After you send a request, the system returns a request ID and runs the task in the background. The properties of the Application Load Balancer instance are not modified until the task is complete. You can call [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) to query the status of the update. * - If the Application Load Balancer instance is in the **Configuring** state, the instance is being updated. * - If the Application Load Balancer instance is in the **Active** state, the update is complete. * * @param request - UpdateLoadBalancerAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLoadBalancerAttributeResponse */ updateLoadBalancerAttributeWithOptions(request: $_model.UpdateLoadBalancerAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLoadBalancerAttributeResponse>; /** * Updates the properties of an Application Load Balancer instance, such as its name and modification protection. * * @remarks * The **UpdateLoadBalancerAttribute** operation is asynchronous. After you send a request, the system returns a request ID and runs the task in the background. The properties of the Application Load Balancer instance are not modified until the task is complete. You can call [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) to query the status of the update. * - If the Application Load Balancer instance is in the **Configuring** state, the instance is being updated. * - If the Application Load Balancer instance is in the **Active** state, the update is complete. * * @param request - UpdateLoadBalancerAttributeRequest * @returns UpdateLoadBalancerAttributeResponse */ updateLoadBalancerAttribute(request: $_model.UpdateLoadBalancerAttributeRequest): Promise<$_model.UpdateLoadBalancerAttributeResponse>; /** * Changes the edition of an Application Load Balancer (ALB) instance. * * @remarks * - You can only upgrade a basic ALB instance to a standard ALB instance or a WAF-enabled ALB instance. You cannot downgrade a standard ALB instance or a WAF-enabled ALB instance to a basic ALB instance. For more information, see [Upgrade an ALB instance](https://help.aliyun.com/document_detail/214654.html). * - **UpdateLoadBalancerEdition** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the status of an ALB instance. * - If the ALB instance is in the **Configuring** state, the edition of the ALB instance is being modified. * - If the ALB instance is in the **Active** state, the edition of the ALB instance is modified. * * @param request - UpdateLoadBalancerEditionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLoadBalancerEditionResponse */ updateLoadBalancerEditionWithOptions(request: $_model.UpdateLoadBalancerEditionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLoadBalancerEditionResponse>; /** * Changes the edition of an Application Load Balancer (ALB) instance. * * @remarks * - You can only upgrade a basic ALB instance to a standard ALB instance or a WAF-enabled ALB instance. You cannot downgrade a standard ALB instance or a WAF-enabled ALB instance to a basic ALB instance. For more information, see [Upgrade an ALB instance](https://help.aliyun.com/document_detail/214654.html). * - **UpdateLoadBalancerEdition** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the status of an ALB instance. * - If the ALB instance is in the **Configuring** state, the edition of the ALB instance is being modified. * - If the ALB instance is in the **Active** state, the edition of the ALB instance is modified. * * @param request - UpdateLoadBalancerEditionRequest * @returns UpdateLoadBalancerEditionResponse */ updateLoadBalancerEdition(request: $_model.UpdateLoadBalancerEditionRequest): Promise<$_model.UpdateLoadBalancerEditionResponse>; /** * Modifies the availability zones of an ALB instance. * * @remarks * *UpdateLoadBalancerZones** is an asynchronous API. After you send a request, the system returns a request ID but does not immediately modify the availability zones. The modification runs in the background. Call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the modification status: * - If the ALB instance is in the **Configuring** state, the modification is in progress. * - If the ALB instance is in the **Active** state, the modification is complete. * > Calling this operation may incur fees. * * @param request - UpdateLoadBalancerZonesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLoadBalancerZonesResponse */ updateLoadBalancerZonesWithOptions(request: $_model.UpdateLoadBalancerZonesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLoadBalancerZonesResponse>; /** * Modifies the availability zones of an ALB instance. * * @remarks * *UpdateLoadBalancerZones** is an asynchronous API. After you send a request, the system returns a request ID but does not immediately modify the availability zones. The modification runs in the background. Call the [GetLoadBalancerAttribute](https://help.aliyun.com/document_detail/214362.html) operation to query the modification status: * - If the ALB instance is in the **Configuring** state, the modification is in progress. * - If the ALB instance is in the **Active** state, the modification is complete. * > Calling this operation may incur fees. * * @param request - UpdateLoadBalancerZonesRequest * @returns UpdateLoadBalancerZonesResponse */ updateLoadBalancerZones(request: $_model.UpdateLoadBalancerZonesRequest): Promise<$_model.UpdateLoadBalancerZonesResponse>; /** * Updates the attributes of a forwarding rule, such as conditions, actions, and name. * * @remarks * - **UpdateRuleAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID. However, the forwarding rule attributes are not yet updated. The update task continues to run in the background. You can call [ListRules](https://help.aliyun.com/document_detail/214379.html) to query the update status of the forwarding rule attributes: * - If the forwarding rule attributes are in the **Configuring** state, the attributes are being updated. * - If the forwarding rule attributes are in the **Available** state, the attributes are updated. * - The maximum number of conditions (**RuleConditions**) and actions (**RuleActions**) that can be added to a forwarding rule is as follows: * - Conditions: 5 for Basic Edition, 10 for Standard Edition, and 10 for WAF-enabled Edition. * - Actions: 3 for Basic Edition, 5 for Standard Edition, and 5 for WAF-enabled Edition. * * @param request - UpdateRuleAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateRuleAttributeResponse */ updateRuleAttributeWithOptions(request: $_model.UpdateRuleAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateRuleAttributeResponse>; /** * Updates the attributes of a forwarding rule, such as conditions, actions, and name. * * @remarks * - **UpdateRuleAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID. However, the forwarding rule attributes are not yet updated. The update task continues to run in the background. You can call [ListRules](https://help.aliyun.com/document_detail/214379.html) to query the update status of the forwarding rule attributes: * - If the forwarding rule attributes are in the **Configuring** state, the attributes are being updated. * - If the forwarding rule attributes are in the **Available** state, the attributes are updated. * - The maximum number of conditions (**RuleConditions**) and actions (**RuleActions**) that can be added to a forwarding rule is as follows: * - Conditions: 5 for Basic Edition, 10 for Standard Edition, and 10 for WAF-enabled Edition. * - Actions: 3 for Basic Edition, 5 for Standard Edition, and 5 for WAF-enabled Edition. * * @param request - UpdateRuleAttributeRequest * @returns UpdateRuleAttributeResponse */ updateRuleAttribute(request: $_model.UpdateRuleAttributeRequest): Promise<$_model.UpdateRuleAttributeResponse>; /** * Updates the properties of multiple forwarding rules in a batch. * * @remarks * *UpdateRulesAttribute** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. The properties of the forwarding rules are not updated immediately. You can call the [](t2324530.xdita#)operation to query the update status of the forwarding rules: * - If multiple forwarding rules are in the **Configuring** state, their properties are being updated in a batch. * - If multiple forwarding rules are in the **Available** state, their properties are updated. * - A forwarding rule supports the following maximum number of conditions (**RuleConditions**) and actions (**RuleActions**): * - Conditions: 5 for a Basic Edition instance, 10 for a Standard Edition instance, and 10 for a WAF-enabled instance. * - Actions: 3 for a Basic Edition instance, 5 for a Standard Edition instance, and 5 for a WAF-enabled instance. * * @param request - UpdateRulesAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateRulesAttributeResponse */ updateRulesAttributeWithOptions(request: $_model.UpdateRulesAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateRulesAttributeResponse>; /** * Updates the properties of multiple forwarding rules in a batch. * * @remarks * *UpdateRulesAttribute** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. The properties of the forwarding rules are not updated immediately. You can call the [](t2324530.xdita#)operation to query the update status of the forwarding rules: * - If multiple forwarding rules are in the **Configuring** state, their properties are being updated in a batch. * - If multiple forwarding rules are in the **Available** state, their properties are updated. * - A forwarding rule supports the following maximum number of conditions (**RuleConditions**) and actions (**RuleActions**): * - Conditions: 5 for a Basic Edition instance, 10 for a Standard Edition instance, and 10 for a WAF-enabled instance. * - Actions: 3 for a Basic Edition instance, 5 for a Standard Edition instance, and 5 for a WAF-enabled instance. * * @param request - UpdateRulesAttributeRequest * @returns UpdateRulesAttributeResponse */ updateRulesAttribute(request: $_model.UpdateRulesAttributeRequest): Promise<$_model.UpdateRulesAttributeResponse>; /** * Updates the attributes of a security policy, such as the security protocol version and cipher suites. * * @remarks * ## Usage * **UpdateSecurityPolicyAttribute** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. The security policy is not updated immediately. You can call the [ListSecurityPolicies](https://help.aliyun.com/document_detail/213609.html) operation to query its status: * - If a security policy is in the **Configuring** state, the update is in progress. * - If a security policy is in the **Available** state, the update is complete. * * @param request - UpdateSecurityPolicyAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateSecurityPolicyAttributeResponse */ updateSecurityPolicyAttributeWithOptions(request: $_model.UpdateSecurityPolicyAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateSecurityPolicyAttributeResponse>; /** * Updates the attributes of a security policy, such as the security protocol version and cipher suites. * * @remarks * ## Usage * **UpdateSecurityPolicyAttribute** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. The security policy is not updated immediately. You can call the [ListSecurityPolicies](https://help.aliyun.com/document_detail/213609.html) operation to query its status: * - If a security policy is in the **Configuring** state, the update is in progress. * - If a security policy is in the **Available** state, the update is complete. * * @param request - UpdateSecurityPolicyAttributeRequest * @returns UpdateSecurityPolicyAttributeResponse */ updateSecurityPolicyAttribute(request: $_model.UpdateSecurityPolicyAttributeRequest): Promise<$_model.UpdateSecurityPolicyAttributeResponse>; /** * Updates the configurations of a server group, such as health check, session persistence, name, scheduling algorithm, and protocol configurations. * * @remarks * The **UpdateServerGroupAttribute** operation is asynchronous. After a request is sent, the system returns a request ID, but the server group configurations have not been updated yet because the update task is still running in the background. You can call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the update status of the server group configurations: * - If the server group configurations are in the **Configuring** state, the configurations are being updated. * - If the server group configurations are in the **Available** state, the configurations have been updated. * * @param request - UpdateServerGroupAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateServerGroupAttributeResponse */ updateServerGroupAttributeWithOptions(request: $_model.UpdateServerGroupAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateServerGroupAttributeResponse>; /** * Updates the configurations of a server group, such as health check, session persistence, name, scheduling algorithm, and protocol configurations. * * @remarks * The **UpdateServerGroupAttribute** operation is asynchronous. After a request is sent, the system returns a request ID, but the server group configurations have not been updated yet because the update task is still running in the background. You can call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the update status of the server group configurations: * - If the server group configurations are in the **Configuring** state, the configurations are being updated. * - If the server group configurations are in the **Available** state, the configurations have been updated. * * @param request - UpdateServerGroupAttributeRequest * @returns UpdateServerGroupAttributeResponse */ updateServerGroupAttribute(request: $_model.UpdateServerGroupAttributeRequest): Promise<$_model.UpdateServerGroupAttributeResponse>; /** * Updates the configurations of backend servers in a server group, such as weights and descriptions. * * @remarks * *UpdateServerGroupServersAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID. However, the backend server configurations are not yet updated, and the update task is still running in the background. * 1. You can call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the status of a server group: * - If the server group is in the **Configuring** state, the server group is being modified. * - If the server group is in the **Available** state, the server group is running. * 2. You can call [ListServerGroupServers](https://help.aliyun.com/document_detail/213628.html) to query the status of a backend server: * - If the backend server is in the **Configuring** state, the backend server is being modified. * - If the backend server is in the **Available** state, the backend server is running. * * @param request - UpdateServerGroupServersAttributeRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateServerGroupServersAttributeResponse */ updateServerGroupServersAttributeWithOptions(request: $_model.UpdateServerGroupServersAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateServerGroupServersAttributeResponse>; /** * Updates the configurations of backend servers in a server group, such as weights and descriptions. * * @remarks * *UpdateServerGroupServersAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID. However, the backend server configurations are not yet updated, and the update task is still running in the background. * 1. You can call [ListServerGroups](https://help.aliyun.com/document_detail/213627.html) to query the status of a server group: * - If the server group is in the **Configuring** state, the server group is being modified. * - If the server group is in the **Available** state, the server group is running. * 2. You can call [ListServerGroupServers](https://help.aliyun.com/document_detail/213628.html) to query the status of a backend server: * - If the backend server is in the **Configuring** state, the backend server is being modified. * - If the backend server is in the **Available** state, the backend server is running. * * @param request - UpdateServerGroupServersAttributeRequest * @returns UpdateServerGroupServersAttributeResponse */ updateServerGroupServersAttribute(request: $_model.UpdateServerGroupServersAttributeRequest): Promise<$_model.UpdateServerGroupServersAttributeResponse>; }