1. Packages
  2. Azure Classic
  3. API Docs
  4. storage
  5. DisksPool

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Disk Pool.

    !> Note: This resource has been deprecated in favour of azure.compute.DiskPool and will be removed in version 3.0 of the Azure Provider.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("exampleVirtualNetwork", new Azure.Network.VirtualNetworkArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                AddressSpaces = 
                {
                    "10.0.0.0/16",
                },
            });
            var exampleSubnet = new Azure.Network.Subnet("exampleSubnet", new Azure.Network.SubnetArgs
            {
                ResourceGroupName = exampleVirtualNetwork.ResourceGroupName,
                VirtualNetworkName = exampleVirtualNetwork.Name,
                AddressPrefixes = 
                {
                    "10.0.0.0/24",
                },
                Delegations = 
                {
                    new Azure.Network.Inputs.SubnetDelegationArgs
                    {
                        Name = "diskspool",
                        ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs
                        {
                            Actions = 
                            {
                                "Microsoft.Network/virtualNetworks/read",
                            },
                            Name = "Microsoft.StoragePool/diskPools",
                        },
                    },
                },
            });
            var exampleDisksPool = new Azure.Storage.DisksPool("exampleDisksPool", new Azure.Storage.DisksPoolArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                SubnetId = exampleSubnet.Id,
                AvailabilityZones = 
                {
                    "1",
                },
                SkuName = "Basic_B1",
                Tags = 
                {
                    { "foo", "bar" },
                },
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			AddressSpaces: pulumi.StringArray{
    				pulumi.String("10.0.0.0/16"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
    			ResourceGroupName:  exampleVirtualNetwork.ResourceGroupName,
    			VirtualNetworkName: exampleVirtualNetwork.Name,
    			AddressPrefixes: pulumi.StringArray{
    				pulumi.String("10.0.0.0/24"),
    			},
    			Delegations: network.SubnetDelegationArray{
    				&network.SubnetDelegationArgs{
    					Name: pulumi.String("diskspool"),
    					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
    						Actions: pulumi.StringArray{
    							pulumi.String("Microsoft.Network/virtualNetworks/read"),
    						},
    						Name: pulumi.String("Microsoft.StoragePool/diskPools"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = storage.NewDisksPool(ctx, "exampleDisksPool", &storage.DisksPoolArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			SubnetId:          exampleSubnet.ID(),
    			AvailabilityZones: pulumi.StringArray{
    				pulumi.String("1"),
    			},
    			SkuName: pulumi.String("Basic_B1"),
    			Tags: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        addressSpaces: ["10.0.0.0/16"],
    });
    const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
        resourceGroupName: exampleVirtualNetwork.resourceGroupName,
        virtualNetworkName: exampleVirtualNetwork.name,
        addressPrefixes: ["10.0.0.0/24"],
        delegations: [{
            name: "diskspool",
            serviceDelegation: {
                actions: ["Microsoft.Network/virtualNetworks/read"],
                name: "Microsoft.StoragePool/diskPools",
            },
        }],
    });
    const exampleDisksPool = new azure.storage.DisksPool("exampleDisksPool", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        subnetId: exampleSubnet.id,
        availabilityZones: ["1"],
        skuName: "Basic_B1",
        tags: {
            foo: "bar",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        address_spaces=["10.0.0.0/16"])
    example_subnet = azure.network.Subnet("exampleSubnet",
        resource_group_name=example_virtual_network.resource_group_name,
        virtual_network_name=example_virtual_network.name,
        address_prefixes=["10.0.0.0/24"],
        delegations=[azure.network.SubnetDelegationArgs(
            name="diskspool",
            service_delegation=azure.network.SubnetDelegationServiceDelegationArgs(
                actions=["Microsoft.Network/virtualNetworks/read"],
                name="Microsoft.StoragePool/diskPools",
            ),
        )])
    example_disks_pool = azure.storage.DisksPool("exampleDisksPool",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        subnet_id=example_subnet.id,
        availability_zones=["1"],
        sku_name="Basic_B1",
        tags={
            "foo": "bar",
        })
    

    Example coming soon!

    Create DisksPool Resource

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

    Constructor syntax

    new DisksPool(name: string, args: DisksPoolArgs, opts?: CustomResourceOptions);
    @overload
    def DisksPool(resource_name: str,
                  args: DisksPoolArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DisksPool(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  availability_zones: Optional[Sequence[str]] = None,
                  resource_group_name: Optional[str] = None,
                  sku_name: Optional[str] = None,
                  subnet_id: Optional[str] = None,
                  location: Optional[str] = None,
                  name: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None)
    func NewDisksPool(ctx *Context, name string, args DisksPoolArgs, opts ...ResourceOption) (*DisksPool, error)
    public DisksPool(string name, DisksPoolArgs args, CustomResourceOptions? opts = null)
    public DisksPool(String name, DisksPoolArgs args)
    public DisksPool(String name, DisksPoolArgs args, CustomResourceOptions options)
    
    type: azure:storage:DisksPool
    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 DisksPoolArgs
    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 DisksPoolArgs
    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 DisksPoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DisksPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DisksPoolArgs
    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 disksPoolResource = new Azure.Storage.DisksPool("disksPoolResource", new()
    {
        AvailabilityZones = new[]
        {
            "string",
        },
        ResourceGroupName = "string",
        SkuName = "string",
        SubnetId = "string",
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := storage.NewDisksPool(ctx, "disksPoolResource", &storage.DisksPoolArgs{
    	AvailabilityZones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	SkuName:           pulumi.String("string"),
    	SubnetId:          pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var disksPoolResource = new DisksPool("disksPoolResource", DisksPoolArgs.builder()
        .availabilityZones("string")
        .resourceGroupName("string")
        .skuName("string")
        .subnetId("string")
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    disks_pool_resource = azure.storage.DisksPool("disksPoolResource",
        availability_zones=["string"],
        resource_group_name="string",
        sku_name="string",
        subnet_id="string",
        location="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const disksPoolResource = new azure.storage.DisksPool("disksPoolResource", {
        availabilityZones: ["string"],
        resourceGroupName: "string",
        skuName: "string",
        subnetId: "string",
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:storage:DisksPool
    properties:
        availabilityZones:
            - string
        location: string
        name: string
        resourceGroupName: string
        skuName: string
        subnetId: string
        tags:
            string: string
    

    DisksPool 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 DisksPool resource accepts the following input properties:

    AvailabilityZones List<string>
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    ResourceGroupName string
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    SkuName string
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    SubnetId string
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    Location string
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    Name string
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Disks Pool.
    AvailabilityZones []string
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    ResourceGroupName string
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    SkuName string
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    SubnetId string
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    Location string
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    Name string
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Disks Pool.
    availabilityZones List<String>
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    resourceGroupName String
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    skuName String
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    subnetId String
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    location String
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    name String
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Disks Pool.
    availabilityZones string[]
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    resourceGroupName string
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    skuName string
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    subnetId string
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    location string
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    name string
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Disks Pool.
    availability_zones Sequence[str]
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    resource_group_name str
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    sku_name str
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    subnet_id str
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    location str
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    name str
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Disks Pool.
    availabilityZones List<String>
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    resourceGroupName String
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    skuName String
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    subnetId String
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    location String
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    name String
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Disks Pool.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DisksPool Resource

    Get an existing DisksPool 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?: DisksPoolState, opts?: CustomResourceOptions): DisksPool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zones: Optional[Sequence[str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            sku_name: Optional[str] = None,
            subnet_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> DisksPool
    func GetDisksPool(ctx *Context, name string, id IDInput, state *DisksPoolState, opts ...ResourceOption) (*DisksPool, error)
    public static DisksPool Get(string name, Input<string> id, DisksPoolState? state, CustomResourceOptions? opts = null)
    public static DisksPool get(String name, Output<String> id, DisksPoolState state, CustomResourceOptions options)
    resources:  _:    type: azure:storage:DisksPool    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:
    AvailabilityZones List<string>
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    Location string
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    Name string
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    ResourceGroupName string
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    SkuName string
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    SubnetId string
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Disks Pool.
    AvailabilityZones []string
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    Location string
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    Name string
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    ResourceGroupName string
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    SkuName string
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    SubnetId string
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Disks Pool.
    availabilityZones List<String>
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    location String
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    name String
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    resourceGroupName String
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    skuName String
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    subnetId String
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Disks Pool.
    availabilityZones string[]
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    location string
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    name string
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    resourceGroupName string
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    skuName string
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    subnetId string
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Disks Pool.
    availability_zones Sequence[str]
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    location str
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    name str
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    resource_group_name str
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    sku_name str
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    subnet_id str
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Disks Pool.
    availabilityZones List<String>
    Specifies a list of logical zone (e.g. ["1"]). Changing this forces a new Disk Pool to be created.
    location String
    The Azure Region where the Disks Pool should exist. Changing this forces a new Disk Pool to be created.
    name String
    The name of the Disks Pool. The name must begin with a letter or number, end with a letter, number or underscore, and may contain only letters, numbers, underscores, periods, or hyphens, and length should be in the range [7 - 30]. Changing this forces a new Disk Pool to be created.
    resourceGroupName String
    The name of the Resource Group where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    skuName String
    The sku name of the Disk Pool. Possible values are "Basic_B1", "Standard_S1" and "Premium_P1". Changing this forces a new Disk Pool to be created.
    subnetId String
    The ID of the Subnet for the Disk Pool. Changing this forces a new Disks Pool to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Disks Pool.

    Import

    Disk Pools can be imported using the resource id, e.g.

     $ pulumi import azure:storage/disksPool:DisksPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.StoragePool/diskPools/disksPool1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.