Cluster

class Cluster : KotlinCustomResource

Cluster details. Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01. Other available API versions: 2022-12-15-preview, 2023-02-01, 2023-03-01, 2023-06-01, 2023-08-01, 2023-08-01-preview, 2023-11-01-preview, 2024-01-01, 2024-02-15-preview, 2024-09-01-preview, 2024-12-01-preview, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurestackhci [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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",
CloudManagementEndpoint = "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
ClusterName = "myCluster",
Location = "East US",
ResourceGroupName = "test-rg",
Type = AzureNative.AzureStackHCI.ManagedServiceIdentityType.SystemAssigned,
});
});
package main
import (
azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v3"
"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"),
CloudManagementEndpoint: pulumi.String("https://98294836-31be-4668-aeae-698667faf99b.waconazure.com"),
ClusterName: pulumi.String("myCluster"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("test-rg"),
Type: pulumi.String(azurestackhci.ManagedServiceIdentityTypeSystemAssigned),
})
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")
.cloudManagementEndpoint("https://98294836-31be-4668-aeae-698667faf99b.waconazure.com")
.clusterName("myCluster")
.location("East US")
.resourceGroupName("test-rg")
.type("SystemAssigned")
.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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}

Properties

Link copied to clipboard

Object id of cluster AAD identity.

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

App id of cluster AAD identity.

Link copied to clipboard

Id of cluster identity service principal.

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

Tenant id of cluster AAD identity.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

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

Endpoint configured for management from the Azure portal.

Link copied to clipboard

Overall connectivity status for the cluster resource.

Link copied to clipboard

Desired properties of the cluster.

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

Attestation configurations for isolated VM (e.g. TVM, CVM) of the cluster.

Link copied to clipboard

Most recent billing meter timestamp.

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

Log Collection properties of the cluster.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val principalId: Output<String>

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

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

RemoteSupport properties of the cluster.

Link copied to clipboard

Properties reported by cluster agent.

Link copied to clipboard

Object id of RP Service Principal

Link copied to clipboard
val serviceEndpoint: Output<String>

Region specific DataPath Endpoint of the cluster.

Link copied to clipboard

Software Assurance properties of the cluster.

Link copied to clipboard
val status: Output<String>

Status of the cluster agent.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

Link copied to clipboard
val tenantId: Output<String>

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

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>
Link copied to clipboard

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.