@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
117 lines (116 loc) • 3.44 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of transit router vpn attachments
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.transit_router.getVpnAttachments({
* ids: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
* });
* ```
*/
/** @deprecated volcengine.transit_router.VpnAttachments has been deprecated in favor of volcengine.transit_router.getVpnAttachments */
export declare function vpnAttachments(args: VpnAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<VpnAttachmentsResult>;
/**
* A collection of arguments for invoking VpnAttachments.
*/
export interface VpnAttachmentsArgs {
/**
* The ID list of the VPN attachment.
*/
ids?: string[];
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Tags.
*/
tags?: inputs.transit_router.VpnAttachmentsTag[];
/**
* The id of the transit router.
*/
transitRouterId: string;
/**
* The ID of the IPSec connection.
*/
vpnConnectionId?: string;
}
/**
* A collection of values returned by VpnAttachments.
*/
export interface VpnAttachmentsResult {
/**
* The collection of query.
*/
readonly attachments: outputs.transit_router.VpnAttachmentsAttachment[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
readonly outputFile?: string;
/**
* Tags.
*/
readonly tags?: outputs.transit_router.VpnAttachmentsTag[];
/**
* The total count of query.
*/
readonly totalCount: number;
/**
* The id of the transit router.
*/
readonly transitRouterId: string;
/**
* The ID of the IPSec connection.
*/
readonly vpnConnectionId?: string;
}
/**
* Use this data source to query detailed information of transit router vpn attachments
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.transit_router.getVpnAttachments({
* ids: ["tr-attach-3rf2xi7ae6y9s5zsk2hm6pibt"],
* transitRouterId: "tr-2d6fr7f39unsw58ozfe1ow21x",
* });
* ```
*/
/** @deprecated volcengine.transit_router.VpnAttachments has been deprecated in favor of volcengine.transit_router.getVpnAttachments */
export declare function vpnAttachmentsOutput(args: VpnAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<VpnAttachmentsResult>;
/**
* A collection of arguments for invoking VpnAttachments.
*/
export interface VpnAttachmentsOutputArgs {
/**
* The ID list of the VPN attachment.
*/
ids?: pulumi.Input<pulumi.Input<string>[]>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.transit_router.VpnAttachmentsTagArgs>[]>;
/**
* The id of the transit router.
*/
transitRouterId: pulumi.Input<string>;
/**
* The ID of the IPSec connection.
*/
vpnConnectionId?: pulumi.Input<string>;
}