Cluster

class Cluster : KotlinCustomResource

The top level Log Analytics cluster resource container. Uses Azure REST API version 2023-09-01. In version 2.x of the Azure Native provider, it used API version 2021-06-01. Other available API versions: 2019-08-01-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01, 2021-06-01, 2022-10-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native operationalinsights [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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 = AzureNative.OperationalInsights.ClusterSkuNameEnum.CapacityReservation,
},
Tags =
{
{ "tag1", "val1" },
},
});
});
package main
import (
operationalinsights "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(operationalinsights.ClusterSkuNameEnumCapacityReservation),
},
Tags: pulumi.StringMap{
"tag1": pulumi.String("val1"),
},
})
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.operationalinsights.Cluster;
import com.pulumi.azurenative.operationalinsights.ClusterArgs;
import com.pulumi.azurenative.operationalinsights.inputs.ClusterSkuArgs;
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(ClusterSkuArgs.builder()
.capacity(1000)
.name("CapacityReservation")
.build())
.tags(Map.of("tag1", "val1"))
.build());
}
}

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}

Properties

Link copied to clipboard

The list of Log Analytics workspaces associated with the cluster

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val billingType: Output<String>?

The cluster's billing type.

Link copied to clipboard

Additional properties for capacity reservation

Link copied to clipboard
val clusterId: Output<String>

The ID associated with the cluster.

Link copied to clipboard
val createdDate: Output<String>

The cluster creation time

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Resource's identity.

Link copied to clipboard

Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.

Link copied to clipboard

Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'

Link copied to clipboard

The associated key properties.

Link copied to clipboard

The last time the cluster was updated.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The provisioning state of the cluster.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<ClusterSkuResponse>?

The sku properties.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>