Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.netapp.kotlin
import com.pulumi.azurenative.netapp.PoolArgs.builder
import com.pulumi.azurenative.netapp.kotlin.enums.EncryptionType
import com.pulumi.azurenative.netapp.kotlin.enums.QosType
import com.pulumi.azurenative.netapp.kotlin.enums.ServiceLevel
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Double
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* 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, 2023-11-01-preview, 2024-01-01, 2024-03-01, 2024-03-01-preview.
* ## Example Usage
* ### Pools_CreateOrUpdate
* ```csharp
* 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,
* });
* });
* ```
* ```go
* package main
* import (
* netapp "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
* })
* }
* ```
* ```java
* 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
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:netapp:Pool account1/pool1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}
* ```
* @property accountName The name of the NetApp account
* @property coolAccess If enabled (true) the pool can contain cool Access enabled volumes.
* @property encryptionType 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.
* @property location The geo-location where the resource lives
* @property poolName The name of the capacity pool
* @property qosType The qos type of the pool
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property serviceLevel The service level of the file system
* @property size Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).
* @property tags Resource tags.
*/
public data class PoolArgs(
public val accountName: Output? = null,
public val coolAccess: Output? = null,
public val encryptionType: Output>? = null,
public val location: Output? = null,
public val poolName: Output? = null,
public val qosType: Output>? = null,
public val resourceGroupName: Output? = null,
public val serviceLevel: Output>? = null,
public val size: Output? = null,
public val tags: Output