Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.vpc.TrafficMirrorTargets has been deprecated in favor of volcengine.vpc.getTrafficMirrorTargets
Use this data source to query detailed information of traffic mirror targets
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.vpc.getTrafficMirrorTargets({
trafficMirrorTargetIds: ["tmt-rry7yljufsw0v0x58w2****"],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.vpc.get_traffic_mirror_targets(traffic_mirror_target_ids=["tmt-rry7yljufsw0v0x58w2****"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.GetTrafficMirrorTargets(ctx, &vpc.GetTrafficMirrorTargetsArgs{
TrafficMirrorTargetIds: []string{
"tmt-rry7yljufsw0v0x58w2****",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Vpc.GetTrafficMirrorTargets.Invoke(new()
{
TrafficMirrorTargetIds = new[]
{
"tmt-rry7yljufsw0v0x58w2****",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.vpc.VpcFunctions;
import com.pulumi.volcengine.vpc.inputs.GetTrafficMirrorTargetsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = VpcFunctions.getTrafficMirrorTargets(GetTrafficMirrorTargetsArgs.builder()
.trafficMirrorTargetIds("tmt-rry7yljufsw0v0x58w2****")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:vpc:getTrafficMirrorTargets
Arguments:
trafficMirrorTargetIds:
- tmt-rry7yljufsw0v0x58w2****
Using TrafficMirrorTargets
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function trafficMirrorTargets(args: TrafficMirrorTargetsArgs, opts?: InvokeOptions): Promise<TrafficMirrorTargetsResult>
function trafficMirrorTargetsOutput(args: TrafficMirrorTargetsOutputArgs, opts?: InvokeOptions): Output<TrafficMirrorTargetsResult>def traffic_mirror_targets(name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[TrafficMirrorTargetsTag]] = None,
traffic_mirror_target_ids: Optional[Sequence[str]] = None,
traffic_mirror_target_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> TrafficMirrorTargetsResult
def traffic_mirror_targets_output(name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[TrafficMirrorTargetsTagArgs]]]] = None,
traffic_mirror_target_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
traffic_mirror_target_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[TrafficMirrorTargetsResult]func TrafficMirrorTargets(ctx *Context, args *TrafficMirrorTargetsArgs, opts ...InvokeOption) (*TrafficMirrorTargetsResult, error)
func TrafficMirrorTargetsOutput(ctx *Context, args *TrafficMirrorTargetsOutputArgs, opts ...InvokeOption) TrafficMirrorTargetsResultOutputpublic static class TrafficMirrorTargets
{
public static Task<TrafficMirrorTargetsResult> InvokeAsync(TrafficMirrorTargetsArgs args, InvokeOptions? opts = null)
public static Output<TrafficMirrorTargetsResult> Invoke(TrafficMirrorTargetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<TrafficMirrorTargetsResult> trafficMirrorTargets(TrafficMirrorTargetsArgs args, InvokeOptions options)
public static Output<TrafficMirrorTargetsResult> trafficMirrorTargets(TrafficMirrorTargetsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:vpc:TrafficMirrorTargets
arguments:
# arguments dictionaryThe following arguments are supported:
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of traffic mirror target.
-
List<Traffic
Mirror Targets Tag> - Tags.
- Traffic
Mirror List<string>Target Ids - A list of traffic mirror target IDs.
- Traffic
Mirror stringTarget Name - The name of traffic mirror target.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of traffic mirror target.
-
[]Traffic
Mirror Targets Tag - Tags.
- Traffic
Mirror []stringTarget Ids - A list of traffic mirror target IDs.
- Traffic
Mirror stringTarget Name - The name of traffic mirror target.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of traffic mirror target.
-
List<Traffic
Mirror Targets Tag> - Tags.
- traffic
Mirror List<String>Target Ids - A list of traffic mirror target IDs.
- traffic
Mirror StringTarget Name - The name of traffic mirror target.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project
Name string - The project name of traffic mirror target.
-
Traffic
Mirror Targets Tag[] - Tags.
- traffic
Mirror string[]Target Ids - A list of traffic mirror target IDs.
- traffic
Mirror stringTarget Name - The name of traffic mirror target.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project_
name str - The project name of traffic mirror target.
-
Sequence[Traffic
Mirror Targets Tag] - Tags.
- traffic_
mirror_ Sequence[str]target_ ids - A list of traffic mirror target IDs.
- traffic_
mirror_ strtarget_ name - The name of traffic mirror target.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of traffic mirror target.
- List<Property Map>
- Tags.
- traffic
Mirror List<String>Target Ids - A list of traffic mirror target IDs.
- traffic
Mirror StringTarget Name - The name of traffic mirror target.
TrafficMirrorTargets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Traffic
Mirror List<TrafficTargets Mirror Targets Traffic Mirror Target> - The collection of query.
- Name
Regex string - Output
File string - Project
Name string - The project name of traffic mirror target.
-
List<Traffic
Mirror Targets Tag> - Tags.
- Traffic
Mirror List<string>Target Ids - Traffic
Mirror stringTarget Name - The name of traffic mirror target.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Traffic
Mirror []TrafficTargets Mirror Targets Traffic Mirror Target - The collection of query.
- Name
Regex string - Output
File string - Project
Name string - The project name of traffic mirror target.
-
[]Traffic
Mirror Targets Tag - Tags.
- Traffic
Mirror []stringTarget Ids - Traffic
Mirror stringTarget Name - The name of traffic mirror target.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- traffic
Mirror List<TrafficTargets Mirror Targets Traffic Mirror Target> - The collection of query.
- name
Regex String - output
File String - project
Name String - The project name of traffic mirror target.
-
List<Traffic
Mirror Targets Tag> - Tags.
- traffic
Mirror List<String>Target Ids - traffic
Mirror StringTarget Name - The name of traffic mirror target.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- traffic
Mirror TrafficTargets Mirror Targets Traffic Mirror Target[] - The collection of query.
- name
Regex string - output
File string - project
Name string - The project name of traffic mirror target.
-
Traffic
Mirror Targets Tag[] - Tags.
- traffic
Mirror string[]Target Ids - traffic
Mirror stringTarget Name - The name of traffic mirror target.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- traffic_
mirror_ Sequence[Traffictargets Mirror Targets Traffic Mirror Target] - The collection of query.
- name_
regex str - output_
file str - project_
name str - The project name of traffic mirror target.
-
Sequence[Traffic
Mirror Targets Tag] - Tags.
- traffic_
mirror_ Sequence[str]target_ ids - traffic_
mirror_ strtarget_ name - The name of traffic mirror target.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- traffic
Mirror List<Property Map>Targets - The collection of query.
- name
Regex String - output
File String - project
Name String - The project name of traffic mirror target.
- List<Property Map>
- Tags.
- traffic
Mirror List<String>Target Ids - traffic
Mirror StringTarget Name - The name of traffic mirror target.
Supporting Types
TrafficMirrorTargetsTag
TrafficMirrorTargetsTrafficMirrorTarget
- Created
At string - The create time of traffic mirror target.
- Description string
- The description of traffic mirror target.
- Id string
- The ID of traffic mirror target.
- Instance
Id string - The instance id of traffic mirror target.
- Instance
Type string - The instance type of traffic mirror target.
- Project
Name string - The project name of traffic mirror target.
- Status string
- The status of traffic mirror target.
-
List<Traffic
Mirror Targets Traffic Mirror Target Tag> - Tags.
- Traffic
Mirror stringTarget Id - The ID of traffic mirror target.
- Traffic
Mirror stringTarget Name - The name of traffic mirror target.
- Updated
At string - The update time of traffic mirror target.
- Created
At string - The create time of traffic mirror target.
- Description string
- The description of traffic mirror target.
- Id string
- The ID of traffic mirror target.
- Instance
Id string - The instance id of traffic mirror target.
- Instance
Type string - The instance type of traffic mirror target.
- Project
Name string - The project name of traffic mirror target.
- Status string
- The status of traffic mirror target.
-
[]Traffic
Mirror Targets Traffic Mirror Target Tag - Tags.
- Traffic
Mirror stringTarget Id - The ID of traffic mirror target.
- Traffic
Mirror stringTarget Name - The name of traffic mirror target.
- Updated
At string - The update time of traffic mirror target.
- created
At String - The create time of traffic mirror target.
- description String
- The description of traffic mirror target.
- id String
- The ID of traffic mirror target.
- instance
Id String - The instance id of traffic mirror target.
- instance
Type String - The instance type of traffic mirror target.
- project
Name String - The project name of traffic mirror target.
- status String
- The status of traffic mirror target.
-
List<Traffic
Mirror Targets Traffic Mirror Target Tag> - Tags.
- traffic
Mirror StringTarget Id - The ID of traffic mirror target.
- traffic
Mirror StringTarget Name - The name of traffic mirror target.
- updated
At String - The update time of traffic mirror target.
- created
At string - The create time of traffic mirror target.
- description string
- The description of traffic mirror target.
- id string
- The ID of traffic mirror target.
- instance
Id string - The instance id of traffic mirror target.
- instance
Type string - The instance type of traffic mirror target.
- project
Name string - The project name of traffic mirror target.
- status string
- The status of traffic mirror target.
-
Traffic
Mirror Targets Traffic Mirror Target Tag[] - Tags.
- traffic
Mirror stringTarget Id - The ID of traffic mirror target.
- traffic
Mirror stringTarget Name - The name of traffic mirror target.
- updated
At string - The update time of traffic mirror target.
- created_
at str - The create time of traffic mirror target.
- description str
- The description of traffic mirror target.
- id str
- The ID of traffic mirror target.
- instance_
id str - The instance id of traffic mirror target.
- instance_
type str - The instance type of traffic mirror target.
- project_
name str - The project name of traffic mirror target.
- status str
- The status of traffic mirror target.
-
Sequence[Traffic
Mirror Targets Traffic Mirror Target Tag] - Tags.
- traffic_
mirror_ strtarget_ id - The ID of traffic mirror target.
- traffic_
mirror_ strtarget_ name - The name of traffic mirror target.
- updated_
at str - The update time of traffic mirror target.
- created
At String - The create time of traffic mirror target.
- description String
- The description of traffic mirror target.
- id String
- The ID of traffic mirror target.
- instance
Id String - The instance id of traffic mirror target.
- instance
Type String - The instance type of traffic mirror target.
- project
Name String - The project name of traffic mirror target.
- status String
- The status of traffic mirror target.
- List<Property Map>
- Tags.
- traffic
Mirror StringTarget Id - The ID of traffic mirror target.
- traffic
Mirror StringTarget Name - The name of traffic mirror target.
- updated
At String - The update time of traffic mirror target.
TrafficMirrorTargetsTrafficMirrorTargetTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
