CommonBandwithPackage

Create a CommonBandwithPackage Resource

def CommonBandwithPackage(resource_name, opts=None, bandwidth=None, description=None, internet_charge_type=None, name=None, ratio=None, resource_group_id=None, __props__=None);
name string
The unique name of the resource.
args CommonBandwithPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CommonBandwithPackageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CommonBandwithPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

CommonBandwithPackage Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The CommonBandwithPackage resource accepts the following input properties:

Bandwidth int

The bandwidth of the common bandwidth package, in Mbps.

Description string

The description of the common bandwidth package instance.

InternetChargeType string

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

Name string

The name of the common bandwidth package.

Ratio int

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].

ResourceGroupId string

The Id of resource group which the common bandwidth package belongs.

Bandwidth int

The bandwidth of the common bandwidth package, in Mbps.

Description string

The description of the common bandwidth package instance.

InternetChargeType string

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

Name string

The name of the common bandwidth package.

Ratio int

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].

ResourceGroupId string

The Id of resource group which the common bandwidth package belongs.

bandwidth number

The bandwidth of the common bandwidth package, in Mbps.

description string

The description of the common bandwidth package instance.

internetChargeType string

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

name string

The name of the common bandwidth package.

ratio number

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].

resourceGroupId string

The Id of resource group which the common bandwidth package belongs.

bandwidth float

The bandwidth of the common bandwidth package, in Mbps.

description str

The description of the common bandwidth package instance.

internet_charge_type str

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

name str

The name of the common bandwidth package.

ratio float

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].

resource_group_id str

The Id of resource group which the common bandwidth package belongs.

Outputs

All input properties are implicitly available as output properties. Additionally, the CommonBandwithPackage resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing CommonBandwithPackage Resource

Get an existing CommonBandwithPackage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, bandwidth=None, description=None, internet_charge_type=None, name=None, ratio=None, resource_group_id=None, __props__=None);
func GetCommonBandwithPackage(ctx *Context, name string, id IDInput, state *CommonBandwithPackageState, opts ...ResourceOption) (*CommonBandwithPackage, error)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Bandwidth int

The bandwidth of the common bandwidth package, in Mbps.

Description string

The description of the common bandwidth package instance.

InternetChargeType string

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

Name string

The name of the common bandwidth package.

Ratio int

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].

ResourceGroupId string

The Id of resource group which the common bandwidth package belongs.

Bandwidth int

The bandwidth of the common bandwidth package, in Mbps.

Description string

The description of the common bandwidth package instance.

InternetChargeType string

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

Name string

The name of the common bandwidth package.

Ratio int

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].

ResourceGroupId string

The Id of resource group which the common bandwidth package belongs.

bandwidth number

The bandwidth of the common bandwidth package, in Mbps.

description string

The description of the common bandwidth package instance.

internetChargeType string

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

name string

The name of the common bandwidth package.

ratio number

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].

resourceGroupId string

The Id of resource group which the common bandwidth package belongs.

bandwidth float

The bandwidth of the common bandwidth package, in Mbps.

description str

The description of the common bandwidth package instance.

internet_charge_type str

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

name str

The name of the common bandwidth package.

ratio float

Ratio of the common bandwidth package. It is valid when internet_charge_type is PayBy95. Default to 100. Valid values: [10-100].

resource_group_id str

The Id of resource group which the common bandwidth package belongs.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.