1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. Ipv6AddressBandwidth
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
resources:
  ipv6AddressBandwidth:
    type: tencentcloud:Ipv6AddressBandwidth
    properties:
      internetChargeType: TRAFFIC_POSTPAID_BY_HOUR
      internetMaxBandwidthOut: 6
      ipv6Address: 2402:4e00:1019:9400:0:9905:a90b:2ef0
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. Ipv6AddressBandwidthArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. Ipv6AddressBandwidthArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. Ipv6AddressBandwidthArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 This property is required. string
IPV6 address that needs to be enabled for public network access.
BandwidthPackageId string
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
InternetChargeType string
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.
InternetMaxBandwidthOut double
Bandwidth, in Mbps. The default is 1Mbps.
Ipv6AddressBandwidthId string
ID of the resource.
Ipv6Address This property is required. string
IPV6 address that needs to be enabled for public network access.
BandwidthPackageId string
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
InternetChargeType string
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.
InternetMaxBandwidthOut float64
Bandwidth, in Mbps. The default is 1Mbps.
Ipv6AddressBandwidthId string
ID of the resource.
ipv6Address This property is required. String
IPV6 address that needs to be enabled for public network access.
bandwidthPackageId String
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
internetChargeType String
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.
internetMaxBandwidthOut Double
Bandwidth, in Mbps. The default is 1Mbps.
ipv6AddressBandwidthId String
ID of the resource.
ipv6Address This property is required. string
IPV6 address that needs to be enabled for public network access.
bandwidthPackageId string
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
internetChargeType string
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.
internetMaxBandwidthOut number
Bandwidth, in Mbps. The default is 1Mbps.
ipv6AddressBandwidthId string
ID of the resource.
ipv6_address This property is required. str
IPV6 address that needs to be enabled for public network access.
bandwidth_package_id str
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_type str
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_bandwidth_out float
Bandwidth, in Mbps. The default is 1Mbps.
ipv6_address_bandwidth_id str
ID of the resource.
ipv6Address This property is required. String
IPV6 address that needs to be enabled for public network access.
bandwidthPackageId String
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
internetChargeType String
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.
internetMaxBandwidthOut Number
Bandwidth, in Mbps. The default is 1Mbps.
ipv6AddressBandwidthId String
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
BandwidthPackageId string
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
InternetChargeType string
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.
InternetMaxBandwidthOut double
Bandwidth, in Mbps. The default is 1Mbps.
Ipv6Address string
IPV6 address that needs to be enabled for public network access.
Ipv6AddressBandwidthId string
ID of the resource.
BandwidthPackageId string
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
InternetChargeType string
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.
InternetMaxBandwidthOut float64
Bandwidth, in Mbps. The default is 1Mbps.
Ipv6Address string
IPV6 address that needs to be enabled for public network access.
Ipv6AddressBandwidthId string
ID of the resource.
bandwidthPackageId String
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
internetChargeType String
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.
internetMaxBandwidthOut Double
Bandwidth, in Mbps. The default is 1Mbps.
ipv6Address String
IPV6 address that needs to be enabled for public network access.
ipv6AddressBandwidthId String
ID of the resource.
bandwidthPackageId string
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
internetChargeType string
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.
internetMaxBandwidthOut number
Bandwidth, in Mbps. The default is 1Mbps.
ipv6Address string
IPV6 address that needs to be enabled for public network access.
ipv6AddressBandwidthId string
ID of the resource.
bandwidth_package_id str
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_type str
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_bandwidth_out float
Bandwidth, in Mbps. The default is 1Mbps.
ipv6_address str
IPV6 address that needs to be enabled for public network access.
ipv6_address_bandwidth_id str
ID of the resource.
bandwidthPackageId String
The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
internetChargeType String
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.
internetMaxBandwidthOut Number
Bandwidth, in Mbps. The default is 1Mbps.
ipv6Address String
IPV6 address that needs to be enabled for public network access.
ipv6AddressBandwidthId String
ID of the resource.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.