CommonBandwidthPackage
This class encapsulates and extends the ROS resource type DATASOURCE::VPC::CommonBandwidthPackage
, which is used to query the information about an Internet Shared Bandwidth instance in a region.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc/datasource"
datasource.NewCommonBandwidthPackage(scope Construct, id *string, props CommonBandwidthPackageProps, enableResourcePropertyConstraint *bool) CommonBandwidthPackage
Name | Type | Description |
---|---|---|
scope |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct |
No description. |
id |
*string |
No description. |
props |
CommonBandwidthPackageProps |
No description. |
enableResourcePropertyConstraint |
*bool |
No description. |
scope
Required
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
id
Required
- Type: *string
props
Optional
enableResourcePropertyConstraint
Optional
- 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. |
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.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- 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.CommonBandwidthPackage_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
Name | Type | Description |
---|---|---|
Node |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode |
The construct tree node associated with this construct. |
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. |
AttrBandwidth |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance. |
AttrBusinessStatus |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute BusinessStatus: The service status of the Internet Shared Bandwidth instance. |
AttrCommonBandwidthPackageId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth. |
AttrCommonBandwidthPackageName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CommonBandwidthPackageName: The name of the Internet Shared Bandwidth instance. |
AttrCreationTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CreationTime: The time when the Internet Shared Bandwidth instance was created. |
AttrDeletionProtection |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DeletionProtection: Indicates whether deletion protection is enabled. |
AttrDescription |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Description: The description of the Internet Shared Bandwidth instance. |
AttrExpiredTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ExpiredTime: The time when the Internet Shared Bandwidth instance expired. |
AttrHasReservationData |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute HasReservationData: Indicates whether the information about pending orders is returned. |
AttrInstanceChargeType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceChargeType: The billing method of the Internet Shared Bandwidth instance. |
AttrInternetChargeType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InternetChargeType: The metering method of the Internet Shared Bandwidth instance. |
AttrIsp |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Isp: The line type. |
AttrPublicIpAddresses |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PublicIpAddresses: The elastic IP addresses (EIPs) that are associated with the Internet Shared Bandwidth instance. |
AttrRatio |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Ratio: The percentage of the minimum bandwidth commitment. |
AttrReservationActiveTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ReservationActiveTime: The time when the renewal took effect. |
AttrReservationBandwidth |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ReservationBandwidth: The new maximum bandwidth after the configurations are changed. |
AttrReservationInternetChargeType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ReservationInternetChargeType: The metering method after the configurations are changed. |
AttrReservationOrderType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ReservationOrderType: The renewal method. |
AttrResourceGroupId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ResourceGroupId: The ID of the resource group. |
AttrServiceManaged |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ServiceManaged: Indicates whether the resource is created by the service account. |
AttrStatus |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Status: The status of the Internet Shared Bandwidth instance. |
Node
Required
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
Ref
Required
func Ref() *string
- Type: *string
Stack
Required
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
Resource
Optional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrBandwidth
Required
func AttrBandwidth() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.
Unit: Mbit/s.
AttrBusinessStatus
Required
func AttrBusinessStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute BusinessStatus: The service status of the Internet Shared Bandwidth instance.
Valid values: Normal: The Internet Shared Bandwidth instance runs as expected. FinancialLocked: An overdue payment occurs in the Internet Shared Bandwidth instance Unactivated: The Internet Shared Bandwidth instance is not activated.
AttrCommonBandwidthPackageId
Required
func AttrCommonBandwidthPackageId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth.
AttrCommonBandwidthPackageName
Required
func AttrCommonBandwidthPackageName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CommonBandwidthPackageName: The name of the Internet Shared Bandwidth instance.
AttrCreationTime
Required
func AttrCreationTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CreationTime: The time when the Internet Shared Bandwidth instance was created.
The time is displayed in the YYYY-MM-DDThh:mm:ssZ format.
AttrDeletionProtection
Required
func AttrDeletionProtection() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DeletionProtection: Indicates whether deletion protection is enabled.
Valid values: false true
AttrDescription
Required
func AttrDescription() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Description: The description of the Internet Shared Bandwidth instance.
AttrExpiredTime
Required
func AttrExpiredTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ExpiredTime: The time when the Internet Shared Bandwidth instance expired.
The time is displayed in the YYYY-MM-DDThh:mm:ssZ format.
AttrHasReservationData
Required
func AttrHasReservationData() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HasReservationData: Indicates whether the information about pending orders is returned.
Valid values: false true
AttrInstanceChargeType
Required
func AttrInstanceChargeType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceChargeType: The billing method of the Internet Shared Bandwidth instance.
Valid value: PostPaid: pay-as-you-go PrePaid: subscription
AttrInternetChargeType
Required
func AttrInternetChargeType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InternetChargeType: The metering method of the Internet Shared Bandwidth instance.
Valid value: PayBy95: Charged by Enhanced 95th Percentile. PayByBandwidth: Charged by Bandwidth. PayByDominantTraffic: Charged by Dominant Traffic.
AttrIsp
Required
func AttrIsp() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Isp: The line type.
Valid values: BGP (default): BGP (Multi-ISP) lines. BGP_PRO: BGP (Multi-ISP) Pro lines. Valid values if you are allowed to use single-ISP bandwidth: ChinaTelecom ChinaUnicom ChinaMobile ChinaTelecom_L2 ChinaUnicom_L2 ChinaMobile_L2
AttrPublicIpAddresses
Required
func AttrPublicIpAddresses() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PublicIpAddresses: The elastic IP addresses (EIPs) that are associated with the Internet Shared Bandwidth instance.
AttrRatio
Required
func AttrRatio() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Ratio: The percentage of the minimum bandwidth commitment.
Only 20 is returned.
AttrReservationActiveTime
Required
func AttrReservationActiveTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ReservationActiveTime: The time when the renewal took effect.
The time is displayed in the YYYY-MM-DDThh:mm:ssZ format.
AttrReservationBandwidth
Required
func AttrReservationBandwidth() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ReservationBandwidth: The new maximum bandwidth after the configurations are changed.
Unit: Mbit/s.
AttrReservationInternetChargeType
Required
func AttrReservationInternetChargeType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ReservationInternetChargeType: The metering method after the configurations are changed.
Valid value: PayBy95: Charged by Enhanced 95th Percentile. PayByBandwidth: Charged by Bandwidth. PayByDominantTraffic: Charged by Dominant Traffic.
AttrReservationOrderType
Required
func AttrReservationOrderType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ReservationOrderType: The renewal method.
Valid values: RENEWCHANGE: renewal with a specification change TEMP_UPGRADE: renewal with a temporary upgrade UPGRADE: renewal with an upgrade
AttrResourceGroupId
Required
func AttrResourceGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ResourceGroupId: The ID of the resource group.
AttrServiceManaged
Required
func AttrServiceManaged() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ServiceManaged: Indicates whether the resource is created by the service account.
Valid values: 0: The resource is not created by the service account. 1: The resource is created by the service account.
AttrStatus
Required
func AttrStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Status: The status of the Internet Shared Bandwidth instance.
Valid values: Available: The Internet Shared Bandwidth instance is available. Modifying: The Internet Shared Bandwidth instance is being modified.