Viewing docs for DigitalOcean v4.67.0
published on Tuesday, May 19, 2026 by Pulumi
published on Tuesday, May 19, 2026 by Pulumi
Viewing docs for DigitalOcean v4.67.0
published on Tuesday, May 19, 2026 by Pulumi
published on Tuesday, May 19, 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
Example coming soon!
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: pulumi.Input[Optional[str]] = None,
name_regex: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
share_id: pulumi.Input[Optional[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 dictionarydata "digitalocean_getnfssnapshot" "name" {
# arguments
}The following arguments are supported:
- string
- name string
- name_
regex string - region string
- The region where the NFS snapshot is located.
- 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 string - id string
- The provider-assigned unique ID for this managed resource.
- string
- size number
- status number
- list(string)
- name string
- name_
regex string - region string
- 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.67.0
published on Tuesday, May 19, 2026 by Pulumi
published on Tuesday, May 19, 2026 by Pulumi
