getCustomJob function

Future<GetCustomJobResult> getCustomJob(
  1. GetCustomJobArgs args, {
  2. InvokeOptions? options,
})

Gets a CustomJob. args Arguments passed to this invoke. Arguments for getCustomJob. options Invoke options controlling this call.

Implementation

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