powerscale.FilepoolPolicy
This resource is used to manage the File Pool Policy entity of PowerScale Array. We can Create, Update and Delete the File Pool Policy using this resource. We can also import an existing File Pool Policy from PowerScale array. PowerScale File Pool Policy can identify logical groups of files and specify storage operations for these files.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.FilepoolPolicy;
import com.pulumi.powerscale.FilepoolPolicyArgs;
import com.pulumi.powerscale.inputs.FilepoolPolicyActionArgs;
import com.pulumi.powerscale.inputs.FilepoolPolicyActionDataStoragePolicyActionArgs;
import com.pulumi.powerscale.inputs.FilepoolPolicyActionSnapshotStoragePolicyActionArgs;
import com.pulumi.powerscale.inputs.FilepoolPolicyActionCloudpoolPolicyActionArgs;
import com.pulumi.powerscale.inputs.FilepoolPolicyActionCloudpoolPolicyActionCacheArgs;
import com.pulumi.powerscale.inputs.FilepoolPolicyFileMatchingPatternArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        // PowerScale File Pool Policy can identify logical groups of files and specify storage operations for these files.
        var exampleFilepoolPolicy = new FilepoolPolicy("exampleFilepoolPolicy", FilepoolPolicyArgs.builder()
            .actions(            
                FilepoolPolicyActionArgs.builder()
                    .actionType("set_data_access_pattern")
                    .dataAccessPatternAction("concurrency")
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("apply_data_storage_policy")
                    .dataStoragePolicyAction(FilepoolPolicyActionDataStoragePolicyActionArgs.builder()
                        .ssdStrategy("metadata")
                        .storagepool("anywhere")
                        .build())
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("apply_snapshot_storage_policy")
                    .snapshotStoragePolicyAction(FilepoolPolicyActionSnapshotStoragePolicyActionArgs.builder()
                        .ssdStrategy("metadata")
                        .storagepool("anywhere")
                        .build())
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("set_requested_protection")
                    .requestedProtectionAction("default")
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("enable_coalescer")
                    .enableCoalescerAction(true)
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("enable_packing")
                    .enablePackingAction(true)
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("set_cloudpool_policy")
                    .cloudpoolPolicyAction(FilepoolPolicyActionCloudpoolPolicyActionArgs.builder()
                        .archiveSnapshotFiles(true)
                        .cache(FilepoolPolicyActionCloudpoolPolicyActionCacheArgs.builder()
                            .expiration(86400)
                            .readAhead("partial")
                            .type("cached")
                            .build())
                        .compression(true)
                        .dataRetention(604800)
                        .encryption(true)
                        .fullBackupRetention(145152000)
                        .incrementalBackupRetention(145152000)
                        .pool("cloudPool_policy")
                        .writebackFrequency(32400)
                        .build())
                    .build())
            .applyOrder(1)
            .description("filePoolPolicySample description")
            .fileMatchingPattern(FilepoolPolicyFileMatchingPatternArgs.builder()
                .or_criteria(                
                    %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
                    %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .build())
            .isDefaultPolicy(false)
            .build());
        // PowerScale Default File Pool Policy applies to all files not selected by higher-priority and can specify storage operations for these files.
        var exampleDefaultPolicy = new FilepoolPolicy("exampleDefaultPolicy", FilepoolPolicyArgs.builder()
            .actions(            
                FilepoolPolicyActionArgs.builder()
                    .actionType("set_data_access_pattern")
                    .dataAccessPatternAction("concurrency")
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("apply_data_storage_policy")
                    .dataStoragePolicyAction(FilepoolPolicyActionDataStoragePolicyActionArgs.builder()
                        .ssdStrategy("metadata")
                        .storagepool("anywhere")
                        .build())
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("apply_snapshot_storage_policy")
                    .snapshotStoragePolicyAction(FilepoolPolicyActionSnapshotStoragePolicyActionArgs.builder()
                        .ssdStrategy("metadata")
                        .storagepool("anywhere")
                        .build())
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("set_requested_protection")
                    .requestedProtectionAction("default")
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("enable_coalescer")
                    .enableCoalescerAction(true)
                    .build(),
                FilepoolPolicyActionArgs.builder()
                    .actionType("enable_packing")
                    .enablePackingAction(true)
                    .build())
            .isDefaultPolicy(true)
            .build());
    }
}
resources:
  # PowerScale File Pool Policy can identify logical groups of files and specify storage operations for these files.
  exampleFilepoolPolicy:
    type: powerscale:FilepoolPolicy
    properties:
      # A list of actions to be taken for matching files. (Update Supported)
      actions:
        - actionType: set_data_access_pattern
          dataAccessPatternAction: concurrency
        - actionType: apply_data_storage_policy
          dataStoragePolicyAction:
            ssdStrategy: metadata
            storagepool: anywhere
        - actionType: apply_snapshot_storage_policy
          snapshotStoragePolicyAction:
            ssdStrategy: metadata
            storagepool: anywhere
        - actionType: set_requested_protection
          requestedProtectionAction: default
        - actionType: enable_coalescer
          enableCoalescerAction: true
        - actionType: enable_packing
          enablePackingAction: true
        - actionType: set_cloudpool_policy
          cloudpoolPolicyAction:
            archiveSnapshotFiles: true
            cache:
              expiration: 86400
              readAhead: partial
              type: cached
            compression: true
            dataRetention: 604800
            encryption: true
            fullBackupRetention: 1.45152e+08
            incrementalBackupRetention: 1.45152e+08
            pool: cloudPool_policy
            writebackFrequency: 32400
      # The order in which this policy should be applied (relative to other policies). (Update Supported)
      applyOrder: 1
      # A description for this policy. (Update Supported)
      description: filePoolPolicySample description
      # Optional params for creating and updating.
      #     // Specifies the file matching rules for determining which files will be managed by this policy. (Update Supported)
      fileMatchingPattern:
        or_criteria:
          - andCriteria:
              - operator: '>'
                type: size
                units: B
                value: '1073741824'
              - operator: '>'
                type: birth_time
                useRelativeTime: true
                value: '20'
              - operator: '>'
                type: metadata_changed_time
                useRelativeTime: false
                value: '1704742200'
              - operator: <
                type: accessed_time
                useRelativeTime: true
                value: '20'
          - andCriteria:
              - operator: <
                type: changed_time
                useRelativeTime: false
                value: '1704820500'
              - attributeExists: false
                field: test
                type: custom_attribute
                value: ""
              - operator: '!='
                type: file_type
                value: directory
              - beginsWith: false
                caseSensitive: true
                operator: '!='
                type: path
                value: test
              - caseSensitive: true
                operator: '!='
                type: name
                value: test
      # Optional is_default_policy for creating. Specifies if the policy is default policy. 
      #     // Default policy applies to all files not selected by higher-priority policies.
      isDefaultPolicy: false
  # PowerScale Default File Pool Policy applies to all files not selected by higher-priority and can specify storage operations for these files.
  exampleDefaultPolicy:
    type: powerscale:FilepoolPolicy
    properties:
      # Optional actions when creating and updating.
      #     // A list of actions to be taken for matching files. (Update Supported)
      actions:
        - actionType: set_data_access_pattern
          dataAccessPatternAction: concurrency
        - actionType: apply_data_storage_policy
          dataStoragePolicyAction:
            ssdStrategy: metadata
            storagepool: anywhere
        - actionType: apply_snapshot_storage_policy
          snapshotStoragePolicyAction:
            ssdStrategy: metadata
            storagepool: anywhere
        - actionType: set_requested_protection
          requestedProtectionAction: default
        - actionType: enable_coalescer
          enableCoalescerAction: true
        - actionType: enable_packing
          enablePackingAction: true
      # Optional is_default_policy for creating. Specifies if the policy is default policy. 
      #     // Default policy applies to all files not selected by higher-priority policies.
      isDefaultPolicy: true
