tencentcloud.Ipv6AddressBandwidth
Explore with Pulumi AI
Provides a resource to create a ipv6_address_bandwidth
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const ipv6AddressBandwidth = new tencentcloud.Ipv6AddressBandwidth("ipv6AddressBandwidth", {
internetChargeType: "TRAFFIC_POSTPAID_BY_HOUR",
internetMaxBandwidthOut: 6,
ipv6Address: "2402:4e00:1019:9400:0:9905:a90b:2ef0",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
ipv6_address_bandwidth = tencentcloud.Ipv6AddressBandwidth("ipv6AddressBandwidth",
internet_charge_type="TRAFFIC_POSTPAID_BY_HOUR",
internet_max_bandwidth_out=6,
ipv6_address="2402:4e00:1019:9400:0:9905:a90b:2ef0")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewIpv6AddressBandwidth(ctx, "ipv6AddressBandwidth", &tencentcloud.Ipv6AddressBandwidthArgs{
InternetChargeType: pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
InternetMaxBandwidthOut: pulumi.Float64(6),
Ipv6Address: pulumi.String("2402:4e00:1019:9400:0:9905:a90b:2ef0"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var ipv6AddressBandwidth = new Tencentcloud.Ipv6AddressBandwidth("ipv6AddressBandwidth", new()
{
InternetChargeType = "TRAFFIC_POSTPAID_BY_HOUR",
InternetMaxBandwidthOut = 6,
Ipv6Address = "2402:4e00:1019:9400:0:9905:a90b:2ef0",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Ipv6AddressBandwidth;
import com.pulumi.tencentcloud.Ipv6AddressBandwidthArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var ipv6AddressBandwidth = new Ipv6AddressBandwidth("ipv6AddressBandwidth", Ipv6AddressBandwidthArgs.builder()
.internetChargeType("TRAFFIC_POSTPAID_BY_HOUR")
.internetMaxBandwidthOut(6)
.ipv6Address("2402:4e00:1019:9400:0:9905:a90b:2ef0")
.build());
}
}
resources:
ipv6AddressBandwidth:
type: tencentcloud:Ipv6AddressBandwidth
properties:
internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
internetMaxBandwidthOut: 6
ipv6Address: 2402:4e00:1019:9400:0:9905:a90b:2ef0
Create Ipv6AddressBandwidth Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ipv6AddressBandwidth(name: string, args: Ipv6AddressBandwidthArgs, opts?: CustomResourceOptions);
@overload
def Ipv6AddressBandwidth(resource_name: str,
args: Ipv6AddressBandwidthArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Ipv6AddressBandwidth(resource_name: str,
opts: Optional[ResourceOptions] = None,
ipv6_address: Optional[str] = None,
bandwidth_package_id: Optional[str] = None,
internet_charge_type: Optional[str] = None,
internet_max_bandwidth_out: Optional[float] = None,
ipv6_address_bandwidth_id: Optional[str] = None)
func NewIpv6AddressBandwidth(ctx *Context, name string, args Ipv6AddressBandwidthArgs, opts ...ResourceOption) (*Ipv6AddressBandwidth, error)
public Ipv6AddressBandwidth(string name, Ipv6AddressBandwidthArgs args, CustomResourceOptions? opts = null)
public Ipv6AddressBandwidth(String name, Ipv6AddressBandwidthArgs args)
public Ipv6AddressBandwidth(String name, Ipv6AddressBandwidthArgs args, CustomResourceOptions options)
type: tencentcloud:Ipv6AddressBandwidth
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args Ipv6AddressBandwidthArgs
- 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 Ipv6AddressBandwidthArgs
- 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 Ipv6AddressBandwidthArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Ipv6AddressBandwidthArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Ipv6AddressBandwidthArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Ipv6AddressBandwidth Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Ipv6AddressBandwidth resource accepts the following input properties:
- Ipv6Address string
- IPV6 address that needs to be enabled for public network access.
- Bandwidth
Package stringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- Internet
Charge stringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - Internet
Max doubleBandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- Ipv6Address
Bandwidth stringId - ID of the resource.
- Ipv6Address string
- IPV6 address that needs to be enabled for public network access.
- Bandwidth
Package stringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- Internet
Charge stringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - Internet
Max float64Bandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- Ipv6Address
Bandwidth stringId - ID of the resource.
- ipv6Address String
- IPV6 address that needs to be enabled for public network access.
- bandwidth
Package StringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- internet
Charge StringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - internet
Max DoubleBandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- ipv6Address
Bandwidth StringId - ID of the resource.
- ipv6Address string
- IPV6 address that needs to be enabled for public network access.
- bandwidth
Package stringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- internet
Charge stringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - internet
Max numberBandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- ipv6Address
Bandwidth stringId - ID of the resource.
- ipv6_
address str - IPV6 address that needs to be enabled for public network access.
- bandwidth_
package_ strid - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- internet_
charge_ strtype - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - internet_
max_ floatbandwidth_ out - Bandwidth, in Mbps. The default is 1Mbps.
- ipv6_
address_ strbandwidth_ id - ID of the resource.
- ipv6Address String
- IPV6 address that needs to be enabled for public network access.
- bandwidth
Package StringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- internet
Charge StringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - internet
Max NumberBandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- ipv6Address
Bandwidth StringId - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ipv6AddressBandwidth 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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Ipv6AddressBandwidth Resource
Get an existing Ipv6AddressBandwidth 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?: Ipv6AddressBandwidthState, opts?: CustomResourceOptions): Ipv6AddressBandwidth
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth_package_id: Optional[str] = None,
internet_charge_type: Optional[str] = None,
internet_max_bandwidth_out: Optional[float] = None,
ipv6_address: Optional[str] = None,
ipv6_address_bandwidth_id: Optional[str] = None) -> Ipv6AddressBandwidth
func GetIpv6AddressBandwidth(ctx *Context, name string, id IDInput, state *Ipv6AddressBandwidthState, opts ...ResourceOption) (*Ipv6AddressBandwidth, error)
public static Ipv6AddressBandwidth Get(string name, Input<string> id, Ipv6AddressBandwidthState? state, CustomResourceOptions? opts = null)
public static Ipv6AddressBandwidth get(String name, Output<String> id, Ipv6AddressBandwidthState state, CustomResourceOptions options)
resources: _: type: tencentcloud:Ipv6AddressBandwidth get: id: ${id}
- 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
Package stringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- Internet
Charge stringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - Internet
Max doubleBandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- Ipv6Address string
- IPV6 address that needs to be enabled for public network access.
- Ipv6Address
Bandwidth stringId - ID of the resource.
- Bandwidth
Package stringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- Internet
Charge stringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - Internet
Max float64Bandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- Ipv6Address string
- IPV6 address that needs to be enabled for public network access.
- Ipv6Address
Bandwidth stringId - ID of the resource.
- bandwidth
Package StringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- internet
Charge StringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - internet
Max DoubleBandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- ipv6Address String
- IPV6 address that needs to be enabled for public network access.
- ipv6Address
Bandwidth StringId - ID of the resource.
- bandwidth
Package stringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- internet
Charge stringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - internet
Max numberBandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- ipv6Address string
- IPV6 address that needs to be enabled for public network access.
- ipv6Address
Bandwidth stringId - ID of the resource.
- bandwidth_
package_ strid - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- internet_
charge_ strtype - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - internet_
max_ floatbandwidth_ out - Bandwidth, in Mbps. The default is 1Mbps.
- ipv6_
address str - IPV6 address that needs to be enabled for public network access.
- ipv6_
address_ strbandwidth_ id - ID of the resource.
- bandwidth
Package StringId - The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
- internet
Charge StringType - Network billing mode. IPV6 currently supports:
TRAFFIC_POSTPAID_BY_HOUR
, for standard account types;BANDWIDTH_PACKAGE
, for traditional account types. The default network billing mode is:TRAFFIC_POSTPAID_BY_HOUR
. - internet
Max NumberBandwidth Out - Bandwidth, in Mbps. The default is 1Mbps.
- ipv6Address String
- IPV6 address that needs to be enabled for public network access.
- ipv6Address
Bandwidth StringId - ID of the resource.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.