powerflex 1.8.0 published on Monday, Apr 14, 2025 by dell
powerflex.getSnapshotPolicy
Explore with Pulumi AI
Using getSnapshotPolicy
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 getSnapshotPolicy(args: GetSnapshotPolicyArgs, opts?: InvokeOptions): Promise<GetSnapshotPolicyResult>
function getSnapshotPolicyOutput(args: GetSnapshotPolicyOutputArgs, opts?: InvokeOptions): Output<GetSnapshotPolicyResult>
def get_snapshot_policy(filter: Optional[GetSnapshotPolicyFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotPolicyResult
def get_snapshot_policy_output(filter: Optional[pulumi.Input[GetSnapshotPolicyFilterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotPolicyResult]
func LookupSnapshotPolicy(ctx *Context, args *LookupSnapshotPolicyArgs, opts ...InvokeOption) (*LookupSnapshotPolicyResult, error)
func LookupSnapshotPolicyOutput(ctx *Context, args *LookupSnapshotPolicyOutputArgs, opts ...InvokeOption) LookupSnapshotPolicyResultOutput
> Note: This function is named LookupSnapshotPolicy
in the Go SDK.
public static class GetSnapshotPolicy
{
public static Task<GetSnapshotPolicyResult> InvokeAsync(GetSnapshotPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotPolicyResult> Invoke(GetSnapshotPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnapshotPolicyResult> getSnapshotPolicy(GetSnapshotPolicyArgs args, InvokeOptions options)
public static Output<GetSnapshotPolicyResult> getSnapshotPolicy(GetSnapshotPolicyArgs args, InvokeOptions options)
fn::invoke:
function: powerflex:index/getSnapshotPolicy:getSnapshotPolicy
arguments:
# arguments dictionary
The following arguments are supported:
getSnapshotPolicy Result
The following output properties are available:
- Id string
- Unique identifier of the snapshot policy instance to fetch. Conflicts with
name
. - Snapshotpolicies
List<Get
Snapshot Policy Snapshotpolicy> - List of snapshot policies.
- Filter
Get
Snapshot Policy Filter
- Id string
- Unique identifier of the snapshot policy instance to fetch. Conflicts with
name
. - Snapshotpolicies
[]Get
Snapshot Policy Snapshotpolicy - List of snapshot policies.
- Filter
Get
Snapshot Policy Filter
- id String
- Unique identifier of the snapshot policy instance to fetch. Conflicts with
name
. - snapshotpolicies
List<Get
Snapshot Policy Snapshotpolicy> - List of snapshot policies.
- filter
Get
Snapshot Policy Filter
- id string
- Unique identifier of the snapshot policy instance to fetch. Conflicts with
name
. - snapshotpolicies
Get
Snapshot Policy Snapshotpolicy[] - List of snapshot policies.
- filter
Get
Snapshot Policy Filter
- id str
- Unique identifier of the snapshot policy instance to fetch. Conflicts with
name
. - snapshotpolicies
Sequence[Get
Snapshot Policy Snapshotpolicy] - List of snapshot policies.
- filter
Get
Snapshot Policy Filter
- id String
- Unique identifier of the snapshot policy instance to fetch. Conflicts with
name
. - snapshotpolicies List<Property Map>
- List of snapshot policies.
- filter Property Map
Supporting Types
GetSnapshotPolicyFilter
- Auto
Snapshot List<double>Creation Cadence In Mins - List of autosnapshotcreationcadencein_min
- Ids List<string>
- List of id
- Last
Auto List<string>Snapshot Creation Failure Reasons - List of lastautosnapshotcreationfailure_reason
- Last
Auto boolSnapshot Failure In First Level - Value for lastautosnapshotfailureinfirstlevel
- Max
Vtree List<double>Auto Snapshots - List of maxvtreeauto_snapshots
- Names List<string>
- List of name
- Next
Auto List<double>Snapshot Creation Times - List of nextautosnapshotcreationtime
- Num
Of List<double>Auto Snapshots - List of numofauto_snapshots
- Num
Of List<double>Creation Failures - List of numofcreation_failures
- Num
Of List<double>Expired But Locked Snapshots - List of numofexpiredbutlocked_snapshots
- Num
Of List<double>Locked Snapshots - List of numoflocked_snapshots
- Num
Of List<double>Retained Snapshots Per Levels - List of numofretainedsnapshotsper_level
- Num
Of List<double>Source Volumes - List of numofsource_volumes
- Secure
Snapshots bool - Value for secure_snapshots
- Snapshot
Access List<string>Modes - List of snapshotaccessmode
- Snapshot
Policy List<string>States - List of snapshotpolicystate
- System
Ids List<string> - List of system_id
- Time
Of List<double>Last Auto Snapshot Creation Failures - List of timeoflastautosnapshotcreationfailure
- Time
Of List<double>Last Auto Snapshots - List of timeoflastautosnapshot
- Auto
Snapshot []float64Creation Cadence In Mins - List of autosnapshotcreationcadencein_min
- Ids []string
- List of id
- Last
Auto []stringSnapshot Creation Failure Reasons - List of lastautosnapshotcreationfailure_reason
- Last
Auto boolSnapshot Failure In First Level - Value for lastautosnapshotfailureinfirstlevel
- Max
Vtree []float64Auto Snapshots - List of maxvtreeauto_snapshots
- Names []string
- List of name
- Next
Auto []float64Snapshot Creation Times - List of nextautosnapshotcreationtime
- Num
Of []float64Auto Snapshots - List of numofauto_snapshots
- Num
Of []float64Creation Failures - List of numofcreation_failures
- Num
Of []float64Expired But Locked Snapshots - List of numofexpiredbutlocked_snapshots
- Num
Of []float64Locked Snapshots - List of numoflocked_snapshots
- Num
Of []float64Retained Snapshots Per Levels - List of numofretainedsnapshotsper_level
- Num
Of []float64Source Volumes - List of numofsource_volumes
- Secure
Snapshots bool - Value for secure_snapshots
- Snapshot
Access []stringModes - List of snapshotaccessmode
- Snapshot
Policy []stringStates - List of snapshotpolicystate
- System
Ids []string - List of system_id
- Time
Of []float64Last Auto Snapshot Creation Failures - List of timeoflastautosnapshotcreationfailure
- Time
Of []float64Last Auto Snapshots - List of timeoflastautosnapshot
- auto
Snapshot List<Double>Creation Cadence In Mins - List of autosnapshotcreationcadencein_min
- ids List<String>
- List of id
- last
Auto List<String>Snapshot Creation Failure Reasons - List of lastautosnapshotcreationfailure_reason
- last
Auto BooleanSnapshot Failure In First Level - Value for lastautosnapshotfailureinfirstlevel
- max
Vtree List<Double>Auto Snapshots - List of maxvtreeauto_snapshots
- names List<String>
- List of name
- next
Auto List<Double>Snapshot Creation Times - List of nextautosnapshotcreationtime
- num
Of List<Double>Auto Snapshots - List of numofauto_snapshots
- num
Of List<Double>Creation Failures - List of numofcreation_failures
- num
Of List<Double>Expired But Locked Snapshots - List of numofexpiredbutlocked_snapshots
- num
Of List<Double>Locked Snapshots - List of numoflocked_snapshots
- num
Of List<Double>Retained Snapshots Per Levels - List of numofretainedsnapshotsper_level
- num
Of List<Double>Source Volumes - List of numofsource_volumes
- secure
Snapshots Boolean - Value for secure_snapshots
- snapshot
Access List<String>Modes - List of snapshotaccessmode
- snapshot
Policy List<String>States - List of snapshotpolicystate
- system
Ids List<String> - List of system_id
- time
Of List<Double>Last Auto Snapshot Creation Failures - List of timeoflastautosnapshotcreationfailure
- time
Of List<Double>Last Auto Snapshots - List of timeoflastautosnapshot
- auto
Snapshot number[]Creation Cadence In Mins - List of autosnapshotcreationcadencein_min
- ids string[]
- List of id
- last
Auto string[]Snapshot Creation Failure Reasons - List of lastautosnapshotcreationfailure_reason
- last
Auto booleanSnapshot Failure In First Level - Value for lastautosnapshotfailureinfirstlevel
- max
Vtree number[]Auto Snapshots - List of maxvtreeauto_snapshots
- names string[]
- List of name
- next
Auto number[]Snapshot Creation Times - List of nextautosnapshotcreationtime
- num
Of number[]Auto Snapshots - List of numofauto_snapshots
- num
Of number[]Creation Failures - List of numofcreation_failures
- num
Of number[]Expired But Locked Snapshots - List of numofexpiredbutlocked_snapshots
- num
Of number[]Locked Snapshots - List of numoflocked_snapshots
- num
Of number[]Retained Snapshots Per Levels - List of numofretainedsnapshotsper_level
- num
Of number[]Source Volumes - List of numofsource_volumes
- secure
Snapshots boolean - Value for secure_snapshots
- snapshot
Access string[]Modes - List of snapshotaccessmode
- snapshot
Policy string[]States - List of snapshotpolicystate
- system
Ids string[] - List of system_id
- time
Of number[]Last Auto Snapshot Creation Failures - List of timeoflastautosnapshotcreationfailure
- time
Of number[]Last Auto Snapshots - List of timeoflastautosnapshot
- auto_
snapshot_ Sequence[float]creation_ cadence_ in_ mins - List of autosnapshotcreationcadencein_min
- ids Sequence[str]
- List of id
- last_
auto_ Sequence[str]snapshot_ creation_ failure_ reasons - List of lastautosnapshotcreationfailure_reason
- last_
auto_ boolsnapshot_ failure_ in_ first_ level - Value for lastautosnapshotfailureinfirstlevel
- max_
vtree_ Sequence[float]auto_ snapshots - List of maxvtreeauto_snapshots
- names Sequence[str]
- List of name
- next_
auto_ Sequence[float]snapshot_ creation_ times - List of nextautosnapshotcreationtime
- num_
of_ Sequence[float]auto_ snapshots - List of numofauto_snapshots
- num_
of_ Sequence[float]creation_ failures - List of numofcreation_failures
- num_
of_ Sequence[float]expired_ but_ locked_ snapshots - List of numofexpiredbutlocked_snapshots
- num_
of_ Sequence[float]locked_ snapshots - List of numoflocked_snapshots
- num_
of_ Sequence[float]retained_ snapshots_ per_ levels - List of numofretainedsnapshotsper_level
- num_
of_ Sequence[float]source_ volumes - List of numofsource_volumes
- secure_
snapshots bool - Value for secure_snapshots
- snapshot_
access_ Sequence[str]modes - List of snapshotaccessmode
- snapshot_
policy_ Sequence[str]states - List of snapshotpolicystate
- system_
ids Sequence[str] - List of system_id
- time_
of_ Sequence[float]last_ auto_ snapshot_ creation_ failures - List of timeoflastautosnapshotcreationfailure
- time_
of_ Sequence[float]last_ auto_ snapshots - List of timeoflastautosnapshot
- auto
Snapshot List<Number>Creation Cadence In Mins - List of autosnapshotcreationcadencein_min
- ids List<String>
- List of id
- last
Auto List<String>Snapshot Creation Failure Reasons - List of lastautosnapshotcreationfailure_reason
- last
Auto BooleanSnapshot Failure In First Level - Value for lastautosnapshotfailureinfirstlevel
- max
Vtree List<Number>Auto Snapshots - List of maxvtreeauto_snapshots
- names List<String>
- List of name
- next
Auto List<Number>Snapshot Creation Times - List of nextautosnapshotcreationtime
- num
Of List<Number>Auto Snapshots - List of numofauto_snapshots
- num
Of List<Number>Creation Failures - List of numofcreation_failures
- num
Of List<Number>Expired But Locked Snapshots - List of numofexpiredbutlocked_snapshots
- num
Of List<Number>Locked Snapshots - List of numoflocked_snapshots
- num
Of List<Number>Retained Snapshots Per Levels - List of numofretainedsnapshotsper_level
- num
Of List<Number>Source Volumes - List of numofsource_volumes
- secure
Snapshots Boolean - Value for secure_snapshots
- snapshot
Access List<String>Modes - List of snapshotaccessmode
- snapshot
Policy List<String>States - List of snapshotpolicystate
- system
Ids List<String> - List of system_id
- time
Of List<Number>Last Auto Snapshot Creation Failures - List of timeoflastautosnapshotcreationfailure
- time
Of List<Number>Last Auto Snapshots - List of timeoflastautosnapshot
GetSnapshotPolicySnapshotpolicy
- Auto
Snapshot doubleCreation Cadence In Min - Auto snapshot creation cadence in min.
- Id string
- Unique identifier of the snapshot policy instance.
- Last
Auto stringSnapshot Creation Failure Reason - Last auto snapshot creation failure reason.
- Last
Auto boolSnapshot Failure In First Level - Last auto snapshot failure in first level.
- Links
List<Get
Snapshot Policy Snapshotpolicy Link> - Specifies the links associated for a snapshot policy.
- Max
Vtree doubleAuto Snapshots - Max vtree auto snapshots.
- Name string
- Name of the snapshot policy.
- Next
Auto doubleSnapshot Creation Time - Next auto snapshot creation time.
- Num
Of doubleAuto Snapshots - Number of auto snapshots.
- Num
Of doubleCreation Failures - Number of creation failures.
- Num
Of doubleExpired But Locked Snapshots - Number of expired but locked snapshots.
- Num
Of doubleLocked Snapshots - Number of locked snapshots.
- Num
Of List<double>Retained Snapshots Per Levels - Number of retained snapshots per level.
- Num
Of doubleSource Volumes - Number of source Volumes.
- Secure
Snapshots bool - Secure snapshots.
- Snapshot
Access stringMode - Snapshot Access Mode.
- Snapshot
Policy stringState - Specifies the current state of the snapshot policy.
- System
Id string - System Identifier.
- Time
Of doubleLast Auto Snapshot - Time of last auto snapshot.
- Time
Of doubleLast Auto Snapshot Creation Failure - Time of last auto snapshot creation failure.
- Auto
Snapshot float64Creation Cadence In Min - Auto snapshot creation cadence in min.
- Id string
- Unique identifier of the snapshot policy instance.
- Last
Auto stringSnapshot Creation Failure Reason - Last auto snapshot creation failure reason.
- Last
Auto boolSnapshot Failure In First Level - Last auto snapshot failure in first level.
- Links
[]Get
Snapshot Policy Snapshotpolicy Link - Specifies the links associated for a snapshot policy.
- Max
Vtree float64Auto Snapshots - Max vtree auto snapshots.
- Name string
- Name of the snapshot policy.
- Next
Auto float64Snapshot Creation Time - Next auto snapshot creation time.
- Num
Of float64Auto Snapshots - Number of auto snapshots.
- Num
Of float64Creation Failures - Number of creation failures.
- Num
Of float64Expired But Locked Snapshots - Number of expired but locked snapshots.
- Num
Of float64Locked Snapshots - Number of locked snapshots.
- Num
Of []float64Retained Snapshots Per Levels - Number of retained snapshots per level.
- Num
Of float64Source Volumes - Number of source Volumes.
- Secure
Snapshots bool - Secure snapshots.
- Snapshot
Access stringMode - Snapshot Access Mode.
- Snapshot
Policy stringState - Specifies the current state of the snapshot policy.
- System
Id string - System Identifier.
- Time
Of float64Last Auto Snapshot - Time of last auto snapshot.
- Time
Of float64Last Auto Snapshot Creation Failure - Time of last auto snapshot creation failure.
- auto
Snapshot DoubleCreation Cadence In Min - Auto snapshot creation cadence in min.
- id String
- Unique identifier of the snapshot policy instance.
- last
Auto StringSnapshot Creation Failure Reason - Last auto snapshot creation failure reason.
- last
Auto BooleanSnapshot Failure In First Level - Last auto snapshot failure in first level.
- links
List<Get
Snapshot Policy Snapshotpolicy Link> - Specifies the links associated for a snapshot policy.
- max
Vtree DoubleAuto Snapshots - Max vtree auto snapshots.
- name String
- Name of the snapshot policy.
- next
Auto DoubleSnapshot Creation Time - Next auto snapshot creation time.
- num
Of DoubleAuto Snapshots - Number of auto snapshots.
- num
Of DoubleCreation Failures - Number of creation failures.
- num
Of DoubleExpired But Locked Snapshots - Number of expired but locked snapshots.
- num
Of DoubleLocked Snapshots - Number of locked snapshots.
- num
Of List<Double>Retained Snapshots Per Levels - Number of retained snapshots per level.
- num
Of DoubleSource Volumes - Number of source Volumes.
- secure
Snapshots Boolean - Secure snapshots.
- snapshot
Access StringMode - Snapshot Access Mode.
- snapshot
Policy StringState - Specifies the current state of the snapshot policy.
- system
Id String - System Identifier.
- time
Of DoubleLast Auto Snapshot - Time of last auto snapshot.
- time
Of DoubleLast Auto Snapshot Creation Failure - Time of last auto snapshot creation failure.
- auto
Snapshot numberCreation Cadence In Min - Auto snapshot creation cadence in min.
- id string
- Unique identifier of the snapshot policy instance.
- last
Auto stringSnapshot Creation Failure Reason - Last auto snapshot creation failure reason.
- last
Auto booleanSnapshot Failure In First Level - Last auto snapshot failure in first level.
- links
Get
Snapshot Policy Snapshotpolicy Link[] - Specifies the links associated for a snapshot policy.
- max
Vtree numberAuto Snapshots - Max vtree auto snapshots.
- name string
- Name of the snapshot policy.
- next
Auto numberSnapshot Creation Time - Next auto snapshot creation time.
- num
Of numberAuto Snapshots - Number of auto snapshots.
- num
Of numberCreation Failures - Number of creation failures.
- num
Of numberExpired But Locked Snapshots - Number of expired but locked snapshots.
- num
Of numberLocked Snapshots - Number of locked snapshots.
- num
Of number[]Retained Snapshots Per Levels - Number of retained snapshots per level.
- num
Of numberSource Volumes - Number of source Volumes.
- secure
Snapshots boolean - Secure snapshots.
- snapshot
Access stringMode - Snapshot Access Mode.
- snapshot
Policy stringState - Specifies the current state of the snapshot policy.
- system
Id string - System Identifier.
- time
Of numberLast Auto Snapshot - Time of last auto snapshot.
- time
Of numberLast Auto Snapshot Creation Failure - Time of last auto snapshot creation failure.
- auto_
snapshot_ floatcreation_ cadence_ in_ min - Auto snapshot creation cadence in min.
- id str
- Unique identifier of the snapshot policy instance.
- last_
auto_ strsnapshot_ creation_ failure_ reason - Last auto snapshot creation failure reason.
- last_
auto_ boolsnapshot_ failure_ in_ first_ level - Last auto snapshot failure in first level.
- links
Sequence[Get
Snapshot Policy Snapshotpolicy Link] - Specifies the links associated for a snapshot policy.
- max_
vtree_ floatauto_ snapshots - Max vtree auto snapshots.
- name str
- Name of the snapshot policy.
- next_
auto_ floatsnapshot_ creation_ time - Next auto snapshot creation time.
- num_
of_ floatauto_ snapshots - Number of auto snapshots.
- num_
of_ floatcreation_ failures - Number of creation failures.
- num_
of_ floatexpired_ but_ locked_ snapshots - Number of expired but locked snapshots.
- num_
of_ floatlocked_ snapshots - Number of locked snapshots.
- num_
of_ Sequence[float]retained_ snapshots_ per_ levels - Number of retained snapshots per level.
- num_
of_ floatsource_ volumes - Number of source Volumes.
- secure_
snapshots bool - Secure snapshots.
- snapshot_
access_ strmode - Snapshot Access Mode.
- snapshot_
policy_ strstate - Specifies the current state of the snapshot policy.
- system_
id str - System Identifier.
- time_
of_ floatlast_ auto_ snapshot - Time of last auto snapshot.
- time_
of_ floatlast_ auto_ snapshot_ creation_ failure - Time of last auto snapshot creation failure.
- auto
Snapshot NumberCreation Cadence In Min - Auto snapshot creation cadence in min.
- id String
- Unique identifier of the snapshot policy instance.
- last
Auto StringSnapshot Creation Failure Reason - Last auto snapshot creation failure reason.
- last
Auto BooleanSnapshot Failure In First Level - Last auto snapshot failure in first level.
- links List<Property Map>
- Specifies the links associated for a snapshot policy.
- max
Vtree NumberAuto Snapshots - Max vtree auto snapshots.
- name String
- Name of the snapshot policy.
- next
Auto NumberSnapshot Creation Time - Next auto snapshot creation time.
- num
Of NumberAuto Snapshots - Number of auto snapshots.
- num
Of NumberCreation Failures - Number of creation failures.
- num
Of NumberExpired But Locked Snapshots - Number of expired but locked snapshots.
- num
Of NumberLocked Snapshots - Number of locked snapshots.
- num
Of List<Number>Retained Snapshots Per Levels - Number of retained snapshots per level.
- num
Of NumberSource Volumes - Number of source Volumes.
- secure
Snapshots Boolean - Secure snapshots.
- snapshot
Access StringMode - Snapshot Access Mode.
- snapshot
Policy StringState - Specifies the current state of the snapshot policy.
- system
Id String - System Identifier.
- time
Of NumberLast Auto Snapshot - Time of last auto snapshot.
- time
Of NumberLast Auto Snapshot Creation Failure - Time of last auto snapshot creation failure.
GetSnapshotPolicySnapshotpolicyLink
Package Details
- Repository
- powerflex dell/terraform-provider-powerflex
- License
- Notes
- This Pulumi package is based on the
powerflex
Terraform Provider.