Create FilepoolPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FilepoolPolicy(name: string, args?: FilepoolPolicyArgs, opts?: CustomResourceOptions);@overload
def FilepoolPolicy(resource_name: str,
                   args: Optional[FilepoolPolicyArgs] = None,
                   opts: Optional[ResourceOptions] = None)
@overload
def FilepoolPolicy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   actions: Optional[Sequence[FilepoolPolicyActionArgs]] = None,
                   apply_order: Optional[float] = None,
                   description: Optional[str] = None,
                   file_matching_pattern: Optional[FilepoolPolicyFileMatchingPatternArgs] = None,
                   is_default_policy: Optional[bool] = None,
                   name: Optional[str] = None)func NewFilepoolPolicy(ctx *Context, name string, args *FilepoolPolicyArgs, opts ...ResourceOption) (*FilepoolPolicy, error)public FilepoolPolicy(string name, FilepoolPolicyArgs? args = null, CustomResourceOptions? opts = null)
public FilepoolPolicy(String name, FilepoolPolicyArgs args)
public FilepoolPolicy(String name, FilepoolPolicyArgs args, CustomResourceOptions options)
type: powerscale:FilepoolPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FilepoolPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FilepoolPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FilepoolPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FilepoolPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FilepoolPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var filepoolPolicyResource = new Powerscale.FilepoolPolicy("filepoolPolicyResource", new()
{
    Actions = new[]
    {
        new Powerscale.Inputs.FilepoolPolicyActionArgs
        {
            ActionType = "string",
            CloudpoolPolicyAction = new Powerscale.Inputs.FilepoolPolicyActionCloudpoolPolicyActionArgs
            {
                Pool = "string",
                ArchiveSnapshotFiles = false,
                Cache = new Powerscale.Inputs.FilepoolPolicyActionCloudpoolPolicyActionCacheArgs
                {
                    Expiration = 0,
                    ReadAhead = "string",
                    Type = "string",
                },
                Compression = false,
                DataRetention = 0,
                Encryption = false,
                FullBackupRetention = 0,
                IncrementalBackupRetention = 0,
                WritebackFrequency = 0,
            },
            DataAccessPatternAction = "string",
            DataStoragePolicyAction = new Powerscale.Inputs.FilepoolPolicyActionDataStoragePolicyActionArgs
            {
                SsdStrategy = "string",
                Storagepool = "string",
            },
            EnableCoalescerAction = false,
            EnablePackingAction = false,
            RequestedProtectionAction = "string",
            SnapshotStoragePolicyAction = new Powerscale.Inputs.FilepoolPolicyActionSnapshotStoragePolicyActionArgs
            {
                SsdStrategy = "string",
                Storagepool = "string",
            },
        },
    },
    ApplyOrder = 0,
    Description = "string",
    FileMatchingPattern = new Powerscale.Inputs.FilepoolPolicyFileMatchingPatternArgs
    {
        OrCriterias = new[]
        {
            new Powerscale.Inputs.FilepoolPolicyFileMatchingPatternOrCriteriaArgs
            {
                AndCriterias = new[]
                {
                    new Powerscale.Inputs.FilepoolPolicyFileMatchingPatternOrCriteriaAndCriteriaArgs
                    {
                        Type = "string",
                        AttributeExists = false,
                        BeginsWith = false,
                        CaseSensitive = false,
                        Field = "string",
                        Operator = "string",
                        Units = "string",
                        UseRelativeTime = false,
                        Value = "string",
                    },
                },
            },
        },
    },
    IsDefaultPolicy = false,
    Name = "string",
});
example, err := powerscale.NewFilepoolPolicy(ctx, "filepoolPolicyResource", &powerscale.FilepoolPolicyArgs{
	Actions: powerscale.FilepoolPolicyActionArray{
		&powerscale.FilepoolPolicyActionArgs{
			ActionType: pulumi.String("string"),
			CloudpoolPolicyAction: &powerscale.FilepoolPolicyActionCloudpoolPolicyActionArgs{
				Pool:                 pulumi.String("string"),
				ArchiveSnapshotFiles: pulumi.Bool(false),
				Cache: &powerscale.FilepoolPolicyActionCloudpoolPolicyActionCacheArgs{
					Expiration: pulumi.Float64(0),
					ReadAhead:  pulumi.String("string"),
					Type:       pulumi.String("string"),
				},
				Compression:                pulumi.Bool(false),
				DataRetention:              pulumi.Float64(0),
				Encryption:                 pulumi.Bool(false),
				FullBackupRetention:        pulumi.Float64(0),
				IncrementalBackupRetention: pulumi.Float64(0),
				WritebackFrequency:         pulumi.Float64(0),
			},
			DataAccessPatternAction: pulumi.String("string"),
			DataStoragePolicyAction: &powerscale.FilepoolPolicyActionDataStoragePolicyActionArgs{
				SsdStrategy: pulumi.String("string"),
				Storagepool: pulumi.String("string"),
			},
			EnableCoalescerAction:     pulumi.Bool(false),
			EnablePackingAction:       pulumi.Bool(false),
			RequestedProtectionAction: pulumi.String("string"),
			SnapshotStoragePolicyAction: &powerscale.FilepoolPolicyActionSnapshotStoragePolicyActionArgs{
				SsdStrategy: pulumi.String("string"),
				Storagepool: pulumi.String("string"),
			},
		},
	},
	ApplyOrder:  pulumi.Float64(0),
	Description: pulumi.String("string"),
	FileMatchingPattern: &powerscale.FilepoolPolicyFileMatchingPatternArgs{
		OrCriterias: powerscale.FilepoolPolicyFileMatchingPatternOrCriteriaArray{
			&powerscale.FilepoolPolicyFileMatchingPatternOrCriteriaArgs{
				AndCriterias: powerscale.FilepoolPolicyFileMatchingPatternOrCriteriaAndCriteriaArray{
					&powerscale.FilepoolPolicyFileMatchingPatternOrCriteriaAndCriteriaArgs{
						Type:            pulumi.String("string"),
						AttributeExists: pulumi.Bool(false),
						BeginsWith:      pulumi.Bool(false),
						CaseSensitive:   pulumi.Bool(false),
						Field:           pulumi.String("string"),
						Operator:        pulumi.String("string"),
						Units:           pulumi.String("string"),
						UseRelativeTime: pulumi.Bool(false),
						Value:           pulumi.String("string"),
					},
				},
			},
		},
	},
	IsDefaultPolicy: pulumi.Bool(false),
	Name:            pulumi.String("string"),
})
var filepoolPolicyResource = new FilepoolPolicy("filepoolPolicyResource", FilepoolPolicyArgs.builder()
    .actions(FilepoolPolicyActionArgs.builder()
        .actionType("string")
        .cloudpoolPolicyAction(FilepoolPolicyActionCloudpoolPolicyActionArgs.builder()
            .pool("string")
            .archiveSnapshotFiles(false)
            .cache(FilepoolPolicyActionCloudpoolPolicyActionCacheArgs.builder()
                .expiration(0.0)
                .readAhead("string")
                .type("string")
                .build())
            .compression(false)
            .dataRetention(0.0)
            .encryption(false)
            .fullBackupRetention(0.0)
            .incrementalBackupRetention(0.0)
            .writebackFrequency(0.0)
            .build())
        .dataAccessPatternAction("string")
        .dataStoragePolicyAction(FilepoolPolicyActionDataStoragePolicyActionArgs.builder()
            .ssdStrategy("string")
            .storagepool("string")
            .build())
        .enableCoalescerAction(false)
        .enablePackingAction(false)
        .requestedProtectionAction("string")
        .snapshotStoragePolicyAction(FilepoolPolicyActionSnapshotStoragePolicyActionArgs.builder()
            .ssdStrategy("string")
            .storagepool("string")
            .build())
        .build())
    .applyOrder(0.0)
    .description("string")
    .fileMatchingPattern(FilepoolPolicyFileMatchingPatternArgs.builder()
        .orCriterias(FilepoolPolicyFileMatchingPatternOrCriteriaArgs.builder()
            .andCriterias(FilepoolPolicyFileMatchingPatternOrCriteriaAndCriteriaArgs.builder()
                .type("string")
                .attributeExists(false)
                .beginsWith(false)
                .caseSensitive(false)
                .field("string")
                .operator("string")
                .units("string")
                .useRelativeTime(false)
                .value("string")
                .build())
            .build())
        .build())
    .isDefaultPolicy(false)
    .name("string")
    .build());
