Package com.pulumi.alicloud.nlb
Class LoadBalancerArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.alicloud.nlb.LoadBalancerArgs
-
public final class LoadBalancerArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadBalancerArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static LoadBalancerArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>
addressIpVersion()
com.pulumi.core.Output<java.lang.String>
addressType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
bandwidthPackageId()
static LoadBalancerArgs.Builder
builder()
static LoadBalancerArgs.Builder
builder(LoadBalancerArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
crossZoneEnabled()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
deletionProtectionEnabled()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
deletionProtectionReason()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
loadBalancerName()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
loadBalancerType()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
modificationProtectionReason()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
modificationProtectionStatus()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
resourceGroupId()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>
tags()
com.pulumi.core.Output<java.lang.String>
vpcId()
com.pulumi.core.Output<java.util.List<LoadBalancerZoneMappingArgs>>
zoneMappings()
-
-
-
Field Detail
-
Empty
public static final LoadBalancerArgs Empty
-
-
Method Detail
-
addressIpVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> addressIpVersion()
- Returns:
- The protocol version. Valid values: - ipv4 (default): IPv4 - DualStack: dual stack
-
addressType
public com.pulumi.core.Output<java.lang.String> addressType()
- Returns:
- The type of IPv4 address used by the NLB instance. 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 virtual private cloud (VPC) where the NLB instance is deployed.
-
bandwidthPackageId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bandwidthPackageId()
- Returns:
- The ID of the EIP bandwidth plan that is associated with the NLB instance if the NLB instance uses a public IP address.
-
crossZoneEnabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> crossZoneEnabled()
- Returns:
- Specifies whether to enable cross-zone load balancing for the NLB instance.
-
deletionProtectionEnabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> deletionProtectionEnabled()
- Returns:
- Specifies whether to enable deletion protection. Default value: `false`. Valid values:
-
deletionProtectionReason
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> deletionProtectionReason()
- Returns:
- The reason why the deletion protection feature is enabled or disabled. The `deletion_protection_reason` takes effect only when `deletion_protection_enabled` is set to `true`.
-
loadBalancerName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> loadBalancerName()
- Returns:
- 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
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> loadBalancerType()
- Returns:
- The type of the instance. Set the value to `Network`, which specifies an NLB instance.
-
modificationProtectionReason
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> modificationProtectionReason()
- Returns:
- The reason why the configuration read-only mode is enabled. The `modification_protection_reason` takes effect only when `modification_protection_status` is set to `ConsoleProtection`.
-
modificationProtectionStatus
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> modificationProtectionStatus()
- Returns:
- Specifies whether to enable the configuration read-only mode. Default value: `NonProtection`. Valid values:
-
resourceGroupId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceGroupId()
- Returns:
- The ID of the resource group.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> tags()
- Returns:
- A mapping of tags to assign to the resource.
-
vpcId
public com.pulumi.core.Output<java.lang.String> vpcId()
- Returns:
- The ID of the VPC where the NLB instance is deployed.
-
zoneMappings
public com.pulumi.core.Output<java.util.List<LoadBalancerZoneMappingArgs>> zoneMappings()
- Returns:
- Available Area Configuration List. You must add at least two zones. You can add a maximum of 10 zones. See `zone_mappings` below.
-
builder
public static LoadBalancerArgs.Builder builder()
-
builder
public static LoadBalancerArgs.Builder builder(LoadBalancerArgs defaults)
-
-