getWorkstationCluster function

Future<GetWorkstationClusterResult> getWorkstationCluster(
  1. GetWorkstationClusterArgs args, {
  2. InvokeOptions? options,
})

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

Implementation

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