powerscale.getSnapshotSchedule
Explore with Pulumi AI
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<Get
Snapshot Schedule Schedule> - List of snapshot schedules
- Filter
Get
Snapshot Schedule Filter
- Id string
- Identifier
- Schedules
[]Get
Snapshot Schedule Schedule - List of snapshot schedules
- Filter
Get
Snapshot Schedule Filter
- id String
- Identifier
- schedules
List<Get
Snapshot Schedule Schedule> - List of snapshot schedules
- filter
Get
Snapshot Schedule Filter
- id string
- Identifier
- schedules
Get
Snapshot Schedule Schedule[] - List of snapshot schedules
- filter
Get
Snapshot Schedule Filter
- id str
- Identifier
- schedules
Sequence[Get
Snapshot Schedule Schedule] - List of snapshot schedules
- filter
Get
Snapshot Schedule Filter
- 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.
- Next
Run double - Unix Epoch time of next snapshot to be created.
- Next
Snapshot 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.
- Next
Run float64 - Unix Epoch time of next snapshot to be created.
- Next
Snapshot 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.
- next
Run Double - Unix Epoch time of next snapshot to be created.
- next
Snapshot 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.
- next
Run number - Unix Epoch time of next snapshot to be created.
- next
Snapshot 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.
- next
Run Number - Unix Epoch time of next snapshot to be created.
- next
Snapshot 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.