@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
141 lines (140 loc) • 4.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Provides a resource to manage privatelink vpc gateway endpoint
* ## Import
*
* VpcGatewayEndpoint can be imported using the id, e.g.
*
* ```sh
* $ pulumi import volcengine:privatelink/vpcGatewayEndpoint:VpcGatewayEndpoint default gwep-273yuq6q7bgn47fap8squ****
* ```
*/
export declare class VpcGatewayEndpoint extends pulumi.CustomResource {
/**
* Get an existing VpcGatewayEndpoint 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?: VpcGatewayEndpointState, opts?: pulumi.CustomResourceOptions): VpcGatewayEndpoint;
/**
* Returns true if the given object is an instance of VpcGatewayEndpoint. 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 VpcGatewayEndpoint;
/**
* The description of the gateway endpoint.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The id of the gateway endpoint.
*/
readonly endpointId: pulumi.Output<string>;
/**
* The name of the gateway endpoint.
*/
readonly endpointName: pulumi.Output<string | undefined>;
/**
* The project name of the gateway endpoint.
*/
readonly projectName: pulumi.Output<string | undefined>;
/**
* The id of the gateway endpoint service.
*/
readonly serviceId: pulumi.Output<string>;
/**
* Tags.
*/
readonly tags: pulumi.Output<outputs.privatelink.VpcGatewayEndpointTag[] | undefined>;
/**
* The id of the vpc.
*/
readonly vpcId: pulumi.Output<string>;
/**
* The vpc policy of the gateway endpoint.
*/
readonly vpcPolicy: pulumi.Output<string>;
/**
* Create a VpcGatewayEndpoint 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: VpcGatewayEndpointArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering VpcGatewayEndpoint resources.
*/
export interface VpcGatewayEndpointState {
/**
* The description of the gateway endpoint.
*/
description?: pulumi.Input<string>;
/**
* The id of the gateway endpoint.
*/
endpointId?: pulumi.Input<string>;
/**
* The name of the gateway endpoint.
*/
endpointName?: pulumi.Input<string>;
/**
* The project name of the gateway endpoint.
*/
projectName?: pulumi.Input<string>;
/**
* The id of the gateway endpoint service.
*/
serviceId?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.privatelink.VpcGatewayEndpointTag>[]>;
/**
* The id of the vpc.
*/
vpcId?: pulumi.Input<string>;
/**
* The vpc policy of the gateway endpoint.
*/
vpcPolicy?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a VpcGatewayEndpoint resource.
*/
export interface VpcGatewayEndpointArgs {
/**
* The description of the gateway endpoint.
*/
description?: pulumi.Input<string>;
/**
* The name of the gateway endpoint.
*/
endpointName?: pulumi.Input<string>;
/**
* The project name of the gateway endpoint.
*/
projectName?: pulumi.Input<string>;
/**
* The id of the gateway endpoint service.
*/
serviceId: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.privatelink.VpcGatewayEndpointTag>[]>;
/**
* The id of the vpc.
*/
vpcId: pulumi.Input<string>;
/**
* The vpc policy of the gateway endpoint.
*/
vpcPolicy?: pulumi.Input<string>;
}