1. Packages
  2. Hpegl Provider
  3. API Docs
  4. MetalVolume
hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe

hpegl.MetalVolume

Explore with Pulumi AI

hpegl logo
hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe

    Provides Volume resource. This allows creation, deletion and update of Metal volumes.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hpegl from "@pulumi/hpegl";
    
    const config = new pulumi.Config();
    const location = config.get("location") || "USA:Central:AFCDCC1";
    let testVols: hpegl.MetalVolume | undefined;
    if (1 == true) {
        testVols = new hpegl.MetalVolume("testVols", {
            size: 20,
            shareable: true,
            flavor: "Fast",
            storagePool: "Storage_Pool_NVMe",
            location: location,
            volumeCollection: "AustinCollection",
            description: "Terraformed volume",
        });
    }
    
    import pulumi
    import pulumi_hpegl as hpegl
    
    config = pulumi.Config()
    location = config.get("location")
    if location is None:
        location = "USA:Central:AFCDCC1"
    test_vols = None
    if 1 == True:
        test_vols = hpegl.MetalVolume("testVols",
            size=20,
            shareable=True,
            flavor="Fast",
            storage_pool="Storage_Pool_NVMe",
            location=location,
            volume_collection="AustinCollection",
            description="Terraformed volume")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		location := "USA:Central:AFCDCC1"
    		if param := cfg.Get("location"); param != "" {
    			location = param
    		}
    		var testVols []*hpegl.MetalVolume
    		for index := 0; index < 1 == true; index++ {
    			key0 := index
    			_ := index
    			__res, err := hpegl.NewMetalVolume(ctx, fmt.Sprintf("testVols-%v", key0), &hpegl.MetalVolumeArgs{
    				Size:             pulumi.Float64(20),
    				Shareable:        pulumi.Bool(true),
    				Flavor:           pulumi.String("Fast"),
    				StoragePool:      pulumi.String("Storage_Pool_NVMe"),
    				Location:         pulumi.String(location),
    				VolumeCollection: pulumi.String("AustinCollection"),
    				Description:      pulumi.String("Terraformed volume"),
    			})
    			if err != nil {
    				return err
    			}
    			testVols = append(testVols, __res)
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Hpegl = Pulumi.Hpegl;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var location = config.Get("location") ?? "USA:Central:AFCDCC1";
        var testVols = new List<Hpegl.MetalVolume>();
        for (var rangeIndex = 0; rangeIndex < (1 == true); rangeIndex++)
        {
            var range = new { Value = rangeIndex };
            testVols.Add(new Hpegl.MetalVolume($"testVols-{range.Value}", new()
            {
                Size = 20,
                Shareable = true,
                Flavor = "Fast",
                StoragePool = "Storage_Pool_NVMe",
                Location = location,
                VolumeCollection = "AustinCollection",
                Description = "Terraformed volume",
            }));
        }
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hpegl.MetalVolume;
    import com.pulumi.hpegl.MetalVolumeArgs;
    import com.pulumi.codegen.internal.KeyedValue;
    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 config = ctx.config();
            final var location = config.get("location").orElse("USA:Central:AFCDCC1");
            for (var i = 0; i < (1 == true); i++) {
                new MetalVolume("testVols-" + i, MetalVolumeArgs.builder()
                    .size(20)
                    .shareable(true)
                    .flavor("Fast")
                    .storagePool("Storage_Pool_NVMe")
                    .location(location)
                    .volumeCollection("AustinCollection")
                    .description("Terraformed volume")
                    .build());
    
            
    }
        }
    }
    
    configuration:
      location:
        type: string
        default: USA:Central:AFCDCC1
    resources:
      testVols:
        type: hpegl:MetalVolume
        properties:
          size: 20
          shareable: true
          flavor: Fast
          storagePool: Storage_Pool_NVMe
          location: ${location}
          volumeCollection: AustinCollection
          description: Terraformed volume
        options: {}
    

    Create MetalVolume Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MetalVolume(name: string, args: MetalVolumeArgs, opts?: CustomResourceOptions);
    @overload
    def MetalVolume(resource_name: str,
                    args: MetalVolumeArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def MetalVolume(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    flavor: Optional[str] = None,
                    location: Optional[str] = None,
                    size: Optional[float] = None,
                    description: Optional[str] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    metal_volume_id: Optional[str] = None,
                    name: Optional[str] = None,
                    shareable: Optional[bool] = None,
                    storage_pool: Optional[str] = None,
                    volume_collection: Optional[str] = None,
                    volume_collection_id: Optional[str] = None)
    func NewMetalVolume(ctx *Context, name string, args MetalVolumeArgs, opts ...ResourceOption) (*MetalVolume, error)
    public MetalVolume(string name, MetalVolumeArgs args, CustomResourceOptions? opts = null)
    public MetalVolume(String name, MetalVolumeArgs args)
    public MetalVolume(String name, MetalVolumeArgs args, CustomResourceOptions options)
    
    type: hpegl:MetalVolume
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MetalVolumeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MetalVolumeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MetalVolumeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MetalVolumeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MetalVolumeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var metalVolumeResource = new Hpegl.MetalVolume("metalVolumeResource", new()
    {
        Flavor = "string",
        Location = "string",
        Size = 0,
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        MetalVolumeId = "string",
        Name = "string",
        Shareable = false,
        StoragePool = "string",
        VolumeCollection = "string",
        VolumeCollectionId = "string",
    });
    
    example, err := hpegl.NewMetalVolume(ctx, "metalVolumeResource", &hpegl.MetalVolumeArgs{
    	Flavor:      pulumi.String("string"),
    	Location:    pulumi.String("string"),
    	Size:        pulumi.Float64(0),
    	Description: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	MetalVolumeId:      pulumi.String("string"),
    	Name:               pulumi.String("string"),
    	Shareable:          pulumi.Bool(false),
    	StoragePool:        pulumi.String("string"),
    	VolumeCollection:   pulumi.String("string"),
    	VolumeCollectionId: pulumi.String("string"),
    })
    
    var metalVolumeResource = new MetalVolume("metalVolumeResource", MetalVolumeArgs.builder()
        .flavor("string")
        .location("string")
        .size(0)
        .description("string")
        .labels(Map.of("string", "string"))
        .metalVolumeId("string")
        .name("string")
        .shareable(false)
        .storagePool("string")
        .volumeCollection("string")
        .volumeCollectionId("string")
        .build());
    
    metal_volume_resource = hpegl.MetalVolume("metalVolumeResource",
        flavor="string",
        location="string",
        size=0,
        description="string",
        labels={
            "string": "string",
        },
        metal_volume_id="string",
        name="string",
        shareable=False,
        storage_pool="string",
        volume_collection="string",
        volume_collection_id="string")
    
    const metalVolumeResource = new hpegl.MetalVolume("metalVolumeResource", {
        flavor: "string",
        location: "string",
        size: 0,
        description: "string",
        labels: {
            string: "string",
        },
        metalVolumeId: "string",
        name: "string",
        shareable: false,
        storagePool: "string",
        volumeCollection: "string",
        volumeCollectionId: "string",
    });
    
    type: hpegl:MetalVolume
    properties:
        description: string
        flavor: string
        labels:
            string: string
        location: string
        metalVolumeId: string
        name: string
        shareable: false
        size: 0
        storagePool: string
        volumeCollection: string
        volumeCollectionId: string
    

    MetalVolume Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MetalVolume resource accepts the following input properties:

    Flavor string
    The flavor of the volume to be created.
    Location string
    Location of the volume country:region:data-center.
    Size double
    The minimum size of the volume specified in units of GBytes.
    Description string
    A wordy description of the volume and purpose.
    Labels Dictionary<string, string>
    The volume labels as (name, value) pairs.
    MetalVolumeId string
    The ID of this resource.
    Name string
    A friendly name of the volume.
    Shareable bool
    The volume can be shared by multiple hosts if set.
    StoragePool string
    The storage pool of the volume to be created.
    VolumeCollection string
    The volume collection of the volume to be created.
    VolumeCollectionId string
    The volume collection ID of the volume to be created.
    Flavor string
    The flavor of the volume to be created.
    Location string
    Location of the volume country:region:data-center.
    Size float64
    The minimum size of the volume specified in units of GBytes.
    Description string
    A wordy description of the volume and purpose.
    Labels map[string]string
    The volume labels as (name, value) pairs.
    MetalVolumeId string
    The ID of this resource.
    Name string
    A friendly name of the volume.
    Shareable bool
    The volume can be shared by multiple hosts if set.
    StoragePool string
    The storage pool of the volume to be created.
    VolumeCollection string
    The volume collection of the volume to be created.
    VolumeCollectionId string
    The volume collection ID of the volume to be created.
    flavor String
    The flavor of the volume to be created.
    location String
    Location of the volume country:region:data-center.
    size Double
    The minimum size of the volume specified in units of GBytes.
    description String
    A wordy description of the volume and purpose.
    labels Map<String,String>
    The volume labels as (name, value) pairs.
    metalVolumeId String
    The ID of this resource.
    name String
    A friendly name of the volume.
    shareable Boolean
    The volume can be shared by multiple hosts if set.
    storagePool String
    The storage pool of the volume to be created.
    volumeCollection String
    The volume collection of the volume to be created.
    volumeCollectionId String
    The volume collection ID of the volume to be created.
    flavor string
    The flavor of the volume to be created.
    location string
    Location of the volume country:region:data-center.
    size number
    The minimum size of the volume specified in units of GBytes.
    description string
    A wordy description of the volume and purpose.
    labels {[key: string]: string}
    The volume labels as (name, value) pairs.
    metalVolumeId string
    The ID of this resource.
    name string
    A friendly name of the volume.
    shareable boolean
    The volume can be shared by multiple hosts if set.
    storagePool string
    The storage pool of the volume to be created.
    volumeCollection string
    The volume collection of the volume to be created.
    volumeCollectionId string
    The volume collection ID of the volume to be created.
    flavor str
    The flavor of the volume to be created.
    location str
    Location of the volume country:region:data-center.
    size float
    The minimum size of the volume specified in units of GBytes.
    description str
    A wordy description of the volume and purpose.
    labels Mapping[str, str]
    The volume labels as (name, value) pairs.
    metal_volume_id str
    The ID of this resource.
    name str
    A friendly name of the volume.
    shareable bool
    The volume can be shared by multiple hosts if set.
    storage_pool str
    The storage pool of the volume to be created.
    volume_collection str
    The volume collection of the volume to be created.
    volume_collection_id str
    The volume collection ID of the volume to be created.
    flavor String
    The flavor of the volume to be created.
    location String
    Location of the volume country:region:data-center.
    size Number
    The minimum size of the volume specified in units of GBytes.
    description String
    A wordy description of the volume and purpose.
    labels Map<String>
    The volume labels as (name, value) pairs.
    metalVolumeId String
    The ID of this resource.
    name String
    A friendly name of the volume.
    shareable Boolean
    The volume can be shared by multiple hosts if set.
    storagePool String
    The storage pool of the volume to be created.
    volumeCollection String
    The volume collection of the volume to be created.
    volumeCollectionId String
    The volume collection ID of the volume to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MetalVolume resource produces the following output properties:

    ActiveSite string
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    CreatedSite string
    The site where the volume was originally created.
    ExportCount double
    The number of active exports for this volume
    FlavorId string
    The flavor of the volume to be created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocationId string
    LocationID.
    ReplicationEnabled bool
    Indicates whether replication is enabled for this volume.
    SizeInUse double
    The amount of the volume currently used as reported by the array in GBytes.
    State string
    The volume provisioning state.
    Status string
    The volume provisioning status.
    StoragePoolId string
    The storage pool of the volume to be created.
    Unmanaged bool
    Indicates whether the volume is a native Metal created one or an external one.
    Wwn string
    The volume serial number.
    ActiveSite string
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    CreatedSite string
    The site where the volume was originally created.
    ExportCount float64
    The number of active exports for this volume
    FlavorId string
    The flavor of the volume to be created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocationId string
    LocationID.
    ReplicationEnabled bool
    Indicates whether replication is enabled for this volume.
    SizeInUse float64
    The amount of the volume currently used as reported by the array in GBytes.
    State string
    The volume provisioning state.
    Status string
    The volume provisioning status.
    StoragePoolId string
    The storage pool of the volume to be created.
    Unmanaged bool
    Indicates whether the volume is a native Metal created one or an external one.
    Wwn string
    The volume serial number.
    activeSite String
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    createdSite String
    The site where the volume was originally created.
    exportCount Double
    The number of active exports for this volume
    flavorId String
    The flavor of the volume to be created.
    id String
    The provider-assigned unique ID for this managed resource.
    locationId String
    LocationID.
    replicationEnabled Boolean
    Indicates whether replication is enabled for this volume.
    sizeInUse Double
    The amount of the volume currently used as reported by the array in GBytes.
    state String
    The volume provisioning state.
    status String
    The volume provisioning status.
    storagePoolId String
    The storage pool of the volume to be created.
    unmanaged Boolean
    Indicates whether the volume is a native Metal created one or an external one.
    wwn String
    The volume serial number.
    activeSite string
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    createdSite string
    The site where the volume was originally created.
    exportCount number
    The number of active exports for this volume
    flavorId string
    The flavor of the volume to be created.
    id string
    The provider-assigned unique ID for this managed resource.
    locationId string
    LocationID.
    replicationEnabled boolean
    Indicates whether replication is enabled for this volume.
    sizeInUse number
    The amount of the volume currently used as reported by the array in GBytes.
    state string
    The volume provisioning state.
    status string
    The volume provisioning status.
    storagePoolId string
    The storage pool of the volume to be created.
    unmanaged boolean
    Indicates whether the volume is a native Metal created one or an external one.
    wwn string
    The volume serial number.
    active_site str
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    created_site str
    The site where the volume was originally created.
    export_count float
    The number of active exports for this volume
    flavor_id str
    The flavor of the volume to be created.
    id str
    The provider-assigned unique ID for this managed resource.
    location_id str
    LocationID.
    replication_enabled bool
    Indicates whether replication is enabled for this volume.
    size_in_use float
    The amount of the volume currently used as reported by the array in GBytes.
    state str
    The volume provisioning state.
    status str
    The volume provisioning status.
    storage_pool_id str
    The storage pool of the volume to be created.
    unmanaged bool
    Indicates whether the volume is a native Metal created one or an external one.
    wwn str
    The volume serial number.
    activeSite String
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    createdSite String
    The site where the volume was originally created.
    exportCount Number
    The number of active exports for this volume
    flavorId String
    The flavor of the volume to be created.
    id String
    The provider-assigned unique ID for this managed resource.
    locationId String
    LocationID.
    replicationEnabled Boolean
    Indicates whether replication is enabled for this volume.
    sizeInUse Number
    The amount of the volume currently used as reported by the array in GBytes.
    state String
    The volume provisioning state.
    status String
    The volume provisioning status.
    storagePoolId String
    The storage pool of the volume to be created.
    unmanaged Boolean
    Indicates whether the volume is a native Metal created one or an external one.
    wwn String
    The volume serial number.

    Look up Existing MetalVolume Resource

    Get an existing MetalVolume resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MetalVolumeState, opts?: CustomResourceOptions): MetalVolume
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active_site: Optional[str] = None,
            created_site: Optional[str] = None,
            description: Optional[str] = None,
            export_count: Optional[float] = None,
            flavor: Optional[str] = None,
            flavor_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            location_id: Optional[str] = None,
            metal_volume_id: Optional[str] = None,
            name: Optional[str] = None,
            replication_enabled: Optional[bool] = None,
            shareable: Optional[bool] = None,
            size: Optional[float] = None,
            size_in_use: Optional[float] = None,
            state: Optional[str] = None,
            status: Optional[str] = None,
            storage_pool: Optional[str] = None,
            storage_pool_id: Optional[str] = None,
            unmanaged: Optional[bool] = None,
            volume_collection: Optional[str] = None,
            volume_collection_id: Optional[str] = None,
            wwn: Optional[str] = None) -> MetalVolume
    func GetMetalVolume(ctx *Context, name string, id IDInput, state *MetalVolumeState, opts ...ResourceOption) (*MetalVolume, error)
    public static MetalVolume Get(string name, Input<string> id, MetalVolumeState? state, CustomResourceOptions? opts = null)
    public static MetalVolume get(String name, Output<String> id, MetalVolumeState state, CustomResourceOptions options)
    resources:  _:    type: hpegl:MetalVolume    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActiveSite string
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    CreatedSite string
    The site where the volume was originally created.
    Description string
    A wordy description of the volume and purpose.
    ExportCount double
    The number of active exports for this volume
    Flavor string
    The flavor of the volume to be created.
    FlavorId string
    The flavor of the volume to be created.
    Labels Dictionary<string, string>
    The volume labels as (name, value) pairs.
    Location string
    Location of the volume country:region:data-center.
    LocationId string
    LocationID.
    MetalVolumeId string
    The ID of this resource.
    Name string
    A friendly name of the volume.
    ReplicationEnabled bool
    Indicates whether replication is enabled for this volume.
    Shareable bool
    The volume can be shared by multiple hosts if set.
    Size double
    The minimum size of the volume specified in units of GBytes.
    SizeInUse double
    The amount of the volume currently used as reported by the array in GBytes.
    State string
    The volume provisioning state.
    Status string
    The volume provisioning status.
    StoragePool string
    The storage pool of the volume to be created.
    StoragePoolId string
    The storage pool of the volume to be created.
    Unmanaged bool
    Indicates whether the volume is a native Metal created one or an external one.
    VolumeCollection string
    The volume collection of the volume to be created.
    VolumeCollectionId string
    The volume collection ID of the volume to be created.
    Wwn string
    The volume serial number.
    ActiveSite string
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    CreatedSite string
    The site where the volume was originally created.
    Description string
    A wordy description of the volume and purpose.
    ExportCount float64
    The number of active exports for this volume
    Flavor string
    The flavor of the volume to be created.
    FlavorId string
    The flavor of the volume to be created.
    Labels map[string]string
    The volume labels as (name, value) pairs.
    Location string
    Location of the volume country:region:data-center.
    LocationId string
    LocationID.
    MetalVolumeId string
    The ID of this resource.
    Name string
    A friendly name of the volume.
    ReplicationEnabled bool
    Indicates whether replication is enabled for this volume.
    Shareable bool
    The volume can be shared by multiple hosts if set.
    Size float64
    The minimum size of the volume specified in units of GBytes.
    SizeInUse float64
    The amount of the volume currently used as reported by the array in GBytes.
    State string
    The volume provisioning state.
    Status string
    The volume provisioning status.
    StoragePool string
    The storage pool of the volume to be created.
    StoragePoolId string
    The storage pool of the volume to be created.
    Unmanaged bool
    Indicates whether the volume is a native Metal created one or an external one.
    VolumeCollection string
    The volume collection of the volume to be created.
    VolumeCollectionId string
    The volume collection ID of the volume to be created.
    Wwn string
    The volume serial number.
    activeSite String
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    createdSite String
    The site where the volume was originally created.
    description String
    A wordy description of the volume and purpose.
    exportCount Double
    The number of active exports for this volume
    flavor String
    The flavor of the volume to be created.
    flavorId String
    The flavor of the volume to be created.
    labels Map<String,String>
    The volume labels as (name, value) pairs.
    location String
    Location of the volume country:region:data-center.
    locationId String
    LocationID.
    metalVolumeId String
    The ID of this resource.
    name String
    A friendly name of the volume.
    replicationEnabled Boolean
    Indicates whether replication is enabled for this volume.
    shareable Boolean
    The volume can be shared by multiple hosts if set.
    size Double
    The minimum size of the volume specified in units of GBytes.
    sizeInUse Double
    The amount of the volume currently used as reported by the array in GBytes.
    state String
    The volume provisioning state.
    status String
    The volume provisioning status.
    storagePool String
    The storage pool of the volume to be created.
    storagePoolId String
    The storage pool of the volume to be created.
    unmanaged Boolean
    Indicates whether the volume is a native Metal created one or an external one.
    volumeCollection String
    The volume collection of the volume to be created.
    volumeCollectionId String
    The volume collection ID of the volume to be created.
    wwn String
    The volume serial number.
    activeSite string
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    createdSite string
    The site where the volume was originally created.
    description string
    A wordy description of the volume and purpose.
    exportCount number
    The number of active exports for this volume
    flavor string
    The flavor of the volume to be created.
    flavorId string
    The flavor of the volume to be created.
    labels {[key: string]: string}
    The volume labels as (name, value) pairs.
    location string
    Location of the volume country:region:data-center.
    locationId string
    LocationID.
    metalVolumeId string
    The ID of this resource.
    name string
    A friendly name of the volume.
    replicationEnabled boolean
    Indicates whether replication is enabled for this volume.
    shareable boolean
    The volume can be shared by multiple hosts if set.
    size number
    The minimum size of the volume specified in units of GBytes.
    sizeInUse number
    The amount of the volume currently used as reported by the array in GBytes.
    state string
    The volume provisioning state.
    status string
    The volume provisioning status.
    storagePool string
    The storage pool of the volume to be created.
    storagePoolId string
    The storage pool of the volume to be created.
    unmanaged boolean
    Indicates whether the volume is a native Metal created one or an external one.
    volumeCollection string
    The volume collection of the volume to be created.
    volumeCollectionId string
    The volume collection ID of the volume to be created.
    wwn string
    The volume serial number.
    active_site str
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    created_site str
    The site where the volume was originally created.
    description str
    A wordy description of the volume and purpose.
    export_count float
    The number of active exports for this volume
    flavor str
    The flavor of the volume to be created.
    flavor_id str
    The flavor of the volume to be created.
    labels Mapping[str, str]
    The volume labels as (name, value) pairs.
    location str
    Location of the volume country:region:data-center.
    location_id str
    LocationID.
    metal_volume_id str
    The ID of this resource.
    name str
    A friendly name of the volume.
    replication_enabled bool
    Indicates whether replication is enabled for this volume.
    shareable bool
    The volume can be shared by multiple hosts if set.
    size float
    The minimum size of the volume specified in units of GBytes.
    size_in_use float
    The amount of the volume currently used as reported by the array in GBytes.
    state str
    The volume provisioning state.
    status str
    The volume provisioning status.
    storage_pool str
    The storage pool of the volume to be created.
    storage_pool_id str
    The storage pool of the volume to be created.
    unmanaged bool
    Indicates whether the volume is a native Metal created one or an external one.
    volume_collection str
    The volume collection of the volume to be created.
    volume_collection_id str
    The volume collection ID of the volume to be created.
    wwn str
    The volume serial number.
    activeSite String
    The site where the remote copy role for the volume is Primary at the time of most recent import.
    createdSite String
    The site where the volume was originally created.
    description String
    A wordy description of the volume and purpose.
    exportCount Number
    The number of active exports for this volume
    flavor String
    The flavor of the volume to be created.
    flavorId String
    The flavor of the volume to be created.
    labels Map<String>
    The volume labels as (name, value) pairs.
    location String
    Location of the volume country:region:data-center.
    locationId String
    LocationID.
    metalVolumeId String
    The ID of this resource.
    name String
    A friendly name of the volume.
    replicationEnabled Boolean
    Indicates whether replication is enabled for this volume.
    shareable Boolean
    The volume can be shared by multiple hosts if set.
    size Number
    The minimum size of the volume specified in units of GBytes.
    sizeInUse Number
    The amount of the volume currently used as reported by the array in GBytes.
    state String
    The volume provisioning state.
    status String
    The volume provisioning status.
    storagePool String
    The storage pool of the volume to be created.
    storagePoolId String
    The storage pool of the volume to be created.
    unmanaged Boolean
    Indicates whether the volume is a native Metal created one or an external one.
    volumeCollection String
    The volume collection of the volume to be created.
    volumeCollectionId String
    The volume collection ID of the volume to be created.
    wwn String
    The volume serial number.

    Package Details

    Repository
    hpegl hpe/terraform-provider-hpegl
    License
    Notes
    This Pulumi package is based on the hpegl Terraform Provider.
    hpegl logo
    hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe