powerscale.SnapshotSchedule
Explore with Pulumi AI
This resource is used to manage the Snapshot Schedule entity on PowerScale array. We can Create, Update and Delete the Snapshot Schedules using this resource. We can also import an existing Snapshot Schedule from PowerScale array.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as powerscale from "@pulumi/powerscale";
// PowerScale SMB shares provide clients network access to file system resources on the cluster
const snapSchedule = new powerscale.SnapshotSchedule("snapSchedule", {});
import pulumi
import pulumi_powerscale as powerscale
# PowerScale SMB shares provide clients network access to file system resources on the cluster
snap_schedule = powerscale.SnapshotSchedule("snapSchedule")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// PowerScale SMB shares provide clients network access to file system resources on the cluster
_, err := powerscale.NewSnapshotSchedule(ctx, "snapSchedule", nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerscale = Pulumi.Powerscale;
return await Deployment.RunAsync(() =>
{
// PowerScale SMB shares provide clients network access to file system resources on the cluster
var snapSchedule = new Powerscale.SnapshotSchedule("snapSchedule");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.SnapshotSchedule;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// PowerScale SMB shares provide clients network access to file system resources on the cluster
var snapSchedule = new SnapshotSchedule("snapSchedule");
}
}
resources:
# PowerScale SMB shares provide clients network access to file system resources on the cluster
snapSchedule:
type: powerscale:SnapshotSchedule
Create SnapshotSchedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SnapshotSchedule(name: string, args?: SnapshotScheduleArgs, opts?: CustomResourceOptions);
@overload
def SnapshotSchedule(resource_name: str,
args: Optional[SnapshotScheduleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SnapshotSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
alias: Optional[str] = None,
name: Optional[str] = None,
next_run: Optional[float] = None,
next_snapshot: Optional[str] = None,
path: Optional[str] = None,
pattern: Optional[str] = None,
retention_time: Optional[str] = None,
schedule: Optional[str] = None)
func NewSnapshotSchedule(ctx *Context, name string, args *SnapshotScheduleArgs, opts ...ResourceOption) (*SnapshotSchedule, error)
public SnapshotSchedule(string name, SnapshotScheduleArgs? args = null, CustomResourceOptions? opts = null)
public SnapshotSchedule(String name, SnapshotScheduleArgs args)
public SnapshotSchedule(String name, SnapshotScheduleArgs args, CustomResourceOptions options)
type: powerscale:SnapshotSchedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SnapshotScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SnapshotScheduleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SnapshotScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SnapshotScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SnapshotScheduleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var snapshotScheduleResource = new Powerscale.SnapshotSchedule("snapshotScheduleResource", new()
{
Alias = "string",
Name = "string",
NextRun = 0,
NextSnapshot = "string",
Path = "string",
Pattern = "string",
RetentionTime = "string",
Schedule = "string",
});
example, err := powerscale.NewSnapshotSchedule(ctx, "snapshotScheduleResource", &powerscale.SnapshotScheduleArgs{
Alias: pulumi.String("string"),
Name: pulumi.String("string"),
NextRun: pulumi.Float64(0),
NextSnapshot: pulumi.String("string"),
Path: pulumi.String("string"),
Pattern: pulumi.String("string"),
RetentionTime: pulumi.String("string"),
Schedule: pulumi.String("string"),
})
var snapshotScheduleResource = new SnapshotSchedule("snapshotScheduleResource", SnapshotScheduleArgs.builder()
.alias("string")
.name("string")
.nextRun(0)
.nextSnapshot("string")
.path("string")
.pattern("string")
.retentionTime("string")
.schedule("string")
.build());
snapshot_schedule_resource = powerscale.SnapshotSchedule("snapshotScheduleResource",
alias="string",
name="string",
next_run=0,
next_snapshot="string",
path="string",
pattern="string",
retention_time="string",
schedule="string")
const snapshotScheduleResource = new powerscale.SnapshotSchedule("snapshotScheduleResource", {
alias: "string",
name: "string",
nextRun: 0,
nextSnapshot: "string",
path: "string",
pattern: "string",
retentionTime: "string",
schedule: "string",
});
type: powerscale:SnapshotSchedule
properties:
alias: string
name: string
nextRun: 0
nextSnapshot: string
path: string
pattern: string
retentionTime: string
schedule: string
SnapshotSchedule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SnapshotSchedule resource accepts the following input properties:
- Alias string
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- Retention
Time string - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- Schedule string
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- Alias string
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- Retention
Time string - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- Schedule string
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- alias String
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- retention
Time String - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- schedule String
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- alias string
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- retention
Time string - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- schedule string
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- alias str
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- retention_
time str - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- schedule str
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- alias String
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- retention
Time String - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- schedule String
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
Outputs
All input properties are implicitly available as output properties. Additionally, the SnapshotSchedule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SnapshotSchedule Resource
Get an existing SnapshotSchedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SnapshotScheduleState, opts?: CustomResourceOptions): SnapshotSchedule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alias: Optional[str] = None,
name: Optional[str] = None,
next_run: Optional[float] = None,
next_snapshot: Optional[str] = None,
path: Optional[str] = None,
pattern: Optional[str] = None,
retention_time: Optional[str] = None,
schedule: Optional[str] = None) -> SnapshotSchedule
func GetSnapshotSchedule(ctx *Context, name string, id IDInput, state *SnapshotScheduleState, opts ...ResourceOption) (*SnapshotSchedule, error)
public static SnapshotSchedule Get(string name, Input<string> id, SnapshotScheduleState? state, CustomResourceOptions? opts = null)
public static SnapshotSchedule get(String name, Output<String> id, SnapshotScheduleState state, CustomResourceOptions options)
resources: _: type: powerscale:SnapshotSchedule get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alias string
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- Retention
Time string - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- Schedule string
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- Alias string
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- Retention
Time string - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- Schedule string
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- alias String
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- retention
Time String - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- schedule String
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- alias string
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- retention
Time string - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- schedule string
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- alias str
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- retention_
time str - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- schedule str
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
- alias String
- Alias name to create for each snapshot.
- 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.Some sample values for pattern are: 'snap-%F' would yield snap-1984-03-20 , 'backup-%FT%T' would yield backup-1984-03-20T22:30:00
- retention
Time String - Time value in String for which snapshots created by this snapshot schedule should be retained.Values supported are of format : Never Expires, x Second(s), x Minute(s), x Hour(s), x Day(s), x Week(s), x Year(s) where x can be any integer value
- schedule String
- The isidate-compatible natural language description of the schedule. It specifies the frequency of the schedule. You can specify this as combination of \n\n and \n\n where each of them can be defined as: \n\n: *Every ( other | \n\n ) ] week ] | The last (day | weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n (weekday | \n\n) of every [ (other | \n\n) ] month | The \n\n of every [ (other | \n\n) ] month | Yearly on \n\n \n\n | Yearly on the (last | \n\n) [ weekday | \n\n ] of \n\n \n\n: *at \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ between \n\n[:\n\n] [ (AM | PM) ] and \n\n[:\n\n] [ (AM | PM) ] | every \n\n [ from \n\n[:\n\n] [ (AM | PM) ] to \n\n[:\n\n] [ (AM | PM) ] Additionally: \n\n can include "st," "th," or "rd," e.g., "Every 1st month." \n\n can be a day of the week or a three-letter abbreviation, e.g., "saturday" or "sat." \n\n must be the name of the month or its abbreviation, e.g., "July" or "Jul." Some sample values: "Every 2 days.", "Every 3rd weekday at 11 PM.", "Every month on the 15th at 1:30 AM."
Import
Copyright (c) 2023-2025 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The command is
$ pulumi import powerscale:index/snapshotSchedule:SnapshotSchedule snap_schedule <id>
Example:
$ pulumi import powerscale:index/snapshotSchedule:SnapshotSchedule snap_schedule id
after running this command, populate the name field and other required parameters in the config file to start managing this resource.
Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.