import * as pulumi from "@pulumi/pulumi"; /** * Authorize this account's network instance for use by the specified account's Cloud Enterprise Network instance * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const cenGranInstanceDemo = new volcenginecc.cen.GrantInstance("CenGranInstanceDemo", { * cenId: "cen-2v72wo******", * cenOwnerId: "210102***", * instanceId: "vpc-bu3j9gfdv01s****", * instanceRegionId: "cn-beijing", * instanceType: "VPC", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:cen/grantInstance:GrantInstance example "instance_id|cen_id" * ``` */ export declare class GrantInstance extends pulumi.CustomResource { /** * Get an existing GrantInstance 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?: GrantInstanceState, opts?: pulumi.CustomResourceOptions): GrantInstance; /** * Returns true if the given object is an instance of GrantInstance. 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 GrantInstance; /** * Cloud Enterprise Network instance ID of the other party's account */ readonly cenId: pulumi.Output; /** * Other party's account */ readonly cenOwnerId: pulumi.Output; /** * Network instance authorization time */ readonly creationTime: pulumi.Output; /** * ID of the network instance to be authorized */ readonly instanceId: pulumi.Output; /** * Region where the network instance is located */ readonly instanceRegionId: pulumi.Output; /** * Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway */ readonly instanceType: pulumi.Output; /** * Create a GrantInstance 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: GrantInstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GrantInstance resources. */ export interface GrantInstanceState { /** * Cloud Enterprise Network instance ID of the other party's account */ cenId?: pulumi.Input; /** * Other party's account */ cenOwnerId?: pulumi.Input; /** * Network instance authorization time */ creationTime?: pulumi.Input; /** * ID of the network instance to be authorized */ instanceId?: pulumi.Input; /** * Region where the network instance is located */ instanceRegionId?: pulumi.Input; /** * Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway */ instanceType?: pulumi.Input; } /** * The set of arguments for constructing a GrantInstance resource. */ export interface GrantInstanceArgs { /** * Cloud Enterprise Network instance ID of the other party's account */ cenId: pulumi.Input; /** * Other party's account */ cenOwnerId: pulumi.Input; /** * ID of the network instance to be authorized */ instanceId: pulumi.Input; /** * Region where the network instance is located */ instanceRegionId: pulumi.Input; /** * Network instance type. Options: VPC: Virtual Private Cloud. DCGW: Direct Connect Gateway */ instanceType: pulumi.Input; }