1. Packages
  2. Azure Classic
  3. API Docs
  4. compute
  5. DiskPool

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.compute.DiskPool

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Disk Pool.

    !> Note: Azure are officially halting the preview of Azure Disk Pools, and it will not be made generally available. New customers will not be able to register the Microsoft.StoragePool resource provider on their subscription and deploy new Disk Pools. Existing subscriptions registered with Microsoft.StoragePool may continue to deploy and manage disk pools for the time being.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
        name: "example-network",
        resourceGroupName: example.name,
        location: example.location,
        addressSpaces: ["10.0.0.0/16"],
    });
    const exampleSubnet = new azure.network.Subnet("example", {
        name: "example-subnet",
        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 exampleDiskPool = new azure.compute.DiskPool("example", {
        name: "example-disk-pool",
        resourceGroupName: example.name,
        location: example.location,
        skuName: "Basic_B1",
        subnetId: exampleSubnet.id,
        zones: ["1"],
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_virtual_network = azure.network.VirtualNetwork("example",
        name="example-network",
        resource_group_name=example.name,
        location=example.location,
        address_spaces=["10.0.0.0/16"])
    example_subnet = azure.network.Subnet("example",
        name="example-subnet",
        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_disk_pool = azure.compute.DiskPool("example",
        name="example-disk-pool",
        resource_group_name=example.name,
        location=example.location,
        sku_name="Basic_B1",
        subnet_id=example_subnet.id,
        zones=["1"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/compute"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
    			Name:              pulumi.String("example-network"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			AddressSpaces: pulumi.StringArray{
    				pulumi.String("10.0.0.0/16"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
    			Name:               pulumi.String("example-subnet"),
    			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 = compute.NewDiskPool(ctx, "example", &compute.DiskPoolArgs{
    			Name:              pulumi.String("example-disk-pool"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			SkuName:           pulumi.String("Basic_B1"),
    			SubnetId:          exampleSubnet.ID(),
    			Zones: pulumi.StringArray{
    				pulumi.String("1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
        {
            Name = "example-network",
            ResourceGroupName = example.Name,
            Location = example.Location,
            AddressSpaces = new[]
            {
                "10.0.0.0/16",
            },
        });
    
        var exampleSubnet = new Azure.Network.Subnet("example", new()
        {
            Name = "example-subnet",
            ResourceGroupName = exampleVirtualNetwork.ResourceGroupName,
            VirtualNetworkName = exampleVirtualNetwork.Name,
            AddressPrefixes = new[]
            {
                "10.0.0.0/24",
            },
            Delegations = new[]
            {
                new Azure.Network.Inputs.SubnetDelegationArgs
                {
                    Name = "diskspool",
                    ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs
                    {
                        Actions = new[]
                        {
                            "Microsoft.Network/virtualNetworks/read",
                        },
                        Name = "Microsoft.StoragePool/diskPools",
                    },
                },
            },
        });
    
        var exampleDiskPool = new Azure.Compute.DiskPool("example", new()
        {
            Name = "example-disk-pool",
            ResourceGroupName = example.Name,
            Location = example.Location,
            SkuName = "Basic_B1",
            SubnetId = exampleSubnet.Id,
            Zones = new[]
            {
                "1",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.network.VirtualNetwork;
    import com.pulumi.azure.network.VirtualNetworkArgs;
    import com.pulumi.azure.network.Subnet;
    import com.pulumi.azure.network.SubnetArgs;
    import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
    import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
    import com.pulumi.azure.compute.DiskPool;
    import com.pulumi.azure.compute.DiskPoolArgs;
    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) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
                .name("example-network")
                .resourceGroupName(example.name())
                .location(example.location())
                .addressSpaces("10.0.0.0/16")
                .build());
    
            var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
                .name("example-subnet")
                .resourceGroupName(exampleVirtualNetwork.resourceGroupName())
                .virtualNetworkName(exampleVirtualNetwork.name())
                .addressPrefixes("10.0.0.0/24")
                .delegations(SubnetDelegationArgs.builder()
                    .name("diskspool")
                    .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
                        .actions("Microsoft.Network/virtualNetworks/read")
                        .name("Microsoft.StoragePool/diskPools")
                        .build())
                    .build())
                .build());
    
            var exampleDiskPool = new DiskPool("exampleDiskPool", DiskPoolArgs.builder()
                .name("example-disk-pool")
                .resourceGroupName(example.name())
                .location(example.location())
                .skuName("Basic_B1")
                .subnetId(exampleSubnet.id())
                .zones("1")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleVirtualNetwork:
        type: azure:network:VirtualNetwork
        name: example
        properties:
          name: example-network
          resourceGroupName: ${example.name}
          location: ${example.location}
          addressSpaces:
            - 10.0.0.0/16
      exampleSubnet:
        type: azure:network:Subnet
        name: example
        properties:
          name: example-subnet
          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
      exampleDiskPool:
        type: azure:compute:DiskPool
        name: example
        properties:
          name: example-disk-pool
          resourceGroupName: ${example.name}
          location: ${example.location}
          skuName: Basic_B1
          subnetId: ${exampleSubnet.id}
          zones:
            - '1'
    

    Create DiskPool Resource

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

    Constructor syntax

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

    DiskPool Resource Properties

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

    Inputs

    The DiskPool resource accepts the following input properties:

    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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    Zones List<string>
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    Location string
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    Name string
    The name of the Disk Pool. Changing this forces a new Disk Pool to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Disk Pool.
    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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    Zones []string
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    Location string
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    Name string
    The name of the Disk Pool. Changing this forces a new Disk Pool to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Disk Pool.
    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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    zones List<String>
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    location String
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    name String
    The name of the Disk Pool. Changing this forces a new Disk Pool to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Disk Pool.
    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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    zones string[]
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    location string
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    name string
    The name of the Disk Pool. Changing this forces a new Disk Pool to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Disk Pool.
    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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    zones Sequence[str]
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    location str
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    name str
    The name of the Disk Pool. Changing this forces a new Disk Pool to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Disk Pool.
    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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    zones List<String>
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    location String
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    name String
    The name of the Disk Pool. Changing this forces a new Disk Pool to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Disk Pool.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DiskPool 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 DiskPool Resource

    Get an existing DiskPool 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?: DiskPoolState, opts?: CustomResourceOptions): DiskPool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = 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,
            zones: Optional[Sequence[str]] = None) -> DiskPool
    func GetDiskPool(ctx *Context, name string, id IDInput, state *DiskPoolState, opts ...ResourceOption) (*DiskPool, error)
    public static DiskPool Get(string name, Input<string> id, DiskPoolState? state, CustomResourceOptions? opts = null)
    public static DiskPool get(String name, Output<String> id, DiskPoolState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Location string
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    Name string
    The name of the Disk Pool. 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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Disk Pool.
    Zones List<string>
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    Location string
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    Name string
    The name of the Disk Pool. 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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Disk Pool.
    Zones []string
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    location String
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    name String
    The name of the Disk Pool. 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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Disk Pool.
    zones List<String>
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    location string
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    name string
    The name of the Disk Pool. 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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Disk Pool.
    zones string[]
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    location str
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    name str
    The name of the Disk Pool. 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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Disk Pool.
    zones Sequence[str]
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.
    location String
    The Azure Region where the Disk Pool should exist. Changing this forces a new Disk Pool to be created.
    name String
    The name of the Disk Pool. 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 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 where the Disk Pool should be created. Changing this forces a new Disk Pool to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Disk Pool.
    zones List<String>
    Specifies a list of Availability Zones in which this Disk Pool should be located. Changing this forces a new Disk Pool to be created.

    Import

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

    $ pulumi import azure:compute/diskPool:DiskPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.StoragePool/diskPools/diskPool1
    

    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.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi