Viewing docs for DigitalOcean v4.63.0
published on Wednesday, Mar 25, 2026 by Pulumi
published on Wednesday, Mar 25, 2026 by Pulumi
Viewing docs for DigitalOcean v4.63.0
published on Wednesday, Mar 25, 2026 by Pulumi
published on Wednesday, Mar 25, 2026 by Pulumi
Get information about a DigitalOcean NFS snapshot.
Example Usage
Get the NFS snapshot by ID:
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
example:
fn::invoke:
function: digitalocean:getNfsSnapshot
arguments:
id: 506f78a4-e098-11e5-ad9f-000f53306ae1
Using getNfsSnapshot
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNfsSnapshot(args: GetNfsSnapshotArgs, opts?: InvokeOptions): Promise<GetNfsSnapshotResult>
function getNfsSnapshotOutput(args: GetNfsSnapshotOutputArgs, opts?: InvokeOptions): Output<GetNfsSnapshotResult>def get_nfs_snapshot(name: Optional[str] = None,
name_regex: Optional[str] = None,
region: Optional[str] = None,
share_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNfsSnapshotResult
def get_nfs_snapshot_output(name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
share_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNfsSnapshotResult]func LookupNfsSnapshot(ctx *Context, args *LookupNfsSnapshotArgs, opts ...InvokeOption) (*LookupNfsSnapshotResult, error)
func LookupNfsSnapshotOutput(ctx *Context, args *LookupNfsSnapshotOutputArgs, opts ...InvokeOption) LookupNfsSnapshotResultOutput> Note: This function is named LookupNfsSnapshot in the Go SDK.
public static class GetNfsSnapshot
{
public static Task<GetNfsSnapshotResult> InvokeAsync(GetNfsSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetNfsSnapshotResult> Invoke(GetNfsSnapshotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNfsSnapshotResult> getNfsSnapshot(GetNfsSnapshotArgs args, InvokeOptions options)
public static Output<GetNfsSnapshotResult> getNfsSnapshot(GetNfsSnapshotArgs args, InvokeOptions options)
fn::invoke:
function: digitalocean:index/getNfsSnapshot:getNfsSnapshot
arguments:
# arguments dictionaryThe following arguments are supported:
- str
- name str
- name_
regex str - region str
- The region where the NFS snapshot is located.
getNfsSnapshot Result
The following output properties are available:
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- str
- size int
- status int
- Sequence[str]
- name str
- name_
regex str - region str
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
Viewing docs for DigitalOcean v4.63.0
published on Wednesday, Mar 25, 2026 by Pulumi
published on Wednesday, Mar 25, 2026 by Pulumi
