1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FileStorage
  5. getFilesystemSnapshotPolicies
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.FileStorage.getFilesystemSnapshotPolicies

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    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: _var.filesystem_snapshot_policy_availability_domain,
        compartmentId: _var.compartment_id,
        displayName: _var.filesystem_snapshot_policy_display_name,
        id: _var.filesystem_snapshot_policy_id,
        state: _var.filesystem_snapshot_policy_state,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_filesystem_snapshot_policies = oci.FileStorage.get_filesystem_snapshot_policies(availability_domain=var["filesystem_snapshot_policy_availability_domain"],
        compartment_id=var["compartment_id"],
        display_name=var["filesystem_snapshot_policy_display_name"],
        id=var["filesystem_snapshot_policy_id"],
        state=var["filesystem_snapshot_policy_state"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: _var.Filesystem_snapshot_policy_availability_domain,
    			CompartmentId:      _var.Compartment_id,
    			DisplayName:        pulumi.StringRef(_var.Filesystem_snapshot_policy_display_name),
    			Id:                 pulumi.StringRef(_var.Filesystem_snapshot_policy_id),
    			State:              pulumi.StringRef(_var.Filesystem_snapshot_policy_state),
    		}, 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 = @var.Filesystem_snapshot_policy_availability_domain,
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Filesystem_snapshot_policy_display_name,
            Id = @var.Filesystem_snapshot_policy_id,
            State = @var.Filesystem_snapshot_policy_state,
        });
    
    });
    
    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(var_.filesystem_snapshot_policy_availability_domain())
                .compartmentId(var_.compartment_id())
                .displayName(var_.filesystem_snapshot_policy_display_name())
                .id(var_.filesystem_snapshot_policy_id())
                .state(var_.filesystem_snapshot_policy_state())
                .build());
    
        }
    }
    
    variables:
      testFilesystemSnapshotPolicies:
        fn::invoke:
          Function: oci:FileStorage:getFilesystemSnapshotPolicies
          Arguments:
            availabilityDomain: ${var.filesystem_snapshot_policy_availability_domain}
            compartmentId: ${var.compartment_id}
            displayName: ${var.filesystem_snapshot_policy_display_name}
            id: ${var.filesystem_snapshot_policy_id}
            state: ${var.filesystem_snapshot_policy_state}
    

    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:

    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    Filters List<GetFilesystemSnapshotPoliciesFilter>
    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.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    Filters []GetFilesystemSnapshotPoliciesFilter
    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.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment.
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    filters List<GetFilesystemSnapshotPoliciesFilter>
    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.
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId string
    The OCID of the compartment.
    displayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    filters GetFilesystemSnapshotPoliciesFilter[]
    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.GetFilesystemSnapshotPoliciesFilter]
    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.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment.
    displayName 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:

    AvailabilityDomain 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
    CompartmentId string
    The OCID of the compartment that contains the file system snapshot policy.
    FilesystemSnapshotPolicies List<GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy>
    The list of filesystem_snapshot_policies.
    DisplayName 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<GetFilesystemSnapshotPoliciesFilter>
    Id string
    The OCID of the file system snapshot policy.
    State string
    The current state of this file system snapshot policy.
    AvailabilityDomain 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
    CompartmentId string
    The OCID of the compartment that contains the file system snapshot policy.
    FilesystemSnapshotPolicies []GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy
    The list of filesystem_snapshot_policies.
    DisplayName 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 []GetFilesystemSnapshotPoliciesFilter
    Id string
    The OCID of the file system snapshot policy.
    State string
    The current state of this file system snapshot policy.
    availabilityDomain 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
    compartmentId String
    The OCID of the compartment that contains the file system snapshot policy.
    filesystemSnapshotPolicies List<GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy>
    The list of filesystem_snapshot_policies.
    displayName 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<GetFilesystemSnapshotPoliciesFilter>
    id String
    The OCID of the file system snapshot policy.
    state String
    The current state of this file system snapshot policy.
    availabilityDomain 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
    compartmentId string
    The OCID of the compartment that contains the file system snapshot policy.
    filesystemSnapshotPolicies GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy[]
    The list of filesystem_snapshot_policies.
    displayName 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 GetFilesystemSnapshotPoliciesFilter[]
    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_policies Sequence[filestorage.GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicy]
    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.GetFilesystemSnapshotPoliciesFilter]
    id str
    The OCID of the file system snapshot policy.
    state str
    The current state of this file system snapshot policy.
    availabilityDomain 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
    compartmentId String
    The OCID of the compartment that contains the file system snapshot policy.
    filesystemSnapshotPolicies List<Property Map>
    The list of filesystem_snapshot_policies.
    displayName 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

    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    FreeformTags Dictionary<string, object>
    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.
    PolicyPrefix string
    The prefix to apply to all snapshots created by this policy. Example: acme
    Schedules List<GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicySchedule>
    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.
    TimeCreated 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
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    FreeformTags map[string]interface{}
    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.
    PolicyPrefix string
    The prefix to apply to all snapshots created by this policy. Example: acme
    Schedules []GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicySchedule
    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.
    TimeCreated 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
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    freeformTags Map<String,Object>
    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.
    policyPrefix String
    The prefix to apply to all snapshots created by this policy. Example: acme
    schedules List<GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicySchedule>
    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.
    timeCreated 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
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    freeformTags {[key: string]: any}
    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.
    policyPrefix string
    The prefix to apply to all snapshots created by this policy. Example: acme
    schedules GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicySchedule[]
    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.
    timeCreated 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.
    defined_tags Mapping[str, Any]
    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
    freeform_tags Mapping[str, Any]
    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.GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicySchedule]
    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
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    freeformTags Map<Any>
    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.
    policyPrefix 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.
    timeCreated 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

    DayOfMonth int
    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.
    DayOfWeek string
    The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules.
    HourOfDay int
    The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, a value will be chosen at creation time.
    Month string
    The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules.
    Period string
    The frequency of scheduled snapshots.
    RetentionDurationInSeconds string
    The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
    SchedulePrefix string
    A name prefix to be applied to snapshots created by this schedule. Example: compliance1
    TimeScheduleStart string
    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.
    TimeZone string
    Time zone used for scheduling the snapshot.
    DayOfMonth int
    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.
    DayOfWeek string
    The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules.
    HourOfDay int
    The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, a value will be chosen at creation time.
    Month string
    The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules.
    Period string
    The frequency of scheduled snapshots.
    RetentionDurationInSeconds string
    The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
    SchedulePrefix string
    A name prefix to be applied to snapshots created by this schedule. Example: compliance1
    TimeScheduleStart string
    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.
    TimeZone string
    Time zone used for scheduling the snapshot.
    dayOfMonth Integer
    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.
    dayOfWeek String
    The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules.
    hourOfDay Integer
    The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, a value will be chosen at creation time.
    month String
    The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules.
    period String
    The frequency of scheduled snapshots.
    retentionDurationInSeconds String
    The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
    schedulePrefix String
    A name prefix to be applied to snapshots created by this schedule. Example: compliance1
    timeScheduleStart String
    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.
    timeZone String
    Time zone used for scheduling the snapshot.
    dayOfMonth number
    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.
    dayOfWeek string
    The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules.
    hourOfDay number
    The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, a value will be chosen at creation time.
    month string
    The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules.
    period string
    The frequency of scheduled snapshots.
    retentionDurationInSeconds string
    The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
    schedulePrefix string
    A name prefix to be applied to snapshots created by this schedule. Example: compliance1
    timeScheduleStart string
    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.
    timeZone string
    Time zone used for scheduling the snapshot.
    day_of_month int
    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.
    day_of_week str
    The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules.
    hour_of_day int
    The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, a value will be chosen at creation time.
    month str
    The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules.
    period str
    The frequency of scheduled snapshots.
    retention_duration_in_seconds str
    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_start str
    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.
    dayOfMonth Number
    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.
    dayOfWeek String
    The day of the week to create a scheduled snapshot. Used for WEEKLY snapshot schedules.
    hourOfDay Number
    The hour of the day to create a DAILY, WEEKLY, MONTHLY, or YEARLY snapshot. If not set, a value will be chosen at creation time.
    month String
    The month to create a scheduled snapshot. Used only for YEARLY snapshot schedules.
    period String
    The frequency of scheduled snapshots.
    retentionDurationInSeconds String
    The number of seconds to retain snapshots created with this schedule. Snapshot expiration time will not be set if this value is empty.
    schedulePrefix String
    A name prefix to be applied to snapshots created by this schedule. Example: compliance1
    timeScheduleStart String
    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.
    timeZone String
    Time zone used for scheduling the snapshot.

    GetFilesystemSnapshotPoliciesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi