getHealthCheckComputeV1 function

Future<GetHealthCheckComputeV1Result> getHealthCheckComputeV1(
  1. GetHealthCheckComputeV1Args args, {
  2. InvokeOptions? options,
})

Returns the specified HealthCheck resource. args Arguments passed to this invoke. Arguments for getHealthCheck. options Invoke options controlling this call.

Implementation

Future<GetHealthCheckComputeV1Result> getHealthCheckComputeV1(
  GetHealthCheckComputeV1Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:compute/v1:getHealthCheck',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetHealthCheckComputeV1Result.fromMap(result);
}