filepool_policy_resource = powerscale.FilepoolPolicy("filepoolPolicyResource",
    actions=[{
        "action_type": "string",
        "cloudpool_policy_action": {
            "pool": "string",
            "archive_snapshot_files": False,
            "cache": {
                "expiration": 0,
                "read_ahead": "string",
                "type": "string",
            },
            "compression": False,
            "data_retention": 0,
            "encryption": False,
            "full_backup_retention": 0,
            "incremental_backup_retention": 0,
            "writeback_frequency": 0,
        },
        "data_access_pattern_action": "string",
        "data_storage_policy_action": {
            "ssd_strategy": "string",
            "storagepool": "string",
        },
        "enable_coalescer_action": False,
        "enable_packing_action": False,
        "requested_protection_action": "string",
        "snapshot_storage_policy_action": {
            "ssd_strategy": "string",
            "storagepool": "string",
        },
    }],
    apply_order=0,
    description="string",
    file_matching_pattern={
        "or_criterias": [{
            "and_criterias": [{
                "type": "string",
                "attribute_exists": False,
                "begins_with": False,
                "case_sensitive": False,
                "field": "string",
                "operator": "string",
                "units": "string",
                "use_relative_time": False,
                "value": "string",
            }],
        }],
    },
    is_default_policy=False,
    name="string")
const filepoolPolicyResource = new powerscale.FilepoolPolicy("filepoolPolicyResource", {
    actions: [{
        actionType: "string",
        cloudpoolPolicyAction: {
            pool: "string",
            archiveSnapshotFiles: false,
            cache: {
                expiration: 0,
                readAhead: "string",
                type: "string",
            },
            compression: false,
            dataRetention: 0,
            encryption: false,
            fullBackupRetention: 0,
            incrementalBackupRetention: 0,
            writebackFrequency: 0,
        },
        dataAccessPatternAction: "string",
        dataStoragePolicyAction: {
            ssdStrategy: "string",
            storagepool: "string",
        },
        enableCoalescerAction: false,
        enablePackingAction: false,
        requestedProtectionAction: "string",
        snapshotStoragePolicyAction: {
            ssdStrategy: "string",
            storagepool: "string",
        },
    }],
    applyOrder: 0,
    description: "string",
    fileMatchingPattern: {
        orCriterias: [{
            andCriterias: [{
                type: "string",
                attributeExists: false,
                beginsWith: false,
                caseSensitive: false,
                field: "string",
                operator: "string",
                units: "string",
                useRelativeTime: false,
                value: "string",
            }],
        }],
    },
    isDefaultPolicy: false,
    name: "string",
});
type: powerscale:FilepoolPolicy
properties:
    actions:
        - actionType: string
          cloudpoolPolicyAction:
            archiveSnapshotFiles: false
            cache:
                expiration: 0
                readAhead: string
                type: string
            compression: false
            dataRetention: 0
            encryption: false
            fullBackupRetention: 0
            incrementalBackupRetention: 0
            pool: string
            writebackFrequency: 0
          dataAccessPatternAction: string
          dataStoragePolicyAction:
            ssdStrategy: string
            storagepool: string
          enableCoalescerAction: false
          enablePackingAction: false
          requestedProtectionAction: string
          snapshotStoragePolicyAction:
            ssdStrategy: string
            storagepool: string
    applyOrder: 0
    description: string
    fileMatchingPattern:
        orCriterias:
            - andCriterias:
                - attributeExists: false
                  beginsWith: false
                  caseSensitive: false
                  field: string
                  operator: string
                  type: string
                  units: string
                  useRelativeTime: false
                  value: string
    isDefaultPolicy: false
    name: string
FilepoolPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FilepoolPolicy resource accepts the following input properties:
- Actions
List<FilepoolPolicy Action> 
- A list of actions to be taken for matching files.
- ApplyOrder double
- The order in which this policy should be applied (relative to other policies).
- Description string
- A description for this File Pool Policy.
- FileMatching FilepoolPattern Policy File Matching Pattern 
- Specifies the file matching rules for determining which files will be managed by this policy.
- IsDefault boolPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- Name string
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- Actions
[]FilepoolPolicy Action Args 
- A list of actions to be taken for matching files.
- ApplyOrder float64
- The order in which this policy should be applied (relative to other policies).
- Description string
- A description for this File Pool Policy.
- FileMatching FilepoolPattern Policy File Matching Pattern Args 
- Specifies the file matching rules for determining which files will be managed by this policy.
- IsDefault boolPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- Name string
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- actions
List<FilepoolPolicy Action> 
- A list of actions to be taken for matching files.
- applyOrder Double
- The order in which this policy should be applied (relative to other policies).
- description String
- A description for this File Pool Policy.
- fileMatching FilepoolPattern Policy File Matching Pattern 
- Specifies the file matching rules for determining which files will be managed by this policy.
- isDefault BooleanPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- name String
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- actions
FilepoolPolicy Action[] 
- A list of actions to be taken for matching files.
- applyOrder number
- The order in which this policy should be applied (relative to other policies).
- description string
- A description for this File Pool Policy.
- fileMatching FilepoolPattern Policy File Matching Pattern 
- Specifies the file matching rules for determining which files will be managed by this policy.
- isDefault booleanPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- name string
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- actions
Sequence[FilepoolPolicy Action Args] 
- A list of actions to be taken for matching files.
- apply_order float
- The order in which this policy should be applied (relative to other policies).
- description str
- A description for this File Pool Policy.
- file_matching_ Filepoolpattern Policy File Matching Pattern Args 
- Specifies the file matching rules for determining which files will be managed by this policy.
- is_default_ boolpolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- name str
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- actions List<Property Map>
- A list of actions to be taken for matching files.
- applyOrder Number
- The order in which this policy should be applied (relative to other policies).
- description String
- A description for this File Pool Policy.
- fileMatching Property MapPattern 
- Specifies the file matching rules for determining which files will be managed by this policy.
- isDefault BooleanPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- name String
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
Outputs
All input properties are implicitly available as output properties. Additionally, the FilepoolPolicy resource produces the following output properties:
- BirthCluster stringId 
- The guid assigned to the cluster on which the policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- StateDetails string
- Gives further information to describe the state of this policy.
- BirthCluster stringId 
- The guid assigned to the cluster on which the policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- StateDetails string
- Gives further information to describe the state of this policy.
- birthCluster StringId 
- The guid assigned to the cluster on which the policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- stateDetails String
- Gives further information to describe the state of this policy.
- birthCluster stringId 
- The guid assigned to the cluster on which the policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- stateDetails string
- Gives further information to describe the state of this policy.
- birth_cluster_ strid 
- The guid assigned to the cluster on which the policy was created.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- state_details str
- Gives further information to describe the state of this policy.
- birthCluster StringId 
- The guid assigned to the cluster on which the policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- stateDetails String
- Gives further information to describe the state of this policy.
Look up Existing FilepoolPolicy Resource
Get an existing FilepoolPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FilepoolPolicyState, opts?: CustomResourceOptions): FilepoolPolicy@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        actions: Optional[Sequence[FilepoolPolicyActionArgs]] = None,
        apply_order: Optional[float] = None,
        birth_cluster_id: Optional[str] = None,
        description: Optional[str] = None,
        file_matching_pattern: Optional[FilepoolPolicyFileMatchingPatternArgs] = None,
        is_default_policy: Optional[bool] = None,
        name: Optional[str] = None,
        state: Optional[str] = None,
        state_details: Optional[str] = None) -> FilepoolPolicyfunc GetFilepoolPolicy(ctx *Context, name string, id IDInput, state *FilepoolPolicyState, opts ...ResourceOption) (*FilepoolPolicy, error)public static FilepoolPolicy Get(string name, Input<string> id, FilepoolPolicyState? state, CustomResourceOptions? opts = null)public static FilepoolPolicy get(String name, Output<String> id, FilepoolPolicyState state, CustomResourceOptions options)resources:  _:    type: powerscale:FilepoolPolicy    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Actions
