Cluster

class Cluster : KotlinCustomResource

Cluster details. API Version: 2020-10-01.

Example Usage

Create cluster

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.AzureStackHCI.Cluster("cluster", new()
{
AadClientId = "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
AadTenantId = "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
ClusterName = "myCluster",
Location = "East US",
ResourceGroupName = "test-rg",
});
});
package main
import (
azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azurestackhci.NewCluster(ctx, "cluster", &azurestackhci.ClusterArgs{
AadClientId: pulumi.String("24a6e53d-04e5-44d2-b7cc-1b732a847dfc"),
AadTenantId: pulumi.String("7e589cc1-a8b6-4dff-91bd-5ec0fa18db94"),
ClusterName: pulumi.String("myCluster"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("test-rg"),
})
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.azurestackhci.Cluster;
import com.pulumi.azurenative.azurestackhci.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()
.aadClientId("24a6e53d-04e5-44d2-b7cc-1b732a847dfc")
.aadTenantId("7e589cc1-a8b6-4dff-91bd-5ec0fa18db94")
.clusterName("myCluster")
.location("East US")
.resourceGroupName("test-rg")
.build());
}
}

Import

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

$ pulumi import azure-native:azurestackhci:Cluster myCluster /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster

Properties

Link copied to clipboard
val aadClientId: Output<String>

App id of cluster AAD identity.

Link copied to clipboard
val aadTenantId: Output<String>

Tenant id of cluster AAD identity.

Link copied to clipboard
val billingModel: Output<String>

Type of billing applied to the resource.

Link copied to clipboard
val cloudId: Output<String>

Unique, immutable resource id.

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

The timestamp of resource creation (UTC).

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

The identity that created the resource.

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

The type of identity that created the resource.

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

Most recent billing meter timestamp.

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

The timestamp of resource last modification (UTC)

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

The identity that last modified the resource.

Link copied to clipboard

The type of identity that last modified the resource.

Link copied to clipboard

Most recent cluster sync timestamp.

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

Provisioning state.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

First cluster sync timestamp.

Link copied to clipboard

Properties reported by cluster agent.

Link copied to clipboard
val status: Output<String>

Status of the cluster agent.

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

Resource tags.

Link copied to clipboard

Number of days remaining in the trial period.

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>