getNodeTpuV2 function

Future<GetNodeTpuV2Result> getNodeTpuV2(
  1. GetNodeTpuV2Args args, {
  2. InvokeOptions? options,
})

Gets the details of a node. args Arguments passed to this invoke. Arguments for getNode. options Invoke options controlling this call.

Implementation

Future<GetNodeTpuV2Result> getNodeTpuV2(
  GetNodeTpuV2Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:tpu/v2:getNode',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetNodeTpuV2Result.fromMap(result);
}