1. Packages
  2. Powerscale Provider
  3. API Docs
  4. getSnapshotSchedule
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.getSnapshotSchedule

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

    This datasource is used to query the existing Snapshot Schedules from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. Uses are able to see information like duration, path, schedule, name etc. for the existing snapshot schedules

    Using getSnapshotSchedule

    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 getSnapshotSchedule(args: GetSnapshotScheduleArgs, opts?: InvokeOptions): Promise<GetSnapshotScheduleResult>
    function getSnapshotScheduleOutput(args: GetSnapshotScheduleOutputArgs, opts?: InvokeOptions): Output<GetSnapshotScheduleResult>
    def get_snapshot_schedule(filter: Optional[GetSnapshotScheduleFilter] = None,
                              opts: Optional[InvokeOptions] = None) -> GetSnapshotScheduleResult
    def get_snapshot_schedule_output(filter: Optional[pulumi.Input[GetSnapshotScheduleFilterArgs]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotScheduleResult]
    func LookupSnapshotSchedule(ctx *Context, args *LookupSnapshotScheduleArgs, opts ...InvokeOption) (*LookupSnapshotScheduleResult, error)
    func LookupSnapshotScheduleOutput(ctx *Context, args *LookupSnapshotScheduleOutputArgs, opts ...InvokeOption) LookupSnapshotScheduleResultOutput

    > Note: This function is named LookupSnapshotSchedule in the Go SDK.

    public static class GetSnapshotSchedule 
    {
        public static Task<GetSnapshotScheduleResult> InvokeAsync(GetSnapshotScheduleArgs args, InvokeOptions? opts = null)
        public static Output<GetSnapshotScheduleResult> Invoke(GetSnapshotScheduleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSnapshotScheduleResult> getSnapshotSchedule(GetSnapshotScheduleArgs args, InvokeOptions options)
    public static Output<GetSnapshotScheduleResult> getSnapshotSchedule(GetSnapshotScheduleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: powerscale:index/getSnapshotSchedule:getSnapshotSchedule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getSnapshotSchedule Result

    The following output properties are available:

    id String
    Identifier
    schedules List<Property Map>
    List of snapshot schedules
    filter Property Map

    Supporting Types

    GetSnapshotScheduleFilter

    Dir string
    The direction of the sort.Supported Values:ASC , DESC
    Limit double
    Return no more than this many results at once.
    Names List<string>
    Names to filter snapshot schedules.
    Sort string
    The field that will be used for sorting. Choices are id, name, path, pattern, schedule, duration, alias, nextrun, and nextsnapshot. Default is id.
    Dir string
    The direction of the sort.Supported Values:ASC , DESC
    Limit float64
    Return no more than this many results at once.
    Names []string
    Names to filter snapshot schedules.
    Sort string
    The field that will be used for sorting. Choices are id, name, path, pattern, schedule, duration, alias, nextrun, and nextsnapshot. Default is id.
    dir String
    The direction of the sort.Supported Values:ASC , DESC
    limit Double
    Return no more than this many results at once.
    names List<String>
    Names to filter snapshot schedules.
    sort String
    The field that will be used for sorting. Choices are id, name, path, pattern, schedule, duration, alias, nextrun, and nextsnapshot. Default is id.
    dir string
    The direction of the sort.Supported Values:ASC , DESC
    limit number
    Return no more than this many results at once.
    names string[]
    Names to filter snapshot schedules.
    sort string
    The field that will be used for sorting. Choices are id, name, path, pattern, schedule, duration, alias, nextrun, and nextsnapshot. Default is id.
    dir str
    The direction of the sort.Supported Values:ASC , DESC
    limit float
    Return no more than this many results at once.
    names Sequence[str]
    Names to filter snapshot schedules.
    sort str
    The field that will be used for sorting. Choices are id, name, path, pattern, schedule, duration, alias, nextrun, and nextsnapshot. Default is id.
    dir String
    The direction of the sort.Supported Values:ASC , DESC
    limit Number
    Return no more than this many results at once.
    names List<String>
    Names to filter snapshot schedules.
    sort String
    The field that will be used for sorting. Choices are id, name, path, pattern, schedule, duration, alias, nextrun, and nextsnapshot. Default is id.

    GetSnapshotScheduleSchedule

    Alias string
    Alias name to create for each snapshot.
    Duration double
    Time in seconds added to creation time to construction expiration time.
    Id double
    The system ID given to the schedule.
    Name string
    The schedule name.
    NextRun double
    Unix Epoch time of next snapshot to be created.
    NextSnapshot string
    Formatted name (see pattern) of next snapshot to be created
    Path string
    The /ifs path snapshotted.
    Pattern string
    Pattern expanded with strftime to create snapshot names.
    Schedule string
    The isidate compatible natural language description of the schedule.
    Alias string
    Alias name to create for each snapshot.
    Duration float64
    Time in seconds added to creation time to construction expiration time.
    Id float64
    The system ID given to the schedule.
    Name string
    The schedule name.
    NextRun float64
    Unix Epoch time of next snapshot to be created.
    NextSnapshot string
    Formatted name (see pattern) of next snapshot to be created
    Path string
    The /ifs path snapshotted.
    Pattern string
    Pattern expanded with strftime to create snapshot names.
    Schedule string
    The isidate compatible natural language description of the schedule.
    alias String
    Alias name to create for each snapshot.
    duration Double
    Time in seconds added to creation time to construction expiration time.
    id Double
    The system ID given to the schedule.
    name String
    The schedule name.
    nextRun Double
    Unix Epoch time of next snapshot to be created.
    nextSnapshot String
    Formatted name (see pattern) of next snapshot to be created
    path String
    The /ifs path snapshotted.
    pattern String
    Pattern expanded with strftime to create snapshot names.
    schedule String
    The isidate compatible natural language description of the schedule.
    alias string
    Alias name to create for each snapshot.
    duration number
    Time in seconds added to creation time to construction expiration time.
    id number
    The system ID given to the schedule.
    name string
    The schedule name.
    nextRun number
    Unix Epoch time of next snapshot to be created.
    nextSnapshot string
    Formatted name (see pattern) of next snapshot to be created
    path string
    The /ifs path snapshotted.
    pattern string
    Pattern expanded with strftime to create snapshot names.
    schedule string
    The isidate compatible natural language description of the schedule.
    alias str
    Alias name to create for each snapshot.
    duration float
    Time in seconds added to creation time to construction expiration time.
    id float
    The system ID given to the schedule.
    name str
    The schedule name.
    next_run float
    Unix Epoch time of next snapshot to be created.
    next_snapshot str
    Formatted name (see pattern) of next snapshot to be created
    path str
    The /ifs path snapshotted.
    pattern str
    Pattern expanded with strftime to create snapshot names.
    schedule str
    The isidate compatible natural language description of the schedule.
    alias String
    Alias name to create for each snapshot.
    duration Number
    Time in seconds added to creation time to construction expiration time.
    id Number
    The system ID given to the schedule.
    name String
    The schedule name.
    nextRun Number
    Unix Epoch time of next snapshot to be created.
    nextSnapshot String
    Formatted name (see pattern) of next snapshot to be created
    path String
    The /ifs path snapshotted.
    pattern String
    Pattern expanded with strftime to create snapshot names.
    schedule String
    The isidate compatible natural language description of the schedule.

    Package Details

    Repository
    powerscale dell/terraform-provider-powerscale
    License
    Notes
    This Pulumi package is based on the powerscale Terraform Provider.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell