Cluster Args
    data class ClusterArgs(val billingType: Output<Either<String, BillingType>>? = null, val clusterName: Output<String>? = null, val identity: Output<IdentityArgs>? = null, val isAvailabilityZonesEnabled: Output<Boolean>? = null, val isDoubleEncryptionEnabled: Output<Boolean>? = null, val keyVaultProperties: Output<KeyVaultPropertiesArgs>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<ClusterSkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ClusterArgs> 
The top level Log Analytics cluster resource container. Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2020-10-01. Other available API versions: 2019-08-01-preview, 2020-08-01.
Example Usage
ClustersCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
    var cluster = new AzureNative.OperationalInsights.Cluster("cluster", new()
    {
        ClusterName = "oiautorest6685",
        Location = "australiasoutheast",
        ResourceGroupName = "oiautorest6685",
        Sku = new AzureNative.OperationalInsights.Inputs.ClusterSkuArgs
        {
            Capacity = 1000,
            Name = "CapacityReservation",
        },
        Tags =
        {
            { "tag1", "val1" },
        },
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-azure-native-sdk/operationalinsights/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := operationalinsights.NewCluster(ctx, "cluster", &operationalinsights.ClusterArgs{
			ClusterName:       pulumi.String("oiautorest6685"),
			Location:          pulumi.String("australiasoutheast"),
			ResourceGroupName: pulumi.String("oiautorest6685"),
			Sku: &operationalinsights.ClusterSkuArgs{
				Capacity: pulumi.Float64(1000),
				Name:     pulumi.String("CapacityReservation"),
			},
			Tags: pulumi.StringMap{
				"tag1": pulumi.String("val1"),
			},
		})
		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.operationalinsights.Cluster;
import com.pulumi.azurenative.operationalinsights.ClusterArgs;
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 cluster = new Cluster("cluster", ClusterArgs.builder()
            .clusterName("oiautorest6685")
            .location("australiasoutheast")
            .resourceGroupName("oiautorest6685")
            .sku(Map.ofEntries(
                Map.entry("capacity", 1000),
                Map.entry("name", "CapacityReservation")
            ))
            .tags(Map.of("tag1", "val1"))
            .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:operationalinsights:Cluster oiautorest6685 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}Content copied to clipboard
Constructors
Link copied to clipboard
                fun ClusterArgs(billingType: Output<Either<String, BillingType>>? = null, clusterName: Output<String>? = null, identity: Output<IdentityArgs>? = null, isAvailabilityZonesEnabled: Output<Boolean>? = null, isDoubleEncryptionEnabled: Output<Boolean>? = null, keyVaultProperties: Output<KeyVaultPropertiesArgs>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<ClusterSkuArgs>? = null, tags: Output<Map<String, String>>? = null)