@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
155 lines (154 loc) • 4.62 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 direct connect connections
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.direct_connect.getConnections({
* directConnectConnectionName: "tf_test",
* });
* ```
*/
export declare function getConnections(args?: GetConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionsResult>;
/**
* A collection of arguments for invoking getConnections.
*/
export interface GetConnectionsArgs {
/**
* The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.
*/
connectionType?: string;
/**
* The ID of the physical leased line access point.
*/
directConnectAccessPointId?: string;
/**
* The name of directi connect connection.
*/
directConnectConnectionName?: string;
/**
* A list of IDs.
*/
ids?: string[];
/**
* The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
*/
lineOperator?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The peer access point of the physical leased line.
*/
peerLocation?: string;
/**
* The filter tag of direct connect.
*/
tagFilters?: inputs.direct_connect.GetConnectionsTagFilter[];
}
/**
* A collection of values returned by getConnections.
*/
export interface GetConnectionsResult {
/**
* The connection type of direct connect.
*/
readonly connectionType?: string;
/**
* The access point id of direct connect.
*/
readonly directConnectAccessPointId?: string;
/**
* The name of direct connect connection.
*/
readonly directConnectConnectionName?: string;
/**
* The collection of query.
*/
readonly directConnectConnections: outputs.direct_connect.GetConnectionsDirectConnectConnection[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
/**
* The operator of physical leased line.
*/
readonly lineOperator?: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The peer access point of the physical leased line.
*/
readonly peerLocation?: string;
readonly tagFilters?: outputs.direct_connect.GetConnectionsTagFilter[];
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of direct connect connections
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.direct_connect.getConnections({
* directConnectConnectionName: "tf_test",
* });
* ```
*/
export declare function getConnectionsOutput(args?: GetConnectionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionsResult>;
/**
* A collection of arguments for invoking getConnections.
*/
export interface GetConnectionsOutputArgs {
/**
* The connection type of physical leased line,valid value contains `SharedConnection`,`DedicatedConnection`.
*/
connectionType?: pulumi.Input<string>;
/**
* The ID of the physical leased line access point.
*/
directConnectAccessPointId?: pulumi.Input<string>;
/**
* The name of directi connect connection.
*/
directConnectConnectionName?: pulumi.Input<string>;
/**
* A list of IDs.
*/
ids?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The operator of the physical leased line,valid value contains `ChinaTelecom`,`ChinaMobile`,`ChinaUnicom`,`ChinaOther`.
*/
lineOperator?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The peer access point of the physical leased line.
*/
peerLocation?: pulumi.Input<string>;
/**
* The filter tag of direct connect.
*/
tagFilters?: pulumi.Input<pulumi.Input<inputs.direct_connect.GetConnectionsTagFilterArgs>[]>;
}