1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. networkmanagement
  5. getConnectivityTestRun
Google Cloud v8.41.1 published on Monday, Aug 25, 2025 by Pulumi

gcp.networkmanagement.getConnectivityTestRun

Explore with Pulumi AI

gcp logo
Google Cloud v8.41.1 published on Monday, Aug 25, 2025 by Pulumi

    !> This datasource triggers side effects on the target resource. It will take a long time to refresh (i.e. pulumi preview will take much longer than usual) and may modify the state of the parent resource or other copies of the resource copying the same parent.

    A connectivity test is a static analysis of your resource configurations that enables you to evaluate connectivity to and from Google Cloud resources in your Virtual Private Cloud (VPC) network. This data source allows you to trigger a rerun operation on a connectivity test and return the results.

    To get more information about connectivity tests, see:

    Example Usage

    Network Management Connectivity Test Run Instances

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const vpc = new gcp.compute.Network("vpc", {name: "conn-test-net"});
    const debian9 = gcp.compute.getImage({
        family: "debian-11",
        project: "debian-cloud",
    });
    const source = new gcp.compute.Instance("source", {
        networkInterfaces: [{
            accessConfigs: [{}],
            network: vpc.id,
        }],
        name: "source-vm",
        machineType: "e2-medium",
        bootDisk: {
            initializeParams: {
                image: debian9.then(debian9 => debian9.id),
            },
        },
    });
    const destination = new gcp.compute.Instance("destination", {
        networkInterfaces: [{
            accessConfigs: [{}],
            network: vpc.id,
        }],
        name: "dest-vm",
        machineType: "e2-medium",
        bootDisk: {
            initializeParams: {
                image: debian9.then(debian9 => debian9.id),
            },
        },
    });
    const instance_test = new gcp.networkmanagement.ConnectivityTest("instance-test", {
        name: "conn-test-instances",
        source: {
            instance: source.id,
        },
        destination: {
            instance: destination.id,
        },
        protocol: "TCP",
        labels: {
            env: "test",
        },
    });
    const instance_test_run = gcp.networkmanagement.getConnectivityTestRunOutput({
        name: instance_test.name,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    vpc = gcp.compute.Network("vpc", name="conn-test-net")
    debian9 = gcp.compute.get_image(family="debian-11",
        project="debian-cloud")
    source = gcp.compute.Instance("source",
        network_interfaces=[{
            "access_configs": [{}],
            "network": vpc.id,
        }],
        name="source-vm",
        machine_type="e2-medium",
        boot_disk={
            "initialize_params": {
                "image": debian9.id,
            },
        })
    destination = gcp.compute.Instance("destination",
        network_interfaces=[{
            "access_configs": [{}],
            "network": vpc.id,
        }],
        name="dest-vm",
        machine_type="e2-medium",
        boot_disk={
            "initialize_params": {
                "image": debian9.id,
            },
        })
    instance_test = gcp.networkmanagement.ConnectivityTest("instance-test",
        name="conn-test-instances",
        source={
            "instance": source.id,
        },
        destination={
            "instance": destination.id,
        },
        protocol="TCP",
        labels={
            "env": "test",
        })
    instance_test_run = gcp.networkmanagement.get_connectivity_test_run_output(name=instance_test.name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networkmanagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		vpc, err := compute.NewNetwork(ctx, "vpc", &compute.NetworkArgs{
    			Name: pulumi.String("conn-test-net"),
    		})
    		if err != nil {
    			return err
    		}
    		debian9, err := compute.LookupImage(ctx, &compute.LookupImageArgs{
    			Family:  pulumi.StringRef("debian-11"),
    			Project: pulumi.StringRef("debian-cloud"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		source, err := compute.NewInstance(ctx, "source", &compute.InstanceArgs{
    			NetworkInterfaces: compute.InstanceNetworkInterfaceArray{
    				&compute.InstanceNetworkInterfaceArgs{
    					AccessConfigs: compute.InstanceNetworkInterfaceAccessConfigArray{
    						&compute.InstanceNetworkInterfaceAccessConfigArgs{},
    					},
    					Network: vpc.ID(),
    				},
    			},
    			Name:        pulumi.String("source-vm"),
    			MachineType: pulumi.String("e2-medium"),
    			BootDisk: &compute.InstanceBootDiskArgs{
    				InitializeParams: &compute.InstanceBootDiskInitializeParamsArgs{
    					Image: pulumi.String(debian9.Id),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		destination, err := compute.NewInstance(ctx, "destination", &compute.InstanceArgs{
    			NetworkInterfaces: compute.InstanceNetworkInterfaceArray{
    				&compute.InstanceNetworkInterfaceArgs{
    					AccessConfigs: compute.InstanceNetworkInterfaceAccessConfigArray{
    						&compute.InstanceNetworkInterfaceAccessConfigArgs{},
    					},
    					Network: vpc.ID(),
    				},
    			},
    			Name:        pulumi.String("dest-vm"),
    			MachineType: pulumi.String("e2-medium"),
    			BootDisk: &compute.InstanceBootDiskArgs{
    				InitializeParams: &compute.InstanceBootDiskInitializeParamsArgs{
    					Image: pulumi.String(debian9.Id),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		instance_test, err := networkmanagement.NewConnectivityTest(ctx, "instance-test", &networkmanagement.ConnectivityTestArgs{
    			Name: pulumi.String("conn-test-instances"),
    			Source: &networkmanagement.ConnectivityTestSourceArgs{
    				Instance: source.ID(),
    			},
    			Destination: &networkmanagement.ConnectivityTestDestinationArgs{
    				Instance: destination.ID(),
    			},
    			Protocol: pulumi.String("TCP"),
    			Labels: pulumi.StringMap{
    				"env": pulumi.String("test"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = networkmanagement.GetConnectivityTestRunOutput(ctx, networkmanagement.GetConnectivityTestRunOutputArgs{
    			Name: instance_test.Name,
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var vpc = new Gcp.Compute.Network("vpc", new()
        {
            Name = "conn-test-net",
        });
    
        var debian9 = Gcp.Compute.GetImage.Invoke(new()
        {
            Family = "debian-11",
            Project = "debian-cloud",
        });
    
        var source = new Gcp.Compute.Instance("source", new()
        {
            NetworkInterfaces = new[]
            {
                new Gcp.Compute.Inputs.InstanceNetworkInterfaceArgs
                {
                    AccessConfigs = new[]
                    {
                        null,
                    },
                    Network = vpc.Id,
                },
            },
            Name = "source-vm",
            MachineType = "e2-medium",
            BootDisk = new Gcp.Compute.Inputs.InstanceBootDiskArgs
            {
                InitializeParams = new Gcp.Compute.Inputs.InstanceBootDiskInitializeParamsArgs
                {
                    Image = debian9.Apply(getImageResult => getImageResult.Id),
                },
            },
        });
    
        var destination = new Gcp.Compute.Instance("destination", new()
        {
            NetworkInterfaces = new[]
            {
                new Gcp.Compute.Inputs.InstanceNetworkInterfaceArgs
                {
                    AccessConfigs = new[]
                    {
                        null,
                    },
                    Network = vpc.Id,
                },
            },
            Name = "dest-vm",
            MachineType = "e2-medium",
            BootDisk = new Gcp.Compute.Inputs.InstanceBootDiskArgs
            {
                InitializeParams = new Gcp.Compute.Inputs.InstanceBootDiskInitializeParamsArgs
                {
                    Image = debian9.Apply(getImageResult => getImageResult.Id),
                },
            },
        });
    
        var instance_test = new Gcp.NetworkManagement.ConnectivityTest("instance-test", new()
        {
            Name = "conn-test-instances",
            Source = new Gcp.NetworkManagement.Inputs.ConnectivityTestSourceArgs
            {
                Instance = source.Id,
            },
            Destination = new Gcp.NetworkManagement.Inputs.ConnectivityTestDestinationArgs
            {
                Instance = destination.Id,
            },
            Protocol = "TCP",
            Labels = 
            {
                { "env", "test" },
            },
        });
    
        var instance_test_run = Gcp.NetworkManagement.GetConnectivityTestRun.Invoke(new()
        {
            Name = instance_test.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.Network;
    import com.pulumi.gcp.compute.NetworkArgs;
    import com.pulumi.gcp.compute.ComputeFunctions;
    import com.pulumi.gcp.compute.inputs.GetImageArgs;
    import com.pulumi.gcp.compute.Instance;
    import com.pulumi.gcp.compute.InstanceArgs;
    import com.pulumi.gcp.compute.inputs.InstanceNetworkInterfaceArgs;
    import com.pulumi.gcp.compute.inputs.InstanceBootDiskArgs;
    import com.pulumi.gcp.compute.inputs.InstanceBootDiskInitializeParamsArgs;
    import com.pulumi.gcp.networkmanagement.ConnectivityTest;
    import com.pulumi.gcp.networkmanagement.ConnectivityTestArgs;
    import com.pulumi.gcp.networkmanagement.inputs.ConnectivityTestSourceArgs;
    import com.pulumi.gcp.networkmanagement.inputs.ConnectivityTestDestinationArgs;
    import com.pulumi.gcp.networkmanagement.NetworkmanagementFunctions;
    import com.pulumi.gcp.networkmanagement.inputs.GetConnectivityTestRunArgs;
    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) {
            var vpc = new Network("vpc", NetworkArgs.builder()
                .name("conn-test-net")
                .build());
    
            final var debian9 = ComputeFunctions.getImage(GetImageArgs.builder()
                .family("debian-11")
                .project("debian-cloud")
                .build());
    
            var source = new Instance("source", InstanceArgs.builder()
                .networkInterfaces(InstanceNetworkInterfaceArgs.builder()
                    .accessConfigs(InstanceNetworkInterfaceAccessConfigArgs.builder()
                        .build())
                    .network(vpc.id())
                    .build())
                .name("source-vm")
                .machineType("e2-medium")
                .bootDisk(InstanceBootDiskArgs.builder()
                    .initializeParams(InstanceBootDiskInitializeParamsArgs.builder()
                        .image(debian9.id())
                        .build())
                    .build())
                .build());
    
            var destination = new Instance("destination", InstanceArgs.builder()
                .networkInterfaces(InstanceNetworkInterfaceArgs.builder()
                    .accessConfigs(InstanceNetworkInterfaceAccessConfigArgs.builder()
                        .build())
                    .network(vpc.id())
                    .build())
                .name("dest-vm")
                .machineType("e2-medium")
                .bootDisk(InstanceBootDiskArgs.builder()
                    .initializeParams(InstanceBootDiskInitializeParamsArgs.builder()
                        .image(debian9.id())
                        .build())
                    .build())
                .build());
    
            var instance_test = new ConnectivityTest("instance-test", ConnectivityTestArgs.builder()
                .name("conn-test-instances")
                .source(ConnectivityTestSourceArgs.builder()
                    .instance(source.id())
                    .build())
                .destination(ConnectivityTestDestinationArgs.builder()
                    .instance(destination.id())
                    .build())
                .protocol("TCP")
                .labels(Map.of("env", "test"))
                .build());
    
            final var instance-test-run = NetworkmanagementFunctions.getConnectivityTestRun(GetConnectivityTestRunArgs.builder()
                .name(instance_test.name())
                .build());
    
        }
    }
    
    resources:
      instance-test:
        type: gcp:networkmanagement:ConnectivityTest
        properties:
          name: conn-test-instances
          source:
            instance: ${source.id}
          destination:
            instance: ${destination.id}
          protocol: TCP
          labels:
            env: test
      source:
        type: gcp:compute:Instance
        properties:
          networkInterfaces:
            - accessConfigs:
                - {}
              network: ${vpc.id}
          name: source-vm
          machineType: e2-medium
          bootDisk:
            initializeParams:
              image: ${debian9.id}
      destination:
        type: gcp:compute:Instance
        properties:
          networkInterfaces:
            - accessConfigs:
                - {}
              network: ${vpc.id}
          name: dest-vm
          machineType: e2-medium
          bootDisk:
            initializeParams:
              image: ${debian9.id}
      vpc:
        type: gcp:compute:Network
        properties:
          name: conn-test-net
    variables:
      instance-test-run:
        fn::invoke:
          function: gcp:networkmanagement:getConnectivityTestRun
          arguments:
            name: ${["instance-test"].name}
      debian9:
        fn::invoke:
          function: gcp:compute:getImage
          arguments:
            family: debian-11
            project: debian-cloud
    

    Using getConnectivityTestRun

    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 getConnectivityTestRun(args: GetConnectivityTestRunArgs, opts?: InvokeOptions): Promise<GetConnectivityTestRunResult>
    function getConnectivityTestRunOutput(args: GetConnectivityTestRunOutputArgs, opts?: InvokeOptions): Output<GetConnectivityTestRunResult>
    def get_connectivity_test_run(name: Optional[str] = None,
                                  project: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetConnectivityTestRunResult
    def get_connectivity_test_run_output(name: Optional[pulumi.Input[str]] = None,
                                  project: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetConnectivityTestRunResult]
    func GetConnectivityTestRun(ctx *Context, args *GetConnectivityTestRunArgs, opts ...InvokeOption) (*GetConnectivityTestRunResult, error)
    func GetConnectivityTestRunOutput(ctx *Context, args *GetConnectivityTestRunOutputArgs, opts ...InvokeOption) GetConnectivityTestRunResultOutput

    > Note: This function is named GetConnectivityTestRun in the Go SDK.

    public static class GetConnectivityTestRun 
    {
        public static Task<GetConnectivityTestRunResult> InvokeAsync(GetConnectivityTestRunArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectivityTestRunResult> Invoke(GetConnectivityTestRunInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConnectivityTestRunResult> getConnectivityTestRun(GetConnectivityTestRunArgs args, InvokeOptions options)
    public static Output<GetConnectivityTestRunResult> getConnectivityTestRun(GetConnectivityTestRunArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:networkmanagement/getConnectivityTestRun:getConnectivityTestRun
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Unique name for the connectivity test.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Name string
    Unique name for the connectivity test.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    name String
    Unique name for the connectivity test.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    name string
    Unique name for the connectivity test.


    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    name str
    Unique name for the connectivity test.


    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    name String
    Unique name for the connectivity test.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    getConnectivityTestRun Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Project string
    ReachabilityDetails List<GetConnectivityTestRunReachabilityDetail>
    Connectivity test reachability details. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Project string
    ReachabilityDetails []GetConnectivityTestRunReachabilityDetail
    Connectivity test reachability details. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    project String
    reachabilityDetails List<GetConnectivityTestRunReachabilityDetail>
    Connectivity test reachability details. Structure is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    project string
    reachabilityDetails GetConnectivityTestRunReachabilityDetail[]
    Connectivity test reachability details. Structure is documented below.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    project str
    reachability_details Sequence[GetConnectivityTestRunReachabilityDetail]
    Connectivity test reachability details. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    project String
    reachabilityDetails List<Property Map>
    Connectivity test reachability details. Structure is documented below.

    Supporting Types

    GetConnectivityTestRunReachabilityDetail

    Result string
    (Output) Status of the connectivity test: RESULT_UNSPECIFIED, REACHABLE, UNREACHABLE, AMBIGUOUS or UNDETERMINED.
    Traces List<GetConnectivityTestRunReachabilityDetailTrace>
    (Output) List of connectivity test traces. Structure is documented below.
    VerifyTime string
    (Output) Time when reachability details were determined. An RFC3339 timestamp in UTC time. This in the format of yyyy-MM-ddTHH:mm:ss.SSSZ.
    Result string
    (Output) Status of the connectivity test: RESULT_UNSPECIFIED, REACHABLE, UNREACHABLE, AMBIGUOUS or UNDETERMINED.
    Traces []GetConnectivityTestRunReachabilityDetailTrace
    (Output) List of connectivity test traces. Structure is documented below.
    VerifyTime string
    (Output) Time when reachability details were determined. An RFC3339 timestamp in UTC time. This in the format of yyyy-MM-ddTHH:mm:ss.SSSZ.
    result String
    (Output) Status of the connectivity test: RESULT_UNSPECIFIED, REACHABLE, UNREACHABLE, AMBIGUOUS or UNDETERMINED.
    traces List<GetConnectivityTestRunReachabilityDetailTrace>
    (Output) List of connectivity test traces. Structure is documented below.
    verifyTime String
    (Output) Time when reachability details were determined. An RFC3339 timestamp in UTC time. This in the format of yyyy-MM-ddTHH:mm:ss.SSSZ.
    result string
    (Output) Status of the connectivity test: RESULT_UNSPECIFIED, REACHABLE, UNREACHABLE, AMBIGUOUS or UNDETERMINED.
    traces GetConnectivityTestRunReachabilityDetailTrace[]
    (Output) List of connectivity test traces. Structure is documented below.
    verifyTime string
    (Output) Time when reachability details were determined. An RFC3339 timestamp in UTC time. This in the format of yyyy-MM-ddTHH:mm:ss.SSSZ.
    result str
    (Output) Status of the connectivity test: RESULT_UNSPECIFIED, REACHABLE, UNREACHABLE, AMBIGUOUS or UNDETERMINED.
    traces Sequence[GetConnectivityTestRunReachabilityDetailTrace]
    (Output) List of connectivity test traces. Structure is documented below.
    verify_time str
    (Output) Time when reachability details were determined. An RFC3339 timestamp in UTC time. This in the format of yyyy-MM-ddTHH:mm:ss.SSSZ.
    result String
    (Output) Status of the connectivity test: RESULT_UNSPECIFIED, REACHABLE, UNREACHABLE, AMBIGUOUS or UNDETERMINED.
    traces List<Property Map>
    (Output) List of connectivity test traces. Structure is documented below.
    verifyTime String
    (Output) Time when reachability details were determined. An RFC3339 timestamp in UTC time. This in the format of yyyy-MM-ddTHH:mm:ss.SSSZ.

    GetConnectivityTestRunReachabilityDetailTrace

    EndpointInfos List<GetConnectivityTestRunReachabilityDetailTraceEndpointInfo>
    (Output) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. Structure is documented below.
    ForwardTraceId int
    (Output) ID of the trace.
    Steps List<GetConnectivityTestRunReachabilityDetailTraceStep>
    (Output) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). Structure is documented below.
    EndpointInfos []GetConnectivityTestRunReachabilityDetailTraceEndpointInfo
    (Output) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. Structure is documented below.
    ForwardTraceId int
    (Output) ID of the trace.
    Steps []GetConnectivityTestRunReachabilityDetailTraceStep
    (Output) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). Structure is documented below.
    endpointInfos List<GetConnectivityTestRunReachabilityDetailTraceEndpointInfo>
    (Output) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. Structure is documented below.
    forwardTraceId Integer
    (Output) ID of the trace.
    steps List<GetConnectivityTestRunReachabilityDetailTraceStep>
    (Output) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). Structure is documented below.
    endpointInfos GetConnectivityTestRunReachabilityDetailTraceEndpointInfo[]
    (Output) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. Structure is documented below.
    forwardTraceId number
    (Output) ID of the trace.
    steps GetConnectivityTestRunReachabilityDetailTraceStep[]
    (Output) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). Structure is documented below.
    endpoint_infos Sequence[GetConnectivityTestRunReachabilityDetailTraceEndpointInfo]
    (Output) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. Structure is documented below.
    forward_trace_id int
    (Output) ID of the trace.
    steps Sequence[GetConnectivityTestRunReachabilityDetailTraceStep]
    (Output) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). Structure is documented below.
    endpointInfos List<Property Map>
    (Output) Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. Structure is documented below.
    forwardTraceId Number
    (Output) ID of the trace.
    steps List<Property Map>
    (Output) A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). Structure is documented below.

    GetConnectivityTestRunReachabilityDetailTraceEndpointInfo

    DestinationIp string
    (Output) Destination IP address.
    DestinationNetworkUri string
    (Output) URI of the network where this packet is sent to.
    DestinationPort int
    (Output) Destination port. Only valid when protocol is TCP or UDP.
    Protocol string
    (Output) IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    SourceAgentUri string
    (Output) URI of the source telemetry agent this packet originates from.
    SourceIp string
    (Output) Source IP address.
    SourceNetworkUri string
    (Output) URI of the network where this packet originates from.
    SourcePort int
    (Output) Source port. Only valid when protocol is TCP or UDP.
    DestinationIp string
    (Output) Destination IP address.
    DestinationNetworkUri string
    (Output) URI of the network where this packet is sent to.
    DestinationPort int
    (Output) Destination port. Only valid when protocol is TCP or UDP.
    Protocol string
    (Output) IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    SourceAgentUri string
    (Output) URI of the source telemetry agent this packet originates from.
    SourceIp string
    (Output) Source IP address.
    SourceNetworkUri string
    (Output) URI of the network where this packet originates from.
    SourcePort int
    (Output) Source port. Only valid when protocol is TCP or UDP.
    destinationIp String
    (Output) Destination IP address.
    destinationNetworkUri String
    (Output) URI of the network where this packet is sent to.
    destinationPort Integer
    (Output) Destination port. Only valid when protocol is TCP or UDP.
    protocol String
    (Output) IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    sourceAgentUri String
    (Output) URI of the source telemetry agent this packet originates from.
    sourceIp String
    (Output) Source IP address.
    sourceNetworkUri String
    (Output) URI of the network where this packet originates from.
    sourcePort Integer
    (Output) Source port. Only valid when protocol is TCP or UDP.
    destinationIp string
    (Output) Destination IP address.
    destinationNetworkUri string
    (Output) URI of the network where this packet is sent to.
    destinationPort number
    (Output) Destination port. Only valid when protocol is TCP or UDP.
    protocol string
    (Output) IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    sourceAgentUri string
    (Output) URI of the source telemetry agent this packet originates from.
    sourceIp string
    (Output) Source IP address.
    sourceNetworkUri string
    (Output) URI of the network where this packet originates from.
    sourcePort number
    (Output) Source port. Only valid when protocol is TCP or UDP.
    destination_ip str
    (Output) Destination IP address.
    destination_network_uri str
    (Output) URI of the network where this packet is sent to.
    destination_port int
    (Output) Destination port. Only valid when protocol is TCP or UDP.
    protocol str
    (Output) IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    source_agent_uri str
    (Output) URI of the source telemetry agent this packet originates from.
    source_ip str
    (Output) Source IP address.
    source_network_uri str
    (Output) URI of the network where this packet originates from.
    source_port int
    (Output) Source port. Only valid when protocol is TCP or UDP.
    destinationIp String
    (Output) Destination IP address.
    destinationNetworkUri String
    (Output) URI of the network where this packet is sent to.
    destinationPort Number
    (Output) Destination port. Only valid when protocol is TCP or UDP.
    protocol String
    (Output) IP protocol in string format, for example: "TCP", "UDP", "ICMP".
    sourceAgentUri String
    (Output) URI of the source telemetry agent this packet originates from.
    sourceIp String
    (Output) Source IP address.
    sourceNetworkUri String
    (Output) URI of the network where this packet originates from.
    sourcePort Number
    (Output) Source port. Only valid when protocol is TCP or UDP.

    GetConnectivityTestRunReachabilityDetailTraceStep

    CausesDrop bool
    (Output) If this step leads to the final state Drop.
    Description string
    (Output) Description of the connectivity test step.
    ProjectId string
    (Output) Project ID of the connectivity test step.
    State string
    (Output) State of the connectivity test step.
    CausesDrop bool
    (Output) If this step leads to the final state Drop.
    Description string
    (Output) Description of the connectivity test step.
    ProjectId string
    (Output) Project ID of the connectivity test step.
    State string
    (Output) State of the connectivity test step.
    causesDrop Boolean
    (Output) If this step leads to the final state Drop.
    description String
    (Output) Description of the connectivity test step.
    projectId String
    (Output) Project ID of the connectivity test step.
    state String
    (Output) State of the connectivity test step.
    causesDrop boolean
    (Output) If this step leads to the final state Drop.
    description string
    (Output) Description of the connectivity test step.
    projectId string
    (Output) Project ID of the connectivity test step.
    state string
    (Output) State of the connectivity test step.
    causes_drop bool
    (Output) If this step leads to the final state Drop.
    description str
    (Output) Description of the connectivity test step.
    project_id str
    (Output) Project ID of the connectivity test step.
    state str
    (Output) State of the connectivity test step.
    causesDrop Boolean
    (Output) If this step leads to the final state Drop.
    description String
    (Output) Description of the connectivity test step.
    projectId String
    (Output) Project ID of the connectivity test step.
    state String
    (Output) State of the connectivity test step.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud v8.41.1 published on Monday, Aug 25, 2025 by Pulumi