Cluster

class Cluster : KotlinCustomResource

A Stream Analytics Cluster object API Version: 2020-03-01-preview.

Example Usage

Create a new cluster

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.StreamAnalytics.Cluster("cluster", new()
{
ClusterName = "An Example Cluster",
Location = "North US",
ResourceGroupName = "sjrg",
Sku = new AzureNative.StreamAnalytics.Inputs.ClusterSkuArgs
{
Capacity = 48,
Name = "Default",
},
Tags =
{
{ "key", "value" },
},
});
});
package main
import (
streamanalytics "github.com/pulumi/pulumi-azure-native-sdk/streamanalytics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := streamanalytics.NewCluster(ctx, "cluster", &streamanalytics.ClusterArgs{
ClusterName: pulumi.String("An Example Cluster"),
Location: pulumi.String("North US"),
ResourceGroupName: pulumi.String("sjrg"),
Sku: &streamanalytics.ClusterSkuArgs{
Capacity: pulumi.Int(48),
Name: pulumi.String("Default"),
},
Tags: pulumi.StringMap{
"key": pulumi.String("value"),
},
})
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.streamanalytics.Cluster;
import com.pulumi.azurenative.streamanalytics.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("An Example Cluster")
.location("North US")
.resourceGroupName("sjrg")
.sku(Map.ofEntries(
Map.entry("capacity", 48),
Map.entry("name", "Default")
))
.tags(Map.of("key", "value"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:streamanalytics:Cluster An Example Cluster /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/clusters/AnExampleStreamingCluster

Properties

Link copied to clipboard
val etag: Output<String>

The current entity tag for the cluster. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.

Link copied to clipboard
val id: Output<String>
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 properties associated with a Stream Analytics 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 of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests.

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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Link copied to clipboard
val urn: Output<String>