alicloud.vpc.CommonBandwithPackage
Explore with Pulumi AI
Import
CBWP Common Bandwidth Package can be imported using the id, e.g.
$ pulumi import alicloud:vpc/commonBandwithPackage:CommonBandwithPackage example <id>
Create CommonBandwithPackage Resource
new CommonBandwithPackage(name: string, args: CommonBandwithPackageArgs, opts?: CustomResourceOptions);
@overload
def CommonBandwithPackage(resource_name: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[str] = None,
bandwidth_package_name: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
force: Optional[str] = None,
internet_charge_type: Optional[str] = None,
isp: Optional[str] = None,
name: Optional[str] = None,
ratio: Optional[int] = None,
resource_group_id: Optional[str] = None,
security_protection_types: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, Any]] = None,
zone: Optional[str] = None)
@overload
def CommonBandwithPackage(resource_name: str,
args: CommonBandwithPackageArgs,
opts: Optional[ResourceOptions] = None)
func NewCommonBandwithPackage(ctx *Context, name string, args CommonBandwithPackageArgs, opts ...ResourceOption) (*CommonBandwithPackage, error)
public CommonBandwithPackage(string name, CommonBandwithPackageArgs args, CustomResourceOptions? opts = null)
public CommonBandwithPackage(String name, CommonBandwithPackageArgs args)
public CommonBandwithPackage(String name, CommonBandwithPackageArgs args, CustomResourceOptions options)
type: alicloud:vpc:CommonBandwithPackage
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args CommonBandwithPackageArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args CommonBandwithPackageArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts docs.
Inputs
The CommonBandwithPackage resource accepts the following input properties:
- Bandwidth string
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- Bandwidth
Package stringName - The name of the Internet Shared Bandwidth instance.
- Deletion
Protection bool - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- Description string
- The description of the shared bandwidth.
- Force string
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- Internet
Charge stringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - Isp string
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - Name string
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- Ratio int
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - Resource
Group stringId - The Id of resource group which the common bandwidth package belongs.
- Security
Protection List<string>Types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - Dictionary<string, object>
- The tag of the resource.
- Zone string
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- Bandwidth string
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- Bandwidth
Package stringName - The name of the Internet Shared Bandwidth instance.
- Deletion
Protection bool - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- Description string
- The description of the shared bandwidth.
- Force string
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- Internet
Charge stringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - Isp string
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - Name string
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- Ratio int
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - Resource
Group stringId - The Id of resource group which the common bandwidth package belongs.
- Security
Protection []stringTypes - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - map[string]interface{}
- The tag of the resource.
- Zone string
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth String
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- bandwidth
Package StringName - The name of the Internet Shared Bandwidth instance.
- deletion
Protection Boolean - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- description String
- The description of the shared bandwidth.
- force String
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- internet
Charge StringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - isp String
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - name String
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio Integer
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - resource
Group StringId - The Id of resource group which the common bandwidth package belongs.
- security
Protection List<String>Types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - Map<String,Object>
- The tag of the resource.
- zone String
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth string
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- bandwidth
Package stringName - The name of the Internet Shared Bandwidth instance.
- deletion
Protection boolean - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- description string
- The description of the shared bandwidth.
- force string
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- internet
Charge stringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - isp string
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - name string
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio number
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - resource
Group stringId - The Id of resource group which the common bandwidth package belongs.
- security
Protection string[]Types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - {[key: string]: any}
- The tag of the resource.
- zone string
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth str
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- bandwidth_
package_ strname - The name of the Internet Shared Bandwidth instance.
- deletion_
protection bool - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- description str
- The description of the shared bandwidth.
- force str
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- internet_
charge_ strtype - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - isp str
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - name str
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio int
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - resource_
group_ strid - The Id of resource group which the common bandwidth package belongs.
- security_
protection_ Sequence[str]types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - Mapping[str, Any]
- The tag of the resource.
- zone str
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth String
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- bandwidth
Package StringName - The name of the Internet Shared Bandwidth instance.
- deletion
Protection Boolean - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- description String
- The description of the shared bandwidth.
- force String
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- internet
Charge StringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - isp String
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - name String
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- ratio Number
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - resource
Group StringId - The Id of resource group which the common bandwidth package belongs.
- security
Protection List<String>Types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - Map<Any>
- The tag of the resource.
- zone String
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
Outputs
All input properties are implicitly available as output properties. Additionally, the CommonBandwithPackage resource produces the following output properties:
- Create
Time string - The create time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Payment
Type string - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - Status string
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- Create
Time string - The create time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Payment
Type string - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - Status string
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- create
Time String - The create time.
- id String
- The provider-assigned unique ID for this managed resource.
- payment
Type String - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - status String
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- create
Time string - The create time.
- id string
- The provider-assigned unique ID for this managed resource.
- payment
Type string - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - status string
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- create_
time str - The create time.
- id str
- The provider-assigned unique ID for this managed resource.
- payment_
type str - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - status str
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- create
Time String - The create time.
- id String
- The provider-assigned unique ID for this managed resource.
- payment
Type String - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - status String
- The status of the Internet Shared Bandwidth instance. Default value: Available.
Look up 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): CommonBandwithPackage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[str] = None,
bandwidth_package_name: Optional[str] = None,
create_time: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
force: Optional[str] = None,
internet_charge_type: Optional[str] = None,
isp: Optional[str] = None,
name: Optional[str] = None,
payment_type: Optional[str] = None,
ratio: Optional[int] = None,
resource_group_id: Optional[str] = None,
security_protection_types: Optional[Sequence[str]] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
zone: Optional[str] = None) -> CommonBandwithPackage
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)
public static CommonBandwithPackage get(String name, Output<String> id, CommonBandwithPackageState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Bandwidth string
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- Bandwidth
Package stringName - The name of the Internet Shared Bandwidth instance.
- Create
Time string - The create time.
- Deletion
Protection bool - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- Description string
- The description of the shared bandwidth.
- Force string
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- Internet
Charge stringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - Isp string
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - Name string
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- Payment
Type string - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - Ratio int
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - Resource
Group stringId - The Id of resource group which the common bandwidth package belongs.
- Security
Protection List<string>Types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - Status string
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- Dictionary<string, object>
- The tag of the resource.
- Zone string
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- Bandwidth string
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- Bandwidth
Package stringName - The name of the Internet Shared Bandwidth instance.
- Create
Time string - The create time.
- Deletion
Protection bool - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- Description string
- The description of the shared bandwidth.
- Force string
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- Internet
Charge stringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - Isp string
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - Name string
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- Payment
Type string - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - Ratio int
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - Resource
Group stringId - The Id of resource group which the common bandwidth package belongs.
- Security
Protection []stringTypes - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - Status string
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- map[string]interface{}
- The tag of the resource.
- Zone string
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth String
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- bandwidth
Package StringName - The name of the Internet Shared Bandwidth instance.
- create
Time String - The create time.
- deletion
Protection Boolean - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- description String
- The description of the shared bandwidth.
- force String
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- internet
Charge StringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - isp String
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - name String
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- payment
Type String - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - ratio Integer
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - resource
Group StringId - The Id of resource group which the common bandwidth package belongs.
- security
Protection List<String>Types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - status String
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- Map<String,Object>
- The tag of the resource.
- zone String
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth string
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- bandwidth
Package stringName - The name of the Internet Shared Bandwidth instance.
- create
Time string - The create time.
- deletion
Protection boolean - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- description string
- The description of the shared bandwidth.
- force string
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- internet
Charge stringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - isp string
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - name string
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- payment
Type string - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - ratio number
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - resource
Group stringId - The Id of resource group which the common bandwidth package belongs.
- security
Protection string[]Types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - status string
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- {[key: string]: any}
- The tag of the resource.
- zone string
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth str
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- bandwidth_
package_ strname - The name of the Internet Shared Bandwidth instance.
- create_
time str - The create time.
- deletion_
protection bool - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- description str
- The description of the shared bandwidth.
- force str
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- internet_
charge_ strtype - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - isp str
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - name str
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- payment_
type str - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - ratio int
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - resource_
group_ strid - The Id of resource group which the common bandwidth package belongs.
- security_
protection_ Sequence[str]types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - status str
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- Mapping[str, Any]
- The tag of the resource.
- zone str
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
- bandwidth String
- The peak bandwidth of the shared bandwidth. Unit: Mbps. Valid values: [2, 20000] for China-Site account; [1, 5000] for International-Site account. See Account Guide details.
- bandwidth
Package StringName - The name of the Internet Shared Bandwidth instance.
- create
Time String - The create time.
- deletion
Protection Boolean - Whether enable the deletion protection or not. Default value: false.
- true: Enable deletion protection.
- false: Disable deletion protection.
- description String
- The description of the shared bandwidth.
- force String
- Whether to forcibly delete an Internet Shared Bandwidth instance. Value:
- false (default): only the internet shared bandwidth that does not contain the EIP is deleted.
- true: removes all EIPs from the internet shared bandwidth instance and deletes the internet shared bandwidth.
- internet
Charge StringType - The billing method of the common bandwidth package. Valid values are
PayByBandwidth
andPayBy95
andPayByTraffic
,PayByDominantTraffic
.PayBy95
is pay by classic 95th percentile pricing. International-Site Account doesn't supportPayByBandwidth
andPayBy95
. Default toPayByTraffic
. NOTE: From 1.176.0+,PayByDominantTraffic
is available. - isp String
- The type of the Internet Service Provider. Valid values:
BGP
,BGP_PRO
,ChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
andBGP_FinanceCloud
. Default toBGP
. NOTE: From version 1.203.0, isp can be set toChinaTelecom
,ChinaUnicom
,ChinaMobile
,ChinaTelecom_L2
,ChinaUnicom_L2
,ChinaMobile_L2
,BGP_FinanceCloud
,BGP_International
. - name String
- . Field 'name' has been deprecated from provider version 1.120.0. New field 'bandwidth_package_name' instead.
- payment
Type String - The billing type of the Internet Shared Bandwidth instance. Valid values:
PayAsYouGo
,Subscription
. - ratio Number
- Ratio of the common bandwidth package. It is valid when
internet_charge_type
isPayBy95
. Default to 100. Valid values: [10-100]. - resource
Group StringId - The Id of resource group which the common bandwidth package belongs.
- security
Protection List<String>Types - The edition of Anti-DDoS. If you do not set this parameter, Anti-DDoS Origin Basic is used. If you set the value to AntiDDoS_Enhanced, Anti-DDoS Pro(Premium) is used. It is valid when
internet_charge_type
isPayBy95
. - status String
- The status of the Internet Shared Bandwidth instance. Default value: Available.
- Map<Any>
- The tag of the resource.
- zone String
The available area of the shared bandwidth.
The following arguments will be discarded. Please use new fields as soon as possible:
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.