Class CommonBandwithPackage
Inherited Members
Namespace: Pulumi.AliCloud.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public class CommonBandwithPackage : CustomResource
Constructors
View SourceCommonBandwithPackage(String, CommonBandwithPackageArgs, CustomResourceOptions)
Create a CommonBandwithPackage resource with the given unique name, arguments, and options.
Declaration
public CommonBandwithPackage(string name, CommonBandwithPackageArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| CommonBandwithPackageArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceBandwidth
The bandwidth of the common bandwidth package, in Mbps.
Declaration
public Output<int> Bandwidth { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Description
The description of the common bandwidth package instance.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InternetChargeType
The billing method of the common bandwidth package. Valid values are "PayByBandwidth" and "PayBy95" and "PayByTraffic". "PayBy95" is pay by classic 95th percentile pricing. International Account doesn't supports "PayByBandwidth" and "PayBy95". Default to "PayByTraffic".
Declaration
public Output<string> InternetChargeType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the common bandwidth package.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Ratio
Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].
Declaration
public Output<int?> Ratio { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
ResourceGroupId
The Id of resource group which the common bandwidth package belongs.
Declaration
public Output<string> ResourceGroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, CommonBandwithPackageState, CustomResourceOptions)
Get an existing CommonBandwithPackage resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static CommonBandwithPackage Get(string name, Input<string> id, CommonBandwithPackageState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| CommonBandwithPackageState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| CommonBandwithPackage |