Cluster Pool Args
data class ClusterPoolArgs(val clusterPoolName: Output<String>? = null, val clusterPoolProfile: Output<ClusterPoolResourcePropertiesClusterPoolProfileArgs>? = null, val computeProfile: Output<ClusterPoolResourcePropertiesComputeProfileArgs>? = null, val location: Output<String>? = null, val logAnalyticsProfile: Output<ClusterPoolResourcePropertiesLogAnalyticsProfileArgs>? = null, val managedResourceGroupName: Output<String>? = null, val networkProfile: Output<ClusterPoolResourcePropertiesNetworkProfileArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ClusterPoolArgs>
Cluster pool. Uses Azure REST API version 2023-06-01-preview. Other available API versions: 2023-11-01-preview, 2024-05-01-preview.
Example Usage
ClusterPoolPut
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var clusterPool = new AzureNative.HDInsight.ClusterPool("clusterPool", new()
{
ClusterPoolName = "clusterpool1",
ClusterPoolProfile = new AzureNative.HDInsight.Inputs.ClusterPoolResourcePropertiesClusterPoolProfileArgs
{
ClusterPoolVersion = "1.2",
},
ComputeProfile = new AzureNative.HDInsight.Inputs.ClusterPoolResourcePropertiesComputeProfileArgs
{
VmSize = "Standard_D3_v2",
},
Location = "West US 2",
ResourceGroupName = "hiloResourcegroup",
});
});
Content copied to clipboard
package main
import (
hdinsight "github.com/pulumi/pulumi-azure-native-sdk/hdinsight/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hdinsight.NewClusterPool(ctx, "clusterPool", &hdinsight.ClusterPoolArgs{
ClusterPoolName: pulumi.String("clusterpool1"),
ClusterPoolProfile: &hdinsight.ClusterPoolResourcePropertiesClusterPoolProfileArgs{
ClusterPoolVersion: pulumi.String("1.2"),
},
ComputeProfile: &hdinsight.ClusterPoolResourcePropertiesComputeProfileArgs{
VmSize: pulumi.String("Standard_D3_v2"),
},
Location: pulumi.String("West US 2"),
ResourceGroupName: pulumi.String("hiloResourcegroup"),
})
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.hdinsight.ClusterPool;
import com.pulumi.azurenative.hdinsight.ClusterPoolArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterPoolResourcePropertiesClusterPoolProfileArgs;
import com.pulumi.azurenative.hdinsight.inputs.ClusterPoolResourcePropertiesComputeProfileArgs;
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 clusterPool = new ClusterPool("clusterPool", ClusterPoolArgs.builder()
.clusterPoolName("clusterpool1")
.clusterPoolProfile(ClusterPoolResourcePropertiesClusterPoolProfileArgs.builder()
.clusterPoolVersion("1.2")
.build())
.computeProfile(ClusterPoolResourcePropertiesComputeProfileArgs.builder()
.vmSize("Standard_D3_v2")
.build())
.location("West US 2")
.resourceGroupName("hiloResourcegroup")
.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:hdinsight:ClusterPool clusterpool1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(clusterPoolName: Output<String>? = null, clusterPoolProfile: Output<ClusterPoolResourcePropertiesClusterPoolProfileArgs>? = null, computeProfile: Output<ClusterPoolResourcePropertiesComputeProfileArgs>? = null, location: Output<String>? = null, logAnalyticsProfile: Output<ClusterPoolResourcePropertiesLogAnalyticsProfileArgs>? = null, managedResourceGroupName: Output<String>? = null, networkProfile: Output<ClusterPoolResourcePropertiesNetworkProfileArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
The name of the cluster pool.
Link copied to clipboard
CLuster pool profile.
Link copied to clipboard
CLuster pool compute profile.
Link copied to clipboard
Cluster pool log analytics profile to enable OMS agent for AKS cluster.
Link copied to clipboard
A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}{clusterPoolName}{region}. Please make sure it meets resource group name restriction.
Link copied to clipboard
Cluster pool network profile.
Link copied to clipboard
The name of the resource group. The name is case insensitive.