Skip to content

Address

  • Implements: github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc.datasource.IAddress

This class encapsulates and extends the ROS resource type DATASOURCE::EIP::Address.

Initializers

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
datasource.NewAddress(scope Construct, id *string, props AddressProps, enableResourcePropertyConstraint *bool) Address
Name Type Description
scope github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct No description.
id *string No description.
props AddressProps No description.
enableResourcePropertyConstraint *bool No description.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct

idRequired

  • Type: *string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: *bool

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.
FetchCondition No description.
FetchDependency No description.
FetchResourceDesc No description.
GetAtt No description.
SetMetadata No description.

ToString

func ToString() *string

Returns a string representation of this construct.

Synthesize

func Synthesize(session ISynthesisSession)

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.

sessionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

FetchCondition

func FetchCondition() RosCondition

FetchDependency

func FetchDependency() *[]*string

FetchResourceDesc

func FetchResourceDesc() *string

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

  • Type: interface{}

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
datasource.Address_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

xRequired

  • Type: interface{}

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node associated with this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Ref *string No description.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
Resource github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource No description.
AttrAddressName interface{} Attribute AddressName: The name of the EIP.
AttrAllocationId interface{} Attribute AllocationId: The ID of the EIP instance.
AttrBandwidth interface{} Attribute Bandwidth: The peak bandwidth of the EIP.
AttrBandwidthPackageBandwidth interface{} Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP.
AttrBandwidthPackageId interface{} Attribute BandwidthPackageId: The ID of the added shared bandwidth.
AttrBandwidthPackageType interface{} Attribute BandwidthPackageType: The type of bandwidth.
AttrBusinessStatus interface{} Attribute BusinessStatus: The business status of the EIP instance.
AttrCreateTime interface{} Attribute CreateTime: The time when the EIP was created.
AttrDeletionProtection interface{} Attribute DeletionProtection: Whether the delete protection function is turned on.
AttrDescription interface{} Attribute Description: The description of the EIP instance.
AttrEipBandwidth interface{} 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 interface{} Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.
AttrHasReservationData interface{} Attribute HasReservationData: Whether there is renewal data.
AttrHdMonitorStatus interface{} Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.
AttrInstanceId interface{} Attribute InstanceId: The ID of the current bound instance.
AttrInstanceRegionId interface{} Attribute InstanceRegionId: The region ID of the currently bound resource.
AttrInstanceType interface{} Attribute InstanceType: The type of the current bound instance.
AttrIpAddress interface{} Attribute IpAddress: The IP address of the EIP.
AttrIsp interface{} Attribute Isp: Service providers.
AttrNetmode interface{} Attribute Netmode: Network type.
AttrOperationLocks interface{} Attribute OperationLocks: Lock details.
AttrPaymentType interface{} Attribute PaymentType: The billing method of the EIP.
AttrPublicIpAddressPoolId interface{} Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.
AttrReservationActiveTime interface{} Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.
AttrReservationBandwidth interface{} Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.
AttrReservationInternetChargeType interface{} Attribute ReservationInternetChargeType: Renewal Payment type.
AttrReservationOrderType interface{} Attribute ReservationOrderType: Renewal order type.
AttrResourceGroupId interface{} Attribute ResourceGroupId: The ID of the resource group.
AttrSecondLimited interface{} Attribute SecondLimited: Whether a secondary speed limit is configured.
AttrSecurityProtectionTypes interface{} Attribute SecurityProtectionTypes: Security protection level.
AttrSegmentInstanceId interface{} Attribute SegmentInstanceId: The ID of the consecutive EIPs.
AttrServiceManaged interface{} Attribute ServiceManaged: Indicates the resource created for the service account.
AttrTags interface{} Attribute Tags: The tag of the resource.
Props AddressProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node associated with this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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.


RefRequired

func Ref() *string
  • Type: *string

StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


ResourceOptional

func Resource() RosResource
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource

AttrAddressNameRequired

func AttrAddressName() interface{}
  • Type: interface{}

Attribute AddressName: The name of the EIP.


AttrAllocationIdRequired

func AttrAllocationId() interface{}
  • Type: interface{}

Attribute AllocationId: The ID of the EIP instance.


AttrBandwidthRequired

func AttrBandwidth() interface{}
  • Type: interface{}

Attribute Bandwidth: The peak bandwidth of the EIP.

Unit: Mbps.


AttrBandwidthPackageBandwidthRequired

func AttrBandwidthPackageBandwidth() interface{}
  • Type: interface{}

Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP.

