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 { datasource } from '@alicloud/ros-cdk-vpc'
new datasource.Address(scope: Construct, id: string, props: AddressProps, enableResourcePropertyConstraint?: boolean)
Name | Type | Description |
---|---|---|
scope |
@alicloud/ros-cdk-core.Construct |
No description. |
id |
string |
No description. |
props |
AddressProps |
No description. |
enableResourcePropertyConstraint |
boolean |
No description. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: AddressProps
enableResourcePropertyConstraint
Optional
- Type: boolean
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 toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
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: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import { datasource } from '@alicloud/ros-cdk-vpc'
datasource.Address.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
Name | Type | Description |
---|---|---|
node |
@alicloud/ros-cdk-core.ConstructNode |
The construct tree node associated with this construct. |
ref |
string |
No description. |
stack |
@alicloud/ros-cdk-core.Stack |
The stack in which this resource is defined. |
resource |
@alicloud/ros-cdk-core.RosResource |
No description. |
attrAddressName |
@alicloud/ros-cdk-core.IResolvable |
Attribute AddressName: The name of the EIP. |
attrAllocationId |
@alicloud/ros-cdk-core.IResolvable |
Attribute AllocationId: The ID of the EIP instance. |
attrBandwidth |
@alicloud/ros-cdk-core.IResolvable |
Attribute Bandwidth: The peak bandwidth of the EIP. |
attrBandwidthPackageBandwidth |
@alicloud/ros-cdk-core.IResolvable |
Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP. |
attrBandwidthPackageId |
@alicloud/ros-cdk-core.IResolvable |
Attribute BandwidthPackageId: The ID of the added shared bandwidth. |
attrBandwidthPackageType |
@alicloud/ros-cdk-core.IResolvable |
Attribute BandwidthPackageType: The type of bandwidth. |
attrBusinessStatus |
@alicloud/ros-cdk-core.IResolvable |
Attribute BusinessStatus: The business status of the EIP instance. |
attrCreateTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreateTime: The time when the EIP was created. |
attrDeletionProtection |
@alicloud/ros-cdk-core.IResolvable |
Attribute DeletionProtection: Whether the delete protection function is turned on. |
attrDescription |
@alicloud/ros-cdk-core.IResolvable |
Attribute Description: The description of the EIP instance. |
attrEipBandwidth |
@alicloud/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 |
@alicloud/ros-cdk-core.IResolvable |
Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '. |
attrHasReservationData |
@alicloud/ros-cdk-core.IResolvable |
Attribute HasReservationData: Whether there is renewal data. |
attrHdMonitorStatus |
@alicloud/ros-cdk-core.IResolvable |
Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP. |
attrInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceId: The ID of the current bound instance. |
attrInstanceRegionId |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceRegionId: The region ID of the currently bound resource. |
attrInstanceType |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceType: The type of the current bound instance. |
attrIpAddress |
@alicloud/ros-cdk-core.IResolvable |
Attribute IpAddress: The IP address of the EIP. |
attrIsp |
@alicloud/ros-cdk-core.IResolvable |
Attribute Isp: Service providers. |
attrNetmode |
@alicloud/ros-cdk-core.IResolvable |
Attribute Netmode: Network type. |
attrOperationLocks |
@alicloud/ros-cdk-core.IResolvable |
Attribute OperationLocks: Lock details. |
attrPaymentType |
@alicloud/ros-cdk-core.IResolvable |
Attribute PaymentType: The billing method of the EIP. |
attrPublicIpAddressPoolId |
@alicloud/ros-cdk-core.IResolvable |
Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs. |
attrReservationActiveTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'. |
attrReservationBandwidth |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReservationBandwidth: Renewal bandwidth, in Mbps. |
attrReservationInternetChargeType |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReservationInternetChargeType: Renewal Payment type. |
attrReservationOrderType |
@alicloud/ros-cdk-core.IResolvable |
Attribute ReservationOrderType: Renewal order type. |
attrResourceGroupId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ResourceGroupId: The ID of the resource group. |
attrSecondLimited |
@alicloud/ros-cdk-core.IResolvable |
Attribute SecondLimited: Whether a secondary speed limit is configured. |
attrSecurityProtectionTypes |
@alicloud/ros-cdk-core.IResolvable |
Attribute SecurityProtectionTypes: Security protection level. |
attrSegmentInstanceId |
@alicloud/ros-cdk-core.IResolvable |
Attribute SegmentInstanceId: The ID of the consecutive EIPs. |
attrServiceManaged |
@alicloud/ros-cdk-core.IResolvable |
Attribute ServiceManaged: Indicates the resource created for the service account. |
attrTags |
@alicloud/ros-cdk-core.IResolvable |
Attribute Tags: The tag of the resource. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrAddressName
Required
public readonly attrAddressName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AddressName: The name of the EIP.
attrAllocationId
Required
public readonly attrAllocationId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AllocationId: The ID of the EIP instance.
attrBandwidth
Required
public readonly attrBandwidth: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Bandwidth: The peak bandwidth of the EIP.
Unit: Mbps.
attrBandwidthPackageBandwidth
Required
public readonly attrBandwidthPackageBandwidth: IResolvable;
- Type: @alicloud/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 readonly attrBandwidthPackageId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BandwidthPackageId: The ID of the added shared bandwidth.
attrBandwidthPackageType
Required
public readonly attrBandwidthPackageType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BandwidthPackageType: The type of bandwidth.
Only CommonBandwidthPackage (shared bandwidth) is supported.
attrBusinessStatus
Required
public readonly attrBusinessStatus: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BusinessStatus: The business status of the EIP instance.
attrCreateTime
Required
public readonly attrCreateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreateTime: The time when the EIP was created.
attrDeletionProtection
Required
public readonly attrDeletionProtection: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DeletionProtection: Whether the delete protection function is turned on.
attrDescription
Required
public readonly attrDescription: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Description: The description of the EIP instance.
attrEipBandwidth
Required
public readonly attrEipBandwidth: IResolvable;
- Type: @alicloud/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 readonly attrExpiredTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.
attrHasReservationData
Required
public readonly attrHasReservationData: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HasReservationData: Whether there is renewal data.
attrHdMonitorStatus
Required
public readonly attrHdMonitorStatus: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.
attrInstanceId
Required
public readonly attrInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceId: The ID of the current bound instance.
attrInstanceRegionId
Required
public readonly attrInstanceRegionId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceRegionId: The region ID of the currently bound resource.
attrInstanceType
Required
public readonly attrInstanceType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceType: The type of the current bound instance.
attrIpAddress
Required
public readonly attrIpAddress: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute IpAddress: The IP address of the EIP.
attrIsp
Required
public readonly attrIsp: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Isp: Service providers.
attrNetmode
Required
public readonly attrNetmode: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Netmode: Network type.
attrOperationLocks
Required
public readonly attrOperationLocks: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute OperationLocks: Lock details.
attrPaymentType
Required
public readonly attrPaymentType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PaymentType: The billing method of the EIP.
attrPublicIpAddressPoolId
Required
public readonly attrPublicIpAddressPoolId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.
attrReservationActiveTime
Required
public readonly attrReservationActiveTime: IResolvable;
- Type: @alicloud/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 readonly attrReservationBandwidth: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.
attrReservationInternetChargeType
Required
public readonly attrReservationInternetChargeType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ReservationInternetChargeType: Renewal Payment type.
attrReservationOrderType
Required
public readonly attrReservationOrderType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ReservationOrderType: Renewal order type.
attrResourceGroupId
Required
public readonly attrResourceGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
attrSecondLimited
Required
public readonly attrSecondLimited: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SecondLimited: Whether a secondary speed limit is configured.
attrSecurityProtectionTypes
Required
public readonly attrSecurityProtectionTypes: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SecurityProtectionTypes: Security protection level.
attrSegmentInstanceId
Required
public readonly attrSegmentInstanceId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SegmentInstanceId: The ID of the consecutive EIPs.
attrServiceManaged
Required
public readonly attrServiceManaged: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ServiceManaged: Indicates the resource created for the service account.
attrTags
Required
public readonly attrTags: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Tags: The tag of the resource.