powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell
powerscale.getStoragepoolTier
Explore with Pulumi AI
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"
- Storagepool
Tiers List<GetStoragepool Tier Storagepool Tier> - List of Storagepool tiers
- Id string
- Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
- Storagepool
Tiers []GetStoragepool Tier Storagepool Tier - List of Storagepool tiers
- id String
- Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
- storagepool
Tiers List<GetStoragepool Tier Storagepool Tier> - List of Storagepool tiers
- id string
- Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
- storagepool
Tiers GetStoragepool Tier Storagepool Tier[] - List of Storagepool tiers
- id str
- Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
- storagepool_
tiers Sequence[GetStoragepool Tier Storagepool Tier] - List of Storagepool tiers
- id String
- Id of Storagepool tiers. Readonly. Fixed value of "storagepool_tiers"
- storagepool
Tiers 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.
- Transfer
Limit doublePct - Stop moving files to this tier when this limit is met.
- Transfer
Limit stringState - How the transfer limit value is being applied.
- Usage
Get
Storagepool Tier Storagepool Tier Usage - 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.
- Transfer
Limit float64Pct - Stop moving files to this tier when this limit is met.
- Transfer
Limit stringState - How the transfer limit value is being applied.
- Usage
Get
Storagepool Tier Storagepool Tier Usage - 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.
- transfer
Limit DoublePct - Stop moving files to this tier when this limit is met.
- transfer
Limit StringState - How the transfer limit value is being applied.
- usage
Get
Storagepool Tier Storagepool Tier Usage - 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.
- transfer
Limit numberPct - Stop moving files to this tier when this limit is met.
- transfer
Limit stringState - How the transfer limit value is being applied.
- usage
Get
Storagepool Tier Storagepool Tier Usage - 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_ floatpct - Stop moving files to this tier when this limit is met.
- transfer_
limit_ strstate - How the transfer limit value is being applied.
- usage
Get
Storagepool Tier Storagepool Tier Usage - 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.
- transfer
Limit NumberPct - Stop moving files to this tier when this limit is met.
- transfer
Limit StringState - How the transfer limit value is being applied.
- usage Property Map
- Usage.
GetStoragepoolTierStoragepoolTierUsage
- Avail
Bytes string - Available free bytes remaining in the pool when virtual hot spare is taken into account.
- Avail
Hdd stringBytes - Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
- Avail
Ssd stringBytes - 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 string - Free bytes remaining in the pool.
- Free
Hdd stringBytes - Free bytes remaining in the pool on HDD drives.
- Free
Ssd stringBytes - Free bytes remaining in the pool on SSD drives.
- Pct
Used string - Percentage of usable space in the pool which is used.
- Pct
Used stringHdd - Percentage of usable space on HDD drives in the pool which is used.
- Pct
Used stringSsd - Percentage of usable space on SSD drives in the pool which is used.
- Total
Bytes string - Total bytes in the pool.
- Total
Hdd stringBytes - Total bytes in the pool on HDD drives.
- Total
Ssd stringBytes - Total bytes in the pool on SSD drives.
- Usable
Bytes string - Total bytes in the pool drives when virtual hot spare is taken into account.
- Usable
Hdd stringBytes - Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
- Usable
Ssd stringBytes - Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
- Used
Bytes string - Used bytes in the pool.
- Used
Hdd stringBytes - Used bytes in the pool on HDD drives.
- Used
Ssd stringBytes - Used bytes in the pool on SSD drives.
- Virtual
Hot stringSpare Bytes - Bytes reserved for virtual hot spare in the pool.
- Avail
Bytes string - Available free bytes remaining in the pool when virtual hot spare is taken into account.
- Avail
Hdd stringBytes - Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
- Avail
Ssd stringBytes - 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 string - Free bytes remaining in the pool.
- Free
Hdd stringBytes - Free bytes remaining in the pool on HDD drives.
- Free
Ssd stringBytes - Free bytes remaining in the pool on SSD drives.
- Pct
Used string - Percentage of usable space in the pool which is used.
- Pct
Used stringHdd - Percentage of usable space on HDD drives in the pool which is used.
- Pct
Used stringSsd - Percentage of usable space on SSD drives in the pool which is used.
- Total
Bytes string - Total bytes in the pool.
- Total
Hdd stringBytes - Total bytes in the pool on HDD drives.
- Total
Ssd stringBytes - Total bytes in the pool on SSD drives.
- Usable
Bytes string - Total bytes in the pool drives when virtual hot spare is taken into account.
- Usable
Hdd stringBytes - Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
- Usable
Ssd stringBytes - Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
- Used
Bytes string - Used bytes in the pool.
- Used
Hdd stringBytes - Used bytes in the pool on HDD drives.
- Used
Ssd stringBytes - Used bytes in the pool on SSD drives.
- Virtual
Hot stringSpare Bytes - Bytes reserved for virtual hot spare in the pool.
- avail
Bytes String - Available free bytes remaining in the pool when virtual hot spare is taken into account.
- avail
Hdd StringBytes - Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
- avail
Ssd StringBytes - 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.
- free
Bytes String - Free bytes remaining in the pool.
- free
Hdd StringBytes - Free bytes remaining in the pool on HDD drives.
- free
Ssd StringBytes - Free bytes remaining in the pool on SSD drives.
- pct
Used String - Percentage of usable space in the pool which is used.
- pct
Used StringHdd - Percentage of usable space on HDD drives in the pool which is used.
- pct
Used StringSsd - Percentage of usable space on SSD drives in the pool which is used.
- total
Bytes String - Total bytes in the pool.
- total
Hdd StringBytes - Total bytes in the pool on HDD drives.
- total
Ssd StringBytes - Total bytes in the pool on SSD drives.
- usable
Bytes String - Total bytes in the pool drives when virtual hot spare is taken into account.
- usable
Hdd StringBytes - Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
- usable
Ssd StringBytes - Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
- used
Bytes String - Used bytes in the pool.
- used
Hdd StringBytes - Used bytes in the pool on HDD drives.
- used
Ssd StringBytes - Used bytes in the pool on SSD drives.
- virtual
Hot StringSpare Bytes - Bytes reserved for virtual hot spare in the pool.
- avail
Bytes string - Available free bytes remaining in the pool when virtual hot spare is taken into account.
- avail
Hdd stringBytes - Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
- avail
Ssd stringBytes - 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.
- free
Bytes string - Free bytes remaining in the pool.
- free
Hdd stringBytes - Free bytes remaining in the pool on HDD drives.
- free
Ssd stringBytes - Free bytes remaining in the pool on SSD drives.
- pct
Used string - Percentage of usable space in the pool which is used.
- pct
Used stringHdd - Percentage of usable space on HDD drives in the pool which is used.
- pct
Used stringSsd - Percentage of usable space on SSD drives in the pool which is used.
- total
Bytes string - Total bytes in the pool.
- total
Hdd stringBytes - Total bytes in the pool on HDD drives.
- total
Ssd stringBytes - Total bytes in the pool on SSD drives.
- usable
Bytes string - Total bytes in the pool drives when virtual hot spare is taken into account.
- usable
Hdd stringBytes - Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
- usable
Ssd stringBytes - Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
- used
Bytes string - Used bytes in the pool.
- used
Hdd stringBytes - Used bytes in the pool on HDD drives.
- used
Ssd stringBytes - Used bytes in the pool on SSD drives.
- virtual
Hot stringSpare Bytes - 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_ strbytes - Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
- avail_
ssd_ strbytes - 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_ strbytes - Free bytes remaining in the pool on HDD drives.
- free_
ssd_ strbytes - Free bytes remaining in the pool on SSD drives.
- pct_
used str - Percentage of usable space in the pool which is used.
- pct_
used_ strhdd - Percentage of usable space on HDD drives in the pool which is used.
- pct_
used_ strssd - Percentage of usable space on SSD drives in the pool which is used.
- total_
bytes str - Total bytes in the pool.
- total_
hdd_ strbytes - Total bytes in the pool on HDD drives.
- total_
ssd_ strbytes - 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_ strbytes - Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
- usable_
ssd_ strbytes - 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_ strbytes - Used bytes in the pool on HDD drives.
- used_
ssd_ strbytes - Used bytes in the pool on SSD drives.
- virtual_
hot_ strspare_ bytes - Bytes reserved for virtual hot spare in the pool.
- avail
Bytes String - Available free bytes remaining in the pool when virtual hot spare is taken into account.
- avail
Hdd StringBytes - Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
- avail
Ssd StringBytes - 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.
- free
Bytes String - Free bytes remaining in the pool.
- free
Hdd StringBytes - Free bytes remaining in the pool on HDD drives.
- free
Ssd StringBytes - Free bytes remaining in the pool on SSD drives.
- pct
Used String - Percentage of usable space in the pool which is used.
- pct
Used StringHdd - Percentage of usable space on HDD drives in the pool which is used.
- pct
Used StringSsd - Percentage of usable space on SSD drives in the pool which is used.
- total
Bytes String - Total bytes in the pool.
- total
Hdd StringBytes - Total bytes in the pool on HDD drives.
- total
Ssd StringBytes - Total bytes in the pool on SSD drives.
- usable
Bytes String - Total bytes in the pool drives when virtual hot spare is taken into account.
- usable
Hdd StringBytes - Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
- usable
Ssd StringBytes - Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
- used
Bytes String - Used bytes in the pool.
- used
Hdd StringBytes - Used bytes in the pool on HDD drives.
- used
Ssd StringBytes - Used bytes in the pool on SSD drives.
- virtual
Hot StringSpare Bytes - 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.