import * as pulumi from "@pulumi/pulumi"; /** * Manages a Pool within a NetApp Account. * * ## NetApp Pool Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleAccount = new azure.netapp.Account("example", { * name: "example-netappaccount", * location: example.location, * resourceGroupName: example.name, * }); * const examplePool = new azure.netapp.Pool("example", { * name: "example-netapppool", * accountName: exampleAccount.name, * location: example.location, * resourceGroupName: example.name, * serviceLevel: "Premium", * sizeInTb: 4, * }); * ``` * * ## NetApp Pool with Flexible Service Level Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleAccount = new azure.netapp.Account("example", { * name: "example-netappaccount", * location: example.location, * resourceGroupName: example.name, * }); * const examplePool = new azure.netapp.Pool("example", { * name: "example-netapppool", * accountName: exampleAccount.name, * location: example.location, * resourceGroupName: example.name, * serviceLevel: "Flexible", * sizeInTb: 4, * qosType: "Manual", * customThroughputMibps: 256, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.NetApp` - 2025-12-01 * * ## Import * * NetApp Pool can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:netapp/pool:Pool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1 * ``` */ export declare class Pool extends pulumi.CustomResource { /** * Get an existing Pool resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PoolState, opts?: pulumi.CustomResourceOptions): Pool; /** * Returns true if the given object is an instance of Pool. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Pool; /** * The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. */ readonly accountName: pulumi.Output; /** * Whether the NetApp Pool can hold cool access enabled volumes. Defaults to `false`. * * > **Note:** Disabling `coolAccessEnabled` is not allowed and forces a new resource to be created. */ readonly coolAccessEnabled: pulumi.Output; /** * The custom throughput for the pool in MiB/s. Minimum value is `128`. This field can only be set when `serviceLevel` is set to `Flexible` and `qosType` is set to `Manual`. */ readonly customThroughputMibps: pulumi.Output; /** * The encryption type of the pool. Valid values include `Single`, and `Double`. Defaults to `Single`. Changing this forces a new resource to be created. */ readonly encryptionType: pulumi.Output; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name of the NetApp Pool. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * QoS Type of the pool. Valid values include `Auto` or `Manual`. Defaults to `Auto`. */ readonly qosType: pulumi.Output; /** * The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The service level of the file system. Valid values include `Premium`, `Standard`, `Ultra`, and `Flexible`. Changing this forces a new resource to be created. */ readonly serviceLevel: pulumi.Output; /** * Provisioned size of the pool in TB. Value must be between `1` and `2048`. * * > **Note:** `2` TB capacity pool sizing is currently in preview. You can only take advantage of the `2` TB minimum if all the volumes in the capacity pool are using `Standard` network features. If any volume is using `Basic` network features, the minimum size is `4` TB. Please see the product [documentation](https://learn.microsoft.com/azure/azure-netapp-files/azure-netapp-files-set-up-capacity-pool) for more information. * * > **Note:** The maximum `sizeInTb` is goverened by regional quotas. You may request additional capacity from Azure, currently up to `2048`. */ readonly sizeInTb: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Pool resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PoolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Pool resources. */ export interface PoolState { /** * The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. */ accountName?: pulumi.Input; /** * Whether the NetApp Pool can hold cool access enabled volumes. Defaults to `false`. * * > **Note:** Disabling `coolAccessEnabled` is not allowed and forces a new resource to be created. */ coolAccessEnabled?: pulumi.Input; /** * The custom throughput for the pool in MiB/s. Minimum value is `128`. This field can only be set when `serviceLevel` is set to `Flexible` and `qosType` is set to `Manual`. */ customThroughputMibps?: pulumi.Input; /** * The encryption type of the pool. Valid values include `Single`, and `Double`. Defaults to `Single`. Changing this forces a new resource to be created. */ encryptionType?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the NetApp Pool. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * QoS Type of the pool. Valid values include `Auto` or `Manual`. Defaults to `Auto`. */ qosType?: pulumi.Input; /** * The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The service level of the file system. Valid values include `Premium`, `Standard`, `Ultra`, and `Flexible`. Changing this forces a new resource to be created. */ serviceLevel?: pulumi.Input; /** * Provisioned size of the pool in TB. Value must be between `1` and `2048`. * * > **Note:** `2` TB capacity pool sizing is currently in preview. You can only take advantage of the `2` TB minimum if all the volumes in the capacity pool are using `Standard` network features. If any volume is using `Basic` network features, the minimum size is `4` TB. Please see the product [documentation](https://learn.microsoft.com/azure/azure-netapp-files/azure-netapp-files-set-up-capacity-pool) for more information. * * > **Note:** The maximum `sizeInTb` is goverened by regional quotas. You may request additional capacity from Azure, currently up to `2048`. */ sizeInTb?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Pool resource. */ export interface PoolArgs { /** * The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. */ accountName: pulumi.Input; /** * Whether the NetApp Pool can hold cool access enabled volumes. Defaults to `false`. * * > **Note:** Disabling `coolAccessEnabled` is not allowed and forces a new resource to be created. */ coolAccessEnabled?: pulumi.Input; /** * The custom throughput for the pool in MiB/s. Minimum value is `128`. This field can only be set when `serviceLevel` is set to `Flexible` and `qosType` is set to `Manual`. */ customThroughputMibps?: pulumi.Input; /** * The encryption type of the pool. Valid values include `Single`, and `Double`. Defaults to `Single`. Changing this forces a new resource to be created. */ encryptionType?: pulumi.Input; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the NetApp Pool. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * QoS Type of the pool. Valid values include `Auto` or `Manual`. Defaults to `Auto`. */ qosType?: pulumi.Input; /** * The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The service level of the file system. Valid values include `Premium`, `Standard`, `Ultra`, and `Flexible`. Changing this forces a new resource to be created. */ serviceLevel: pulumi.Input; /** * Provisioned size of the pool in TB. Value must be between `1` and `2048`. * * > **Note:** `2` TB capacity pool sizing is currently in preview. You can only take advantage of the `2` TB minimum if all the volumes in the capacity pool are using `Standard` network features. If any volume is using `Basic` network features, the minimum size is `4` TB. Please see the product [documentation](https://learn.microsoft.com/azure/azure-netapp-files/azure-netapp-files-set-up-capacity-pool) for more information. * * > **Note:** The maximum `sizeInTb` is goverened by regional quotas. You may request additional capacity from Azure, currently up to `2048`. */ sizeInTb: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }