1. Packages
  2. Powerscale Provider
  3. API Docs
  4. getStoragepoolTier
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.getStoragepoolTier

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

    This datasource is used to query the Storagepool tiers from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. PowerScale Storagepool tiers provide the ability to configure Storagepool tiers on the cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as powerscale from "@pulumi/powerscale";
    
    const exampleStoragepoolTier = powerscale.getStoragepoolTier({});
    export const powerscaleStoragepoolTier = exampleStoragepoolTier;
    
    import pulumi
    import pulumi_powerscale as powerscale
    
    example_storagepool_tier = powerscale.get_storagepool_tier()
    pulumi.export("powerscaleStoragepoolTier", example_storagepool_tier)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleStoragepoolTier, err := powerscale.LookupStoragepoolTier(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("powerscaleStoragepoolTier", exampleStoragepoolTier)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Powerscale = Pulumi.Powerscale;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleStoragepoolTier = Powerscale.GetStoragepoolTier.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["powerscaleStoragepoolTier"] = exampleStoragepoolTier,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.powerscale.PowerscaleFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleStoragepoolTier = PowerscaleFunctions.getStoragepoolTier();
    
            ctx.export("powerscaleStoragepoolTier", exampleStoragepoolTier.applyValue(getStoragepoolTierResult -> getStoragepoolTierResult));
        }
    }
    
    variables:
      exampleStoragepoolTier:
        fn::invoke:
          function: powerscale:getStoragepoolTier
          arguments: {}
    outputs:
      powerscaleStoragepoolTier: ${exampleStoragepoolTier}
    

    Using getStoragepoolTier

    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 getStoragepoolTier(opts?: InvokeOptions): Promise<GetStoragepoolTierResult>
    function getStoragepoolTierOutput(opts?: InvokeOptions): Output<GetStoragepoolTierResult>
    def get_storagepool_tier(opts: Optional[InvokeOptions] = None) -> GetStoragepoolTierResult
    def get_storagepool_tier_output(opts: Optional[InvokeOptions] = None) -> Output[GetStoragepoolTierResult]
    func LookupStoragepoolTier(ctx *Context, opts ...InvokeOption) (*LookupStoragepoolTierResult, error)
    func LookupStoragepoolTierOutput(ctx *Context, opts ...InvokeOption) LookupStoragepoolTierResultOutput

    > Note: This function is named LookupStoragepoolTier in the Go SDK.

    public static class GetStoragepoolTier 
    {
        public static Task<GetStoragepoolTierResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetStoragepoolTierResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStoragepoolTierResult> getStoragepoolTier(InvokeOptions options)
    public static Output<GetStoragepoolTierResult> getStoragepoolTier(InvokeOptions options)
    
    fn::invoke:
      function: powerscale:index/getStoragepoolTier:getStoragepoolTier
      arguments:
        # arguments dictionary

    getStoragepoolTier Result

    The following output properties are available:

    Id string
    Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
    StoragepoolTiers List<GetStoragepoolTierStoragepoolTier>
    List of Storagepool tiers
    Id string
    Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
    StoragepoolTiers []GetStoragepoolTierStoragepoolTier
    List of Storagepool tiers
    id String
    Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
    storagepoolTiers List<GetStoragepoolTierStoragepoolTier>
    List of Storagepool tiers
    id string
    Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
    storagepoolTiers GetStoragepoolTierStoragepoolTier[]
    List of Storagepool tiers
    id str
    Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
    storagepool_tiers Sequence[GetStoragepoolTierStoragepoolTier]
    List of Storagepool tiers
    id String
    Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
    storagepoolTiers List<Property Map>
    List of Storagepool tiers

    Supporting Types

    GetStoragepoolTierStoragepoolTier

    Childrens List<string>
    The names or IDs of the tier's children.
    Id string
    Id of storagepool tier.
    Lnns List<double>
    The nodes that are part of this tier.
    Name string
    Name of storagepool tier.
    TransferLimitPct double
    Stop moving files to this tier when this limit is met.
    TransferLimitState string
    How the transfer limit value is being applied.
    Usage GetStoragepoolTierStoragepoolTierUsage
    Usage.
    Childrens []string
    The names or IDs of the tier's children.
    Id string
    Id of storagepool tier.
    Lnns []float64
    The nodes that are part of this tier.
    Name string
    Name of storagepool tier.
    TransferLimitPct float64
    Stop moving files to this tier when this limit is met.
    TransferLimitState string
    How the transfer limit value is being applied.
    Usage GetStoragepoolTierStoragepoolTierUsage
    Usage.
    childrens List<String>
    The names or IDs of the tier's children.
    id String
    Id of storagepool tier.
    lnns List<Double>
    The nodes that are part of this tier.
    name String
    Name of storagepool tier.
    transferLimitPct Double
    Stop moving files to this tier when this limit is met.
    transferLimitState String
    How the transfer limit value is being applied.
    usage GetStoragepoolTierStoragepoolTierUsage
    Usage.
    childrens string[]
    The names or IDs of the tier's children.
    id string
    Id of storagepool tier.
    lnns number[]
    The nodes that are part of this tier.
    name string
    Name of storagepool tier.
    transferLimitPct number
    Stop moving files to this tier when this limit is met.
    transferLimitState string
    How the transfer limit value is being applied.
    usage GetStoragepoolTierStoragepoolTierUsage
    Usage.
    childrens Sequence[str]
    The names or IDs of the tier's children.
    id str
    Id of storagepool tier.
    lnns Sequence[float]
    The nodes that are part of this tier.
    name str
    Name of storagepool tier.
    transfer_limit_pct float
    Stop moving files to this tier when this limit is met.
    transfer_limit_state str
    How the transfer limit value is being applied.
    usage GetStoragepoolTierStoragepoolTierUsage
    Usage.
    childrens List<String>
    The names or IDs of the tier's children.
    id String
    Id of storagepool tier.
    lnns List<Number>
    The nodes that are part of this tier.
    name String
    Name of storagepool tier.
    transferLimitPct Number
    Stop moving files to this tier when this limit is met.
    transferLimitState String
    How the transfer limit value is being applied.
    usage Property Map
    Usage.

    GetStoragepoolTierStoragepoolTierUsage

    AvailBytes string
    Available free bytes remaining in the pool when virtual hot spare is taken into account.
    AvailHddBytes string
    Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
    AvailSsdBytes string
    Available free bytes remaining in the pool on SSD drives when virtual hot spare is taken into account.
    Balanced bool
    Whether or not the pool usage is currently balanced.
    FreeBytes string
    Free bytes remaining in the pool.
    FreeHddBytes string
    Free bytes remaining in the pool on HDD drives.
    FreeSsdBytes string
    Free bytes remaining in the pool on SSD drives.
    PctUsed string
    Percentage of usable space in the pool which is used.
    PctUsedHdd string
    Percentage of usable space on HDD drives in the pool which is used.
    PctUsedSsd string
    Percentage of usable space on SSD drives in the pool which is used.
    TotalBytes string
    Total bytes in the pool.
    TotalHddBytes string
    Total bytes in the pool on HDD drives.
    TotalSsdBytes string
    Total bytes in the pool on SSD drives.
    UsableBytes string
    Total bytes in the pool drives when virtual hot spare is taken into account.
    UsableHddBytes string
    Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
    UsableSsdBytes string
    Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
    UsedBytes string
    Used bytes in the pool.
    UsedHddBytes string
    Used bytes in the pool on HDD drives.
    UsedSsdBytes string
    Used bytes in the pool on SSD drives.
    VirtualHotSpareBytes string
    Bytes reserved for virtual hot spare in the pool.
    AvailBytes string
    Available free bytes remaining in the pool when virtual hot spare is taken into account.
    AvailHddBytes string
    Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
    AvailSsdBytes string
    Available free bytes remaining in the pool on SSD drives when virtual hot spare is taken into account.
    Balanced bool
    Whether or not the pool usage is currently balanced.
    FreeBytes string
    Free bytes remaining in the pool.
    FreeHddBytes string
    Free bytes remaining in the pool on HDD drives.
    FreeSsdBytes string
    Free bytes remaining in the pool on SSD drives.
    PctUsed string
    Percentage of usable space in the pool which is used.
    PctUsedHdd string
    Percentage of usable space on HDD drives in the pool which is used.
    PctUsedSsd string
    Percentage of usable space on SSD drives in the pool which is used.
    TotalBytes string
    Total bytes in the pool.
    TotalHddBytes string
    Total bytes in the pool on HDD drives.
    TotalSsdBytes string
    Total bytes in the pool on SSD drives.
    UsableBytes string
    Total bytes in the pool drives when virtual hot spare is taken into account.
    UsableHddBytes string
    Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
    UsableSsdBytes string
    Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
    UsedBytes string
    Used bytes in the pool.
    UsedHddBytes string
    Used bytes in the pool on HDD drives.
    UsedSsdBytes string
    Used bytes in the pool on SSD drives.
    VirtualHotSpareBytes string
    Bytes reserved for virtual hot spare in the pool.
    availBytes String
    Available free bytes remaining in the pool when virtual hot spare is taken into account.
    availHddBytes String
    Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
    availSsdBytes String
    Available free bytes remaining in the pool on SSD drives when virtual hot spare is taken into account.
    balanced Boolean
    Whether or not the pool usage is currently balanced.
    freeBytes String
    Free bytes remaining in the pool.
    freeHddBytes String
    Free bytes remaining in the pool on HDD drives.
    freeSsdBytes String
    Free bytes remaining in the pool on SSD drives.
    pctUsed String
    Percentage of usable space in the pool which is used.
    pctUsedHdd String
    Percentage of usable space on HDD drives in the pool which is used.
    pctUsedSsd String
    Percentage of usable space on SSD drives in the pool which is used.
    totalBytes String
    Total bytes in the pool.
    totalHddBytes String
    Total bytes in the pool on HDD drives.
    totalSsdBytes String
    Total bytes in the pool on SSD drives.
    usableBytes String
    Total bytes in the pool drives when virtual hot spare is taken into account.
    usableHddBytes String
    Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
    usableSsdBytes String
    Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
    usedBytes String
    Used bytes in the pool.
    usedHddBytes String
    Used bytes in the pool on HDD drives.
    usedSsdBytes String
    Used bytes in the pool on SSD drives.
    virtualHotSpareBytes String
    Bytes reserved for virtual hot spare in the pool.
    availBytes string
    Available free bytes remaining in the pool when virtual hot spare is taken into account.
    availHddBytes string
    Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
    availSsdBytes string
    Available free bytes remaining in the pool on SSD drives when virtual hot spare is taken into account.
    balanced boolean
    Whether or not the pool usage is currently balanced.
    freeBytes string
    Free bytes remaining in the pool.
    freeHddBytes string
    Free bytes remaining in the pool on HDD drives.
    freeSsdBytes string
    Free bytes remaining in the pool on SSD drives.
    pctUsed string
    Percentage of usable space in the pool which is used.
    pctUsedHdd string
    Percentage of usable space on HDD drives in the pool which is used.
    pctUsedSsd string
    Percentage of usable space on SSD drives in the pool which is used.
    totalBytes string
    Total bytes in the pool.
    totalHddBytes string
    Total bytes in the pool on HDD drives.
    totalSsdBytes string
    Total bytes in the pool on SSD drives.
    usableBytes string
    Total bytes in the pool drives when virtual hot spare is taken into account.
    usableHddBytes string
    Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
    usableSsdBytes string
    Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
    usedBytes string
    Used bytes in the pool.
    usedHddBytes string
    Used bytes in the pool on HDD drives.
    usedSsdBytes string
    Used bytes in the pool on SSD drives.
    virtualHotSpareBytes string
    Bytes reserved for virtual hot spare in the pool.
    avail_bytes str
    Available free bytes remaining in the pool when virtual hot spare is taken into account.
    avail_hdd_bytes str
    Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
    avail_ssd_bytes str
    Available free bytes remaining in the pool on SSD drives when virtual hot spare is taken into account.
    balanced bool
    Whether or not the pool usage is currently balanced.
    free_bytes str
    Free bytes remaining in the pool.
    free_hdd_bytes str
    Free bytes remaining in the pool on HDD drives.
    free_ssd_bytes str
    Free bytes remaining in the pool on SSD drives.
    pct_used str
    Percentage of usable space in the pool which is used.
    pct_used_hdd str
    Percentage of usable space on HDD drives in the pool which is used.
    pct_used_ssd str
    Percentage of usable space on SSD drives in the pool which is used.
    total_bytes str
    Total bytes in the pool.
    total_hdd_bytes str
    Total bytes in the pool on HDD drives.
    total_ssd_bytes str
    Total bytes in the pool on SSD drives.
    usable_bytes str
    Total bytes in the pool drives when virtual hot spare is taken into account.
    usable_hdd_bytes str
    Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
    usable_ssd_bytes str
    Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
    used_bytes str
    Used bytes in the pool.
    used_hdd_bytes str
    Used bytes in the pool on HDD drives.
    used_ssd_bytes str
    Used bytes in the pool on SSD drives.
    virtual_hot_spare_bytes str
    Bytes reserved for virtual hot spare in the pool.
    availBytes String
    Available free bytes remaining in the pool when virtual hot spare is taken into account.
    availHddBytes String
    Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
    availSsdBytes String
    Available free bytes remaining in the pool on SSD drives when virtual hot spare is taken into account.
    balanced Boolean
    Whether or not the pool usage is currently balanced.
    freeBytes String
    Free bytes remaining in the pool.
    freeHddBytes String
    Free bytes remaining in the pool on HDD drives.
    freeSsdBytes String
    Free bytes remaining in the pool on SSD drives.
    pctUsed String
    Percentage of usable space in the pool which is used.
    pctUsedHdd String
    Percentage of usable space on HDD drives in the pool which is used.
    pctUsedSsd String
    Percentage of usable space on SSD drives in the pool which is used.
    totalBytes String
    Total bytes in the pool.
    totalHddBytes String
    Total bytes in the pool on HDD drives.
    totalSsdBytes String
    Total bytes in the pool on SSD drives.
    usableBytes String
    Total bytes in the pool drives when virtual hot spare is taken into account.
    usableHddBytes String
    Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
    usableSsdBytes String
    Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
    usedBytes String
    Used bytes in the pool.
    usedHddBytes String
    Used bytes in the pool on HDD drives.
    usedSsdBytes String
    Used bytes in the pool on SSD drives.
    virtualHotSpareBytes String
    Bytes reserved for virtual hot spare in the pool.

    Package Details

    Repository
    powerscale dell/terraform-provider-powerscale
    License
    Notes
    This Pulumi package is based on the powerscale Terraform Provider.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell