powerstore 1.2.1 published on Thursday, Jun 26, 2025 by dell
powerstore.getSnapshotrule
Start a Neo task
Explain and create a powerstore.getSnapshotrule resource
Using getSnapshotrule
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 getSnapshotrule(args: GetSnapshotruleArgs, opts?: InvokeOptions): Promise<GetSnapshotruleResult>
function getSnapshotruleOutput(args: GetSnapshotruleOutputArgs, opts?: InvokeOptions): Output<GetSnapshotruleResult>def get_snapshotrule(filter_expression: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotruleResult
def get_snapshotrule_output(filter_expression: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotruleResult]func LookupSnapshotrule(ctx *Context, args *LookupSnapshotruleArgs, opts ...InvokeOption) (*LookupSnapshotruleResult, error)
func LookupSnapshotruleOutput(ctx *Context, args *LookupSnapshotruleOutputArgs, opts ...InvokeOption) LookupSnapshotruleResultOutput> Note: This function is named LookupSnapshotrule in the Go SDK.
public static class GetSnapshotrule
{
public static Task<GetSnapshotruleResult> InvokeAsync(GetSnapshotruleArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotruleResult> Invoke(GetSnapshotruleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSnapshotruleResult> getSnapshotrule(GetSnapshotruleArgs args, InvokeOptions options)
public static Output<GetSnapshotruleResult> getSnapshotrule(GetSnapshotruleArgs args, InvokeOptions options)
fn::invoke:
function: powerstore:index/getSnapshotrule:getSnapshotrule
arguments:
# arguments dictionaryThe following arguments are supported:
- Filter
Expression string - PowerStore filter expression to filter Host by. Conflicts with
idandname. - Id string
- Unique identifier of the snapshot rule instance. Conflicts with
name. - Name string
- Name of the snapshot rule. Conflicts with
id.
- Filter
Expression string - PowerStore filter expression to filter Host by. Conflicts with
idandname. - Id string
- Unique identifier of the snapshot rule instance. Conflicts with
name. - Name string
- Name of the snapshot rule. Conflicts with
id.
- filter
Expression String - PowerStore filter expression to filter Host by. Conflicts with
idandname. - id String
- Unique identifier of the snapshot rule instance. Conflicts with
name. - name String
- Name of the snapshot rule. Conflicts with
id.
- filter
Expression string - PowerStore filter expression to filter Host by. Conflicts with
idandname. - id string
- Unique identifier of the snapshot rule instance. Conflicts with
name. - name string
- Name of the snapshot rule. Conflicts with
id.
- filter_
expression str - PowerStore filter expression to filter Host by. Conflicts with
idandname. - id str
- Unique identifier of the snapshot rule instance. Conflicts with
name. - name str
- Name of the snapshot rule. Conflicts with
id.
- filter
Expression String - PowerStore filter expression to filter Host by. Conflicts with
idandname. - id String
- Unique identifier of the snapshot rule instance. Conflicts with
name. - name String
- Name of the snapshot rule. Conflicts with
id.
getSnapshotrule Result
The following output properties are available:
- Id string
- Unique identifier of the snapshot rule instance. Conflicts with
name. - Snapshot
Rules List<GetSnapshotrule Snapshot Rule> - List of snapshot rules.
- Filter
Expression string - PowerStore filter expression to filter Host by. Conflicts with
idandname. - Name string
- Name of the snapshot rule. Conflicts with
id.
- Id string
- Unique identifier of the snapshot rule instance. Conflicts with
name. - Snapshot
Rules []GetSnapshotrule Snapshot Rule - List of snapshot rules.
- Filter
Expression string - PowerStore filter expression to filter Host by. Conflicts with
idandname. - Name string
- Name of the snapshot rule. Conflicts with
id.
- id String
- Unique identifier of the snapshot rule instance. Conflicts with
name. - snapshot
Rules List<GetSnapshotrule Snapshot Rule> - List of snapshot rules.
- filter
Expression String - PowerStore filter expression to filter Host by. Conflicts with
idandname. - name String
- Name of the snapshot rule. Conflicts with
id.
- id string
- Unique identifier of the snapshot rule instance. Conflicts with
name. - snapshot
Rules GetSnapshotrule Snapshot Rule[] - List of snapshot rules.
- filter
Expression string - PowerStore filter expression to filter Host by. Conflicts with
idandname. - name string
- Name of the snapshot rule. Conflicts with
id.
- id str
- Unique identifier of the snapshot rule instance. Conflicts with
name. - snapshot_
rules Sequence[GetSnapshotrule Snapshot Rule] - List of snapshot rules.
- filter_
expression str - PowerStore filter expression to filter Host by. Conflicts with
idandname. - name str
- Name of the snapshot rule. Conflicts with
id.
- id String
- Unique identifier of the snapshot rule instance. Conflicts with
name. - snapshot
Rules List<Property Map> - List of snapshot rules.
- filter
Expression String - PowerStore filter expression to filter Host by. Conflicts with
idandname. - name String
- Name of the snapshot rule. Conflicts with
id.
Supporting Types
GetSnapshotruleSnapshotRule
- Days
Of List<string>Week L10ns - Localized message array corresponding to daysofweek
- Days
Of List<string>Weeks - The days of the week when the snapshot rule should be applied.
- Desired
Retention double - The Desired snapshot retention period in hours to retain snapshots for this time period.
- Id string
- The ID of the snapshot rule.
- Interval string
- The interval of the snapshot rule.
- Interval
L10n string - Localized message string corresponding to interval
- Is
Read boolOnly - Indicates whether this snapshot rule can be modified.
- Is
Replica bool - Indicates whether this is a replica of a snapshot rule on a remote system.
- Managed
By string - The entity that owns and manages the instance.
- Managed
By stringId - The unique id of the managing entity.
- Managed
By stringL10n - Localized message string corresponding to managed_by.
- Name string
- Name of the snapshot rule.
- Nas
Access stringType - The NAS filesystem snapshot access method for snapshot rule.
- Nas
Access stringType L10n - Localized message string corresponding to nasaccesstype.
- Policies
List<Get
Snapshotrule Snapshot Rule Policy> - List of the protection policies that are associated with the snapshot*rule..
- Time
Of stringDay - The time of the day to take a daily snapshot, with format hh:mm.
- Timezone string
- The time zone identifier for applying the time zone to the timeofday for a snapshot rule.
- Timezone
L10n string - Localized message string corresponding to timezone.
- Days
Of []stringWeek L10ns - Localized message array corresponding to daysofweek
- Days
Of []stringWeeks - The days of the week when the snapshot rule should be applied.
- Desired
Retention float64 - The Desired snapshot retention period in hours to retain snapshots for this time period.
- Id string
- The ID of the snapshot rule.
- Interval string
- The interval of the snapshot rule.
- Interval
L10n string - Localized message string corresponding to interval
- Is
Read boolOnly - Indicates whether this snapshot rule can be modified.
- Is
Replica bool - Indicates whether this is a replica of a snapshot rule on a remote system.
- Managed
By string - The entity that owns and manages the instance.
- Managed
By stringId - The unique id of the managing entity.
- Managed
By stringL10n - Localized message string corresponding to managed_by.
- Name string
- Name of the snapshot rule.
- Nas
Access stringType - The NAS filesystem snapshot access method for snapshot rule.
- Nas
Access stringType L10n - Localized message string corresponding to nasaccesstype.
- Policies
[]Get
Snapshotrule Snapshot Rule Policy - List of the protection policies that are associated with the snapshot*rule..
- Time
Of stringDay - The time of the day to take a daily snapshot, with format hh:mm.
- Timezone string
- The time zone identifier for applying the time zone to the timeofday for a snapshot rule.
- Timezone
L10n string - Localized message string corresponding to timezone.
- days
Of List<String>Week L10ns - Localized message array corresponding to daysofweek
- days
Of List<String>Weeks - The days of the week when the snapshot rule should be applied.
- desired
Retention Double - The Desired snapshot retention period in hours to retain snapshots for this time period.
- id String
- The ID of the snapshot rule.
- interval String
- The interval of the snapshot rule.
- interval
L10n String - Localized message string corresponding to interval
- is
Read BooleanOnly - Indicates whether this snapshot rule can be modified.
- is
Replica Boolean - Indicates whether this is a replica of a snapshot rule on a remote system.
- managed
By String - The entity that owns and manages the instance.
- managed
By StringId - The unique id of the managing entity.
- managed
By StringL10n - Localized message string corresponding to managed_by.
- name String
- Name of the snapshot rule.
- nas
Access StringType - The NAS filesystem snapshot access method for snapshot rule.
- nas
Access StringType L10n - Localized message string corresponding to nasaccesstype.
- policies
List<Get
Snapshotrule Snapshot Rule Policy> - List of the protection policies that are associated with the snapshot*rule..
- time
Of StringDay - The time of the day to take a daily snapshot, with format hh:mm.
- timezone String
- The time zone identifier for applying the time zone to the timeofday for a snapshot rule.
- timezone
L10n String - Localized message string corresponding to timezone.
- days
Of string[]Week L10ns - Localized message array corresponding to daysofweek
- days
Of string[]Weeks - The days of the week when the snapshot rule should be applied.
- desired
Retention number - The Desired snapshot retention period in hours to retain snapshots for this time period.
- id string
- The ID of the snapshot rule.
- interval string
- The interval of the snapshot rule.
- interval
L10n string - Localized message string corresponding to interval
- is
Read booleanOnly - Indicates whether this snapshot rule can be modified.
- is
Replica boolean - Indicates whether this is a replica of a snapshot rule on a remote system.
- managed
By string - The entity that owns and manages the instance.
- managed
By stringId - The unique id of the managing entity.
- managed
By stringL10n - Localized message string corresponding to managed_by.
- name string
- Name of the snapshot rule.
- nas
Access stringType - The NAS filesystem snapshot access method for snapshot rule.
- nas
Access stringType L10n - Localized message string corresponding to nasaccesstype.
- policies
Get
Snapshotrule Snapshot Rule Policy[] - List of the protection policies that are associated with the snapshot*rule..
- time
Of stringDay - The time of the day to take a daily snapshot, with format hh:mm.
- timezone string
- The time zone identifier for applying the time zone to the timeofday for a snapshot rule.
- timezone
L10n string - Localized message string corresponding to timezone.
- days_
of_ Sequence[str]week_ l10ns - Localized message array corresponding to daysofweek
- days_
of_ Sequence[str]weeks - The days of the week when the snapshot rule should be applied.
- desired_
retention float - The Desired snapshot retention period in hours to retain snapshots for this time period.
- id str
- The ID of the snapshot rule.
- interval str
- The interval of the snapshot rule.
- interval_
l10n str - Localized message string corresponding to interval
- is_
read_ boolonly - Indicates whether this snapshot rule can be modified.
- is_
replica bool - Indicates whether this is a replica of a snapshot rule on a remote system.
- managed_
by str - The entity that owns and manages the instance.
- managed_
by_ strid - The unique id of the managing entity.
- managed_
by_ strl10n - Localized message string corresponding to managed_by.
- name str
- Name of the snapshot rule.
- nas_
access_ strtype - The NAS filesystem snapshot access method for snapshot rule.
- nas_
access_ strtype_ l10n - Localized message string corresponding to nasaccesstype.
- policies
Sequence[Get
Snapshotrule Snapshot Rule Policy] - List of the protection policies that are associated with the snapshot*rule..
- time_
of_ strday - The time of the day to take a daily snapshot, with format hh:mm.
- timezone str
- The time zone identifier for applying the time zone to the timeofday for a snapshot rule.
- timezone_
l10n str - Localized message string corresponding to timezone.
- days
Of List<String>Week L10ns - Localized message array corresponding to daysofweek
- days
Of List<String>Weeks - The days of the week when the snapshot rule should be applied.
- desired
Retention Number - The Desired snapshot retention period in hours to retain snapshots for this time period.
- id String
- The ID of the snapshot rule.
- interval String
- The interval of the snapshot rule.
- interval
L10n String - Localized message string corresponding to interval
- is
Read BooleanOnly - Indicates whether this snapshot rule can be modified.
- is
Replica Boolean - Indicates whether this is a replica of a snapshot rule on a remote system.
- managed
By String - The entity that owns and manages the instance.
- managed
By StringId - The unique id of the managing entity.
- managed
By StringL10n - Localized message string corresponding to managed_by.
- name String
- Name of the snapshot rule.
- nas
Access StringType - The NAS filesystem snapshot access method for snapshot rule.
- nas
Access StringType L10n - Localized message string corresponding to nasaccesstype.
- policies List<Property Map>
- List of the protection policies that are associated with the snapshot*rule..
- time
Of StringDay - The time of the day to take a daily snapshot, with format hh:mm.
- timezone String
- The time zone identifier for applying the time zone to the timeofday for a snapshot rule.
- timezone
L10n String - Localized message string corresponding to timezone.
GetSnapshotruleSnapshotRulePolicy
- Description string
- Description of the protection policy.
- Id string
- Unique identifier of the protection policy.
- Name string
- Name of the protection policy.
- Description string
- Description of the protection policy.
- Id string
- Unique identifier of the protection policy.
- Name string
- Name of the protection policy.
- description String
- Description of the protection policy.
- id String
- Unique identifier of the protection policy.
- name String
- Name of the protection policy.
- description string
- Description of the protection policy.
- id string
- Unique identifier of the protection policy.
- name string
- Name of the protection policy.
- description str
- Description of the protection policy.
- id str
- Unique identifier of the protection policy.
- name str
- Name of the protection policy.
- description String
- Description of the protection policy.
- id String
- Unique identifier of the protection policy.
- name String
- Name of the protection policy.
Package Details
- Repository
- powerstore dell/terraform-provider-powerstore
- License
- Notes
- This Pulumi package is based on the
powerstoreTerraform Provider.
