ConnectivityTest

class ConnectivityTest : KotlinCustomResource

Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in ConnectivityTest are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN. If the endpoint specifications in ConnectivityTest are incomplete, the reachability result returns a value of AMBIGUOUS. For more information, see the Connectivity Test documentation. Auto-naming is currently not supported for this resource.

Properties

Link copied to clipboard
val createTime: Output<String>

The time the test was created.

Link copied to clipboard
val description: Output<String>

The user-supplied description of the Connectivity Test. Maximum of 512 characters.

Link copied to clipboard

Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.

Link copied to clipboard
val displayName: Output<String>

The display name of a Connectivity Test.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val labels: Output<Map<String, String>>

Resource labels to represent user-provided metadata.

Link copied to clipboard
val name: Output<String>

Unique name of the resource using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
val protocol: Output<String>

IP Protocol of the test. When not provided, "TCP" is assumed.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The reachability details of this test from the latest run. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.

Link copied to clipboard

Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.

Link copied to clipboard

Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.

Link copied to clipboard
val testId: Output<String>

Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project

Link copied to clipboard
val updateTime: Output<String>

The time the test's configuration was updated.

Link copied to clipboard
val urn: Output<String>