The unit is Mbps.


AttrBandwidthPackageIdRequired

func AttrBandwidthPackageId() interface{}
  • Type: interface{}

Attribute BandwidthPackageId: The ID of the added shared bandwidth.


AttrBandwidthPackageTypeRequired

func AttrBandwidthPackageType() interface{}
  • Type: interface{}

Attribute BandwidthPackageType: The type of bandwidth.

Only CommonBandwidthPackage (shared bandwidth) is supported.


AttrBusinessStatusRequired

func AttrBusinessStatus() interface{}
  • Type: interface{}

Attribute BusinessStatus: The business status of the EIP instance.


AttrCreateTimeRequired

func AttrCreateTime() interface{}
  • Type: interface{}

Attribute CreateTime: The time when the EIP was created.


AttrDeletionProtectionRequired

func AttrDeletionProtection() interface{}
  • Type: interface{}

Attribute DeletionProtection: Whether the delete protection function is turned on.


AttrDescriptionRequired

func AttrDescription() interface{}
  • Type: interface{}

Attribute Description: The description of the EIP instance.


AttrEipBandwidthRequired

func AttrEipBandwidth() interface{}
  • Type: interface{}

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.


AttrExpiredTimeRequired

func AttrExpiredTime() interface{}
  • Type: interface{}

Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.


AttrHasReservationDataRequired

func AttrHasReservationData() interface{}
  • Type: interface{}

Attribute HasReservationData: Whether there is renewal data.


AttrHdMonitorStatusRequired

func AttrHdMonitorStatus() interface{}
  • Type: interface{}

Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.


AttrInstanceIdRequired

func AttrInstanceId() interface{}
  • Type: interface{}

Attribute InstanceId: The ID of the current bound instance.


AttrInstanceRegionIdRequired

func AttrInstanceRegionId() interface{}
  • Type: interface{}

Attribute InstanceRegionId: The region ID of the currently bound resource.


AttrInstanceTypeRequired

func AttrInstanceType() interface{}
  • Type: interface{}

Attribute InstanceType: The type of the current bound instance.


AttrIpAddressRequired

func AttrIpAddress() interface{}
  • Type: interface{}

Attribute IpAddress: The IP address of the EIP.


AttrIspRequired

func AttrIsp() interface{}
  • Type: interface{}

Attribute Isp: Service providers.


AttrNetmodeRequired

func AttrNetmode() interface{}
  • Type: interface{}

Attribute Netmode: Network type.


AttrOperationLocksRequired

func AttrOperationLocks() interface{}
  • Type: interface{}

Attribute OperationLocks: Lock details.


AttrPaymentTypeRequired

func AttrPaymentType() interface{}
  • Type: interface{}

Attribute PaymentType: The billing method of the EIP.


AttrPublicIpAddressPoolIdRequired

func AttrPublicIpAddressPoolId() interface{}
  • Type: interface{}

Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.


AttrReservationActiveTimeRequired

func AttrReservationActiveTime() interface{}
  • Type: interface{}

Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.


AttrReservationBandwidthRequired

func AttrReservationBandwidth() interface{}
  • Type: interface{}

Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.


AttrReservationInternetChargeTypeRequired

func AttrReservationInternetChargeType() interface{}
  • Type: interface{}

Attribute ReservationInternetChargeType: Renewal Payment type.


AttrReservationOrderTypeRequired

func AttrReservationOrderType() interface{}
  • Type: interface{}

Attribute ReservationOrderType: Renewal order type.


AttrResourceGroupIdRequired

func AttrResourceGroupId() interface{}
  • Type: interface{}

Attribute ResourceGroupId: The ID of the resource group.


AttrSecondLimitedRequired

func AttrSecondLimited() interface{}
  • Type: interface{}

Attribute SecondLimited: Whether a secondary speed limit is configured.


AttrSecurityProtectionTypesRequired

func AttrSecurityProtectionTypes() interface{}
  • Type: interface{}

Attribute SecurityProtectionTypes: Security protection level.


AttrSegmentInstanceIdRequired

func AttrSegmentInstanceId() interface{}
  • Type: interface{}

Attribute SegmentInstanceId: The ID of the consecutive EIPs.


AttrServiceManagedRequired

func AttrServiceManaged() interface{}
  • Type: interface{}

Attribute ServiceManaged: Indicates the resource created for the service account.


AttrTagsRequired

func AttrTags() interface{}
  • Type: interface{}

Attribute Tags: The tag of the resource.


PropsRequired

func Props() AddressProps