Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

Pool

Capacity pool resource API Version: 2020-12-01.

Example Usage

Pools_CreateOrUpdate

using System.Collections.Generic;
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 = "Auto",
        ResourceGroupName = "myRG",
        ServiceLevel = "Premium",
        Size = 4398046511104,
    });

});
package main

import (
	netapp "github.com/pulumi/pulumi-azure-native/sdk/go/azure/netapp"
	"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("Auto"),
			ResourceGroupName: pulumi.String("myRG"),
			ServiceLevel:      pulumi.String("Premium"),
			Size:              pulumi.Float64(4398046511104),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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());

    }
}
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="Auto",
    resource_group_name="myRG",
    service_level="Premium",
    size=4398046511104)
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: "Auto",
    resourceGroupName: "myRG",
    serviceLevel: "Premium",
    size: 4398046511104,
});
resources:
  pool:
    type: azure-native:netapp:Pool
    properties:
      accountName: account1
      location: eastus
      poolName: pool1
      qosType: Auto
      resourceGroupName: myRG
      serviceLevel: Premium
      size: 4.398046511104e+12

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,
         location: Optional[str] = None,
         pool_name: Optional[str] = None,
         qos_type: Optional[Union[str, QosType]] = None,
         resource_group_name: Optional[str] = None,
         service_level: Optional[Union[str, ServiceLevel]] = None,
         size: Optional[float] = 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-native: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

ResourceGroupName string

The name of the resource group.

ServiceLevel string | Pulumi.AzureNative.NetApp.ServiceLevel

The service level of the file system

Size double

Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).

Location string

Resource location

PoolName 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 string

The name of the NetApp account

ResourceGroupName string

The name of the resource group.

ServiceLevel string | ServiceLevel

The service level of the file system

Size float64

Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).

Location string

Resource location

PoolName string

The name of the capacity pool

QosType string | QosType

The qos type of the pool

Tags map[string]string

Resource tags

accountName String

The name of the NetApp account

resourceGroupName String

The name of the resource group.

serviceLevel String | ServiceLevel

The service level of the file system

size Double

Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).

location String

Resource location

poolName String

The name of the capacity pool

qosType String | QosType

The qos type of the pool

tags Map<String,String>

Resource tags

accountName string

The name of the NetApp account

resourceGroupName string

The name of the resource group.

serviceLevel string | ServiceLevel

The service level of the file system

size number

Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).

location string

Resource location

poolName string

The name of the capacity pool

qosType string | QosType

The qos type of the pool

tags {[key: string]: string}

Resource tags

account_name str

The name of the NetApp account

resource_group_name str

The name of the resource group.

service_level str | ServiceLevel

The service level of the file system

size float

Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).

location str

Resource location

pool_name str

The name of the capacity pool

qos_type str | QosType

The qos type of the pool

tags Mapping[str, str]

Resource tags

accountName String

The name of the NetApp account

resourceGroupName String

The name of the resource group.

serviceLevel String | "Standard" | "Premium" | "Ultra" | "StandardZRS"

The service level of the file system

size Number

Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).

location String

Resource location

poolName 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:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name

PoolId string

UUID v4 used to identify the Pool

ProvisioningState string

Azure lifecycle management

TotalThroughputMibps double

Total throughput of pool in Mibps

Type string

Resource type

UtilizedThroughputMibps double

Utilized throughput of pool in Mibps

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name

PoolId string

UUID v4 used to identify the Pool

ProvisioningState string

Azure lifecycle management

TotalThroughputMibps float64

Total throughput of pool in Mibps

Type string

Resource type

UtilizedThroughputMibps float64

Utilized throughput of pool in Mibps

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name

poolId String

UUID v4 used to identify the Pool

provisioningState String

Azure lifecycle management

totalThroughputMibps Double

Total throughput of pool in Mibps

type String

Resource type

utilizedThroughputMibps Double

Utilized throughput of pool in Mibps

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name

poolId string

UUID v4 used to identify the Pool

provisioningState string

Azure lifecycle management

totalThroughputMibps number

Total throughput of pool in Mibps

type string

Resource type

utilizedThroughputMibps number

Utilized throughput of pool in Mibps

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name

pool_id str

UUID v4 used to identify the Pool

provisioning_state str

Azure lifecycle management

total_throughput_mibps float

Total throughput of pool in Mibps

type str

Resource type

utilized_throughput_mibps float

Utilized throughput of pool in Mibps

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name

poolId String

UUID v4 used to identify the Pool

provisioningState String

Azure lifecycle management

totalThroughputMibps Number

Total throughput of pool in Mibps

type String

Resource type

utilizedThroughputMibps Number

Utilized throughput of pool in Mibps

Supporting Types

QosType

Auto
Auto

qos type Auto

Manual
Manual

qos type Manual

QosTypeAuto
Auto

qos type Auto

QosTypeManual
Manual

qos type Manual

Auto
Auto

qos type Auto

Manual
Manual

qos type Manual

Auto
Auto

qos type Auto

Manual
Manual

qos type Manual

AUTO
Auto

qos type Auto

MANUAL
Manual

qos type Manual

"Auto"
Auto

qos type Auto

"Manual"
Manual

qos type Manual

ServiceLevel

Standard
Standard

Standard service level

Premium
Premium

Premium service level

Ultra
Ultra

Ultra service level

StandardZRS
StandardZRS

Zone redundant storage service level

ServiceLevelStandard
Standard

Standard service level

ServiceLevelPremium
Premium

Premium service level

ServiceLevelUltra
Ultra

Ultra service level

ServiceLevelStandardZRS
StandardZRS

Zone redundant storage service level

Standard
Standard

Standard service level

Premium
Premium

Premium service level

Ultra
Ultra

Ultra service level

StandardZRS
StandardZRS

Zone redundant storage service level

Standard
Standard

Standard service level

Premium
Premium

Premium service level

Ultra
Ultra

Ultra service level

StandardZRS
StandardZRS

Zone redundant storage service level

STANDARD
Standard

Standard service level

PREMIUM
Premium

Premium service level

ULTRA
Ultra

Ultra service level

STANDARD_ZRS
StandardZRS

Zone redundant storage service level

"Standard"
Standard

Standard service level

"Premium"
Premium

Premium service level

"Ultra"
Ultra

Ultra service level

"StandardZRS"
StandardZRS

Zone redundant storage service level

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/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0