@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
122 lines (121 loc) • 3.48 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 traffic mirror targets
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.vpc.getTrafficMirrorTargets({
* trafficMirrorTargetIds: ["tmt-rry7yljufsw0v0x58w2****"],
* });
* ```
*/
export declare function getTrafficMirrorTargets(args?: GetTrafficMirrorTargetsArgs, opts?: pulumi.InvokeOptions): Promise<GetTrafficMirrorTargetsResult>;
/**
* A collection of arguments for invoking getTrafficMirrorTargets.
*/
export interface GetTrafficMirrorTargetsArgs {
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The project name of traffic mirror target.
*/
projectName?: string;
/**
* Tags.
*/
tags?: inputs.vpc.GetTrafficMirrorTargetsTag[];
/**
* A list of traffic mirror target IDs.
*/
trafficMirrorTargetIds?: string[];
/**
* The name of traffic mirror target.
*/
trafficMirrorTargetName?: string;
}
/**
* A collection of values returned by getTrafficMirrorTargets.
*/
export interface GetTrafficMirrorTargetsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The project name of traffic mirror target.
*/
readonly projectName?: string;
/**
* Tags.
*/
readonly tags?: outputs.vpc.GetTrafficMirrorTargetsTag[];
/**
* The total count of query.
*/
readonly totalCount: number;
readonly trafficMirrorTargetIds?: string[];
/**
* The name of traffic mirror target.
*/
readonly trafficMirrorTargetName?: string;
/**
* The collection of query.
*/
readonly trafficMirrorTargets: outputs.vpc.GetTrafficMirrorTargetsTrafficMirrorTarget[];
}
/**
* Use this data source to query detailed information of traffic mirror targets
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.vpc.getTrafficMirrorTargets({
* trafficMirrorTargetIds: ["tmt-rry7yljufsw0v0x58w2****"],
* });
* ```
*/
export declare function getTrafficMirrorTargetsOutput(args?: GetTrafficMirrorTargetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTrafficMirrorTargetsResult>;
/**
* A collection of arguments for invoking getTrafficMirrorTargets.
*/
export interface GetTrafficMirrorTargetsOutputArgs {
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The project name of traffic mirror target.
*/
projectName?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.vpc.GetTrafficMirrorTargetsTagArgs>[]>;
/**
* A list of traffic mirror target IDs.
*/
trafficMirrorTargetIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The name of traffic mirror target.
*/
trafficMirrorTargetName?: pulumi.Input<string>;
}