Pool Args
data class PoolArgs(val accountName: Output<String>? = null, val coolAccess: Output<Boolean>? = null, val encryptionType: Output<Either<String, EncryptionType>>? = null, val location: Output<String>? = null, val poolName: Output<String>? = null, val qosType: Output<Either<String, QosType>>? = null, val resourceGroupName: Output<String>? = null, val serviceLevel: Output<Either<String, ServiceLevel>>? = null, val size: Output<Double>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<PoolArgs>
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: 2017-08-15, 2019-07-01, 2022-11-01-preview, 2023-05-01, 2023-05-01-preview, 2023-07-01, 2023-07-01-preview, 2023-11-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 = AzureNative.NetApp.QosType.Auto,
ResourceGroupName = "myRG",
ServiceLevel = AzureNative.NetApp.ServiceLevel.Premium,
Size = 4398046511104,
});
});
Content copied to clipboard
package main
import (
"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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(accountName: Output<String>? = null, coolAccess: Output<Boolean>? = null, encryptionType: Output<Either<String, EncryptionType>>? = null, location: Output<String>? = null, poolName: Output<String>? = null, qosType: Output<Either<String, QosType>>? = null, resourceGroupName: Output<String>? = null, serviceLevel: Output<Either<String, ServiceLevel>>? = null, size: Output<Double>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
The name of the NetApp account
Link copied to clipboard
If enabled (true) the pool can contain cool Access enabled volumes.
Link copied to clipboard
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.
Link copied to clipboard
The name of the resource group. The name is case insensitive.
Link copied to clipboard
The service level of the file system