Skip to content

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.

scopeRequired

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

idRequired

  • Type: *string

propsOptional


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.
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

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.CommonBandwidthPackage_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.
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.

NodeRequired

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

The construct tree node associated with this construct.


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

AttrBandwidthRequired

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.


AttrBusinessStatusRequired

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.


AttrCommonBandwidthPackageIdRequired

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

Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth.


AttrCommonBandwidthPackageNameRequired

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

Attribute CommonBandwidthPackageName: The name of the Internet Shared Bandwidth instance.


AttrCreationTimeRequired

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.


AttrDeletionProtectionRequired

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

Attribute DeletionProtection: Indicates whether deletion protection is enabled.

Valid values: false true


AttrDescriptionRequired

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

Attribute Description: The description of the Internet Shared Bandwidth instance.


AttrExpiredTimeRequired

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.


AttrHasReservationDataRequired

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


AttrInstanceChargeTypeRequired

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


AttrInternetChargeTypeRequired

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.


AttrIspRequired

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


AttrPublicIpAddressesRequired

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.


AttrRatioRequired

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.


AttrReservationActiveTimeRequired

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.


AttrReservationBandwidthRequired

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.


AttrReservationInternetChargeTypeRequired

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.


AttrReservationOrderTypeRequired

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


AttrResourceGroupIdRequired

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

Attribute ResourceGroupId: The ID of the resource group.


AttrServiceManagedRequired

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.


AttrStatusRequired

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.