@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
157 lines (156 loc) • 4.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to manage customer gateway
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@volcengine/pulumi";
*
* const foo = new volcengine.vpn.CustomerGateway("foo", {
* customerGatewayName: "acc-test",
* description: "acc-test",
* ipAddress: "192.0.1.3",
* projectName: "default",
* });
* ```
*
* ## Import
*
* CustomerGateway can be imported using the id, e.g.
*
* ```sh
* $ pulumi import volcengine:vpn/customerGateway:CustomerGateway default cgw-2byswc356dybk2dx0eed2****
* ```
*/
export declare class CustomerGateway extends pulumi.CustomResource {
/**
* Get an existing CustomerGateway 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?: CustomerGatewayState, opts?: pulumi.CustomResourceOptions): CustomerGateway;
/**
* Returns true if the given object is an instance of CustomerGateway. 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 CustomerGateway;
/**
* The account ID of the customer gateway.
*/
readonly accountId: pulumi.Output<string>;
/**
* The connection count of the customer gateway.
*/
readonly connectionCount: pulumi.Output<number>;
/**
* The create time of customer gateway.
*/
readonly creationTime: pulumi.Output<string>;
/**
* The ID of the customer gateway.
*/
readonly customerGatewayId: pulumi.Output<string>;
/**
* The name of the customer gateway.
*/
readonly customerGatewayName: pulumi.Output<string>;
/**
* The description of the customer gateway.
*/
readonly description: pulumi.Output<string>;
/**
* The IP address of the customer gateway.
*/
readonly ipAddress: pulumi.Output<string>;
/**
* The project name of the VPN customer gateway.
*/
readonly projectName: pulumi.Output<string>;
/**
* The status of the customer gateway.
*/
readonly status: pulumi.Output<string>;
/**
* The update time of customer gateway.
*/
readonly updateTime: pulumi.Output<string>;
/**
* Create a CustomerGateway 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: CustomerGatewayArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CustomerGateway resources.
*/
export interface CustomerGatewayState {
/**
* The account ID of the customer gateway.
*/
accountId?: pulumi.Input<string>;
/**
* The connection count of the customer gateway.
*/
connectionCount?: pulumi.Input<number>;
/**
* The create time of customer gateway.
*/
creationTime?: pulumi.Input<string>;
/**
* The ID of the customer gateway.
*/
customerGatewayId?: pulumi.Input<string>;
/**
* The name of the customer gateway.
*/
customerGatewayName?: pulumi.Input<string>;
/**
* The description of the customer gateway.
*/
description?: pulumi.Input<string>;
/**
* The IP address of the customer gateway.
*/
ipAddress?: pulumi.Input<string>;
/**
* The project name of the VPN customer gateway.
*/
projectName?: pulumi.Input<string>;
/**
* The status of the customer gateway.
*/
status?: pulumi.Input<string>;
/**
* The update time of customer gateway.
*/
updateTime?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CustomerGateway resource.
*/
export interface CustomerGatewayArgs {
/**
* The name of the customer gateway.
*/
customerGatewayName?: pulumi.Input<string>;
/**
* The description of the customer gateway.
*/
description?: pulumi.Input<string>;
/**
* The IP address of the customer gateway.
*/
ipAddress: pulumi.Input<string>;
/**
* The project name of the VPN customer gateway.
*/
projectName?: pulumi.Input<string>;
}