1. Packages
  2. Powerstore Provider
  3. API Docs
  4. getProtectionpolicy
powerstore 1.2.0 published on Monday, Apr 14, 2025 by dell

powerstore.getProtectionpolicy

Explore with Pulumi AI

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>
Copy
def get_protectionpolicy(id: Optional[str] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetProtectionpolicyResult
def get_protectionpolicy_output(id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetProtectionpolicyResult]
Copy
func LookupProtectionpolicy(ctx *Context, args *LookupProtectionpolicyArgs, opts ...InvokeOption) (*LookupProtectionpolicyResult, error)
func LookupProtectionpolicyOutput(ctx *Context, args *LookupProtectionpolicyOutputArgs, opts ...InvokeOption) LookupProtectionpolicyResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetProtectionpolicyResult> getProtectionpolicy(GetProtectionpolicyArgs args, InvokeOptions options)
public static Output<GetProtectionpolicyResult> getProtectionpolicy(GetProtectionpolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: powerstore:index/getProtectionpolicy:getProtectionpolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Unique identifier of the protection policy. Conflicts with name.
Name string
Protection policy name. Conflicts with id.
Id string
Unique identifier of the protection policy. Conflicts with name.
Name string
Protection policy name. Conflicts with id.
id String
Unique identifier of the protection policy. Conflicts with name.
name String
Protection policy name. Conflicts with id.
id string
Unique identifier of the protection policy. Conflicts with name.
name string
Protection policy name. Conflicts with id.
id str
Unique identifier of the protection policy. Conflicts with name.
name str
Protection policy name. Conflicts with id.
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<GetProtectionpolicyPolicy>
List of protection policies.
Name string
Protection policy name. Conflicts with id.
Id string
Unique identifier of the protection policy. Conflicts with name.
Policies []GetProtectionpolicyPolicy
List of protection policies.
Name string
Protection policy name. Conflicts with id.
id String
Unique identifier of the protection policy. Conflicts with name.
policies List<GetProtectionpolicyPolicy>
List of protection policies.
name String
Protection policy name. Conflicts with id.
id string
Unique identifier of the protection policy. Conflicts with name.
policies GetProtectionpolicyPolicy[]
List of protection policies.
name string
Protection policy name. Conflicts with id.
id str
Unique identifier of the protection policy. Conflicts with name.
policies Sequence[GetProtectionpolicyPolicy]
List of protection policies.
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.
name String
Protection policy name. Conflicts with id.

Supporting Types

GetProtectionpolicyPolicy

Description This property is required. string
Protection policy description.
FileSystems This property is required. List<GetProtectionpolicyPolicyFileSystem>
Specifies the virtual volumes associated with a protection policy.
Id This property is required. string
Unique identifier of the protection policy.
IsReadOnly This property is required. bool
Indicates whether this protection policy can be modified.
IsReplica This property is required. bool
Indicates if this is a replica of a protection policy on a remote system
ManagedBy This property is required. string
Entity that owns and manages this instance.
ManagedById This property is required. string
Unique identifier of the managing entity based on the value of the managed_by property
ManagedByL10n This property is required. string
Localized message string corresponding to managed_by
Name This property is required. string
Protection policy name.
PerformanceRules This property is required. List<GetProtectionpolicyPolicyPerformanceRule>
Specifies the performance rule associated with a protection policy.
ReplicationRules This property is required. List<GetProtectionpolicyPolicyReplicationRule>
Specifies the replication rule associated with a protection policy.
SnapshotRules This property is required. List<GetProtectionpolicyPolicySnapshotRule>
Specifies the snapshot rule associated with a protection policy.
Type This property is required. string
Type of the protection policy.
TypeL10n This property is required. string
Localized message string corresponding to type
VirtualMachines This property is required. List<GetProtectionpolicyPolicyVirtualMachine>
Specifies the virtual machines associated with a protection policy.
VolumeGroups This property is required. List<GetProtectionpolicyPolicyVolumeGroup>
Specifies the volume group associated with a protection policy.
Volumes This property is required. List<GetProtectionpolicyPolicyVolume>
Specifies the volumes associated with a protection policy.
Description This property is required. string
Protection policy description.
FileSystems This property is required. []GetProtectionpolicyPolicyFileSystem
Specifies the virtual volumes associated with a protection policy.
Id This property is required. string
Unique identifier of the protection policy.
IsReadOnly This property is required. bool
Indicates whether this protection policy can be modified.
IsReplica This property is required. bool
Indicates if this is a replica of a protection policy on a remote system
ManagedBy This property is required. string
Entity that owns and manages this instance.
ManagedById This property is required. string
Unique identifier of the managing entity based on the value of the managed_by property
ManagedByL10n This property is required. string
Localized message string corresponding to managed_by
Name This property is required. string
Protection policy name.
PerformanceRules This property is required. []GetProtectionpolicyPolicyPerformanceRule
Specifies the performance rule associated with a protection policy.
ReplicationRules This property is required. []GetProtectionpolicyPolicyReplicationRule
Specifies the replication rule associated with a protection policy.
SnapshotRules This property is required. []GetProtectionpolicyPolicySnapshotRule
Specifies the snapshot rule associated with a protection policy.
Type This property is required. string
Type of the protection policy.
TypeL10n This property is required. string
Localized message string corresponding to type
VirtualMachines This property is required. []GetProtectionpolicyPolicyVirtualMachine
Specifies the virtual machines associated with a protection policy.
VolumeGroups This property is required. []GetProtectionpolicyPolicyVolumeGroup
Specifies the volume group associated with a protection policy.
Volumes This property is required. []GetProtectionpolicyPolicyVolume
Specifies the volumes associated with a protection policy.
description This property is required. String
Protection policy description.
fileSystems This property is required. List<GetProtectionpolicyPolicyFileSystem>
Specifies the virtual volumes associated with a protection policy.
id This property is required. String
Unique identifier of the protection policy.
isReadOnly This property is required. Boolean
Indicates whether this protection policy can be modified.
isReplica This property is required. Boolean
Indicates if this is a replica of a protection policy on a remote system
managedBy This property is required. String
Entity that owns and manages this instance.
managedById This property is required. String
Unique identifier of the managing entity based on the value of the managed_by property
managedByL10n This property is required. String
Localized message string corresponding to managed_by
name This property is required. String
Protection policy name.
performanceRules This property is required. List<GetProtectionpolicyPolicyPerformanceRule>
Specifies the performance rule associated with a protection policy.
replicationRules This property is required. List<GetProtectionpolicyPolicyReplicationRule>
Specifies the replication rule associated with a protection policy.
snapshotRules This property is required. List<GetProtectionpolicyPolicySnapshotRule>
Specifies the snapshot rule associated with a protection policy.
type This property is required. String
Type of the protection policy.
typeL10n This property is required. String
Localized message string corresponding to type
virtualMachines This property is required. List<GetProtectionpolicyPolicyVirtualMachine>
Specifies the virtual machines associated with a protection policy.
volumeGroups This property is required. List<GetProtectionpolicyPolicyVolumeGroup>
Specifies the volume group associated with a protection policy.
volumes This property is required. List<GetProtectionpolicyPolicyVolume>
Specifies the volumes associated with a protection policy.
description This property is required. string
Protection policy description.
fileSystems This property is required. GetProtectionpolicyPolicyFileSystem[]
Specifies the virtual volumes associated with a protection policy.
id This property is required. string
Unique identifier of the protection policy.
isReadOnly This property is required. boolean
Indicates whether this protection policy can be modified.
isReplica This property is required. boolean
Indicates if this is a replica of a protection policy on a remote system
managedBy This property is required. string
Entity that owns and manages this instance.
managedById This property is required. string
Unique identifier of the managing entity based on the value of the managed_by property
managedByL10n This property is required. string
Localized message string corresponding to managed_by
name This property is required. string
Protection policy name.
performanceRules This property is required. GetProtectionpolicyPolicyPerformanceRule[]
Specifies the performance rule associated with a protection policy.
replicationRules This property is required. GetProtectionpolicyPolicyReplicationRule[]
Specifies the replication rule associated with a protection policy.
snapshotRules This property is required. GetProtectionpolicyPolicySnapshotRule[]
Specifies the snapshot rule associated with a protection policy.
type This property is required. string
Type of the protection policy.
typeL10n This property is required. string
Localized message string corresponding to type
virtualMachines This property is required. GetProtectionpolicyPolicyVirtualMachine[]
Specifies the virtual machines associated with a protection policy.
volumeGroups This property is required. GetProtectionpolicyPolicyVolumeGroup[]
Specifies the volume group associated with a protection policy.
volumes This property is required. GetProtectionpolicyPolicyVolume[]
Specifies the volumes associated with a protection policy.
description This property is required. str
Protection policy description.
file_systems This property is required. Sequence[GetProtectionpolicyPolicyFileSystem]
Specifies the virtual volumes associated with a protection policy.
id This property is required. str
Unique identifier of the protection policy.
is_read_only This property is required. bool
Indicates whether this protection policy can be modified.
is_replica This property is required. bool
Indicates if this is a replica of a protection policy on a remote system
managed_by This property is required. str
Entity that owns and manages this instance.
managed_by_id This property is required. str
Unique identifier of the managing entity based on the value of the managed_by property
managed_by_l10n This property is required. str
Localized message string corresponding to managed_by
name This property is required. str
Protection policy name.
performance_rules This property is required. Sequence[GetProtectionpolicyPolicyPerformanceRule]
Specifies the performance rule associated with a protection policy.
replication_rules This property is required. Sequence[GetProtectionpolicyPolicyReplicationRule]
Specifies the replication rule associated with a protection policy.
snapshot_rules This property is required. Sequence[GetProtectionpolicyPolicySnapshotRule]
Specifies the snapshot rule associated with a protection policy.
type This property is required. str
Type of the protection policy.
type_l10n This property is required. str
Localized message string corresponding to type
virtual_machines This property is required. Sequence[GetProtectionpolicyPolicyVirtualMachine]
Specifies the virtual machines associated with a protection policy.
volume_groups This property is required. Sequence[GetProtectionpolicyPolicyVolumeGroup]
Specifies the volume group associated with a protection policy.
volumes This property is required. Sequence[GetProtectionpolicyPolicyVolume]
Specifies the volumes associated with a protection policy.
description This property is required. String
Protection policy description.
fileSystems This property is required. List<Property Map>
Specifies the virtual volumes associated with a protection policy.
id This property is required. String
Unique identifier of the protection policy.
isReadOnly This property is required. Boolean
Indicates whether this protection policy can be modified.
isReplica This property is required. Boolean
Indicates if this is a replica of a protection policy on a remote system
managedBy This property is required. String
Entity that owns and manages this instance.
managedById This property is required. String
Unique identifier of the managing entity based on the value of the managed_by property
managedByL10n This property is required. String
Localized message string corresponding to managed_by
name This property is required. String
Protection policy name.
performanceRules This property is required. List<Property Map>
Specifies the performance rule associated with a protection policy.
replicationRules This property is required. List<Property Map>
Specifies the replication rule associated with a protection policy.
snapshotRules This property is required. List<Property Map>
Specifies the snapshot rule associated with a protection policy.
type This property is required. String
Type of the protection policy.
typeL10n This property is required. String
Localized message string corresponding to type
virtualMachines This property is required. List<Property Map>
Specifies the virtual machines associated with a protection policy.
volumeGroups This property is required. List<Property Map>
Specifies the volume group associated with a protection policy.
volumes This property is required. List<Property Map>
Specifies the volumes associated with a protection policy.

GetProtectionpolicyPolicyFileSystem

Description This property is required. string
Description of the file system.
Id This property is required. string
Unique identifier of the file system.
Name This property is required. string
Name of the file system.
Description This property is required. string
Description of the file system.
Id This property is required. string
Unique identifier of the file system.
Name This property is required. string
Name of the file system.
description This property is required. String
Description of the file system.
id This property is required. String
Unique identifier of the file system.
name This property is required. String
Name of the file system.
description This property is required. string
Description of the file system.
id This property is required. string
Unique identifier of the file system.
name This property is required. string
Name of the file system.
description This property is required. str
Description of the file system.
id This property is required. str
Unique identifier of the file system.
name This property is required. str
Name of the file system.
description This property is required. String
Description of the file system.
id This property is required. String
Unique identifier of the file system.
name This property is required. String
Name of the file system.

GetProtectionpolicyPolicyPerformanceRule

Id This property is required. string
Unique identifier representing a performance rule.
IoPriority This property is required. string
The I/O priority for quality of service rules.
Name This property is required. string
Name of the performance rule.
Id This property is required. string
Unique identifier representing a performance rule.
IoPriority This property is required. string
The I/O priority for quality of service rules.
Name This property is required. string
Name of the performance rule.
id This property is required. String
Unique identifier representing a performance rule.
ioPriority This property is required. String
The I/O priority for quality of service rules.
name This property is required. String
Name of the performance rule.
id This property is required. string
Unique identifier representing a performance rule.
ioPriority This property is required. string
The I/O priority for quality of service rules.
name This property is required. string
Name of the performance rule.
id This property is required. str
Unique identifier representing a performance rule.
io_priority This property is required. str
The I/O priority for quality of service rules.
name This property is required. str
Name of the performance rule.
id This property is required. String
Unique identifier representing a performance rule.
ioPriority This property is required. String
The I/O priority for quality of service rules.
name This property is required. String
Name of the performance rule.

GetProtectionpolicyPolicyReplicationRule

Id This property is required. string
Unique identifier of the replication rule.
Name This property is required. string
Name of the replication rule.
Id This property is required. string
Unique identifier of the replication rule.
Name This property is required. string
Name of the replication rule.
id This property is required. String
Unique identifier of the replication rule.
name This property is required. String
Name of the replication rule.
id This property is required. string
Unique identifier of the replication rule.
name This property is required. string
Name of the replication rule.
id This property is required. str
Unique identifier of the replication rule.
name This property is required. str
Name of the replication rule.
id This property is required. String
Unique identifier of the replication rule.
name This property is required. String
Name of the replication rule.

GetProtectionpolicyPolicySnapshotRule

Id This property is required. string
Unique identifier of the snapshot rule.
Name This property is required. string
Snapshot rule name.
Id This property is required. string
Unique identifier of the snapshot rule.
Name This property is required. string
Snapshot rule name.
id This property is required. String
Unique identifier of the snapshot rule.
name This property is required. String
Snapshot rule name.
id This property is required. string
Unique identifier of the snapshot rule.
name This property is required. string
Snapshot rule name.
id This property is required. str
Unique identifier of the snapshot rule.
name This property is required. str
Snapshot rule name.
id This property is required. String
Unique identifier of the snapshot rule.
name This property is required. String
Snapshot rule name.

GetProtectionpolicyPolicyVirtualMachine

Id This property is required. string
The unique identifier of the virtual machine.
InstanceUuid This property is required. string
UUID instance of the VM in vCenter.
Name This property is required. string
User-assigned name of the VM in vCenter.
Id This property is required. string
The unique identifier of the virtual machine.
InstanceUuid This property is required. string
UUID instance of the VM in vCenter.
Name This property is required. string
User-assigned name of the VM in vCenter.
id This property is required. String
The unique identifier of the virtual machine.
instanceUuid This property is required. String
UUID instance of the VM in vCenter.
name This property is required. String
User-assigned name of the VM in vCenter.
id This property is required. string
The unique identifier of the virtual machine.
instanceUuid This property is required. string
UUID instance of the VM in vCenter.
name This property is required. string
User-assigned name of the VM in vCenter.
id This property is required. str
The unique identifier of the virtual machine.
instance_uuid This property is required. str
UUID instance of the VM in vCenter.
name This property is required. str
User-assigned name of the VM in vCenter.
id This property is required. String
The unique identifier of the virtual machine.
instanceUuid This property is required. String
UUID instance of the VM in vCenter.
name This property is required. String
User-assigned name of the VM in vCenter.

GetProtectionpolicyPolicyVolume

Description This property is required. string
Description of the volume.
Id This property is required. string
Unique identifier of the volume instance.
Name This property is required. string
The name of the volume
Description This property is required. string
Description of the volume.
Id This property is required. string
Unique identifier of the volume instance.
Name This property is required. string
The name of the volume
description This property is required. String
Description of the volume.
id This property is required. String
Unique identifier of the volume instance.
name This property is required. String
The name of the volume
description This property is required. string
Description of the volume.
id This property is required. string
Unique identifier of the volume instance.
name This property is required. string
The name of the volume
description This property is required. str
Description of the volume.
id This property is required. str
Unique identifier of the volume instance.
name This property is required. str
The name of the volume
description This property is required. String
Description of the volume.
id This property is required. String
Unique identifier of the volume instance.
name This property is required. String
The name of the volume

GetProtectionpolicyPolicyVolumeGroup

Description This property is required. string
Description for the volume group.
Id This property is required. string
The unique identifier of the volume group.
Name This property is required. string
Name of the volume group.
Description This property is required. string
Description for the volume group.
Id This property is required. string
The unique identifier of the volume group.
Name This property is required. string
Name of the volume group.
description This property is required. String
Description for the volume group.
id This property is required. String
The unique identifier of the volume group.
name This property is required. String
Name of the volume group.
description This property is required. string
Description for the volume group.
id This property is required. string
The unique identifier of the volume group.
name This property is required. string
Name of the volume group.
description This property is required. str
Description for the volume group.
id This property is required. str
The unique identifier of the volume group.
name This property is required. str
Name of the volume group.
description This property is required. String
Description for the volume group.
id This property is required. String
The unique identifier of the volume group.
name This property is required. String
Name of the volume group.

Package Details

Repository
powerstore dell/terraform-provider-powerstore
License
Notes
This Pulumi package is based on the powerstore Terraform Provider.