powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell
powerscale.getSnapshot
Explore with Pulumi AI
This datasource is used to query the existing Snapshots from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. PowerScale Snapshots is a logical pointer to data that is stored on a cluster at a specific point in time.
Using getSnapshot
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 getSnapshot(args: GetSnapshotArgs, opts?: InvokeOptions): Promise<GetSnapshotResult>
function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: InvokeOptions): Output<GetSnapshotResult>
def get_snapshot(filter: Optional[GetSnapshotFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotResult
def get_snapshot_output(filter: Optional[pulumi.Input[GetSnapshotFilterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotResult]
func LookupSnapshot(ctx *Context, args *LookupSnapshotArgs, opts ...InvokeOption) (*LookupSnapshotResult, error)
func LookupSnapshotOutput(ctx *Context, args *LookupSnapshotOutputArgs, opts ...InvokeOption) LookupSnapshotResultOutput
> Note: This function is named LookupSnapshot
in the Go SDK.
public static class GetSnapshot
{
public static Task<GetSnapshotResult> InvokeAsync(GetSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotResult> Invoke(GetSnapshotInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
public static Output<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
fn::invoke:
function: powerscale:index/getSnapshot:getSnapshot
arguments:
# arguments dictionary
The following arguments are supported:
getSnapshot Result
The following output properties are available:
- Id string
- Identifier
- Snapshots
Details List<GetSnapshot Snapshots Detail> - List of Snapshots
- Filter
Get
Snapshot Filter
- Id string
- Identifier
- Snapshots
Details []GetSnapshot Snapshots Detail - List of Snapshots
- Filter
Get
Snapshot Filter
- id String
- Identifier
- snapshots
Details List<GetSnapshot Snapshots Detail> - List of Snapshots
- filter
Get
Snapshot Filter
- id string
- Identifier
- snapshots
Details GetSnapshot Snapshots Detail[] - List of Snapshots
- filter
Get
Snapshot Filter
- id str
- Identifier
- snapshots_
details Sequence[GetSnapshot Snapshots Detail] - List of Snapshots
- filter
Get
Snapshot Filter
- id String
- Identifier
- snapshots
Details List<Property Map> - List of Snapshots
- filter Property Map
Supporting Types
GetSnapshotFilter
GetSnapshotSnapshotsDetail
- Alias string
- The name of the alias, none for real snapshots.
- Created double
- The Unix Epoch time the snapshot was created.
- Expires double
- The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
- Has
Locks bool - True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
- Id string
- The system ID given to the snapshot. This is useful for tracking the status of delete pending snapshots.
- Name string
- The user or system supplied snapshot name. This will be null for snapshots pending delete.
- Path string
- The /ifs path snapshotted.
- Pct
Filesystem double - Percentage of /ifs used for storing this snapshot.
- Pct
Reserve double - Percentage of configured snapshot reserved used for storing this snapshot.
- Schedule string
- The name of the schedule used to create this snapshot, if applicable.
- Set
Expires string - The amount of time from creation before the snapshot will expire and be eligible for automatic deletion.
- Shadow
Bytes double - The amount of shadow bytes referred to by this snapshot.
- Size double
- The amount of storage in bytes used to store this snapshot.
- State string
- Snapshot state.
- Target
Id double - The ID of the snapshot pointed to if this is an alias. An alias to the live filesystem is represented by the value -1.
- Target
Name string - The name of the snapshot pointed to if this is an alias.
- Alias string
- The name of the alias, none for real snapshots.
- Created float64
- The Unix Epoch time the snapshot was created.
- Expires float64
- The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
- Has
Locks bool - True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
- Id string
- The system ID given to the snapshot. This is useful for tracking the status of delete pending snapshots.
- Name string
- The user or system supplied snapshot name. This will be null for snapshots pending delete.
- Path string
- The /ifs path snapshotted.
- Pct
Filesystem float64 - Percentage of /ifs used for storing this snapshot.
- Pct
Reserve float64 - Percentage of configured snapshot reserved used for storing this snapshot.
- Schedule string
- The name of the schedule used to create this snapshot, if applicable.
- Set
Expires string - The amount of time from creation before the snapshot will expire and be eligible for automatic deletion.
- Shadow
Bytes float64 - The amount of shadow bytes referred to by this snapshot.
- Size float64
- The amount of storage in bytes used to store this snapshot.
- State string
- Snapshot state.
- Target
Id float64 - The ID of the snapshot pointed to if this is an alias. An alias to the live filesystem is represented by the value -1.
- Target
Name string - The name of the snapshot pointed to if this is an alias.
- alias String
- The name of the alias, none for real snapshots.
- created Double
- The Unix Epoch time the snapshot was created.
- expires Double
- The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
- has
Locks Boolean - True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
- id String
- The system ID given to the snapshot. This is useful for tracking the status of delete pending snapshots.
- name String
- The user or system supplied snapshot name. This will be null for snapshots pending delete.
- path String
- The /ifs path snapshotted.
- pct
Filesystem Double - Percentage of /ifs used for storing this snapshot.
- pct
Reserve Double - Percentage of configured snapshot reserved used for storing this snapshot.
- schedule String
- The name of the schedule used to create this snapshot, if applicable.
- set
Expires String - The amount of time from creation before the snapshot will expire and be eligible for automatic deletion.
- shadow
Bytes Double - The amount of shadow bytes referred to by this snapshot.
- size Double
- The amount of storage in bytes used to store this snapshot.
- state String
- Snapshot state.
- target
Id Double - The ID of the snapshot pointed to if this is an alias. An alias to the live filesystem is represented by the value -1.
- target
Name String - The name of the snapshot pointed to if this is an alias.
- alias string
- The name of the alias, none for real snapshots.
- created number
- The Unix Epoch time the snapshot was created.
- expires number
- The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
- has
Locks boolean - True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
- id string
- The system ID given to the snapshot. This is useful for tracking the status of delete pending snapshots.
- name string
- The user or system supplied snapshot name. This will be null for snapshots pending delete.
- path string
- The /ifs path snapshotted.
- pct
Filesystem number - Percentage of /ifs used for storing this snapshot.
- pct
Reserve number - Percentage of configured snapshot reserved used for storing this snapshot.
- schedule string
- The name of the schedule used to create this snapshot, if applicable.
- set
Expires string - The amount of time from creation before the snapshot will expire and be eligible for automatic deletion.
- shadow
Bytes number - The amount of shadow bytes referred to by this snapshot.
- size number
- The amount of storage in bytes used to store this snapshot.
- state string
- Snapshot state.
- target
Id number - The ID of the snapshot pointed to if this is an alias. An alias to the live filesystem is represented by the value -1.
- target
Name string - The name of the snapshot pointed to if this is an alias.
- alias str
- The name of the alias, none for real snapshots.
- created float
- The Unix Epoch time the snapshot was created.
- expires float
- The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
- has_
locks bool - True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
- id str
- The system ID given to the snapshot. This is useful for tracking the status of delete pending snapshots.
- name str
- The user or system supplied snapshot name. This will be null for snapshots pending delete.
- path str
- The /ifs path snapshotted.
- pct_
filesystem float - Percentage of /ifs used for storing this snapshot.
- pct_
reserve float - Percentage of configured snapshot reserved used for storing this snapshot.
- schedule str
- The name of the schedule used to create this snapshot, if applicable.
- set_
expires str - The amount of time from creation before the snapshot will expire and be eligible for automatic deletion.
- shadow_
bytes float - The amount of shadow bytes referred to by this snapshot.
- size float
- The amount of storage in bytes used to store this snapshot.
- state str
- Snapshot state.
- target_
id float - The ID of the snapshot pointed to if this is an alias. An alias to the live filesystem is represented by the value -1.
- target_
name str - The name of the snapshot pointed to if this is an alias.
- alias String
- The name of the alias, none for real snapshots.
- created Number
- The Unix Epoch time the snapshot was created.
- expires Number
- The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
- has
Locks Boolean - True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
- id String
- The system ID given to the snapshot. This is useful for tracking the status of delete pending snapshots.
- name String
- The user or system supplied snapshot name. This will be null for snapshots pending delete.
- path String
- The /ifs path snapshotted.
- pct
Filesystem Number - Percentage of /ifs used for storing this snapshot.
- pct
Reserve Number - Percentage of configured snapshot reserved used for storing this snapshot.
- schedule String
- The name of the schedule used to create this snapshot, if applicable.
- set
Expires String - The amount of time from creation before the snapshot will expire and be eligible for automatic deletion.
- shadow
Bytes Number - The amount of shadow bytes referred to by this snapshot.
- size Number
- The amount of storage in bytes used to store this snapshot.
- state String
- Snapshot state.
- target
Id Number - The ID of the snapshot pointed to if this is an alias. An alias to the live filesystem is represented by the value -1.
- target
Name String - The name of the snapshot pointed to if this is an alias.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.