getWorkstation function

Future<GetWorkstationResult> getWorkstation(
  1. GetWorkstationArgs args, {
  2. InvokeOptions? options,
})

Returns the requested workstation. args Arguments passed to this invoke. Arguments for getWorkstation. options Invoke options controlling this call.

Implementation

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