CommonBandwithPackage
Create a CommonBandwithPackage Resource
new CommonBandwithPackage(name: string, args: CommonBandwithPackageArgs, opts?: CustomResourceOptions);def CommonBandwithPackage(resource_name, opts=None, bandwidth=None, description=None, internet_charge_type=None, name=None, ratio=None, resource_group_id=None, __props__=None);func NewCommonBandwithPackage(ctx *Context, name string, args CommonBandwithPackageArgs, opts ...ResourceOption) (*CommonBandwithPackage, error)public CommonBandwithPackage(string name, CommonBandwithPackageArgs args, CustomResourceOptions? opts = null)- 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.
- Internet
Charge stringType 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_typeisPayBy95. Default to 100. Valid values: [10-100].- Resource
Group stringId 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.
- Internet
Charge stringType 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_typeisPayBy95. Default to 100. Valid values: [10-100].- Resource
Group stringId 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.
- internet
Charge stringType 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_typeisPayBy95. Default to 100. Valid values: [10-100].- resource
Group stringId 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_ strtype 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_typeisPayBy95. Default to 100. Valid values: [10-100].- resource_
group_ strid 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:
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.
public static get(name: string, id: Input<ID>, state?: CommonBandwithPackageState, opts?: CustomResourceOptions): CommonBandwithPackagestatic 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)public static CommonBandwithPackage Get(string name, Input<string> id, CommonBandwithPackageState? state, CustomResourceOptions? opts = null)- 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.
- Internet
Charge stringType 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_typeisPayBy95. Default to 100. Valid values: [10-100].- Resource
Group stringId 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.
- Internet
Charge stringType 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_typeisPayBy95. Default to 100. Valid values: [10-100].- Resource
Group stringId 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.
- internet
Charge stringType 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_typeisPayBy95. Default to 100. Valid values: [10-100].- resource
Group stringId 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_ strtype 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_typeisPayBy95. Default to 100. Valid values: [10-100].- resource_
group_ strid 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
alicloudTerraform Provider.