import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Platform on which the transit router service runs. Receives traffic from network instances and forwards it according to the associated forwarding route table * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const transitRouterDemo = new volcenginecc.transitrouter.TransitRouter("TransitRouterDemo", { * transitRouterName: "TransitRouterDemo", * asn: 4200001111, * description: "TransitRouterDemo", * projectName: "default", * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:transitrouter/transitRouter:TransitRouter example "transit_router_id" * ``` */ export declare class TransitRouter extends pulumi.CustomResource { /** * Get an existing TransitRouter 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, state?: TransitRouterState, opts?: pulumi.CustomResourceOptions): TransitRouter; /** * Returns true if the given object is an instance of TransitRouter. 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 TransitRouter; /** * ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512 */ readonly asn: pulumi.Output; readonly attachments: pulumi.Output; /** * Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked. */ readonly businessStatus: pulumi.Output; /** * Creation time of the network instance connection. */ readonly creationTime: pulumi.Output; /** * Deletion time of the network instance connection. */ readonly deletedTime: pulumi.Output; /** * Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string */ readonly description: pulumi.Output; /** * Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing */ readonly grantSourceType: pulumi.Output; /** * Instance sharing status. Accepted: Received. Initial: Pending acceptance. */ readonly grantStatus: pulumi.Output; /** * Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled */ readonly multicastEnabled: pulumi.Output; /** * Shutdown time due to overdue payment for the transit router instance */ readonly overdueTime: pulumi.Output; /** * Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default' */ readonly projectName: pulumi.Output; /** * Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Transit router instance ID. */ readonly transitRouterId: pulumi.Output; /** * Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID. */ readonly transitRouterName: pulumi.Output; /** * Last operation time of the transit router instance */ readonly updateTime: pulumi.Output; /** * Create a TransitRouter 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?: TransitRouterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TransitRouter resources. */ export interface TransitRouterState { /** * ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512 */ asn?: pulumi.Input; attachments?: pulumi.Input[]>; /** * Business status of the network instance connection. Values: Normal: Normal. FinancialLocked: Financially locked. */ businessStatus?: pulumi.Input; /** * Creation time of the network instance connection. */ creationTime?: pulumi.Input; /** * Deletion time of the network instance connection. */ deletedTime?: pulumi.Input; /** * Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string */ description?: pulumi.Input; /** * Sharing method of the transit router instance. rs: Shared via platform resource sharing. tr: Shared via transit router instance sharing */ grantSourceType?: pulumi.Input; /** * Instance sharing status. Accepted: Received. Initial: Pending acceptance. */ grantStatus?: pulumi.Input; /** * Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled */ multicastEnabled?: pulumi.Input; /** * Shutdown time due to overdue payment for the transit router instance */ overdueTime?: pulumi.Input; /** * Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default' */ projectName?: pulumi.Input; /** * Status of the transit router instance. Creating: creating. Deleting: deleting. Pending: configuring. Available: available */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Transit router instance ID. */ transitRouterId?: pulumi.Input; /** * Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID. */ transitRouterName?: pulumi.Input; /** * Last operation time of the transit router instance */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a TransitRouter resource. */ export interface TransitRouterArgs { /** * ASN of the transit router. Value range: 64512–65534 and 4200000000–4294967294. Default value: 64512 */ asn?: pulumi.Input; /** * Description of the transit router instance. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length limit: 0–255 characters. If this parameter is not provided or no value is entered, the default is an empty string */ description?: pulumi.Input; /** * Whether multicast is enabled for the transit router. true: enabled. false (default): not enabled */ multicastEnabled?: pulumi.Input; /** * Name of the project to which the transit router instance belongs. If this parameter is not provided or no value is entered, the default is 'default' */ projectName?: pulumi.Input; tags?: pulumi.Input[]>; /** * Name of the transit router instance. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is specified, the default is the transit router instance ID. */ transitRouterName?: pulumi.Input; }