powerstore 1.2.1 published on Thursday, Jun 26, 2025 by dell
powerstore.getProtectionpolicy
Start a Neo task
Explain and create a powerstore.getProtectionpolicy resource
Using getProtectionpolicy
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 getProtectionpolicy(args: GetProtectionpolicyArgs, opts?: InvokeOptions): Promise<GetProtectionpolicyResult>
function getProtectionpolicyOutput(args: GetProtectionpolicyOutputArgs, opts?: InvokeOptions): Output<GetProtectionpolicyResult>def get_protectionpolicy(filter_expression: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProtectionpolicyResult
def get_protectionpolicy_output(filter_expression: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProtectionpolicyResult]func LookupProtectionpolicy(ctx *Context, args *LookupProtectionpolicyArgs, opts ...InvokeOption) (*LookupProtectionpolicyResult, error)
func LookupProtectionpolicyOutput(ctx *Context, args *LookupProtectionpolicyOutputArgs, opts ...InvokeOption) LookupProtectionpolicyResultOutput> Note: This function is named LookupProtectionpolicy in the Go SDK.
public static class GetProtectionpolicy
{
public static Task<GetProtectionpolicyResult> InvokeAsync(GetProtectionpolicyArgs args, InvokeOptions? opts = null)
public static Output<GetProtectionpolicyResult> Invoke(GetProtectionpolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProtectionpolicyResult> getProtectionpolicy(GetProtectionpolicyArgs args, InvokeOptions options)
public static Output<GetProtectionpolicyResult> getProtectionpolicy(GetProtectionpolicyArgs args, InvokeOptions options)
fn::invoke:
function: powerstore:index/getProtectionpolicy:getProtectionpolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Filter
Expression string - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - Id string
- Unique identifier of the protection policy. Conflicts with
name. - Name string
- Protection policy name. Conflicts with
id.
- Filter
Expression string - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - Id string
- Unique identifier of the protection policy. Conflicts with
name. - Name string
- Protection policy name. Conflicts with
id.
- filter
Expression String - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - id String
- Unique identifier of the protection policy. Conflicts with
name. - name String
- Protection policy name. Conflicts with
id.
- filter
Expression string - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - id string
- Unique identifier of the protection policy. Conflicts with
name. - name string
- Protection policy name. Conflicts with
id.
- filter_
expression str - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - id str
- Unique identifier of the protection policy. Conflicts with
name. - name str
- Protection policy name. Conflicts with
id.
- filter
Expression String - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - id String
- Unique identifier of the protection policy. Conflicts with
name. - name String
- Protection policy name. Conflicts with
id.
getProtectionpolicy Result
The following output properties are available:
- Id string
- Unique identifier of the protection policy. Conflicts with
name. - Policies
List<Get
Protectionpolicy Policy> - List of protection policies.
- Filter
Expression string - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - Name string
- Protection policy name. Conflicts with
id.
- Id string
- Unique identifier of the protection policy. Conflicts with
name. - Policies
[]Get
Protectionpolicy Policy - List of protection policies.
- Filter
Expression string - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - Name string
- Protection policy name. Conflicts with
id.
- id String
- Unique identifier of the protection policy. Conflicts with
name. - policies
List<Get
Protectionpolicy Policy> - List of protection policies.
- filter
Expression String - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - name String
- Protection policy name. Conflicts with
id.
- id string
- Unique identifier of the protection policy. Conflicts with
name. - policies
Get
Protectionpolicy Policy[] - List of protection policies.
- filter
Expression string - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - name string
- Protection policy name. Conflicts with
id.
- id str
- Unique identifier of the protection policy. Conflicts with
name. - policies
Sequence[Get
Protectionpolicy Policy] - List of protection policies.
- filter_
expression str - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - name str
- Protection policy name. Conflicts with
id.
- id String
- Unique identifier of the protection policy. Conflicts with
name. - policies List<Property Map>
- List of protection policies.
- filter
Expression String - PowerStore filter expression to filter Protection Policy by. Conflicts with
idandname. - name String
- Protection policy name. Conflicts with
id.
Supporting Types
GetProtectionpolicyPolicy
- Description string
- Protection policy description.
- File
Systems List<GetProtectionpolicy Policy File System> - Specifies the virtual volumes associated with a protection policy.
- Id string
- Unique identifier of the protection policy.
- Is
Read boolOnly - Indicates whether this protection policy can be modified.
- Is
Replica bool - Indicates if this is a replica of a protection policy on a remote system
- Managed
By string - Entity that owns and manages this instance.
- Managed
By stringId - Unique identifier of the managing entity based on the value of the managed_by property
- Managed
By stringL10n - Localized message string corresponding to managed_by
- Name string
- Protection policy name.
- Performance
Rules List<GetProtectionpolicy Policy Performance Rule> - Specifies the performance rule associated with a protection policy.
- Replication
Rules List<GetProtectionpolicy Policy Replication Rule> - Specifies the replication rule associated with a protection policy.
- Snapshot
Rules List<GetProtectionpolicy Policy Snapshot Rule> - Specifies the snapshot rule associated with a protection policy.
- Type string
- Type of the protection policy.
- Type
L10n string - Localized message string corresponding to type
- Virtual
Machines List<GetProtectionpolicy Policy Virtual Machine> - Specifies the virtual machines associated with a protection policy.
- Volume
Groups List<GetProtectionpolicy Policy Volume Group> - Specifies the volume group associated with a protection policy.
- Volumes
List<Get
Protectionpolicy Policy Volume> - Specifies the volumes associated with a protection policy.
- Description string
- Protection policy description.
- File
Systems []GetProtectionpolicy Policy File System - Specifies the virtual volumes associated with a protection policy.
- Id string
- Unique identifier of the protection policy.
- Is
Read boolOnly - Indicates whether this protection policy can be modified.
- Is
Replica bool - Indicates if this is a replica of a protection policy on a remote system
- Managed
By string - Entity that owns and manages this instance.
- Managed
By stringId - Unique identifier of the managing entity based on the value of the managed_by property
- Managed
By stringL10n - Localized message string corresponding to managed_by
- Name string
- Protection policy name.
- Performance
Rules []GetProtectionpolicy Policy Performance Rule - Specifies the performance rule associated with a protection policy.
- Replication
Rules []GetProtectionpolicy Policy Replication Rule - Specifies the replication rule associated with a protection policy.
- Snapshot
Rules []GetProtectionpolicy Policy Snapshot Rule - Specifies the snapshot rule associated with a protection policy.
- Type string
- Type of the protection policy.
- Type
L10n string - Localized message string corresponding to type
- Virtual
Machines []GetProtectionpolicy Policy Virtual Machine - Specifies the virtual machines associated with a protection policy.
- Volume
Groups []GetProtectionpolicy Policy Volume Group - Specifies the volume group associated with a protection policy.
- Volumes
[]Get
Protectionpolicy Policy Volume - Specifies the volumes associated with a protection policy.
- description String
- Protection policy description.
- file
Systems List<GetProtectionpolicy Policy File System> - Specifies the virtual volumes associated with a protection policy.
- id String
- Unique identifier of the protection policy.
- is
Read BooleanOnly - Indicates whether this protection policy can be modified.
- is
Replica Boolean - Indicates if this is a replica of a protection policy on a remote system
- managed
By String - Entity that owns and manages this instance.
- managed
By StringId - Unique identifier of the managing entity based on the value of the managed_by property
- managed
By StringL10n - Localized message string corresponding to managed_by
- name String
- Protection policy name.
- performance
Rules List<GetProtectionpolicy Policy Performance Rule> - Specifies the performance rule associated with a protection policy.
- replication
Rules List<GetProtectionpolicy Policy Replication Rule> - Specifies the replication rule associated with a protection policy.
- snapshot
Rules List<GetProtectionpolicy Policy Snapshot Rule> - Specifies the snapshot rule associated with a protection policy.
- type String
- Type of the protection policy.
- type
L10n String - Localized message string corresponding to type
- virtual
Machines List<GetProtectionpolicy Policy Virtual Machine> - Specifies the virtual machines associated with a protection policy.
- volume
Groups List<GetProtectionpolicy Policy Volume Group> - Specifies the volume group associated with a protection policy.
- volumes
List<Get
Protectionpolicy Policy Volume> - Specifies the volumes associated with a protection policy.
- description string
- Protection policy description.
- file
Systems GetProtectionpolicy Policy File System[] - Specifies the virtual volumes associated with a protection policy.
- id string
- Unique identifier of the protection policy.
- is
Read booleanOnly - Indicates whether this protection policy can be modified.
- is
Replica boolean - Indicates if this is a replica of a protection policy on a remote system
- managed
By string - Entity that owns and manages this instance.
- managed
By stringId - Unique identifier of the managing entity based on the value of the managed_by property
- managed
By stringL10n - Localized message string corresponding to managed_by
- name string
- Protection policy name.
- performance
Rules GetProtectionpolicy Policy Performance Rule[] - Specifies the performance rule associated with a protection policy.
- replication
Rules GetProtectionpolicy Policy Replication Rule[] - Specifies the replication rule associated with a protection policy.
- snapshot
Rules GetProtectionpolicy Policy Snapshot Rule[] - Specifies the snapshot rule associated with a protection policy.
- type string
- Type of the protection policy.
- type
L10n string - Localized message string corresponding to type
- virtual
Machines GetProtectionpolicy Policy Virtual Machine[] - Specifies the virtual machines associated with a protection policy.
- volume
Groups GetProtectionpolicy Policy Volume Group[] - Specifies the volume group associated with a protection policy.
- volumes
Get
Protectionpolicy Policy Volume[] - Specifies the volumes associated with a protection policy.
- description str
- Protection policy description.
- file_
systems Sequence[GetProtectionpolicy Policy File System] - Specifies the virtual volumes associated with a protection policy.
- id str
- Unique identifier of the protection policy.
- is_
read_ boolonly - Indicates whether this protection policy can be modified.
- is_
replica bool - Indicates if this is a replica of a protection policy on a remote system
- managed_
by str - Entity that owns and manages this instance.
- managed_
by_ strid - Unique identifier of the managing entity based on the value of the managed_by property
- managed_
by_ strl10n - Localized message string corresponding to managed_by
- name str
- Protection policy name.
- performance_
rules Sequence[GetProtectionpolicy Policy Performance Rule] - Specifies the performance rule associated with a protection policy.
- replication_
rules Sequence[GetProtectionpolicy Policy Replication Rule] - Specifies the replication rule associated with a protection policy.
- snapshot_
rules Sequence[GetProtectionpolicy Policy Snapshot Rule] - Specifies the snapshot rule associated with a protection policy.
- type str
- Type of the protection policy.
- type_
l10n str - Localized message string corresponding to type
- virtual_
machines Sequence[GetProtectionpolicy Policy Virtual Machine] - Specifies the virtual machines associated with a protection policy.
- volume_
groups Sequence[GetProtectionpolicy Policy Volume Group] - Specifies the volume group associated with a protection policy.
- volumes
Sequence[Get
Protectionpolicy Policy Volume] - Specifies the volumes associated with a protection policy.
- description String
- Protection policy description.
- file
Systems List<Property Map> - Specifies the virtual volumes associated with a protection policy.
- id String
- Unique identifier of the protection policy.
- is
Read BooleanOnly - Indicates whether this protection policy can be modified.
- is
Replica Boolean - Indicates if this is a replica of a protection policy on a remote system
- managed
By String - Entity that owns and manages this instance.
- managed
By StringId - Unique identifier of the managing entity based on the value of the managed_by property
- managed
By StringL10n - Localized message string corresponding to managed_by
- name String
- Protection policy name.
- performance
Rules List<Property Map> - Specifies the performance rule associated with a protection policy.
- replication
Rules List<Property Map> - Specifies the replication rule associated with a protection policy.
- snapshot
Rules List<Property Map> - Specifies the snapshot rule associated with a protection policy.
- type String
- Type of the protection policy.
- type
L10n String - Localized message string corresponding to type
- virtual
Machines List<Property Map> - Specifies the virtual machines associated with a protection policy.
- volume
Groups List<Property Map> - Specifies the volume group associated with a protection policy.
- volumes List<Property Map>
- Specifies the volumes associated with a protection policy.
GetProtectionpolicyPolicyFileSystem
- Description string
- Description of the file system.
- Id string
- Unique identifier of the file system.
- Name string
- Name of the file system.
- Description string
- Description of the file system.
- Id string
- Unique identifier of the file system.
- Name string
- Name of the file system.
- description String
- Description of the file system.
- id String
- Unique identifier of the file system.
- name String
- Name of the file system.
- description string
- Description of the file system.
- id string
- Unique identifier of the file system.
- name string
- Name of the file system.
- description str
- Description of the file system.
- id str
- Unique identifier of the file system.
- name str
- Name of the file system.
- description String
- Description of the file system.
- id String
- Unique identifier of the file system.
- name String
- Name of the file system.
GetProtectionpolicyPolicyPerformanceRule
- Id string
- Unique identifier representing a performance rule.
- Io
Priority string - The I/O priority for quality of service rules.
- Name string
- Name of the performance rule.
- Id string
- Unique identifier representing a performance rule.
- Io
Priority string - The I/O priority for quality of service rules.
- Name string
- Name of the performance rule.
- id String
- Unique identifier representing a performance rule.
- io
Priority String - The I/O priority for quality of service rules.
- name String
- Name of the performance rule.
- id string
- Unique identifier representing a performance rule.
- io
Priority string - The I/O priority for quality of service rules.
- name string
- Name of the performance rule.
- id str
- Unique identifier representing a performance rule.
- io_
priority str - The I/O priority for quality of service rules.
- name str
- Name of the performance rule.
- id String
- Unique identifier representing a performance rule.
- io
Priority String - The I/O priority for quality of service rules.
- name String
- Name of the performance rule.
GetProtectionpolicyPolicyReplicationRule
GetProtectionpolicyPolicySnapshotRule
GetProtectionpolicyPolicyVirtualMachine
- Id string
- The unique identifier of the virtual machine.
- Instance
Uuid string - UUID instance of the VM in vCenter.
- Name string
- User-assigned name of the VM in vCenter.
- Id string
- The unique identifier of the virtual machine.
- Instance
Uuid string - UUID instance of the VM in vCenter.
- Name string
- User-assigned name of the VM in vCenter.
- id String
- The unique identifier of the virtual machine.
- instance
Uuid String - UUID instance of the VM in vCenter.
- name String
- User-assigned name of the VM in vCenter.
- id string
- The unique identifier of the virtual machine.
- instance
Uuid string - UUID instance of the VM in vCenter.
- name string
- User-assigned name of the VM in vCenter.
- id str
- The unique identifier of the virtual machine.
- instance_
uuid str - UUID instance of the VM in vCenter.
- name str
- User-assigned name of the VM in vCenter.
- id String
- The unique identifier of the virtual machine.
- instance
Uuid String - UUID instance of the VM in vCenter.
- name String
- User-assigned name of the VM in vCenter.
GetProtectionpolicyPolicyVolume
- Description string
- Description of the volume.
- Id string
- Unique identifier of the volume instance.
- Name string
- The name of the volume
- Description string
- Description of the volume.
- Id string
- Unique identifier of the volume instance.
- Name string
- The name of the volume
- description String
- Description of the volume.
- id String
- Unique identifier of the volume instance.
- name String
- The name of the volume
- description string
- Description of the volume.
- id string
- Unique identifier of the volume instance.
- name string
- The name of the volume
- description str
- Description of the volume.
- id str
- Unique identifier of the volume instance.
- name str
- The name of the volume
- description String
- Description of the volume.
- id String
- Unique identifier of the volume instance.
- name String
- The name of the volume
GetProtectionpolicyPolicyVolumeGroup
- Description string
- Description for the volume group.
- Id string
- The unique identifier of the volume group.
- Name string
- Name of the volume group.
- Description string
- Description for the volume group.
- Id string
- The unique identifier of the volume group.
- Name string
- Name of the volume group.
- description String
- Description for the volume group.
- id String
- The unique identifier of the volume group.
- name String
- Name of the volume group.
- description string
- Description for the volume group.
- id string
- The unique identifier of the volume group.
- name string
- Name of the volume group.
- description str
- Description for the volume group.
- id str
- The unique identifier of the volume group.
- name str
- Name of the volume group.
- description String
- Description for the volume group.
- id String
- The unique identifier of the volume group.
- name String
- Name of the volume group.
Package Details
- Repository
- powerstore dell/terraform-provider-powerstore
- License
- Notes
- This Pulumi package is based on the
powerstoreTerraform Provider.
