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

powerstore logo
powerstore 1.2.0 published on Monday, Apr 14, 2025 by dell

    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(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]
    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 dictionary

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

    GetProtectionpolicyPolicyReplicationRule

    Id string
    Unique identifier of the replication rule.
    Name string
    Name of the replication rule.
    Id string
    Unique identifier of the replication rule.
    Name string
    Name of the replication rule.
    id String
    Unique identifier of the replication rule.
    name String
    Name of the replication rule.
    id string
    Unique identifier of the replication rule.
    name string
    Name of the replication rule.
    id str
    Unique identifier of the replication rule.
    name str
    Name of the replication rule.
    id String
    Unique identifier of the replication rule.
    name String
    Name of the replication rule.

    GetProtectionpolicyPolicySnapshotRule

    Id string
    Unique identifier of the snapshot rule.
    Name string
    Snapshot rule name.
    Id string
    Unique identifier of the snapshot rule.
    Name string
    Snapshot rule name.
    id String
    Unique identifier of the snapshot rule.
    name String
    Snapshot rule name.
    id string
    Unique identifier of the snapshot rule.
    name string
    Snapshot rule name.
    id str
    Unique identifier of the snapshot rule.
    name str
    Snapshot rule name.
    id String
    Unique identifier of the snapshot rule.
    name String
    Snapshot rule name.

    GetProtectionpolicyPolicyVirtualMachine

    Id string
    The unique identifier of the virtual machine.
    InstanceUuid 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.
    InstanceUuid 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.
    instanceUuid 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.
    instanceUuid 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.
    instanceUuid 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 powerstore Terraform Provider.
    powerstore logo
    powerstore 1.2.0 published on Monday, Apr 14, 2025 by dell