Skip to content

CommonBandwidthPackage

  • Implements: AlibabaCloud.SDK.ROS.CDK.Vpc.datasource.ICommonBandwidthPackage

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

Initializers

using AlibabaCloud.SDK.ROS.CDK.Vpc;
new CommonBandwidthPackage(Construct Scope, string Id, CommonBandwidthPackageProps Props = null, bool EnableResourcePropertyConstraint = null);
Name Type Description
Scope AlibabaCloud.SDK.ROS.CDK.Core.Construct No description.
Id string No description.
Props CommonBandwidthPackageProps No description.
EnableResourcePropertyConstraint bool No description.

ScopeRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.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

private string ToString()

Returns a string representation of this construct.

Synthesize

private void Synthesize(ISynthesisSession Session)

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: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession

The synthesis session.


AddCondition

private void AddCondition(RosCondition Condition)

ConditionRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition

AddCount

private void AddCount(object Count)

CountRequired

  • Type: object

AddDependency

private void AddDependency(Resource Resource)

ResourceRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource

AddResourceDesc

private void AddResourceDesc(string Desc)

DescRequired

  • Type: string

ApplyRemovalPolicy

private void ApplyRemovalPolicy(RemovalPolicy Policy)

PolicyRequired

  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy

FetchCondition

private RosCondition FetchCondition()

FetchDependency

private string[] FetchDependency()

FetchResourceDesc

private string FetchResourceDesc()

GetAtt

private IResolvable GetAtt(string Name)

NameRequired

  • Type: string

SetMetadata

private void SetMetadata(string Key, object Value)

KeyRequired

  • Type: string

ValueRequired

  • Type: object

Static Functions

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

IsConstruct

using AlibabaCloud.SDK.ROS.CDK.Vpc;
CommonBandwidthPackage.IsConstruct(object X);

Return whether the given object is a Construct.

XRequired

  • Type: object

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node associated with this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Ref string No description.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
Resource AlibabaCloud.SDK.ROS.CDK.Core.RosResource No description.
AttrBandwidth object Attribute Bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.
AttrBusinessStatus object Attribute BusinessStatus: The service status of the Internet Shared Bandwidth instance.
AttrCommonBandwidthPackageId object Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth.
AttrCommonBandwidthPackageName object Attribute CommonBandwidthPackageName: The name of the Internet Shared Bandwidth instance.
AttrCreationTime object Attribute CreationTime: The time when the Internet Shared Bandwidth instance was created.
AttrDeletionProtection object Attribute DeletionProtection: Indicates whether deletion protection is enabled.
AttrDescription object Attribute Description: The description of the Internet Shared Bandwidth instance.
AttrExpiredTime object Attribute ExpiredTime: The time when the Internet Shared Bandwidth instance expired.
AttrHasReservationData object Attribute HasReservationData: Indicates whether the information about pending orders is returned.
AttrInstanceChargeType object Attribute InstanceChargeType: The billing method of the Internet Shared Bandwidth instance.
AttrInternetChargeType object Attribute InternetChargeType: The metering method of the Internet Shared Bandwidth instance.
AttrIsp object Attribute Isp: The line type.
AttrPublicIpAddresses object Attribute PublicIpAddresses: The elastic IP addresses (EIPs) that are associated with the Internet Shared Bandwidth instance.
AttrRatio object Attribute Ratio: The percentage of the minimum bandwidth commitment.
AttrReservationActiveTime object Attribute ReservationActiveTime: The time when the renewal took effect.
AttrReservationBandwidth object Attribute ReservationBandwidth: The new maximum bandwidth after the configurations are changed.
AttrReservationInternetChargeType object Attribute ReservationInternetChargeType: The metering method after the configurations are changed.
AttrReservationOrderType object Attribute ReservationOrderType: The renewal method.
AttrResourceGroupId object Attribute ResourceGroupId: The ID of the resource group.
AttrServiceManaged object Attribute ServiceManaged: Indicates whether the resource is created by the service account.
AttrStatus object Attribute Status: The status of the Internet Shared Bandwidth instance.
Props CommonBandwidthPackageProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node associated with this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.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

public string Ref { get; }
  • Type: string

StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


ResourceOptional

public RosResource Resource { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource

AttrBandwidthRequired

public object AttrBandwidth { get; }
  • Type: object

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

Unit: Mbit/s.


AttrBusinessStatusRequired

public object AttrBusinessStatus { get; }
  • Type: object

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

public object AttrCommonBandwidthPackageId { get; }
  • Type: object

Attribute CommonBandwidthPackageId: The ID of the Internet shared bandwidth.


AttrCommonBandwidthPackageNameRequired

public object AttrCommonBandwidthPackageName { get; }
  • Type: object

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


AttrCreationTimeRequired

public object AttrCreationTime { get; }
  • Type: object

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

public object AttrDeletionProtection { get; }
  • Type: object

Attribute DeletionProtection: Indicates whether deletion protection is enabled.

Valid values: false true


AttrDescriptionRequired

public object AttrDescription { get; }
  • Type: object

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


AttrExpiredTimeRequired

public object AttrExpiredTime { get; }
  • Type: object

Attribute ExpiredTime: The time when the Internet Shared Bandwidth instance expired.

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


AttrHasReservationDataRequired

public object AttrHasReservationData { get; }
  • Type: object

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

Valid values: false true


AttrInstanceChargeTypeRequired

public object AttrInstanceChargeType { get; }
  • Type: object

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

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


AttrInternetChargeTypeRequired

public object AttrInternetChargeType { get; }
  • Type: object

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

public object AttrIsp { get; }
  • Type: object

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

public object AttrPublicIpAddresses { get; }
  • Type: object

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


AttrRatioRequired

public object AttrRatio { get; }
  • Type: object

Attribute Ratio: The percentage of the minimum bandwidth commitment.

Only 20 is returned.


AttrReservationActiveTimeRequired

public object AttrReservationActiveTime { get; }
  • Type: object

Attribute ReservationActiveTime: The time when the renewal took effect.

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


AttrReservationBandwidthRequired

public object AttrReservationBandwidth { get; }
  • Type: object

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

Unit: Mbit/s.


AttrReservationInternetChargeTypeRequired

public object AttrReservationInternetChargeType { get; }
  • Type: object

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

public object AttrReservationOrderType { get; }
  • Type: object

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

public object AttrResourceGroupId { get; }
  • Type: object

Attribute ResourceGroupId: The ID of the resource group.


AttrServiceManagedRequired

public object AttrServiceManaged { get; }
  • Type: object

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

public object AttrStatus { get; }
  • Type: object

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

public CommonBandwidthPackageProps Props { get; }