ipv6

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AddressBandwidth

type AddressBandwidth struct {
	pulumi.CustomResourceState

	// The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
	BandwidthPackageId pulumi.StringPtrOutput `pulumi:"bandwidthPackageId"`
	// 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`.
	InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"`
	// Bandwidth, in Mbps. The default is 1Mbps.
	InternetMaxBandwidthOut pulumi.IntPtrOutput `pulumi:"internetMaxBandwidthOut"`
	// IPV6 address that needs to be enabled for public network access.
	Ipv6Address pulumi.StringOutput `pulumi:"ipv6Address"`
}

Provides a resource to create a ipv6AddressBandwidth

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ipv6"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ipv6.NewAddressBandwidth(ctx, "ipv6AddressBandwidth", &Ipv6.AddressBandwidthArgs{
			InternetChargeType:      pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"),
			InternetMaxBandwidthOut: pulumi.Int(6),
			Ipv6Address:             pulumi.String("2402:4e00:1019:9400:0:9905:a90b:2ef0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetAddressBandwidth

func GetAddressBandwidth(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AddressBandwidthState, opts ...pulumi.ResourceOption) (*AddressBandwidth, error)

GetAddressBandwidth gets an existing AddressBandwidth resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAddressBandwidth

func NewAddressBandwidth(ctx *pulumi.Context,
	name string, args *AddressBandwidthArgs, opts ...pulumi.ResourceOption) (*AddressBandwidth, error)

NewAddressBandwidth registers a new resource with the given unique name, arguments, and options.

func (*AddressBandwidth) ElementType

func (*AddressBandwidth) ElementType() reflect.Type

func (*AddressBandwidth) ToAddressBandwidthOutput

func (i *AddressBandwidth) ToAddressBandwidthOutput() AddressBandwidthOutput

func (*AddressBandwidth) ToAddressBandwidthOutputWithContext

func (i *AddressBandwidth) ToAddressBandwidthOutputWithContext(ctx context.Context) AddressBandwidthOutput

type AddressBandwidthArgs

type AddressBandwidthArgs struct {
	// The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
	BandwidthPackageId pulumi.StringPtrInput
	// 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`.
	InternetChargeType pulumi.StringPtrInput
	// Bandwidth, in Mbps. The default is 1Mbps.
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// IPV6 address that needs to be enabled for public network access.
	Ipv6Address pulumi.StringInput
}

The set of arguments for constructing a AddressBandwidth resource.

func (AddressBandwidthArgs) ElementType

func (AddressBandwidthArgs) ElementType() reflect.Type

type AddressBandwidthArray

type AddressBandwidthArray []AddressBandwidthInput

func (AddressBandwidthArray) ElementType

func (AddressBandwidthArray) ElementType() reflect.Type

func (AddressBandwidthArray) ToAddressBandwidthArrayOutput

func (i AddressBandwidthArray) ToAddressBandwidthArrayOutput() AddressBandwidthArrayOutput

func (AddressBandwidthArray) ToAddressBandwidthArrayOutputWithContext

func (i AddressBandwidthArray) ToAddressBandwidthArrayOutputWithContext(ctx context.Context) AddressBandwidthArrayOutput

type AddressBandwidthArrayInput

type AddressBandwidthArrayInput interface {
	pulumi.Input

	ToAddressBandwidthArrayOutput() AddressBandwidthArrayOutput
	ToAddressBandwidthArrayOutputWithContext(context.Context) AddressBandwidthArrayOutput
}

AddressBandwidthArrayInput is an input type that accepts AddressBandwidthArray and AddressBandwidthArrayOutput values. You can construct a concrete instance of `AddressBandwidthArrayInput` via:

AddressBandwidthArray{ AddressBandwidthArgs{...} }

type AddressBandwidthArrayOutput

type AddressBandwidthArrayOutput struct{ *pulumi.OutputState }

func (AddressBandwidthArrayOutput) ElementType

func (AddressBandwidthArrayOutput) Index

func (AddressBandwidthArrayOutput) ToAddressBandwidthArrayOutput

func (o AddressBandwidthArrayOutput) ToAddressBandwidthArrayOutput() AddressBandwidthArrayOutput

func (AddressBandwidthArrayOutput) ToAddressBandwidthArrayOutputWithContext

func (o AddressBandwidthArrayOutput) ToAddressBandwidthArrayOutputWithContext(ctx context.Context) AddressBandwidthArrayOutput

type AddressBandwidthInput

type AddressBandwidthInput interface {
	pulumi.Input

	ToAddressBandwidthOutput() AddressBandwidthOutput
	ToAddressBandwidthOutputWithContext(ctx context.Context) AddressBandwidthOutput
}

type AddressBandwidthMap

type AddressBandwidthMap map[string]AddressBandwidthInput

func (AddressBandwidthMap) ElementType

func (AddressBandwidthMap) ElementType() reflect.Type

func (AddressBandwidthMap) ToAddressBandwidthMapOutput

func (i AddressBandwidthMap) ToAddressBandwidthMapOutput() AddressBandwidthMapOutput

func (AddressBandwidthMap) ToAddressBandwidthMapOutputWithContext

func (i AddressBandwidthMap) ToAddressBandwidthMapOutputWithContext(ctx context.Context) AddressBandwidthMapOutput

type AddressBandwidthMapInput

type AddressBandwidthMapInput interface {
	pulumi.Input

	ToAddressBandwidthMapOutput() AddressBandwidthMapOutput
	ToAddressBandwidthMapOutputWithContext(context.Context) AddressBandwidthMapOutput
}

AddressBandwidthMapInput is an input type that accepts AddressBandwidthMap and AddressBandwidthMapOutput values. You can construct a concrete instance of `AddressBandwidthMapInput` via:

AddressBandwidthMap{ "key": AddressBandwidthArgs{...} }

type AddressBandwidthMapOutput

type AddressBandwidthMapOutput struct{ *pulumi.OutputState }

func (AddressBandwidthMapOutput) ElementType

func (AddressBandwidthMapOutput) ElementType() reflect.Type

func (AddressBandwidthMapOutput) MapIndex

func (AddressBandwidthMapOutput) ToAddressBandwidthMapOutput

func (o AddressBandwidthMapOutput) ToAddressBandwidthMapOutput() AddressBandwidthMapOutput

func (AddressBandwidthMapOutput) ToAddressBandwidthMapOutputWithContext

func (o AddressBandwidthMapOutput) ToAddressBandwidthMapOutputWithContext(ctx context.Context) AddressBandwidthMapOutput

type AddressBandwidthOutput

type AddressBandwidthOutput struct{ *pulumi.OutputState }

func (AddressBandwidthOutput) BandwidthPackageId

func (o AddressBandwidthOutput) BandwidthPackageId() pulumi.StringPtrOutput

The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.

func (AddressBandwidthOutput) ElementType

func (AddressBandwidthOutput) ElementType() reflect.Type

func (AddressBandwidthOutput) InternetChargeType

func (o AddressBandwidthOutput) InternetChargeType() pulumi.StringPtrOutput

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

func (AddressBandwidthOutput) InternetMaxBandwidthOut

func (o AddressBandwidthOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

Bandwidth, in Mbps. The default is 1Mbps.

func (AddressBandwidthOutput) Ipv6Address

func (o AddressBandwidthOutput) Ipv6Address() pulumi.StringOutput

IPV6 address that needs to be enabled for public network access.

func (AddressBandwidthOutput) ToAddressBandwidthOutput

func (o AddressBandwidthOutput) ToAddressBandwidthOutput() AddressBandwidthOutput

func (AddressBandwidthOutput) ToAddressBandwidthOutputWithContext

func (o AddressBandwidthOutput) ToAddressBandwidthOutputWithContext(ctx context.Context) AddressBandwidthOutput

type AddressBandwidthState

type AddressBandwidthState struct {
	// The bandwidth package id, the Legacy account and the ipv6 address to apply for the bandwidth package charge type need to be passed in.
	BandwidthPackageId pulumi.StringPtrInput
	// 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`.
	InternetChargeType pulumi.StringPtrInput
	// Bandwidth, in Mbps. The default is 1Mbps.
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// IPV6 address that needs to be enabled for public network access.
	Ipv6Address pulumi.StringPtrInput
}

func (AddressBandwidthState) ElementType

func (AddressBandwidthState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL