Cluster Pool
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",
});
});
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
})
}
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());
}
}
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}
Properties
Properties of underlying AKS cluster.
A resource group created by AKS, to hold the infrastructure resources created by AKS on-behalf of customers. It is generated by cluster pool name and managed resource group name by pattern: MC_{managedResourceGroupName}{clusterPoolName}{region}
CLuster pool profile.
CLuster pool compute profile.
A unique id generated by the RP to identify the resource.
Cluster pool log analytics profile to enable OMS agent for AKS cluster.
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.
Cluster pool network profile.
Provisioning state of the resource.
Azure Resource Manager metadata containing createdBy and modifiedBy information.