1. Packages
  2. Azure Native v2
  3. API Docs
  4. netapp
  5. Pool
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.netapp.Pool

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Capacity pool resource Azure REST API version: 2022-11-01. Prior API version in Azure Native 1.x: 2020-12-01.

Other available API versions: 2022-11-01-preview, 2023-05-01, 2023-05-01-preview, 2023-07-01, 2023-07-01-preview, 2023-11-01, 2023-11-01-preview, 2024-01-01, 2024-03-01, 2024-03-01-preview, 2024-05-01, 2024-05-01-preview, 2024-07-01, 2024-07-01-preview.

Example Usage

Pools_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var pool = new AzureNative.NetApp.Pool("pool", new()
    {
        AccountName = "account1",
        Location = "eastus",
        PoolName = "pool1",
        QosType = AzureNative.NetApp.QosType.Auto,
        ResourceGroupName = "myRG",
        ServiceLevel = AzureNative.NetApp.ServiceLevel.Premium,
        Size = 4398046511104,
    });

});
Copy
package main

import (
	netapp "github.com/pulumi/pulumi-azure-native-sdk/netapp/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := netapp.NewPool(ctx, "pool", &netapp.PoolArgs{
			AccountName:       pulumi.String("account1"),
			Location:          pulumi.String("eastus"),
			PoolName:          pulumi.String("pool1"),
			QosType:           pulumi.String(netapp.QosTypeAuto),
			ResourceGroupName: pulumi.String("myRG"),
			ServiceLevel:      pulumi.String(netapp.ServiceLevelPremium),
			Size:              pulumi.Float64(4398046511104),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.netapp.Pool;
import com.pulumi.azurenative.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 pool = new Pool("pool", PoolArgs.builder()
            .accountName("account1")
            .location("eastus")
            .poolName("pool1")
            .qosType("Auto")
            .resourceGroupName("myRG")
            .serviceLevel("Premium")
            .size(4398046511104)
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const pool = new azure_native.netapp.Pool("pool", {
    accountName: "account1",
    location: "eastus",
    poolName: "pool1",
    qosType: azure_native.netapp.QosType.Auto,
    resourceGroupName: "myRG",
    serviceLevel: azure_native.netapp.ServiceLevel.Premium,
    size: 4398046511104,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

pool = azure_native.netapp.Pool("pool",
    account_name="account1",
    location="eastus",
    pool_name="pool1",
    qos_type=azure_native.netapp.QosType.AUTO,
    resource_group_name="myRG",
    service_level=azure_native.netapp.ServiceLevel.PREMIUM,
    size=4398046511104)
Copy
resources:
  pool:
    type: azure-native:netapp:Pool
    properties:
      accountName: account1
      location: eastus
      poolName: pool1
      qosType: Auto
      resourceGroupName: myRG
      serviceLevel: Premium
      size: 4.398046511104e+12
Copy

Create Pool Resource

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

Constructor syntax

new Pool(name: string, args: PoolArgs, opts?: CustomResourceOptions);
@overload
def Pool(resource_name: str,
         args: PoolArgs,
         opts: Optional[ResourceOptions] = None)

@overload
def Pool(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         account_name: Optional[str] = None,
         resource_group_name: Optional[str] = None,
         service_level: Optional[Union[str, ServiceLevel]] = None,
         size: Optional[float] = None,
         cool_access: Optional[bool] = None,
         encryption_type: Optional[Union[str, EncryptionType]] = None,
         location: Optional[str] = None,
         pool_name: Optional[str] = None,
         qos_type: Optional[Union[str, QosType]] = None,
         tags: Optional[Mapping[str, str]] = 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-native:netapp:Pool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. PoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PoolArgs
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 examplepoolResourceResourceFromNetapp = new AzureNative.Netapp.Pool("examplepoolResourceResourceFromNetapp", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    ServiceLevel = "string",
    Size = 0,
    CoolAccess = false,
    EncryptionType = "string",
    Location = "string",
    PoolName = "string",
    QosType = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := netapp.NewPool(ctx, "examplepoolResourceResourceFromNetapp", &netapp.PoolArgs{
	AccountName:       "string",
	ResourceGroupName: "string",
	ServiceLevel:      "string",
	Size:              0,
	CoolAccess:        false,
	EncryptionType:    "string",
	Location:          "string",
	PoolName:          "string",
	QosType:           "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var examplepoolResourceResourceFromNetapp = new com.pulumi.azurenative.netapp.Pool("examplepoolResourceResourceFromNetapp", com.pulumi.azurenative.netapp.PoolArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .serviceLevel("string")
    .size(0)
    .coolAccess(false)
    .encryptionType("string")
    .location("string")
    .poolName("string")
    .qosType("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
examplepool_resource_resource_from_netapp = azure_native.netapp.Pool("examplepoolResourceResourceFromNetapp",
    account_name=string,
    resource_group_name=string,
    service_level=string,
    size=0,
    cool_access=False,
    encryption_type=string,
    location=string,
    pool_name=string,
    qos_type=string,
    tags={
        string: string,
    })
Copy
const examplepoolResourceResourceFromNetapp = new azure_native.netapp.Pool("examplepoolResourceResourceFromNetapp", {
    accountName: "string",
    resourceGroupName: "string",
    serviceLevel: "string",
    size: 0,
    coolAccess: false,
    encryptionType: "string",
    location: "string",
    poolName: "string",
    qosType: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:netapp:Pool
properties:
    accountName: string
    coolAccess: false
    encryptionType: string
    location: string
    poolName: string
    qosType: string
    resourceGroupName: string
    serviceLevel: string
    size: 0
    tags:
        string: string
Copy

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

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

The Pool resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NetApp account
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ServiceLevel This property is required. string | Pulumi.AzureNative.NetApp.ServiceLevel
The service level of the file system
Size This property is required. double
Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
CoolAccess bool
If enabled (true) the pool can contain cool Access enabled volumes.
EncryptionType Changes to this property will trigger replacement. string | Pulumi.AzureNative.NetApp.EncryptionType
Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
PoolName Changes to this property will trigger replacement. string
The name of the capacity pool
QosType string | Pulumi.AzureNative.NetApp.QosType
The qos type of the pool
Tags Dictionary<string, string>
Resource tags.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NetApp account
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ServiceLevel This property is required. string | ServiceLevel
The service level of the file system
Size This property is required. float64
Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
CoolAccess bool
If enabled (true) the pool can contain cool Access enabled volumes.
EncryptionType Changes to this property will trigger replacement. string | EncryptionType
Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
PoolName Changes to this property will trigger replacement. string
The name of the capacity pool
QosType string | QosType
The qos type of the pool
Tags map[string]string
Resource tags.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the NetApp account
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serviceLevel This property is required. String | ServiceLevel
The service level of the file system
size This property is required. Double
Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
coolAccess Boolean
If enabled (true) the pool can contain cool Access enabled volumes.
encryptionType Changes to this property will trigger replacement. String | EncryptionType
Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
poolName Changes to this property will trigger replacement. String
The name of the capacity pool
qosType String | QosType
The qos type of the pool
tags Map<String,String>
Resource tags.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the NetApp account
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
serviceLevel This property is required. string | ServiceLevel
The service level of the file system
size This property is required. number
Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
coolAccess boolean
If enabled (true) the pool can contain cool Access enabled volumes.
encryptionType Changes to this property will trigger replacement. string | EncryptionType
Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
poolName Changes to this property will trigger replacement. string
The name of the capacity pool
qosType string | QosType
The qos type of the pool
tags {[key: string]: string}
Resource tags.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the NetApp account
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
service_level This property is required. str | ServiceLevel
The service level of the file system
size This property is required. float
Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
cool_access bool
If enabled (true) the pool can contain cool Access enabled volumes.
encryption_type Changes to this property will trigger replacement. str | EncryptionType
Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
pool_name Changes to this property will trigger replacement. str
The name of the capacity pool
qos_type str | QosType
The qos type of the pool
tags Mapping[str, str]
Resource tags.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the NetApp account
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serviceLevel This property is required. String | "Standard" | "Premium" | "Ultra" | "StandardZRS"
The service level of the file system
size This property is required. Number
Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
coolAccess Boolean
If enabled (true) the pool can contain cool Access enabled volumes.
encryptionType Changes to this property will trigger replacement. String | "Single" | "Double"
Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
poolName Changes to this property will trigger replacement. String
The name of the capacity pool
qosType String | "Auto" | "Manual"
The qos type of the pool
tags Map<String>
Resource tags.

Outputs

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

Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
PoolId string
UUID v4 used to identify the Pool
ProvisioningState string
Azure lifecycle management
SystemData Pulumi.AzureNative.NetApp.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
TotalThroughputMibps double
Total throughput of pool in MiB/s
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
UtilizedThroughputMibps double
Utilized throughput of pool in MiB/s
Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
PoolId string
UUID v4 used to identify the Pool
ProvisioningState string
Azure lifecycle management
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
TotalThroughputMibps float64
Total throughput of pool in MiB/s
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
UtilizedThroughputMibps float64
Utilized throughput of pool in MiB/s
etag String
A unique read-only string that changes whenever the resource is updated.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
poolId String
UUID v4 used to identify the Pool
provisioningState String
Azure lifecycle management
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
totalThroughputMibps Double
Total throughput of pool in MiB/s
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
utilizedThroughputMibps Double
Utilized throughput of pool in MiB/s
etag string
A unique read-only string that changes whenever the resource is updated.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
poolId string
UUID v4 used to identify the Pool
provisioningState string
Azure lifecycle management
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
totalThroughputMibps number
Total throughput of pool in MiB/s
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
utilizedThroughputMibps number
Utilized throughput of pool in MiB/s
etag str
A unique read-only string that changes whenever the resource is updated.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
pool_id str
UUID v4 used to identify the Pool
provisioning_state str
Azure lifecycle management
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
total_throughput_mibps float
Total throughput of pool in MiB/s
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
utilized_throughput_mibps float
Utilized throughput of pool in MiB/s
etag String
A unique read-only string that changes whenever the resource is updated.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
poolId String
UUID v4 used to identify the Pool
provisioningState String
Azure lifecycle management
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
totalThroughputMibps Number
Total throughput of pool in MiB/s
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
utilizedThroughputMibps Number
Utilized throughput of pool in MiB/s

Supporting Types

EncryptionType
, EncryptionTypeArgs

Single
SingleEncryptionType Single, volumes will use single encryption at rest
Double
DoubleEncryptionType Double, volumes will use double encryption at rest
EncryptionTypeSingle
SingleEncryptionType Single, volumes will use single encryption at rest
EncryptionTypeDouble
DoubleEncryptionType Double, volumes will use double encryption at rest
Single
SingleEncryptionType Single, volumes will use single encryption at rest
Double
DoubleEncryptionType Double, volumes will use double encryption at rest
Single
SingleEncryptionType Single, volumes will use single encryption at rest
Double
DoubleEncryptionType Double, volumes will use double encryption at rest
SINGLE
SingleEncryptionType Single, volumes will use single encryption at rest
DOUBLE
DoubleEncryptionType Double, volumes will use double encryption at rest
"Single"
SingleEncryptionType Single, volumes will use single encryption at rest
"Double"
DoubleEncryptionType Double, volumes will use double encryption at rest

QosType
, QosTypeArgs

Auto
Autoqos type Auto
Manual
Manualqos type Manual
QosTypeAuto
Autoqos type Auto
QosTypeManual
Manualqos type Manual
Auto
Autoqos type Auto
Manual
Manualqos type Manual
Auto
Autoqos type Auto
Manual
Manualqos type Manual
AUTO
Autoqos type Auto
MANUAL
Manualqos type Manual
"Auto"
Autoqos type Auto
"Manual"
Manualqos type Manual

ServiceLevel
, ServiceLevelArgs

Standard
StandardStandard service level
Premium
PremiumPremium service level
Ultra
UltraUltra service level
StandardZRS
StandardZRSZone redundant storage service level
ServiceLevelStandard
StandardStandard service level
ServiceLevelPremium
PremiumPremium service level
ServiceLevelUltra
UltraUltra service level
ServiceLevelStandardZRS
StandardZRSZone redundant storage service level
Standard
StandardStandard service level
Premium
PremiumPremium service level
Ultra
UltraUltra service level
StandardZRS
StandardZRSZone redundant storage service level
Standard
StandardStandard service level
Premium
PremiumPremium service level
Ultra
UltraUltra service level
StandardZRS
StandardZRSZone redundant storage service level
STANDARD
StandardStandard service level
PREMIUM
PremiumPremium service level
ULTRA
UltraUltra service level
STANDARD_ZRS
StandardZRSZone redundant storage service level
"Standard"
StandardStandard service level
"Premium"
PremiumPremium service level
"Ultra"
UltraUltra service level
"StandardZRS"
StandardZRSZone redundant storage service level

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:netapp:Pool account1/pool1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi