LoadBalancerProps
Properties for defining a LoadBalancer
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-loadbalancer
Initializer
using AlibabaCloud.SDK.ROS.CDK.Nlb;
new LoadBalancerProps {
object AddressType,
object VpcId,
object ZoneMappings,
object AddressIpVersion = null,
object BandwidthPackageId = null,
object CrossZoneEnabled = null,
object DeletionProtectionConfig = null,
object LoadBalancerBillingConfig = null,
object LoadBalancerName = null,
object LoadBalancerType = null,
object ModificationProtectionConfig = null,
object ResourceGroupId = null,
TagsProperty[] Tags = null,
object TrafficAffinityEnabled = null
};
Properties
Name | Type | Description |
---|---|---|
AddressType |
object |
Property addressType: The type of IP address that the NLB instance uses to provide services. |
VpcId |
object |
Property vpcId: The ID of the virtual private cloud (VPC) where the NLB instance is deployed. |
ZoneMappings |
object |
Property zoneMappings: The zones and the vSwitches in the zones. |
AddressIpVersion |
object |
Property addressIpVersion: The version of IP address that the NLB instance uses to provide services. |
BandwidthPackageId |
object |
Property bandwidthPackageId: Attach common bandwidth package to load balancer. |
CrossZoneEnabled |
object |
Property crossZoneEnabled: Whether enable cross zone. |
DeletionProtectionConfig |
object |
Property deletionProtectionConfig: The configuration of the deletion protection feature. |
LoadBalancerBillingConfig |
object |
Property loadBalancerBillingConfig: The configuration of the billing method. |
LoadBalancerName |
object |
Property loadBalancerName: The name of the NLB instance. |
LoadBalancerType |
object |
Property loadBalancerType: The type of the NLB instance. |
ModificationProtectionConfig |
object |
Property modificationProtectionConfig: The configuration of the configuration read-only mode. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group. |
Tags |
TagsProperty[] |
Property tags: Tags to attach to instance. |
TrafficAffinityEnabled |
object |
Property trafficAffinityEnabled: Whether enable traffic affinity. |
AddressType
Required
public object AddressType { get; set; }
- Type: object
Property addressType: The type of IP address that the NLB instance uses to provide services.
Valid values: Internet: The NLB instance uses a public IP address. The domain name of the NLB instance is resolved to the public IP address. Therefore, the NLB instance can be accessed over the Internet. Intranet: The NLB instance uses a private IP address. The domain name of the NLB instance is resolved to the private IP address. Therefore, the NLB instance can be accessed over the VPC where the NLB instance is deployed.
VpcId
Required
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the virtual private cloud (VPC) where the NLB instance is deployed.
ZoneMappings
Required
public object ZoneMappings { get; set; }
- Type: object
Property zoneMappings: The zones and the vSwitches in the zones.
You must specify at least two zones.
AddressIpVersion
Optional
public object AddressIpVersion { get; set; }
- Type: object
Property addressIpVersion: The version of IP address that the NLB instance uses to provide services.
BandwidthPackageId
Optional
public object BandwidthPackageId { get; set; }
- Type: object
Property bandwidthPackageId: Attach common bandwidth package to load balancer.
CrossZoneEnabled
Optional
public object CrossZoneEnabled { get; set; }
- Type: object
Property crossZoneEnabled: Whether enable cross zone.
Default: true
DeletionProtectionConfig
Optional
public object DeletionProtectionConfig { get; set; }
- Type: object
Property deletionProtectionConfig: The configuration of the deletion protection feature.
LoadBalancerBillingConfig
Optional
public object LoadBalancerBillingConfig { get; set; }
- Type: object
Property loadBalancerBillingConfig: The configuration of the billing method.
LoadBalancerName
Optional
public object LoadBalancerName { get; set; }
- Type: object
Property loadBalancerName: The name of the NLB instance.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods(.), underscores (_), and hyphens (-). The name must start with a letter.
LoadBalancerType
Optional
public object LoadBalancerType { get; set; }
- Type: object
Property loadBalancerType: The type of the NLB instance.
ModificationProtectionConfig
Optional
public object ModificationProtectionConfig { get; set; }
- Type: object
Property modificationProtectionConfig: The configuration of the configuration read-only mode.
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
Tags
Optional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
TrafficAffinityEnabled
Optional
public object TrafficAffinityEnabled { get; set; }
- Type: object
Property trafficAffinityEnabled: Whether enable traffic affinity.
Default: false