1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FileStorage
  5. getFilesystemSnapshotPolicies
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.FileStorage.getFilesystemSnapshotPolicies

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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: 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:

    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, 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"}
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    FreeformTags 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.
    IsLockOverride bool
    Locks List<GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyLock>
    Locks associated with this resource.
    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]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"}
    DisplayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    FreeformTags 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.
    IsLockOverride bool
    Locks []GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyLock
    Locks associated with this resource.
    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,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"}
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    freeformTags 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.
    isLockOverride Boolean
    locks List<GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyLock>
    Locks associated with this resource.
    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]: 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"}
    displayName string
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    freeformTags {[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.
    isLockOverride boolean
    locks GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyLock[]
    Locks associated with this resource.
    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, 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
    freeform_tags 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.
    is_lock_override bool
    locks Sequence[filestorage.GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyLock]
    Locks associated with this resource.
    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<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"}
    displayName String
    A user-friendly name. It does not have to be unique, and it is changeable. Example: My resource
    freeformTags 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.
    isLockOverride Boolean
    locks List<Property Map>
    Locks associated with this resource.
    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

    GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyLock

    Message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    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
    Type string
    Type of the lock.
    Message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    RelatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    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
    Type string
    Type of the lock.
    message String
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    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
    type String
    Type of the lock.
    message string
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId string
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    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
    type string
    Type of the lock.
    message str
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    related_resource_id str
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    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
    type str
    Type of the lock.
    message String
    A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
    relatedResourceId String
    The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    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
    type String
    Type of the lock.

    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. If not set, the system chooses a value at creation time.
    DayOfWeek string
    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.
    HourOfDay int
    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.
    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. If not set, the system chooses a value at creation time.
    DayOfWeek string
    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.
    HourOfDay int
    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.
    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. If not set, the system chooses a value at creation time.
    dayOfWeek String
    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.
    hourOfDay Integer
    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.
    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. If not set, the system chooses a value at creation time.
    dayOfWeek string
    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.
    hourOfDay number
    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.
    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. If not set, the system chooses a value at creation time.
    day_of_week str
    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_day int
    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_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. If not set, the system chooses a value at creation time.
    dayOfWeek String
    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.
    hourOfDay Number
    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.
    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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi