Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.FileStorage.getFilesystemSnapshotPolicies
Explore with Pulumi AI
This data source provides the list of Filesystem Snapshot Policies in Oracle Cloud Infrastructure File Storage service.
Lists file system snapshot policies in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFilesystemSnapshotPolicies = oci.FileStorage.getFilesystemSnapshotPolicies({
availabilityDomain: filesystemSnapshotPolicyAvailabilityDomain,
compartmentId: compartmentId,
displayName: filesystemSnapshotPolicyDisplayName,
id: filesystemSnapshotPolicyId,
state: filesystemSnapshotPolicyState,
});
import pulumi
import pulumi_oci as oci
test_filesystem_snapshot_policies = oci.FileStorage.get_filesystem_snapshot_policies(availability_domain=filesystem_snapshot_policy_availability_domain,
compartment_id=compartment_id,
display_name=filesystem_snapshot_policy_display_name,
id=filesystem_snapshot_policy_id,
state=filesystem_snapshot_policy_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FileStorage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := FileStorage.GetFilesystemSnapshotPolicies(ctx, &filestorage.GetFilesystemSnapshotPoliciesArgs{
AvailabilityDomain: filesystemSnapshotPolicyAvailabilityDomain,
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(filesystemSnapshotPolicyDisplayName),
Id: pulumi.StringRef(filesystemSnapshotPolicyId),
State: pulumi.StringRef(filesystemSnapshotPolicyState),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testFilesystemSnapshotPolicies = Oci.FileStorage.GetFilesystemSnapshotPolicies.Invoke(new()
{
AvailabilityDomain = filesystemSnapshotPolicyAvailabilityDomain,
CompartmentId = compartmentId,
DisplayName = filesystemSnapshotPolicyDisplayName,
Id = filesystemSnapshotPolicyId,
State = filesystemSnapshotPolicyState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FileStorage.FileStorageFunctions;
import com.pulumi.oci.FileStorage.inputs.GetFilesystemSnapshotPoliciesArgs;
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) {
final var testFilesystemSnapshotPolicies = FileStorageFunctions.getFilesystemSnapshotPolicies(GetFilesystemSnapshotPoliciesArgs.builder()
.availabilityDomain(filesystemSnapshotPolicyAvailabilityDomain)
.compartmentId(compartmentId)
.displayName(filesystemSnapshotPolicyDisplayName)
.id(filesystemSnapshotPolicyId)
.state(filesystemSnapshotPolicyState)
.build());
}
}
variables:
testFilesystemSnapshotPolicies:
fn::invoke:
Function: oci:FileStorage:getFilesystemSnapshotPolicies
Arguments:
availabilityDomain: ${filesystemSnapshotPolicyAvailabilityDomain}
compartmentId: ${compartmentId}
displayName: ${filesystemSnapshotPolicyDisplayName}
id: ${filesystemSnapshotPolicyId}
state: ${filesystemSnapshotPolicyState}
Using getFilesystemSnapshotPolicies
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 getFilesystemSnapshotPolicies(args: GetFilesystemSnapshotPoliciesArgs, opts?: InvokeOptions): Promise<GetFilesystemSnapshotPoliciesResult>
function getFilesystemSnapshotPoliciesOutput(args: GetFilesystemSnapshotPoliciesOutputArgs, opts?: InvokeOptions): Output<GetFilesystemSnapshotPoliciesResult>
def get_filesystem_snapshot_policies(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_filestorage.GetFilesystemSnapshotPoliciesFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFilesystemSnapshotPoliciesResult
def get_filesystem_snapshot_policies_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_filestorage.GetFilesystemSnapshotPoliciesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFilesystemSnapshotPoliciesResult]
func GetFilesystemSnapshotPolicies(ctx *Context, args *GetFilesystemSnapshotPoliciesArgs, opts ...InvokeOption) (*GetFilesystemSnapshotPoliciesResult, error)
func GetFilesystemSnapshotPoliciesOutput(ctx *Context, args *GetFilesystemSnapshotPoliciesOutputArgs, opts ...InvokeOption) GetFilesystemSnapshotPoliciesResultOutput
> Note: This function is named GetFilesystemSnapshotPolicies
in the Go SDK.
public static class GetFilesystemSnapshotPolicies
{
public static Task<GetFilesystemSnapshotPoliciesResult> InvokeAsync(GetFilesystemSnapshotPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetFilesystemSnapshotPoliciesResult> Invoke(GetFilesystemSnapshotPoliciesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFilesystemSnapshotPoliciesResult> getFilesystemSnapshotPolicies(GetFilesystemSnapshotPoliciesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:FileStorage/getFilesystemSnapshotPolicies:getFilesystemSnapshotPolicies
arguments:
# arguments dictionary
The following arguments are supported:
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filters
List<Get
Filesystem Snapshot Policies Filter> - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Filters
[]Get
Filesystem Snapshot Policies Filter - Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
List<Get
Filesystem Snapshot Policies Filter> - id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
Get
Filesystem Snapshot Policies Filter[] - id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters
Sequence[filestorage.
Get Filesystem Snapshot Policies Filter] - id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- filters List<Property Map>
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
getFilesystemSnapshotPolicies Result
The following output properties are available:
- Availability
Domain string - The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value. Example:
Uocm:PHX-AD-2
- Compartment
Id string - The OCID of the compartment that contains the file system snapshot policy.
- Filesystem
Snapshot List<GetPolicies Filesystem Snapshot Policies Filesystem Snapshot Policy> - The list of filesystem_snapshot_policies.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My Filesystem Snapshot Policy
- Filters
List<Get
Filesystem Snapshot Policies Filter> - Id string
- The OCID of the file system snapshot policy.
- State string
- The current state of this file system snapshot policy.
- Availability
Domain string - The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value. Example:
Uocm:PHX-AD-2
- Compartment
Id string - The OCID of the compartment that contains the file system snapshot policy.
- Filesystem
Snapshot []GetPolicies Filesystem Snapshot Policies Filesystem Snapshot Policy - The list of filesystem_snapshot_policies.
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My Filesystem Snapshot Policy
- Filters
[]Get
Filesystem Snapshot Policies Filter - Id string
- The OCID of the file system snapshot policy.
- State string
- The current state of this file system snapshot policy.
- availability
Domain String - The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value. Example:
Uocm:PHX-AD-2
- compartment
Id String - The OCID of the compartment that contains the file system snapshot policy.
- filesystem
Snapshot List<GetPolicies Filesystem Snapshot Policies Filesystem Snapshot Policy> - The list of filesystem_snapshot_policies.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My Filesystem Snapshot Policy
- filters
List<Get
Filesystem Snapshot Policies Filter> - id String
- The OCID of the file system snapshot policy.
- state String
- The current state of this file system snapshot policy.
- availability
Domain string - The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value. Example:
Uocm:PHX-AD-2
- compartment
Id string - The OCID of the compartment that contains the file system snapshot policy.
- filesystem
Snapshot GetPolicies Filesystem Snapshot Policies Filesystem Snapshot Policy[] - The list of filesystem_snapshot_policies.
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My Filesystem Snapshot Policy
- filters
Get
Filesystem Snapshot Policies Filter[] - id string
- The OCID of the file system snapshot policy.
- state string
- The current state of this file system snapshot policy.
- availability_
domain str - The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value. Example:
Uocm:PHX-AD-2
- compartment_
id str - The OCID of the compartment that contains the file system snapshot policy.
- filesystem_
snapshot_ Sequence[filestorage.policies Get Filesystem Snapshot Policies Filesystem Snapshot Policy] - The list of filesystem_snapshot_policies.
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My Filesystem Snapshot Policy
- filters
Sequence[filestorage.
Get Filesystem Snapshot Policies Filter] - id str
- The OCID of the file system snapshot policy.
- state str
- The current state of this file system snapshot policy.
- availability
Domain String - The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value. Example:
Uocm:PHX-AD-2
- compartment
Id String - The OCID of the compartment that contains the file system snapshot policy.
- filesystem
Snapshot List<Property Map>Policies - The list of filesystem_snapshot_policies.
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example:
My Filesystem Snapshot Policy
- filters List<Property Map>
- id String
- The OCID of the file system snapshot policy.
- state String
- The current state of this file system snapshot policy.
Supporting Types
GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Policy
Prefix string - The prefix to apply to all snapshots created by this policy. Example:
acme
- Schedules
List<Get
Filesystem Snapshot Policies Filesystem Snapshot Policy Schedule> - The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Time
Created string - The date and time the file system snapshot policy was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- Policy
Prefix string - The prefix to apply to all snapshots created by this policy. Example:
acme
- Schedules
[]Get
Filesystem Snapshot Policies Filesystem Snapshot Policy Schedule - The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
- State string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- Time
Created string - The date and time the file system snapshot policy was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- policy
Prefix String - The prefix to apply to all snapshots created by this policy. Example:
acme
- schedules
List<Get
Filesystem Snapshot Policies Filesystem Snapshot Policy Schedule> - The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created String - The date and time the file system snapshot policy was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id string
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- policy
Prefix string - The prefix to apply to all snapshots created by this policy. Example:
acme
- schedules
Get
Filesystem Snapshot Policies Filesystem Snapshot Policy Schedule[] - The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
- state string
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created string - The date and time the file system snapshot policy was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id str
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- policy_
prefix str - The prefix to apply to all snapshots created by this policy. Example:
acme
- schedules
Sequence[filestorage.
Get Filesystem Snapshot Policies Filesystem Snapshot Policy Schedule] - The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
- state str
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time_
created str - The date and time the file system snapshot policy was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - A user-friendly name. It does not have to be unique, and it is changeable. Example:
My resource
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- Filter results by OCID. Must be an OCID of the correct type for the resouce type.
- policy
Prefix String - The prefix to apply to all snapshots created by this policy. Example:
acme
- schedules List<Property Map>
- The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
- state String
- Filter results by the specified lifecycle state. Must be a valid state for the resource type.
- time
Created String - The date and time the file system snapshot policy was created, expressed in RFC 3339 timestamp format. Example:
2016-08-25T21:10:29.600Z
GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicySchedule
- Day
Of intMonth - The day of the month to create a scheduled snapshot. If the day does not exist for the month, snapshot creation will be skipped. Used for MONTHLY and YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- Day
Of stringWeek - The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules. If not set, the system chooses a value at creation time.
- Hour
Of intDay - The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, the system chooses a value at creation time.
- Month string
- The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- Period string
- The frequency of scheduled snapshots.
- Retention
Duration stringIn Seconds - The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
- Schedule
Prefix string - A name prefix to be applied to snapshots created by this schedule. Example:
compliance1
- Time
Schedule stringStart - The starting point used to begin the scheduling of the snapshots based upon recurrence string in RFC 3339 timestamp format. If no
timeScheduleStart
is provided, the value will be set to the time when the schedule was created. - Time
Zone string - Time zone used for scheduling the snapshot.
- Day
Of intMonth - The day of the month to create a scheduled snapshot. If the day does not exist for the month, snapshot creation will be skipped. Used for MONTHLY and YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- Day
Of stringWeek - The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules. If not set, the system chooses a value at creation time.
- Hour
Of intDay - The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, the system chooses a value at creation time.
- Month string
- The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- Period string
- The frequency of scheduled snapshots.
- Retention
Duration stringIn Seconds - The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
- Schedule
Prefix string - A name prefix to be applied to snapshots created by this schedule. Example:
compliance1
- Time
Schedule stringStart - The starting point used to begin the scheduling of the snapshots based upon recurrence string in RFC 3339 timestamp format. If no
timeScheduleStart
is provided, the value will be set to the time when the schedule was created. - Time
Zone string - Time zone used for scheduling the snapshot.
- day
Of IntegerMonth - The day of the month to create a scheduled snapshot. If the day does not exist for the month, snapshot creation will be skipped. Used for MONTHLY and YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- day
Of StringWeek - The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules. If not set, the system chooses a value at creation time.
- hour
Of IntegerDay - The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, the system chooses a value at creation time.
- month String
- The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- period String
- The frequency of scheduled snapshots.
- retention
Duration StringIn Seconds - The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
- schedule
Prefix String - A name prefix to be applied to snapshots created by this schedule. Example:
compliance1
- time
Schedule StringStart - The starting point used to begin the scheduling of the snapshots based upon recurrence string in RFC 3339 timestamp format. If no
timeScheduleStart
is provided, the value will be set to the time when the schedule was created. - time
Zone String - Time zone used for scheduling the snapshot.
- day
Of numberMonth - The day of the month to create a scheduled snapshot. If the day does not exist for the month, snapshot creation will be skipped. Used for MONTHLY and YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- day
Of stringWeek - The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules. If not set, the system chooses a value at creation time.
- hour
Of numberDay - The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, the system chooses a value at creation time.
- month string
- The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- period string
- The frequency of scheduled snapshots.
- retention
Duration stringIn Seconds - The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
- schedule
Prefix string - A name prefix to be applied to snapshots created by this schedule. Example:
compliance1
- time
Schedule stringStart - The starting point used to begin the scheduling of the snapshots based upon recurrence string in RFC 3339 timestamp format. If no
timeScheduleStart
is provided, the value will be set to the time when the schedule was created. - time
Zone string - Time zone used for scheduling the snapshot.
- day_
of_ intmonth - The day of the month to create a scheduled snapshot. If the day does not exist for the month, snapshot creation will be skipped. Used for MONTHLY and YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- day_
of_ strweek - The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules. If not set, the system chooses a value at creation time.
- hour_
of_ intday - The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, the system chooses a value at creation time.
- month str
- The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- period str
- The frequency of scheduled snapshots.
- retention_
duration_ strin_ seconds - The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
- schedule_
prefix str - A name prefix to be applied to snapshots created by this schedule. Example:
compliance1
- time_
schedule_ strstart - The starting point used to begin the scheduling of the snapshots based upon recurrence string in RFC 3339 timestamp format. If no
timeScheduleStart
is provided, the value will be set to the time when the schedule was created. - time_
zone str - Time zone used for scheduling the snapshot.
- day
Of NumberMonth - The day of the month to create a scheduled snapshot. If the day does not exist for the month, snapshot creation will be skipped. Used for MONTHLY and YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- day
Of StringWeek - The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules. If not set, the system chooses a value at creation time.
- hour
Of NumberDay - The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, the system chooses a value at creation time.
- month String
- The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules. If not set, the system chooses a value at creation time.
- period String
- The frequency of scheduled snapshots.
- retention
Duration StringIn Seconds - The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
- schedule
Prefix String - A name prefix to be applied to snapshots created by this schedule. Example:
compliance1
- time
Schedule StringStart - The starting point used to begin the scheduling of the snapshots based upon recurrence string in RFC 3339 timestamp format. If no
timeScheduleStart
is provided, the value will be set to the time when the schedule was created. - time
Zone String - Time zone used for scheduling the snapshot.
GetFilesystemSnapshotPoliciesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.