CapacityPool

class CapacityPool : KotlinCustomResource

Capacity pool resource Uses Azure REST API version 2024-09-01. Other available API versions: 2022-11-01, 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, 2024-09-01-preview, 2025-01-01, 2025-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native netapp [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Pools_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var capacityPool = new AzureNative.NetApp.CapacityPool("capacityPool", new()
{
AccountName = "account1",
Location = "eastus",
PoolName = "pool1",
QosType = AzureNative.NetApp.QosType.Auto,
ResourceGroupName = "myRG",
ServiceLevel = AzureNative.NetApp.ServiceLevel.Premium,
Size = 4398046511104,
});
});
package main
import (
netapp "github.com/pulumi/pulumi-azure-native-sdk/netapp/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := netapp.NewCapacityPool(ctx, "capacityPool", &netapp.CapacityPoolArgs{
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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.netapp.CapacityPool;
import com.pulumi.azurenative.netapp.CapacityPoolArgs;
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 capacityPool = new CapacityPool("capacityPool", CapacityPoolArgs.builder()
.accountName("account1")
.location("eastus")
.poolName("pool1")
.qosType("Auto")
.resourceGroupName("myRG")
.serviceLevel("Premium")
.size(4398046511104.0)
.build());
}
}

Import

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

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

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val coolAccess: Output<Boolean>?

If enabled (true) the pool can contain cool Access enabled volumes.

Link copied to clipboard
val encryptionType: Output<String>?

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
val etag: Output<String>

A unique read-only string that changes whenever the resource is updated.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val poolId: Output<String>

UUID v4 used to identify the Pool

Link copied to clipboard

Azure lifecycle management

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val qosType: Output<String>?

The qos type of the pool

Link copied to clipboard
val serviceLevel: Output<String>

The service level of the file system

Link copied to clipboard
val size: Output<Double>

Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776).

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard

Total throughput of pool in MiB/s

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

Utilized throughput of pool in MiB/s