getRoutine function
Gets the specified routine resource by routine ID.
args Arguments passed to this invoke. Arguments for getRoutine.
options Invoke options controlling this call.
Implementation
Future<GetRoutineResult> getRoutine(
GetRoutineArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:bigquery/v2:getRoutine',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetRoutineResult.fromMap(result);
}