ConnectivityTestArgs class
The set of arguments for ConnectivityTest. The set of arguments for ConnectivityTest.
Constructors
-
ConnectivityTestArgs({Input<
String> ? description, required Input<Endpoint> destination, Input<Map< ? labels, required Input<String, String> >String> name, Input<String> ? project, Input<String> ? protocol, required Input<Endpoint> source, required Input<String> testId}) -
Creates a new ConnectivityTestArgs.
descriptionThe user-supplied description of the Connectivity Test. Maximum of 512 characters.destinationDestination 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.labelsResource labels to represent user-provided metadata.nameUnique name of the resource using the form:projects/{project_id}/locations/global/connectivityTests/{test_id}projectOptional.protocolIP Protocol of the test. When not provided, "TCP" is assumed.relatedProjectsOther projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.sourceSource 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.testIdRequired. 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 projectconst -
ConnectivityTestArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String> ? -
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
final
-
destination
→ Input<
Endpoint> -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> > -
Resource labels to represent user-provided metadata.
final
-
name
→ Input<
String> -
Unique name of the resource using the form:
projects/{project_id}/locations/global/connectivityTests/{test_id}final -
project
→ Input<
String> ? -
final
-
protocol
→ Input<
String> ? -
IP Protocol of the test. When not provided, "TCP" is assumed.
final
-
Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ Input<
Endpoint> -
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.
final
-
testId
→ Input<
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
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited