Skip to content

CommonBandwidthPackage

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

This class encapsulates and extends the ROS resource type DATASOURCE::VPC::CommonBandwidthPackage.

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.
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.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.
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.
AttrBandwidth interface{} Attribute Bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.
AttrBusinessStatus interface{} Attribute BusinessStatus: The service status of the Internet Shared Bandwidth instance.
AttrCommonBandwidthPackageId interface{} Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth.
AttrCommonBandwidthPackageName interface{} Attribute CommonBandwidthPackageName: The name of the Internet Shared Bandwidth instance.
AttrCreationTime interface{} Attribute CreationTime: The time when the Internet Shared Bandwidth instance was created.
AttrDeletionProtection interface{} Attribute DeletionProtection: Indicates whether deletion protection is enabled.
AttrDescription interface{} Attribute Description: The description of the Internet Shared Bandwidth instance.
AttrExpiredTime interface{} Attribute ExpiredTime: The time when the Internet Shared Bandwidth instance expired.
AttrHasReservationData interface{} Attribute HasReservationData: Indicates whether the information about pending orders is returned.
AttrInstanceChargeType interface{} Attribute InstanceChargeType: The billing method of the Internet Shared Bandwidth instance.
AttrInternetChargeType interface{} Attribute InternetChargeType: The metering method of the Internet Shared Bandwidth instance.
AttrIsp interface{} Attribute Isp: The line type.
AttrPublicIpAddresses interface{} Attribute PublicIpAddresses: The elastic IP addresses (EIPs) that are associated with the Internet Shared Bandwidth instance.
AttrRatio interface{} Attribute Ratio: The percentage of the minimum bandwidth commitment.
AttrReservationActiveTime interface{} Attribute ReservationActiveTime: The time when the renewal took effect.
AttrReservationBandwidth interface{} Attribute ReservationBandwidth: The new maximum bandwidth after the configurations are changed.
AttrReservationInternetChargeType interface{} Attribute ReservationInternetChargeType: The metering method after the configurations are changed.
AttrReservationOrderType interface{} Attribute ReservationOrderType: The renewal method.
AttrResourceGroupId interface{} Attribute ResourceGroupId: The ID of the resource group.
AttrServiceManaged interface{} Attribute ServiceManaged: Indicates whether the resource is created by the service account.
AttrStatus interface{} Attribute Status: The status of the Internet Shared Bandwidth instance.
Props CommonBandwidthPackageProps 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

AttrBandwidthRequired

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

Attribute Bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.

Unit: Mbit/s.


AttrBusinessStatusRequired

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

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() interface{}
  • Type: interface{}

Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth.


AttrCommonBandwidthPackageNameRequired

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

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


AttrCreationTimeRequired

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

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() interface{}
  • Type: interface{}

Attribute DeletionProtection: Indicates whether deletion protection is enabled.

Valid values: false true


AttrDescriptionRequired

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

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


AttrExpiredTimeRequired

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

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() interface{}
  • Type: interface{}

Attribute HasReservationData: Indicates whether the information about pending orders is returned.

Valid values: false true


AttrInstanceChargeTypeRequired

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

Attribute InstanceChargeType: The billing method of the Internet Shared Bandwidth instance.

Valid value: PostPaid: pay-as-you-go PrePaid: subscription


AttrInternetChargeTypeRequired

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

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() interface{}
  • Type: interface{}

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() interface{}
  • Type: interface{}

Attribute PublicIpAddresses: The elastic IP addresses (EIPs) that are associated with the Internet Shared Bandwidth instance.


AttrRatioRequired

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

Attribute Ratio: The percentage of the minimum bandwidth commitment.

Only 20 is returned.


AttrReservationActiveTimeRequired

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

Attribute ReservationActiveTime: The time when the renewal took effect.

The time is displayed in the YYYY-MM-DDThh:mm:ssZ format.


AttrReservationBandwidthRequired

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

Attribute ReservationBandwidth: The new maximum bandwidth after the configurations are changed.

Unit: Mbit/s.


AttrReservationInternetChargeTypeRequired

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

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() interface{}
  • Type: interface{}

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() interface{}
  • Type: interface{}

Attribute ResourceGroupId: The ID of the resource group.


AttrServiceManagedRequired

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

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() interface{}
  • Type: interface{}

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.


PropsRequired

func Props() CommonBandwidthPackageProps