@pulumi/digitalocean
Version:
A Pulumi package for creating and managing DigitalOcean cloud resources.
59 lines (58 loc) • 1.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a DigitalOcean NFS snapshot.
*
* ## Example Usage
*
* Get the NFS snapshot by ID:
*/
export declare function getNfsSnapshot(args: GetNfsSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetNfsSnapshotResult>;
/**
* A collection of arguments for invoking getNfsSnapshot.
*/
export interface GetNfsSnapshotArgs {
name?: string;
nameRegex?: string;
/**
* The region where the NFS snapshot is located.
*/
region?: string;
shareId: string;
}
/**
* A collection of values returned by getNfsSnapshot.
*/
export interface GetNfsSnapshotResult {
readonly createdAt: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
readonly nameRegex?: string;
readonly region?: string;
readonly shareId: string;
readonly size: number;
readonly status: number;
readonly tags: string[];
}
/**
* Get information about a DigitalOcean NFS snapshot.
*
* ## Example Usage
*
* Get the NFS snapshot by ID:
*/
export declare function getNfsSnapshotOutput(args: GetNfsSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNfsSnapshotResult>;
/**
* A collection of arguments for invoking getNfsSnapshot.
*/
export interface GetNfsSnapshotOutputArgs {
name?: pulumi.Input<string>;
nameRegex?: pulumi.Input<string>;
/**
* The region where the NFS snapshot is located.
*/
region?: pulumi.Input<string>;
shareId: pulumi.Input<string>;
}