getShare function

Future<GetShareResult> getShare(
  1. GetShareArgs args, {
  2. InvokeOptions? options,
})

Gets the details of a specific share. args Arguments passed to this invoke. Arguments for getShare. options Invoke options controlling this call.

Implementation

Future<GetShareResult> getShare(
  GetShareArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:file/v1beta1:getShare',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetShareResult.fromMap(result);
}