UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

198 lines (197 loc) 6.31 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * import * as volcengine from "@volcengine/pulumi"; * * const dataEcs = volcengine.ecs.getInstances({ * ids: ["i-ycal1mtpucl8j0hjiihy"], * }); * const dataIpv6 = dataEcs.then(dataEcs => volcengine.vpc.getIpv6Addresses({ * associatedInstanceId: dataEcs.instances?.[0]?.instanceId, * })); * const foo = new volcengine.vpc.Ipv6AddressBandwidth("foo", { * ipv6Address: dataIpv6.then(dataIpv6 => dataIpv6.ipv6Addresses?.[0]?.ipv6Address), * billingType: "PostPaidByBandwidth", * bandwidth: 5, * }); * ``` * * ## Import * * Ipv6AddressBandwidth can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:vpc/ipv6AddressBandwidth:Ipv6AddressBandwidth default eip-2fede9fsgnr4059gp674m6ney * ``` */ export declare class Ipv6AddressBandwidth extends pulumi.CustomResource { /** * Get an existing Ipv6AddressBandwidth resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: Ipv6AddressBandwidthState, opts?: pulumi.CustomResourceOptions): Ipv6AddressBandwidth; /** * Returns true if the given object is an instance of Ipv6AddressBandwidth. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Ipv6AddressBandwidth; /** * The ID of the Ipv6AddressBandwidth. */ readonly allocationId: pulumi.Output<string>; /** * Peek bandwidth of the Ipv6 address. Valid values: 1 to 200. Unit: Mbit/s. */ readonly bandwidth: pulumi.Output<number>; /** * BillingType of the Ipv6 bandwidth. Valid values: `PostPaidByBandwidth`; `PostPaidByTraffic`. */ readonly billingType: pulumi.Output<string>; /** * The BusinessStatus of the Ipv6AddressBandwidth. */ readonly businessStatus: pulumi.Output<string>; /** * Creation time of the Ipv6AddressBandwidth. */ readonly creationTime: pulumi.Output<string>; /** * Delete time of the Ipv6AddressBandwidth. */ readonly deleteTime: pulumi.Output<string>; /** * The ID of the associated instance. */ readonly instanceId: pulumi.Output<string>; /** * The type of the associated instance. */ readonly instanceType: pulumi.Output<string>; /** * Ipv6 address. */ readonly ipv6Address: pulumi.Output<string>; /** * The ISP of the Ipv6AddressBandwidth. */ readonly isp: pulumi.Output<string>; /** * The BusinessStatus of the Ipv6AddressBandwidth. */ readonly lockReason: pulumi.Output<string>; /** * The network type of the Ipv6AddressBandwidth. */ readonly networkType: pulumi.Output<string>; /** * Overdue time of the Ipv6AddressBandwidth. */ readonly overdueTime: pulumi.Output<string>; /** * The status of the Ipv6AddressBandwidth. */ readonly status: pulumi.Output<string>; /** * Update time of the Ipv6AddressBandwidth. */ readonly updateTime: pulumi.Output<string>; /** * Create a Ipv6AddressBandwidth resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: Ipv6AddressBandwidthArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Ipv6AddressBandwidth resources. */ export interface Ipv6AddressBandwidthState { /** * The ID of the Ipv6AddressBandwidth. */ allocationId?: pulumi.Input<string>; /** * Peek bandwidth of the Ipv6 address. Valid values: 1 to 200. Unit: Mbit/s. */ bandwidth?: pulumi.Input<number>; /** * BillingType of the Ipv6 bandwidth. Valid values: `PostPaidByBandwidth`; `PostPaidByTraffic`. */ billingType?: pulumi.Input<string>; /** * The BusinessStatus of the Ipv6AddressBandwidth. */ businessStatus?: pulumi.Input<string>; /** * Creation time of the Ipv6AddressBandwidth. */ creationTime?: pulumi.Input<string>; /** * Delete time of the Ipv6AddressBandwidth. */ deleteTime?: pulumi.Input<string>; /** * The ID of the associated instance. */ instanceId?: pulumi.Input<string>; /** * The type of the associated instance. */ instanceType?: pulumi.Input<string>; /** * Ipv6 address. */ ipv6Address?: pulumi.Input<string>; /** * The ISP of the Ipv6AddressBandwidth. */ isp?: pulumi.Input<string>; /** * The BusinessStatus of the Ipv6AddressBandwidth. */ lockReason?: pulumi.Input<string>; /** * The network type of the Ipv6AddressBandwidth. */ networkType?: pulumi.Input<string>; /** * Overdue time of the Ipv6AddressBandwidth. */ overdueTime?: pulumi.Input<string>; /** * The status of the Ipv6AddressBandwidth. */ status?: pulumi.Input<string>; /** * Update time of the Ipv6AddressBandwidth. */ updateTime?: pulumi.Input<string>; } /** * The set of arguments for constructing a Ipv6AddressBandwidth resource. */ export interface Ipv6AddressBandwidthArgs { /** * Peek bandwidth of the Ipv6 address. Valid values: 1 to 200. Unit: Mbit/s. */ bandwidth?: pulumi.Input<number>; /** * BillingType of the Ipv6 bandwidth. Valid values: `PostPaidByBandwidth`; `PostPaidByTraffic`. */ billingType: pulumi.Input<string>; /** * Ipv6 address. */ ipv6Address: pulumi.Input<string>; }