1. Packages
  2. Azure Classic
  3. API Docs
  4. netapp
  5. Pool

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.netapp.Pool

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Manages a Pool within a NetApp Account.

    NetApp Pool 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 exampleAccount = new azure.netapp.Account("example", {
        name: "example-netappaccount",
        location: example.location,
        resourceGroupName: example.name,
    });
    const examplePool = new azure.netapp.Pool("example", {
        name: "example-netapppool",
        accountName: exampleAccount.name,
        location: example.location,
        resourceGroupName: example.name,
        serviceLevel: "Premium",
        sizeInTb: 4,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_account = azure.netapp.Account("example",
        name="example-netappaccount",
        location=example.location,
        resource_group_name=example.name)
    example_pool = azure.netapp.Pool("example",
        name="example-netapppool",
        account_name=example_account.name,
        location=example.location,
        resource_group_name=example.name,
        service_level="Premium",
        size_in_tb=4)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp"
    	"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
    		}
    		exampleAccount, err := netapp.NewAccount(ctx, "example", &netapp.AccountArgs{
    			Name:              pulumi.String("example-netappaccount"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = netapp.NewPool(ctx, "example", &netapp.PoolArgs{
    			Name:              pulumi.String("example-netapppool"),
    			AccountName:       exampleAccount.Name,
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			ServiceLevel:      pulumi.String("Premium"),
    			SizeInTb:          pulumi.Int(4),
    		})
    		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 exampleAccount = new Azure.NetApp.Account("example", new()
        {
            Name = "example-netappaccount",
            Location = example.Location,
            ResourceGroupName = example.Name,
        });
    
        var examplePool = new Azure.NetApp.Pool("example", new()
        {
            Name = "example-netapppool",
            AccountName = exampleAccount.Name,
            Location = example.Location,
            ResourceGroupName = example.Name,
            ServiceLevel = "Premium",
            SizeInTb = 4,
        });
    
    });
    
    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.netapp.Account;
    import com.pulumi.azure.netapp.AccountArgs;
    import com.pulumi.azure.netapp.Pool;
    import com.pulumi.azure.netapp.PoolArgs;
    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 exampleAccount = new Account("exampleAccount", AccountArgs.builder()        
                .name("example-netappaccount")
                .location(example.location())
                .resourceGroupName(example.name())
                .build());
    
            var examplePool = new Pool("examplePool", PoolArgs.builder()        
                .name("example-netapppool")
                .accountName(exampleAccount.name())
                .location(example.location())
                .resourceGroupName(example.name())
                .serviceLevel("Premium")
                .sizeInTb(4)
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleAccount:
        type: azure:netapp:Account
        name: example
        properties:
          name: example-netappaccount
          location: ${example.location}
          resourceGroupName: ${example.name}
      examplePool:
        type: azure:netapp:Pool
        name: example
        properties:
          name: example-netapppool
          accountName: ${exampleAccount.name}
          location: ${example.location}
          resourceGroupName: ${example.name}
          serviceLevel: Premium
          sizeInTb: 4
    

    Create Pool Resource

    new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);
    @overload
    def Pool(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             account_name: Optional[str] = None,
             encryption_type: Optional[str] = None,
             location: Optional[str] = None,
             name: Optional[str] = None,
             qos_type: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             service_level: Optional[str] = None,
             size_in_tb: Optional[int] = None,
             tags: Optional[Mapping[str, str]] = None)
    @overload
    def Pool(resource_name: str,
             args: PoolArgs,
             opts: Optional[ResourceOptions] = None)
    func NewPool(ctx *Context, name string, args PoolArgs, opts ...ResourceOption) (*Pool, error)
    public Pool(string name, PoolArgs args, CustomResourceOptions? opts = null)
    public Pool(String name, PoolArgs args)
    public Pool(String name, PoolArgs args, CustomResourceOptions options)
    
    type: azure:netapp:Pool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args PoolArgs
    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 PoolArgs
    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 PoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AccountName string
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    ServiceLevel string
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    SizeInTb int

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    EncryptionType string
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    QosType string
    QoS Type of the pool. Valid values include Auto or Manual.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AccountName string
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    ServiceLevel string
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    SizeInTb int

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    EncryptionType string
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    QosType string
    QoS Type of the pool. Valid values include Auto or Manual.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    accountName String
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    serviceLevel String
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    sizeInTb Integer

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    encryptionType String
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    qosType String
    QoS Type of the pool. Valid values include Auto or Manual.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    accountName string
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    serviceLevel string
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    sizeInTb number

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    encryptionType string
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name string
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    qosType string
    QoS Type of the pool. Valid values include Auto or Manual.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    account_name str
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    service_level str
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    size_in_tb int

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    encryption_type str
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name str
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    qos_type str
    QoS Type of the pool. Valid values include Auto or Manual.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    accountName String
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    serviceLevel String
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    sizeInTb Number

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    encryptionType String
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    qosType String
    QoS Type of the pool. Valid values include Auto or Manual.
    tags Map<String>
    A mapping of tags to assign to the resource.

    Outputs

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

    Get an existing Pool 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?: PoolState, opts?: CustomResourceOptions): Pool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_name: Optional[str] = None,
            encryption_type: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            qos_type: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            service_level: Optional[str] = None,
            size_in_tb: Optional[int] = None,
            tags: Optional[Mapping[str, str]] = None) -> Pool
    func GetPool(ctx *Context, name string, id IDInput, state *PoolState, opts ...ResourceOption) (*Pool, error)
    public static Pool Get(string name, Input<string> id, PoolState? state, CustomResourceOptions? opts = null)
    public static Pool get(String name, Output<String> id, PoolState 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:
    AccountName string
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    EncryptionType string
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    QosType string
    QoS Type of the pool. Valid values include Auto or Manual.
    ResourceGroupName string
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    ServiceLevel string
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    SizeInTb int

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    AccountName string
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    EncryptionType string
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    QosType string
    QoS Type of the pool. Valid values include Auto or Manual.
    ResourceGroupName string
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    ServiceLevel string
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    SizeInTb int

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    Tags map[string]string
    A mapping of tags to assign to the resource.
    accountName String
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    encryptionType String
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    qosType String
    QoS Type of the pool. Valid values include Auto or Manual.
    resourceGroupName String
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    serviceLevel String
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    sizeInTb Integer

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    tags Map<String,String>
    A mapping of tags to assign to the resource.
    accountName string
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    encryptionType string
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name string
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    qosType string
    QoS Type of the pool. Valid values include Auto or Manual.
    resourceGroupName string
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    serviceLevel string
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    sizeInTb number

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    account_name str
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    encryption_type str
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name str
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    qos_type str
    QoS Type of the pool. Valid values include Auto or Manual.
    resource_group_name str
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    service_level str
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    size_in_tb int

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    accountName String
    The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created.
    encryptionType String
    The encryption type of the pool. Valid values include Single, and Double. Defaults to Single. Changing this forces a new resource to be created.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    The name of the NetApp Pool. Changing this forces a new resource to be created.
    qosType String
    QoS Type of the pool. Valid values include Auto or Manual.
    resourceGroupName String
    The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created.
    serviceLevel String
    The service level of the file system. Valid values include Premium, Standard, and Ultra. Changing this forces a new resource to be created.
    sizeInTb Number

    Provisioned size of the pool in TB. Value must be between 2 and 500.

    NOTE 2 TB capacity pool sizing is currently in preview. You can only take advantage of the 2 TB minimum if all the volumes in the capacity pool are using Standard network features. If any volume is using Basic network features, the minimum size is 4 TB. Please see the product documentation for more information.

    tags Map<String>
    A mapping of tags to assign to the resource.

    Import

    NetApp Pool can be imported using the resource id, e.g.

    $ pulumi import azure:netapp/pool:Pool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1
    

    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.70.0 published on Wednesday, Mar 27, 2024 by Pulumi