azure-native.netapp.Pool
Explore with Pulumi AI
Capacity pool resource API Version: 2020-12-01.
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 = "Auto",
ResourceGroupName = "myRG",
ServiceLevel = "Premium",
Size = 4398046511104,
});
});
package main
import (
netapp "github.com/pulumi/pulumi-azure-native-sdk/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
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,
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)
type: azure-native:netapp:Pool
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 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.
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,
Location = "string",
PoolName = "string",
QosType = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := netapp.NewPool(ctx, "examplepoolResourceResourceFromNetapp", &netapp.PoolArgs{
AccountName: "string",
ResourceGroupName: "string",
ServiceLevel: "string",
Size: 0,
Location: "string",
PoolName: "string",
QosType: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var examplepoolResourceResourceFromNetapp = new Pool("examplepoolResourceResourceFromNetapp", PoolArgs.builder()
.accountName("string")
.resourceGroupName("string")
.serviceLevel("string")
.size(0)
.location("string")
.poolName("string")
.qosType("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
examplepool_resource_resource_from_netapp = azure_native.netapp.Pool("examplepoolResourceResourceFromNetapp",
account_name=string,
resource_group_name=string,
service_level=string,
size=0,
location=string,
pool_name=string,
qos_type=string,
tags={
string: string,
})
const examplepoolResourceResourceFromNetapp = new azure_native.netapp.Pool("examplepoolResourceResourceFromNetapp", {
accountName: "string",
resourceGroupName: "string",
serviceLevel: "string",
size: 0,
location: "string",
poolName: "string",
qosType: "string",
tags: {
string: "string",
},
});
type: azure-native:netapp:Pool
properties:
accountName: string
location: string
poolName: string
qosType: string
resourceGroupName: string
serviceLevel: string
size: 0
tags:
string: string
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:
- Account
Name string - The name of the NetApp account
- Resource
Group stringName - The name of the resource group.
- Service
Level string | Pulumi.Azure Native. Net App. Service Level - 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
- Pool
Name string - The name of the capacity pool
- Qos
Type string | Pulumi.Azure Native. Net App. Qos Type - The qos type of the pool
- Dictionary<string, string>
- Resource tags
- Account
Name string - The name of the NetApp account
- Resource
Group stringName - The name of the resource group.
- Service
Level 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
- Pool
Name string - The name of the capacity pool
- Qos
Type string | QosType - The qos type of the pool
- map[string]string
- Resource tags
- account
Name String - The name of the NetApp account
- resource
Group StringName - The name of the resource group.
- service
Level 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
- pool
Name String - The name of the capacity pool
- qos
Type String | QosType - The qos type of the pool
- Map<String,String>
- Resource tags
- account
Name string - The name of the NetApp account
- resource
Group stringName - The name of the resource group.
- service
Level 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
- pool
Name string - The name of the capacity pool
- qos
Type string | QosType - The qos type of the pool
- {[key: string]: string}
- Resource tags
- account_
name str - The name of the NetApp account
- resource_
group_ strname - 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
- Mapping[str, str]
- Resource tags
- account
Name String - The name of the NetApp account
- resource
Group StringName - The name of the resource group.
- service
Level 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
- pool
Name String - The name of the capacity pool
- qos
Type String | "Auto" | "Manual" - The qos type of the pool
- 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
- Pool
Id string - UUID v4 used to identify the Pool
- Provisioning
State string - Azure lifecycle management
- Total
Throughput doubleMibps - Total throughput of pool in Mibps
- Type string
- Resource type
- Utilized
Throughput doubleMibps - Utilized throughput of pool in Mibps
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Pool
Id string - UUID v4 used to identify the Pool
- Provisioning
State string - Azure lifecycle management
- Total
Throughput float64Mibps - Total throughput of pool in Mibps
- Type string
- Resource type
- Utilized
Throughput float64Mibps - Utilized throughput of pool in Mibps
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- pool
Id String - UUID v4 used to identify the Pool
- provisioning
State String - Azure lifecycle management
- total
Throughput DoubleMibps - Total throughput of pool in Mibps
- type String
- Resource type
- utilized
Throughput DoubleMibps - Utilized throughput of pool in Mibps
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- pool
Id string - UUID v4 used to identify the Pool
- provisioning
State string - Azure lifecycle management
- total
Throughput numberMibps - Total throughput of pool in Mibps
- type string
- Resource type
- utilized
Throughput numberMibps - 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_ floatmibps - Total throughput of pool in Mibps
- type str
- Resource type
- utilized_
throughput_ floatmibps - Utilized throughput of pool in Mibps
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- pool
Id String - UUID v4 used to identify the Pool
- provisioning
State String - Azure lifecycle management
- total
Throughput NumberMibps - Total throughput of pool in Mibps
- type String
- Resource type
- utilized
Throughput NumberMibps - Utilized throughput of pool in Mibps
Supporting Types
QosType, QosTypeArgs
- Auto
- Autoqos type Auto
- Manual
- Manualqos type Manual
- Qos
Type Auto - Autoqos type Auto
- Qos
Type 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
- "Auto"
- Autoqos type Auto
- "Manual"
- Manualqos type Manual
ServiceLevel, ServiceLevelArgs
- Standard
- StandardStandard service level
- Premium
- PremiumPremium service level
- Ultra
- UltraUltra service level
- Standard
ZRS - StandardZRSZone redundant storage service level
- Service
Level Standard - StandardStandard service level
- Service
Level Premium - PremiumPremium service level
- Service
Level Ultra - UltraUltra service level
- Service
Level Standard ZRS - 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
- Standard
ZRS - 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
- "Standard
ZRS" - StandardZRSZone 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0