ConnectivityTest constructor
ConnectivityTest(
- String name, {
- ConnectivityTestArgs? args,
- CustomResourceOptions? options,
Creates a new ConnectivityTest.
name The Pulumi resource name.
args Arguments used to configure this ConnectivityTest. The set of arguments for ConnectivityTest.
options Resource options controlling this resource's behavior.
Implementation
ConnectivityTest(
String name, {
ConnectivityTestArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:networkmanagement/v1:ConnectivityTest',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
createTime = registerOutput<String>('createTime');
description = registerOutput<String>('description');
destination = registerOutput<EndpointResponse>('destination', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return EndpointResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
displayName = registerOutput<String>('displayName');
labels = registerOutput<Map<String, String>>('labels');
this.name = registerOutput<String>('name');
probingDetails = registerOutput<ProbingDetailsResponse>('probingDetails', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ProbingDetailsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
project = registerOutput<String>('project');
protocol = registerOutput<String>('protocol');
reachabilityDetails = registerOutput<ReachabilityDetailsResponse>('reachabilityDetails', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ReachabilityDetailsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
relatedProjects = registerOutput<List<String>>('relatedProjects');
source = registerOutput<EndpointResponse>('source', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return EndpointResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
testId = registerOutput<String>('testId');
updateTime = registerOutput<String>('updateTime');
}