Address
This class encapsulates and extends the ROS resource type DATASOURCE::EIP::Address
, which is used to query the information about a created elastic IP address (EIP).
Initializers
import com.aliyun.ros.cdk.vpc.datasource.Address;
Address.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
.allocationId(java.lang.String)
.allocationId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Name | Type | Description |
---|---|---|
scope |
com.aliyun.ros.cdk.core.Construct |
No description. |
id |
java.lang.String |
No description. |
enableResourcePropertyConstraint |
java.lang.Boolean |
No description. |
allocationId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property allocationId: The ID of the EIP instance. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
id
Required
- Type: java.lang.String
enableResourcePropertyConstraint
Optional
- Type: java.lang.Boolean
allocationId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property allocationId: The ID of the EIP instance.
refreshOptions
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
Methods
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
addCondition |
No description. |
addCount |
No description. |
addDependency |
No description. |
addResourceDesc |
No description. |
applyRemovalPolicy |
No description. |
getAtt |
No description. |
setMetadata |
No description. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
synthesize
public void synthesize(ISynthesisSession session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: com.aliyun.ros.cdk.core.ISynthesisSession
The synthesis session.
addCondition
public void addCondition(RosCondition condition)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
addDependency
public void addDependency(Resource resource)
- Type: com.aliyun.ros.cdk.core.Resource
addResourceDesc
public void addResourceDesc(java.lang.String desc)
- Type: java.lang.String
applyRemovalPolicy
public void applyRemovalPolicy(RemovalPolicy policy)
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
getAtt
public IResolvable getAtt(java.lang.String name)
- Type: java.lang.String
setMetadata
public void setMetadata(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import com.aliyun.ros.cdk.vpc.datasource.Address;
Address.isConstruct(java.lang.Object x)
Return whether the given object is a Construct.
- Type: java.lang.Object
Properties
Name | Type | Description |
---|---|---|
node |
com.aliyun.ros.cdk.core.ConstructNode |
The construct tree node associated with this construct. |
ref |
java.lang.String |
No description. |
stack |
com.aliyun.ros.cdk.core.Stack |
The stack in which this resource is defined. |
resource |
com.aliyun.ros.cdk.core.RosResource |
No description. |
attrAddressName |
com.aliyun.ros.cdk.core.IResolvable |
Attribute AddressName: The name of the EIP. |
attrAllocationId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute AllocationId: The ID of the EIP instance. |
attrBandwidth |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Bandwidth: The peak bandwidth of the EIP. |
attrBandwidthPackageBandwidth |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP. |
attrBandwidthPackageId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BandwidthPackageId: The ID of the added shared bandwidth. |
attrBandwidthPackageType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BandwidthPackageType: The type of bandwidth. |
attrBusinessStatus |
com.aliyun.ros.cdk.core.IResolvable |
Attribute BusinessStatus: The business status of the EIP instance. |
attrCreateTime |
com.aliyun.ros.cdk.core.IResolvable |
Attribute CreateTime: The time when the EIP was created. |
attrDeletionProtection |
com.aliyun.ros.cdk.core.IResolvable |
Attribute DeletionProtection: Whether the delete protection function is turned on. |
attrDescription |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Description: The description of the EIP instance. |
attrEipBandwidth |
com.aliyun.ros.cdk.core.IResolvable |
Attribute EipBandwidth: AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth. |
attrExpiredTime |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '. |
attrHasReservationData |
com.aliyun.ros.cdk.core.IResolvable |
Attribute HasReservationData: Whether there is renewal data. |
attrHdMonitorStatus |
com.aliyun.ros.cdk.core.IResolvable |
Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP. |
attrInstanceId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute InstanceId: The ID of the current bound instance. |
attrInstanceRegionId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute InstanceRegionId: The region ID of the currently bound resource. |
attrInstanceType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute InstanceType: The type of the current bound instance. |
attrIpAddress |
com.aliyun.ros.cdk.core.IResolvable |
Attribute IpAddress: The IP address of the EIP. |
attrIsp |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Isp: Service providers. |
attrNetmode |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Netmode: Network type. |
attrOperationLocks |
com.aliyun.ros.cdk.core.IResolvable |
Attribute OperationLocks: Lock details. |
attrPaymentType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute PaymentType: The billing method of the EIP. |
attrPublicIpAddressPoolId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs. |
attrReservationActiveTime |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'. |
attrReservationBandwidth |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ReservationBandwidth: Renewal bandwidth, in Mbps. |
attrReservationInternetChargeType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ReservationInternetChargeType: Renewal Payment type. |
attrReservationOrderType |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ReservationOrderType: Renewal order type. |
attrResourceGroupId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ResourceGroupId: The ID of the resource group. |
attrSecondLimited |
com.aliyun.ros.cdk.core.IResolvable |
Attribute SecondLimited: Whether a secondary speed limit is configured. |
attrSecurityProtectionTypes |
com.aliyun.ros.cdk.core.IResolvable |
Attribute SecurityProtectionTypes: Security protection level. |
attrSegmentInstanceId |
com.aliyun.ros.cdk.core.IResolvable |
Attribute SegmentInstanceId: The ID of the consecutive EIPs. |
attrServiceManaged |
com.aliyun.ros.cdk.core.IResolvable |
Attribute ServiceManaged: Indicates the resource created for the service account. |
attrTags |
com.aliyun.ros.cdk.core.IResolvable |
Attribute Tags: The tag of the resource. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public java.lang.String getRef();
- Type: java.lang.String
stack
Required
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
resource
Optional
public RosResource getResource();
- Type: com.aliyun.ros.cdk.core.RosResource
attrAddressName
Required
public IResolvable getAttrAddressName();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute AddressName: The name of the EIP.
attrAllocationId
Required
public IResolvable getAttrAllocationId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute AllocationId: The ID of the EIP instance.
attrBandwidth
Required
public IResolvable getAttrBandwidth();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Bandwidth: The peak bandwidth of the EIP.
Unit: Mbps.
attrBandwidthPackageBandwidth
Required
public IResolvable getAttrBandwidthPackageBandwidth();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP.
The unit is Mbps.
attrBandwidthPackageId
Required
public IResolvable getAttrBandwidthPackageId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BandwidthPackageId: The ID of the added shared bandwidth.
attrBandwidthPackageType
Required
public IResolvable getAttrBandwidthPackageType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BandwidthPackageType: The type of bandwidth.
Only CommonBandwidthPackage (shared bandwidth) is supported.
attrBusinessStatus
Required
public IResolvable getAttrBusinessStatus();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute BusinessStatus: The business status of the EIP instance.
attrCreateTime
Required
public IResolvable getAttrCreateTime();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: The time when the EIP was created.
attrDeletionProtection
Required
public IResolvable getAttrDeletionProtection();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute DeletionProtection: Whether the delete protection function is turned on.
attrDescription
Required
public IResolvable getAttrDescription();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Description: The description of the EIP instance.
attrEipBandwidth
Required
public IResolvable getAttrEipBandwidth();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute EipBandwidth: AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth.
attrExpiredTime
Required
public IResolvable getAttrExpiredTime();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.
attrHasReservationData
Required
public IResolvable getAttrHasReservationData();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HasReservationData: Whether there is renewal data.
attrHdMonitorStatus
Required
public IResolvable getAttrHdMonitorStatus();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.
attrInstanceId
Required
public IResolvable getAttrInstanceId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceId: The ID of the current bound instance.
attrInstanceRegionId
Required
public IResolvable getAttrInstanceRegionId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceRegionId: The region ID of the currently bound resource.
attrInstanceType
Required
public IResolvable getAttrInstanceType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute InstanceType: The type of the current bound instance.
attrIpAddress
Required
public IResolvable getAttrIpAddress();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute IpAddress: The IP address of the EIP.
attrIsp
Required
public IResolvable getAttrIsp();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Isp: Service providers.
attrNetmode
Required
public IResolvable getAttrNetmode();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Netmode: Network type.
attrOperationLocks
Required
public IResolvable getAttrOperationLocks();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute OperationLocks: Lock details.
attrPaymentType
Required
public IResolvable getAttrPaymentType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute PaymentType: The billing method of the EIP.
attrPublicIpAddressPoolId
Required
public IResolvable getAttrPublicIpAddressPoolId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.
attrReservationActiveTime
Required
public IResolvable getAttrReservationActiveTime();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.
attrReservationBandwidth
Required
public IResolvable getAttrReservationBandwidth();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.
attrReservationInternetChargeType
Required
public IResolvable getAttrReservationInternetChargeType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ReservationInternetChargeType: Renewal Payment type.
attrReservationOrderType
Required
public IResolvable getAttrReservationOrderType();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ReservationOrderType: Renewal order type.
attrResourceGroupId
Required
public IResolvable getAttrResourceGroupId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attrSecondLimited
Required
public IResolvable getAttrSecondLimited();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute SecondLimited: Whether a secondary speed limit is configured.
attrSecurityProtectionTypes
Required
public IResolvable getAttrSecurityProtectionTypes();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute SecurityProtectionTypes: Security protection level.
attrSegmentInstanceId
Required
public IResolvable getAttrSegmentInstanceId();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute SegmentInstanceId: The ID of the consecutive EIPs.
attrServiceManaged
Required
public IResolvable getAttrServiceManaged();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute ServiceManaged: Indicates the resource created for the service account.
attrTags
Required
public IResolvable getAttrTags();
- Type: com.aliyun.ros.cdk.core.IResolvable
Attribute Tags: The tag of the resource.