List<FilepoolPolicy Action> 
- A list of actions to be taken for matching files.
- ApplyOrder double
- The order in which this policy should be applied (relative to other policies).
- BirthCluster stringId 
- The guid assigned to the cluster on which the policy was created.
- Description string
- A description for this File Pool Policy.
- FileMatching FilepoolPattern Policy File Matching Pattern 
- Specifies the file matching rules for determining which files will be managed by this policy.
- IsDefault boolPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- Name string
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- State string
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- StateDetails string
- Gives further information to describe the state of this policy.
- Actions
[]FilepoolPolicy Action Args 
- A list of actions to be taken for matching files.
- ApplyOrder float64
- The order in which this policy should be applied (relative to other policies).
- BirthCluster stringId 
- The guid assigned to the cluster on which the policy was created.
- Description string
- A description for this File Pool Policy.
- FileMatching FilepoolPattern Policy File Matching Pattern Args 
- Specifies the file matching rules for determining which files will be managed by this policy.
- IsDefault boolPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- Name string
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- State string
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- StateDetails string
- Gives further information to describe the state of this policy.
- actions
List<FilepoolPolicy Action> 
- A list of actions to be taken for matching files.
- applyOrder Double
- The order in which this policy should be applied (relative to other policies).
- birthCluster StringId 
- The guid assigned to the cluster on which the policy was created.
- description String
- A description for this File Pool Policy.
- fileMatching FilepoolPattern Policy File Matching Pattern 
- Specifies the file matching rules for determining which files will be managed by this policy.
- isDefault BooleanPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- name String
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- state String
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- stateDetails String
- Gives further information to describe the state of this policy.
- actions
FilepoolPolicy Action[] 
- A list of actions to be taken for matching files.
- applyOrder number
- The order in which this policy should be applied (relative to other policies).
- birthCluster stringId 
- The guid assigned to the cluster on which the policy was created.
- description string
- A description for this File Pool Policy.
- fileMatching FilepoolPattern Policy File Matching Pattern 
- Specifies the file matching rules for determining which files will be managed by this policy.
- isDefault booleanPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- name string
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- state string
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- stateDetails string
- Gives further information to describe the state of this policy.
- actions
Sequence[FilepoolPolicy Action Args] 
- A list of actions to be taken for matching files.
- apply_order float
- The order in which this policy should be applied (relative to other policies).
- birth_cluster_ strid 
- The guid assigned to the cluster on which the policy was created.
- description str
- A description for this File Pool Policy.
- file_matching_ Filepoolpattern Policy File Matching Pattern Args 
- Specifies the file matching rules for determining which files will be managed by this policy.
- is_default_ boolpolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- name str
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- state str
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- state_details str
- Gives further information to describe the state of this policy.
- actions List<Property Map>
- A list of actions to be taken for matching files.
- applyOrder Number
- The order in which this policy should be applied (relative to other policies).
- birthCluster StringId 
- The guid assigned to the cluster on which the policy was created.
- description String
- A description for this File Pool Policy.
- fileMatching Property MapPattern 
- Specifies the file matching rules for determining which files will be managed by this policy.
- isDefault BooleanPolicy 
- Specifies if the policy is default policy. Default policy applies to all files not selected by higher-priority policies. Cannot be updated.
- name String
- A unique name for this policy. If the policy is default policy, its name should be "Default policy".
- state String
- Indicates whether this policy is in a good state ("OK") or disabled ("disabled").
- stateDetails String
- Gives further information to describe the state of this policy.
Supporting Types
FilepoolPolicyAction, FilepoolPolicyActionArgs      
- ActionType string
- actiontype Acceptable values: setrequestedprotection, setdataaccesspattern, enablecoalescer, applydatastoragepolicy, applysnapshotstoragepolicy, setcloudpoolpolicy, enablepacking.
- CloudpoolPolicy FilepoolAction Policy Action Cloudpool Policy Action 
- Action for setcloudpoolpolicy type.
- DataAccess stringPattern Action 
- Action for setdataaccess_pattern type. Set data access pattern optimization. Acceptable values: random, concurrency, streaming.
- DataStorage FilepoolPolicy Action Policy Action Data Storage Policy Action 
- Action for applydatastorage*policy.
- EnableCoalescer boolAction 
- Action for enable_coalescer type. Set write performance optimization. True to enable SmartCache action.
- EnablePacking boolAction 
- Action for enablepacking type. True to enable enablepacking action.
- RequestedProtection stringAction 
- Action for setrequestedprotection type. Acceptable values: default, +1n, +2d:1n, +2n, +3d:1n, +3d:1n1d, +3n, +4d:1n, +4d:2n, +4n, 2x, 3x, 4x, 5x, 6x, 7x, 8x.
- SnapshotStorage FilepoolPolicy Action Policy Action Snapshot Storage Policy Action 
- Action for applysnapshotstorage*policy.
- ActionType string
- actiontype Acceptable values: setrequestedprotection, setdataaccesspattern, enablecoalescer, applydatastoragepolicy, applysnapshotstoragepolicy, setcloudpoolpolicy, enablepacking.
- CloudpoolPolicy FilepoolAction Policy Action Cloudpool Policy Action 
- Action for setcloudpoolpolicy type.
- DataAccess stringPattern Action 
- Action for setdataaccess_pattern type. Set data access pattern optimization. Acceptable values: random, concurrency, streaming.
- DataStorage FilepoolPolicy Action Policy Action Data Storage Policy Action 
- Action for applydatastorage*policy.
- EnableCoalescer boolAction 
- Action for enable_coalescer type. Set write performance optimization. True to enable SmartCache action.
- EnablePacking boolAction 
- Action for enablepacking type. True to enable enablepacking action.
- RequestedProtection stringAction 
- Action for setrequestedprotection type. Acceptable values: default, +1n, +2d:1n, +2n, +3d:1n, +3d:1n1d, +3n, +4d:1n, +4d:2n, +4n, 2x, 3x, 4x, 5x, 6x, 7x, 8x.
- SnapshotStorage FilepoolPolicy Action Policy Action Snapshot Storage Policy Action 
- Action for applysnapshotstorage*policy.
- actionType String
- actiontype Acceptable values: setrequestedprotection, setdataaccesspattern, enablecoalescer, applydatastoragepolicy, applysnapshotstoragepolicy, setcloudpoolpolicy, enablepacking.
- cloudpoolPolicy FilepoolAction Policy Action Cloudpool Policy Action 
- Action for setcloudpoolpolicy type.
- dataAccess StringPattern Action 
- Action for setdataaccess_pattern type. Set data access pattern optimization. Acceptable values: random, concurrency, streaming.
- dataStorage FilepoolPolicy Action Policy Action Data Storage Policy Action 
- Action for applydatastorage*policy.
- enableCoalescer BooleanAction 
- Action for enable_coalescer type. Set write performance optimization. True to enable SmartCache action.
- enablePacking BooleanAction 
- Action for enablepacking type. True to enable enablepacking action.
- requestedProtection StringAction 
- Action for setrequestedprotection type. Acceptable values: default, +1n, +2d:1n, +2n, +3d:1n, +3d:1n1d, +3n, +4d:1n, +4d:2n, +4n, 2x, 3x, 4x, 5x, 6x, 7x, 8x.
- snapshotStorage FilepoolPolicy Action Policy Action Snapshot Storage Policy Action 
- Action for applysnapshotstorage*policy.
- actionType string
- actiontype Acceptable values: setrequestedprotection, setdataaccesspattern, enablecoalescer, applydatastoragepolicy, applysnapshotstoragepolicy, setcloudpoolpolicy, enablepacking.
- cloudpoolPolicy FilepoolAction Policy Action Cloudpool Policy Action 
- Action for setcloudpoolpolicy type.
- dataAccess stringPattern Action 
- Action for setdataaccess_pattern type. Set data access pattern optimization. Acceptable values: random, concurrency, streaming.
- dataStorage FilepoolPolicy Action Policy Action Data Storage Policy Action 
- Action for applydatastorage*policy.
- enableCoalescer booleanAction 
- Action for enable_coalescer type. Set write performance optimization. True to enable SmartCache action.
- enablePacking booleanAction 
- Action for enablepacking type. True to enable enablepacking action.
- requestedProtection stringAction 
- Action for setrequestedprotection type. Acceptable values: default, +1n, +2d:1n, +2n, +3d:1n, +3d:1n1d, +3n, +4d:1n, +4d:2n, +4n, 2x, 3x, 4x, 5x, 6x, 7x, 8x.
- snapshotStorage FilepoolPolicy Action Policy Action Snapshot Storage Policy Action 
- Action for applysnapshotstorage*policy.
- action_type str
- actiontype Acceptable values: setrequestedprotection, setdataaccesspattern, enablecoalescer, applydatastoragepolicy, applysnapshotstoragepolicy, setcloudpoolpolicy, enablepacking.
- cloudpool_policy_ Filepoolaction Policy Action Cloudpool Policy Action 
- Action for setcloudpoolpolicy type.
- data_access_ strpattern_ action 
- Action for setdataaccess_pattern type. Set data access pattern optimization. Acceptable values: random, concurrency, streaming.
- data_storage_ Filepoolpolicy_ action Policy Action Data Storage Policy Action 
- Action for applydatastorage*policy.
- enable_coalescer_ boolaction 
- Action for enable_coalescer type. Set write performance optimization. True to enable SmartCache action.
- enable_packing_ boolaction 
- Action for enablepacking type. True to enable enablepacking action.
- requested_protection_ straction 
- Action for setrequestedprotection type. Acceptable values: default, +1n, +2d:1n, +2n, +3d:1n, +3d:1n1d, +3n, +4d:1n, +4d:2n, +4n, 2x, 3x, 4x, 5x, 6x, 7x, 8x.
- snapshot_storage_ Filepoolpolicy_ action Policy Action Snapshot Storage Policy Action 
- Action for applysnapshotstorage*policy.
- actionType String
- actiontype Acceptable values: setrequestedprotection, setdataaccesspattern, enablecoalescer, applydatastoragepolicy, applysnapshotstoragepolicy, setcloudpoolpolicy, enablepacking.
- cloudpoolPolicy Property MapAction 
- Action for setcloudpoolpolicy type.
- dataAccess StringPattern Action 
- Action for setdataaccess_pattern type. Set data access pattern optimization. Acceptable values: random, concurrency, streaming.
- dataStorage Property MapPolicy Action 
- Action for applydatastorage*policy.
- enableCoalescer BooleanAction 
- Action for enable_coalescer type. Set write performance optimization. True to enable SmartCache action.
- enablePacking BooleanAction 
- Action for enablepacking type. True to enable enablepacking action.
- requestedProtection StringAction 
- Action for setrequestedprotection type. Acceptable values: default, +1n, +2d:1n, +2n, +3d:1n, +3d:1n1d, +3n, +4d:1n, +4d:2n, +4n, 2x, 3x, 4x, 5x, 6x, 7x, 8x.
- snapshotStorage Property MapPolicy Action 
- Action for applysnapshotstorage*policy.
FilepoolPolicyActionCloudpoolPolicyAction, FilepoolPolicyActionCloudpoolPolicyActionArgs            
- Pool string
- Specifies the cloudPool storage target.
- ArchiveSnapshot boolFiles 
- Specifies if files with snapshots should be archived.
- Cache
FilepoolPolicy Action Cloudpool Policy Action Cache 
- Specifies default cloudpool cache settings for new filepool policies.
- Compression bool
- Specifies if files should be compressed.
- DataRetention double
- Specifies the minimum amount of time archived data will be retained in the cloud after deletion.
- Encryption bool
- Specifies if files should be encrypted.
- FullBackup doubleRetention 
- The minimum amount of time cloud files will be retained after the creation of a full NDMP backup. (Used with NDMP backups only. Not applicable to SyncIQ.)
- IncrementalBackup doubleRetention 
- The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup. (Used with SyncIQ and NDMP backups.)
- WritebackFrequency double
- The minimum amount of time to wait before updating cloud data with local changes.
- Pool string
- Specifies the cloudPool storage target.
- ArchiveSnapshot boolFiles 
- Specifies if files with snapshots should be archived.
- Cache
FilepoolPolicy Action Cloudpool Policy Action Cache 
- Specifies default cloudpool cache settings for new filepool policies.
- Compression bool
- Specifies if files should be compressed.
- DataRetention float64
- Specifies the minimum amount of time archived data will be retained in the cloud after deletion.
- Encryption bool
- Specifies if files should be encrypted.
- FullBackup float64Retention 
- The minimum amount of time cloud files will be retained after the creation of a full NDMP backup. (Used with NDMP backups only. Not applicable to SyncIQ.)
- IncrementalBackup float64Retention 
- The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup. (Used with SyncIQ and NDMP backups.)
- WritebackFrequency float64
- The minimum amount of time to wait before updating cloud data with local changes.
- pool String
- Specifies the cloudPool storage target.
- archiveSnapshot BooleanFiles 
- Specifies if files with snapshots should be archived.
- cache
FilepoolPolicy Action Cloudpool Policy Action Cache 
- Specifies default cloudpool cache settings for new filepool policies.
- compression Boolean
- Specifies if files should be compressed.
- dataRetention Double
- Specifies the minimum amount of time archived data will be retained in the cloud after deletion.
- encryption Boolean
- Specifies if files should be encrypted.
- fullBackup DoubleRetention 
- The minimum amount of time cloud files will be retained after the creation of a full NDMP backup. (Used with NDMP backups only. Not applicable to SyncIQ.)
- incrementalBackup DoubleRetention 
- The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup. (Used with SyncIQ and NDMP backups.)
- writebackFrequency Double
- The minimum amount of time to wait before updating cloud data with local changes.
- pool string
- Specifies the cloudPool storage target.
- archiveSnapshot booleanFiles 
- Specifies if files with snapshots should be archived.
- cache
FilepoolPolicy Action Cloudpool Policy Action Cache 
- Specifies default cloudpool cache settings for new filepool policies.
- compression boolean
- Specifies if files should be compressed.
- dataRetention number
- Specifies the minimum amount of time archived data will be retained in the cloud after deletion.
- encryption boolean
- Specifies if files should be encrypted.
- fullBackup numberRetention 
- The minimum amount of time cloud files will be retained after the creation of a full NDMP backup. (Used with NDMP backups only. Not applicable to SyncIQ.)
- incrementalBackup numberRetention 
- The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup. (Used with SyncIQ and NDMP backups.)
- writebackFrequency number
- The minimum amount of time to wait before updating cloud data with local changes.
- pool str
- Specifies the cloudPool storage target.
- archive_snapshot_ boolfiles 
- Specifies if files with snapshots should be archived.
- cache
FilepoolPolicy Action Cloudpool Policy Action Cache 
- Specifies default cloudpool cache settings for new filepool policies.
- compression bool
- Specifies if files should be compressed.
- data_retention float
- Specifies the minimum amount of time archived data will be retained in the cloud after deletion.
- encryption bool
- Specifies if files should be encrypted.
- full_backup_ floatretention 
- The minimum amount of time cloud files will be retained after the creation of a full NDMP backup. (Used with NDMP backups only. Not applicable to SyncIQ.)
- incremental_backup_ floatretention 
- The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup. (Used with SyncIQ and NDMP backups.)
- writeback_frequency float
- The minimum amount of time to wait before updating cloud data with local changes.
- pool String
- Specifies the cloudPool storage target.
- archiveSnapshot BooleanFiles 
- Specifies if files with snapshots should be archived.
- cache Property Map
- Specifies default cloudpool cache settings for new filepool policies.
- compression Boolean
- Specifies if files should be compressed.
- dataRetention Number
- Specifies the minimum amount of time archived data will be retained in the cloud after deletion.
- encryption Boolean
- Specifies if files should be encrypted.
- fullBackup NumberRetention 
- The minimum amount of time cloud files will be retained after the creation of a full NDMP backup. (Used with NDMP backups only. Not applicable to SyncIQ.)
- incrementalBackup NumberRetention 
- The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup. (Used with SyncIQ and NDMP backups.)
- writebackFrequency Number
- The minimum amount of time to wait before updating cloud data with local changes.
FilepoolPolicyActionCloudpoolPolicyActionCache, FilepoolPolicyActionCloudpoolPolicyActionCacheArgs              
- Expiration double
- Specifies cache expiration.
- ReadAhead string
- Specifies cache read ahead type. Acceptable values: partial, full.
- Type string
- Specifies cache type. Acceptable values: cached, no-cache.
- Expiration float64
- Specifies cache expiration.
- ReadAhead string
- Specifies cache read ahead type. Acceptable values: partial, full.
- Type string
- Specifies cache type. Acceptable values: cached, no-cache.
- expiration Double
- Specifies cache expiration.
- readAhead String
- Specifies cache read ahead type. Acceptable values: partial, full.
- type String
- Specifies cache type. Acceptable values: cached, no-cache.
- expiration number
- Specifies cache expiration.
- readAhead string
- Specifies cache read ahead type. Acceptable values: partial, full.
- type string
- Specifies cache type. Acceptable values: cached, no-cache.
- expiration float
- Specifies cache expiration.
- read_ahead str
- Specifies cache read ahead type. Acceptable values: partial, full.
- type str
- Specifies cache type. Acceptable values: cached, no-cache.
- expiration Number
- Specifies cache expiration.
- readAhead String
- Specifies cache read ahead type. Acceptable values: partial, full.
- type String
- Specifies cache type. Acceptable values: cached, no-cache.
FilepoolPolicyActionDataStoragePolicyAction, FilepoolPolicyActionDataStoragePolicyActionArgs              
- SsdStrategy string
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- Storagepool string
- Specifies the storage target.
- SsdStrategy string
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- Storagepool string
- Specifies the storage target.
- ssdStrategy String
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- storagepool String
- Specifies the storage target.
- ssdStrategy string
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- storagepool string
- Specifies the storage target.
- ssd_strategy str
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- storagepool str
- Specifies the storage target.
- ssdStrategy String
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- storagepool String
- Specifies the storage target.
FilepoolPolicyActionSnapshotStoragePolicyAction, FilepoolPolicyActionSnapshotStoragePolicyActionArgs              
- SsdStrategy string
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- Storagepool string
- Specifies the snapshot storage target.
- SsdStrategy string
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- Storagepool string
- Specifies the snapshot storage target.
- ssdStrategy String
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- storagepool String
- Specifies the snapshot storage target.
- ssdStrategy string
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- storagepool string
- Specifies the snapshot storage target.
- ssd_strategy str
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- storagepool str
- Specifies the snapshot storage target.
- ssdStrategy String
- Specifies the SSD strategy. Acceptable values: metadata, metadata-write, data, avoid.
- storagepool String
- Specifies the snapshot storage target.
FilepoolPolicyFileMatchingPattern, FilepoolPolicyFileMatchingPatternArgs          
- OrCriterias List<FilepoolPolicy File Matching Pattern Or Criteria> 
- List of or*criteria file matching rules for this policy.
- OrCriterias []FilepoolPolicy File Matching Pattern Or Criteria 
- List of or*criteria file matching rules for this policy.
- orCriterias List<FilepoolPolicy File Matching Pattern Or Criteria> 
- List of or*criteria file matching rules for this policy.
- orCriterias FilepoolPolicy File Matching Pattern Or Criteria[] 
- List of or*criteria file matching rules for this policy.
- or_criterias Sequence[FilepoolPolicy File Matching Pattern Or Criteria] 
- List of or*criteria file matching rules for this policy.
- orCriterias List<Property Map>
- List of or*criteria file matching rules for this policy.
FilepoolPolicyFileMatchingPatternOrCriteria, FilepoolPolicyFileMatchingPatternOrCriteriaArgs              
- AndCriterias List<FilepoolPolicy File Matching Pattern Or Criteria And Criteria> 
- List of and*criteria file matching rules for this policy.
- AndCriterias []FilepoolPolicy File Matching Pattern Or Criteria And Criteria 
- List of and*criteria file matching rules for this policy.
- andCriterias List<FilepoolPolicy File Matching Pattern Or Criteria And Criteria> 
- List of and*criteria file matching rules for this policy.
- andCriterias FilepoolPolicy File Matching Pattern Or Criteria And Criteria[] 
- List of and*criteria file matching rules for this policy.
- and_criterias Sequence[FilepoolPolicy File Matching Pattern Or Criteria And Criteria] 
- List of and*criteria file matching rules for this policy.
- andCriterias List<Property Map>
- List of and*criteria file matching rules for this policy.
FilepoolPolicyFileMatchingPatternOrCriteriaAndCriteria, FilepoolPolicyFileMatchingPatternOrCriteriaAndCriteriaArgs                  
- Type string
- The file attribute to be compared to a given value.
- AttributeExists bool
- Indicates whether the existence of an attribute indicates a match (valid only with 'type' = 'custom_attribute').
- BeginsWith bool
- True to match the path exactly, False to match any subtree. (valid only with 'type' = 'path').
- CaseSensitive bool
- True to indicate case sensitivity when comparing file attributes (valid only with 'type' = 'name' or 'type' = 'path').
- Field string
- File attribute field name to be compared in a custom comparison (valid only with 'type' = 'custom_attribute').
- Operator string
- The comparison operator to use while comparing an attribute with its value.
- Units string
- Size unit value. One of 'B','KB','MB','GB','TB','PB','EB' (valid only with 'type' = 'size').
- UseRelative boolTime 
- Whether time units refer to a calendar date and time (e.g., Jun 3, 2009) or a relative duration (e.g., 2 weeks) (valid only with 'type' in {accessedtime, birthtime, changedtime or metadatachanged_time}.
- Value string
- The value to be compared against a file attribute.
- Type string
- The file attribute to be compared to a given value.
- AttributeExists bool
- Indicates whether the existence of an attribute indicates a match (valid only with 'type' = 'custom_attribute').
- BeginsWith bool
- True to match the path exactly, False to match any subtree. (valid only with 'type' = 'path').
- CaseSensitive bool
- True to indicate case sensitivity when comparing file attributes (valid only with 'type' = 'name' or 'type' = 'path').
- Field string
- File attribute field name to be compared in a custom comparison (valid only with 'type' = 'custom_attribute').
- Operator string
- The comparison operator to use while comparing an attribute with its value.
- Units string
- Size unit value. One of 'B','KB','MB','GB','TB','PB','EB' (valid only with 'type' = 'size').
- UseRelative boolTime 
- Whether time units refer to a calendar date and time (e.g., Jun 3, 2009) or a relative duration (e.g., 2 weeks) (valid only with 'type' in {accessedtime, birthtime, changedtime or metadatachanged_time}.
- Value string
- The value to be compared against a file attribute.
- type String
- The file attribute to be compared to a given value.
- attributeExists Boolean
- Indicates whether the existence of an attribute indicates a match (valid only with 'type' = 'custom_attribute').
- beginsWith Boolean
- True to match the path exactly, False to match any subtree. (valid only with 'type' = 'path').
- caseSensitive Boolean
- True to indicate case sensitivity when comparing file attributes (valid only with 'type' = 'name' or 'type' = 'path').
- field String
- File attribute field name to be compared in a custom comparison (valid only with 'type' = 'custom_attribute').
- operator String
- The comparison operator to use while comparing an attribute with its value.
- units String
- Size unit value. One of 'B','KB','MB','GB','TB','PB','EB' (valid only with 'type' = 'size').
- useRelative BooleanTime 
- Whether time units refer to a calendar date and time (e.g., Jun 3, 2009) or a relative duration (e.g., 2 weeks) (valid only with 'type' in {accessedtime, birthtime, changedtime or metadatachanged_time}.
- value String
- The value to be compared against a file attribute.
- type string
- The file attribute to be compared to a given value.
- attributeExists boolean
- Indicates whether the existence of an attribute indicates a match (valid only with 'type' = 'custom_attribute').
- beginsWith boolean
- True to match the path exactly, False to match any subtree. (valid only with 'type' = 'path').
- caseSensitive boolean
- True to indicate case sensitivity when comparing file attributes (valid only with 'type' = 'name' or 'type' = 'path').
- field string
- File attribute field name to be compared in a custom comparison (valid only with 'type' = 'custom_attribute').
- operator string
- The comparison operator to use while comparing an attribute with its value.
- units string
- Size unit value. One of 'B','KB','MB','GB','TB','PB','EB' (valid only with 'type' = 'size').
- useRelative booleanTime 
- Whether time units refer to a calendar date and time (e.g., Jun 3, 2009) or a relative duration (e.g., 2 weeks) (valid only with 'type' in {accessedtime, birthtime, changedtime or metadatachanged_time}.
- value string
- The value to be compared against a file attribute.
- type str
- The file attribute to be compared to a given value.
- attribute_exists bool
- Indicates whether the existence of an attribute indicates a match (valid only with 'type' = 'custom_attribute').
- begins_with bool
- True to match the path exactly, False to match any subtree. (valid only with 'type' = 'path').
- case_sensitive bool
- True to indicate case sensitivity when comparing file attributes (valid only with 'type' = 'name' or 'type' = 'path').
- field str
- File attribute field name to be compared in a custom comparison (valid only with 'type' = 'custom_attribute').
- operator str
- The comparison operator to use while comparing an attribute with its value.
- units str
- Size unit value. One of 'B','KB','MB','GB','TB','PB','EB' (valid only with 'type' = 'size').
- use_relative_ booltime 
- Whether time units refer to a calendar date and time (e.g., Jun 3, 2009) or a relative duration (e.g., 2 weeks) (valid only with 'type' in {accessedtime, birthtime, changedtime or metadatachanged_time}.
- value str
- The value to be compared against a file attribute.
- type String
- The file attribute to be compared to a given value.
- attributeExists Boolean
- Indicates whether the existence of an attribute indicates a match (valid only with 'type' = 'custom_attribute').
- beginsWith Boolean
- True to match the path exactly, False to match any subtree. (valid only with 'type' = 'path').
- caseSensitive Boolean
- True to indicate case sensitivity when comparing file attributes (valid only with 'type' = 'name' or 'type' = 'path').
- field String
- File attribute field name to be compared in a custom comparison (valid only with 'type' = 'custom_attribute').
- operator String
- The comparison operator to use while comparing an attribute with its value.
- units String
- Size unit value. One of 'B','KB','MB','GB','TB','PB','EB' (valid only with 'type' = 'size').
- useRelative BooleanTime 
- Whether time units refer to a calendar date and time (e.g., Jun 3, 2009) or a relative duration (e.g., 2 weeks) (valid only with 'type' in {accessedtime, birthtime, changedtime or metadatachanged_time}.
- value String
- The value to be compared against a file attribute.
Import
Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The command is
$ pulumi import powerscale:index/filepoolPolicy:FilepoolPolicy example_filepool_policy <policyID>
Example1:
$ pulumi import powerscale:index/filepoolPolicy:FilepoolPolicy example_filepool_policy filePoolPolicySample
Example2, for default policy, policyID should be “is_default_policy=true”:
$ pulumi import powerscale:index/filepoolPolicy:FilepoolPolicy example_filepool_policy is_default_policy=true
after running this command, populate the name field and other required parameters in the config file to start managing this resource.
Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the powerscaleTerraform Provider.
