getSnapshotFileV1beta1 function

Future<GetSnapshotFileV1beta1Result> getSnapshotFileV1beta1(
  1. GetSnapshotFileV1beta1Args args, {
  2. InvokeOptions? options,
})

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

Implementation

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