getNfsShare function

Future<GetNfsShareResult> getNfsShare(
  1. GetNfsShareArgs args, {
  2. InvokeOptions? options,
})

Get details of a single NFS share. args Arguments passed to this invoke. Arguments for getNfsShare. options Invoke options controlling this call.

Implementation

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