ILoadBalancer
-
Extends: com.aliyun.ros.cdk.core.IResource
-
Implemented By: LoadBalancer, ILoadBalancer
Represents a LoadBalancer.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrAddressIpVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AddressIpVersion: The protocol version. |
attrBusinessStatus | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute BusinessStatus: The business status of Gateway Load Balancing. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: The resource creation time, in Greenwich Mean Time, in the format of yyyy-MM-ddTHH:mm:ssZ. |
attrLoadBalancerId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute LoadBalancerId: The ID of the Gateway Load Balancer instance. |
attrLoadBalancerName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute LoadBalancerName: The name of the Gateway Load Balancer instance. |
attrResourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ResourceGroupId: The ID of the resource group. |
attrTags | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Tags: The list of tags. |
attrVpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VpcId: The ID of the VPC which the Gateway Load Balancer instance belongs. |
attrZoneMappings | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ZoneMappings: The List of zones and vSwitches mapped. |
props | LoadBalancerProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrAddressIpVersionRequired
public java.lang.Object getAttrAddressIpVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AddressIpVersion: The protocol version.
attrBusinessStatusRequired
public java.lang.Object getAttrBusinessStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute BusinessStatus: The business status of Gateway Load Balancing.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The resource creation time, in Greenwich Mean Time, in the format of yyyy-MM-ddTHH:mm:ssZ.
attrLoadBalancerIdRequired
public java.lang.Object getAttrLoadBalancerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute LoadBalancerId: The ID of the Gateway Load Balancer instance.
attrLoadBalancerNameRequired
public java.lang.Object getAttrLoadBalancerName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute LoadBalancerName: The name of the Gateway Load Balancer instance.
attrResourceGroupIdRequired
public java.lang.Object getAttrResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attrTagsRequired
public java.lang.Object getAttrTags();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Tags: The list of tags.
attrVpcIdRequired
public java.lang.Object getAttrVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VpcId: The ID of the VPC which the Gateway Load Balancer instance belongs.
attrZoneMappingsRequired
public java.lang.Object getAttrZoneMappings();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ZoneMappings: The List of zones and vSwitches mapped.
You must add at least one zone and a maximum of 20 zones. If the current region supports two or more zones, we recommend that you add two or more zones.
propsRequired
public LoadBalancerProps getProps();
- Type: LoadBalancerProps