ClusterArgs

data class ClusterArgs(val aggregatorOrSingleRackDefinition: Output<RackDefinitionArgs>? = null, val analyticsWorkspaceId: Output<String>? = null, val clusterLocation: Output<String>? = null, val clusterName: Output<String>? = null, val clusterServicePrincipal: Output<ServicePrincipalInformationArgs>? = null, val clusterType: Output<Either<String, ClusterType>>? = null, val clusterVersion: Output<String>? = null, val computeDeploymentThreshold: Output<ValidationThresholdArgs>? = null, val computeRackDefinitions: Output<List<RackDefinitionArgs>>? = null, val extendedLocation: Output<ExtendedLocationArgs>? = null, val location: Output<String>? = null, val managedResourceGroupConfiguration: Output<ManagedResourceGroupConfigurationArgs>? = null, val networkFabricId: Output<String>? = null, val resourceGroupName: Output<String>? = null, val runtimeProtectionConfiguration: Output<RuntimeProtectionConfigurationArgs>? = null, val secretArchive: Output<ClusterSecretArchiveArgs>? = null, val tags: Output<Map<String, String>>? = null, val updateStrategy: Output<ClusterUpdateStrategyArgs>? = null) : ConvertibleToJava<ClusterArgs>

Uses Azure REST API version 2023-10-01-preview. In version 1.x of the Azure Native provider, it used API version 2022-12-12-preview. Other available API versions: 2023-07-01, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview, 2025-02-01.

Example Usage

Create or update cluster

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var cluster = new AzureNative.NetworkCloud.Cluster("cluster", new()
{
AggregatorOrSingleRackDefinition = new AzureNative.NetworkCloud.Inputs.RackDefinitionArgs
{
BareMetalMachineConfigurationData = new[]
{
new AzureNative.NetworkCloud.Inputs.BareMetalMachineConfigurationDataArgs
{
BmcCredentials = new AzureNative.NetworkCloud.Inputs.AdministrativeCredentialsArgs
{
Password = "{password}",
Username = "username",
},
BmcMacAddress = "AA:BB:CC:DD:EE:FF",
BootMacAddress = "00:BB:CC:DD:EE:FF",
MachineDetails = "extraDetails",
MachineName = "bmmName1",
RackSlot = 1,
SerialNumber = "BM1219XXX",
},
new AzureNative.NetworkCloud.Inputs.BareMetalMachineConfigurationDataArgs
{
BmcCredentials = new AzureNative.NetworkCloud.Inputs.AdministrativeCredentialsArgs
{
Password = "{password}",
Username = "username",
},
BmcMacAddress = "AA:BB:CC:DD:EE:00",
BootMacAddress = "00:BB:CC:DD:EE:00",
MachineDetails = "extraDetails",
MachineName = "bmmName2",
RackSlot = 2,
SerialNumber = "BM1219YYY",
},
},
NetworkRackId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
RackLocation = "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
RackSerialNumber = "AA1234",
RackSkuId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
StorageApplianceConfigurationData = new[]
{
new AzureNative.NetworkCloud.Inputs.StorageApplianceConfigurationDataArgs
{
AdminCredentials = new AzureNative.NetworkCloud.Inputs.AdministrativeCredentialsArgs
{
Password = "{password}",
Username = "username",
},
RackSlot = 1,
SerialNumber = "BM1219XXX",
StorageApplianceName = "vmName",
},
},
},
AnalyticsWorkspaceId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
ClusterLocation = "Foo Street, 3rd Floor, row 9",
ClusterName = "clusterName",
ClusterServicePrincipal = new AzureNative.NetworkCloud.Inputs.ServicePrincipalInformationArgs
{
ApplicationId = "12345678-1234-1234-1234-123456789012",
Password = "{password}",
PrincipalId = "00000008-0004-0004-0004-000000000012",
TenantId = "80000000-4000-4000-4000-120000000000",
},
ClusterType = AzureNative.NetworkCloud.ClusterType.SingleRack,
ClusterVersion = "1.0.0",
ComputeDeploymentThreshold = new AzureNative.NetworkCloud.Inputs.ValidationThresholdArgs
{
Grouping = AzureNative.NetworkCloud.ValidationThresholdGrouping.PerCluster,
Type = AzureNative.NetworkCloud.ValidationThresholdType.PercentSuccess,
Value = 90,
},
ComputeRackDefinitions = new[]
{
new AzureNative.NetworkCloud.Inputs.RackDefinitionArgs
{
BareMetalMachineConfigurationData = new[]
{
new AzureNative.NetworkCloud.Inputs.BareMetalMachineConfigurationDataArgs
{
BmcCredentials = new AzureNative.NetworkCloud.Inputs.AdministrativeCredentialsArgs
{
Password = "{password}",
Username = "username",
},
BmcMacAddress = "AA:BB:CC:DD:EE:FF",
BootMacAddress = "00:BB:CC:DD:EE:FF",
MachineDetails = "extraDetails",
MachineName = "bmmName1",
RackSlot = 1,
SerialNumber = "BM1219XXX",
},
new AzureNative.NetworkCloud.Inputs.BareMetalMachineConfigurationDataArgs
{
BmcCredentials = new AzureNative.NetworkCloud.Inputs.AdministrativeCredentialsArgs
{
Password = "{password}",
Username = "username",
},
BmcMacAddress = "AA:BB:CC:DD:EE:00",
BootMacAddress = "00:BB:CC:DD:EE:00",
MachineDetails = "extraDetails",
MachineName = "bmmName2",
RackSlot = 2,
SerialNumber = "BM1219YYY",
},
},
NetworkRackId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
RackLocation = "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
RackSerialNumber = "AA1234",
RackSkuId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
StorageApplianceConfigurationData = new[]
{
new AzureNative.NetworkCloud.Inputs.StorageApplianceConfigurationDataArgs
{
AdminCredentials = new AzureNative.NetworkCloud.Inputs.AdministrativeCredentialsArgs
{
Password = "{password}",
Username = "username",
},
RackSlot = 1,
SerialNumber = "BM1219XXX",
StorageApplianceName = "vmName",
},
},
},
},
ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName",
Type = "CustomLocation",
},
Location = "location",
ManagedResourceGroupConfiguration = new AzureNative.NetworkCloud.Inputs.ManagedResourceGroupConfigurationArgs
{
Location = "East US",
Name = "my-managed-rg",
},
NetworkFabricId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
ResourceGroupName = "resourceGroupName",
RuntimeProtectionConfiguration = new AzureNative.NetworkCloud.Inputs.RuntimeProtectionConfigurationArgs
{
EnforcementLevel = AzureNative.NetworkCloud.RuntimeProtectionEnforcementLevel.OnDemand,
},
SecretArchive = new AzureNative.NetworkCloud.Inputs.ClusterSecretArchiveArgs
{
KeyVaultId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName",
UseKeyVault = AzureNative.NetworkCloud.ClusterSecretArchiveEnabled.True,
},
Tags =
{
{ "key1", "myvalue1" },
{ "key2", "myvalue2" },
},
UpdateStrategy = new AzureNative.NetworkCloud.Inputs.ClusterUpdateStrategyArgs
{
MaxUnavailable = 4,
StrategyType = AzureNative.NetworkCloud.ClusterUpdateStrategyType.Rack,
ThresholdType = AzureNative.NetworkCloud.ValidationThresholdType.CountSuccess,
ThresholdValue = 4,
WaitTimeMinutes = 10,
},
});
});
package main
import (
networkcloud "github.com/pulumi/pulumi-azure-native-sdk/networkcloud/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := networkcloud.NewCluster(ctx, "cluster", &networkcloud.ClusterArgs{
AggregatorOrSingleRackDefinition: &networkcloud.RackDefinitionArgs{
BareMetalMachineConfigurationData: networkcloud.BareMetalMachineConfigurationDataArray{
&networkcloud.BareMetalMachineConfigurationDataArgs{
BmcCredentials: &networkcloud.AdministrativeCredentialsArgs{
Password: pulumi.String("{password}"),
Username: pulumi.String("username"),
},
BmcMacAddress: pulumi.String("AA:BB:CC:DD:EE:FF"),
BootMacAddress: pulumi.String("00:BB:CC:DD:EE:FF"),
MachineDetails: pulumi.String("extraDetails"),
MachineName: pulumi.String("bmmName1"),
RackSlot: pulumi.Float64(1),
SerialNumber: pulumi.String("BM1219XXX"),
},
&networkcloud.BareMetalMachineConfigurationDataArgs{
BmcCredentials: &networkcloud.AdministrativeCredentialsArgs{
Password: pulumi.String("{password}"),
Username: pulumi.String("username"),
},
BmcMacAddress: pulumi.String("AA:BB:CC:DD:EE:00"),
BootMacAddress: pulumi.String("00:BB:CC:DD:EE:00"),
MachineDetails: pulumi.String("extraDetails"),
MachineName: pulumi.String("bmmName2"),
RackSlot: pulumi.Float64(2),
SerialNumber: pulumi.String("BM1219YYY"),
},
},
NetworkRackId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName"),
RackLocation: pulumi.String("Foo Datacenter, Floor 3, Aisle 9, Rack 2"),
RackSerialNumber: pulumi.String("AA1234"),
RackSkuId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName"),
StorageApplianceConfigurationData: networkcloud.StorageApplianceConfigurationDataArray{
&networkcloud.StorageApplianceConfigurationDataArgs{
AdminCredentials: &networkcloud.AdministrativeCredentialsArgs{
Password: pulumi.String("{password}"),
Username: pulumi.String("username"),
},
RackSlot: pulumi.Float64(1),
SerialNumber: pulumi.String("BM1219XXX"),
StorageApplianceName: pulumi.String("vmName"),
},
},
},
AnalyticsWorkspaceId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName"),
ClusterLocation: pulumi.String("Foo Street, 3rd Floor, row 9"),
ClusterName: pulumi.String("clusterName"),
ClusterServicePrincipal: &networkcloud.ServicePrincipalInformationArgs{
ApplicationId: pulumi.String("12345678-1234-1234-1234-123456789012"),
Password: pulumi.String("{password}"),
PrincipalId: pulumi.String("00000008-0004-0004-0004-000000000012"),
TenantId: pulumi.String("80000000-4000-4000-4000-120000000000"),
},
ClusterType: pulumi.String(networkcloud.ClusterTypeSingleRack),
ClusterVersion: pulumi.String("1.0.0"),
ComputeDeploymentThreshold: &networkcloud.ValidationThresholdArgs{
Grouping: pulumi.String(networkcloud.ValidationThresholdGroupingPerCluster),
Type: pulumi.String(networkcloud.ValidationThresholdTypePercentSuccess),
Value: pulumi.Float64(90),
},
ComputeRackDefinitions: networkcloud.RackDefinitionArray{
&networkcloud.RackDefinitionArgs{
BareMetalMachineConfigurationData: networkcloud.BareMetalMachineConfigurationDataArray{
&networkcloud.BareMetalMachineConfigurationDataArgs{
BmcCredentials: &networkcloud.AdministrativeCredentialsArgs{
Password: pulumi.String("{password}"),
Username: pulumi.String("username"),
},
BmcMacAddress: pulumi.String("AA:BB:CC:DD:EE:FF"),
BootMacAddress: pulumi.String("00:BB:CC:DD:EE:FF"),
MachineDetails: pulumi.String("extraDetails"),
MachineName: pulumi.String("bmmName1"),
RackSlot: pulumi.Float64(1),
SerialNumber: pulumi.String("BM1219XXX"),
},
&networkcloud.BareMetalMachineConfigurationDataArgs{
BmcCredentials: &networkcloud.AdministrativeCredentialsArgs{
Password: pulumi.String("{password}"),
Username: pulumi.String("username"),
},
BmcMacAddress: pulumi.String("AA:BB:CC:DD:EE:00"),
BootMacAddress: pulumi.String("00:BB:CC:DD:EE:00"),
MachineDetails: pulumi.String("extraDetails"),
MachineName: pulumi.String("bmmName2"),
RackSlot: pulumi.Float64(2),
SerialNumber: pulumi.String("BM1219YYY"),
},
},
NetworkRackId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName"),
RackLocation: pulumi.String("Foo Datacenter, Floor 3, Aisle 9, Rack 2"),
RackSerialNumber: pulumi.String("AA1234"),
RackSkuId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName"),
StorageApplianceConfigurationData: networkcloud.StorageApplianceConfigurationDataArray{
&networkcloud.StorageApplianceConfigurationDataArgs{
AdminCredentials: &networkcloud.AdministrativeCredentialsArgs{
Password: pulumi.String("{password}"),
Username: pulumi.String("username"),
},
RackSlot: pulumi.Float64(1),
SerialNumber: pulumi.String("BM1219XXX"),
StorageApplianceName: pulumi.String("vmName"),
},
},
},
},
ExtendedLocation: &networkcloud.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"),
Type: pulumi.String("CustomLocation"),
},
Location: pulumi.String("location"),
ManagedResourceGroupConfiguration: &networkcloud.ManagedResourceGroupConfigurationArgs{
Location: pulumi.String("East US"),
Name: pulumi.String("my-managed-rg"),
},
NetworkFabricId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName"),
ResourceGroupName: pulumi.String("resourceGroupName"),
RuntimeProtectionConfiguration: &networkcloud.RuntimeProtectionConfigurationArgs{
EnforcementLevel: pulumi.String(networkcloud.RuntimeProtectionEnforcementLevelOnDemand),
},
SecretArchive: &networkcloud.ClusterSecretArchiveArgs{
KeyVaultId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"),
UseKeyVault: pulumi.String(networkcloud.ClusterSecretArchiveEnabledTrue),
},
Tags: pulumi.StringMap{
"key1": pulumi.String("myvalue1"),
"key2": pulumi.String("myvalue2"),
},
UpdateStrategy: &networkcloud.ClusterUpdateStrategyArgs{
MaxUnavailable: pulumi.Float64(4),
StrategyType: pulumi.String(networkcloud.ClusterUpdateStrategyTypeRack),
ThresholdType: pulumi.String(networkcloud.ValidationThresholdTypeCountSuccess),
ThresholdValue: pulumi.Float64(4),
WaitTimeMinutes: pulumi.Float64(10),
},
})
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.networkcloud.Cluster;
import com.pulumi.azurenative.networkcloud.ClusterArgs;
import com.pulumi.azurenative.networkcloud.inputs.RackDefinitionArgs;
import com.pulumi.azurenative.networkcloud.inputs.ServicePrincipalInformationArgs;
import com.pulumi.azurenative.networkcloud.inputs.ValidationThresholdArgs;
import com.pulumi.azurenative.networkcloud.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.networkcloud.inputs.ManagedResourceGroupConfigurationArgs;
import com.pulumi.azurenative.networkcloud.inputs.RuntimeProtectionConfigurationArgs;
import com.pulumi.azurenative.networkcloud.inputs.ClusterSecretArchiveArgs;
import com.pulumi.azurenative.networkcloud.inputs.ClusterUpdateStrategyArgs;
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()
.aggregatorOrSingleRackDefinition(RackDefinitionArgs.builder()
.bareMetalMachineConfigurationData(
BareMetalMachineConfigurationDataArgs.builder()
.bmcCredentials(AdministrativeCredentialsArgs.builder()
.password("{password}")
.username("username")
.build())
.bmcMacAddress("AA:BB:CC:DD:EE:FF")
.bootMacAddress("00:BB:CC:DD:EE:FF")
.machineDetails("extraDetails")
.machineName("bmmName1")
.rackSlot(1)
.serialNumber("BM1219XXX")
.build(),
BareMetalMachineConfigurationDataArgs.builder()
.bmcCredentials(AdministrativeCredentialsArgs.builder()
.password("{password}")
.username("username")
.build())
.bmcMacAddress("AA:BB:CC:DD:EE:00")
.bootMacAddress("00:BB:CC:DD:EE:00")
.machineDetails("extraDetails")
.machineName("bmmName2")
.rackSlot(2)
.serialNumber("BM1219YYY")
.build())
.networkRackId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName")
.rackLocation("Foo Datacenter, Floor 3, Aisle 9, Rack 2")
.rackSerialNumber("AA1234")
.rackSkuId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName")
.storageApplianceConfigurationData(StorageApplianceConfigurationDataArgs.builder()
.adminCredentials(AdministrativeCredentialsArgs.builder()
.password("{password}")
.username("username")
.build())
.rackSlot(1)
.serialNumber("BM1219XXX")
.storageApplianceName("vmName")
.build())
.build())
.analyticsWorkspaceId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName")
.clusterLocation("Foo Street, 3rd Floor, row 9")
.clusterName("clusterName")
.clusterServicePrincipal(ServicePrincipalInformationArgs.builder()
.applicationId("12345678-1234-1234-1234-123456789012")
.password("{password}")
.principalId("00000008-0004-0004-0004-000000000012")
.tenantId("80000000-4000-4000-4000-120000000000")
.build())
.clusterType("SingleRack")
.clusterVersion("1.0.0")
.computeDeploymentThreshold(ValidationThresholdArgs.builder()
.grouping("PerCluster")
.type("PercentSuccess")
.value(90)
.build())
.computeRackDefinitions(RackDefinitionArgs.builder()
.bareMetalMachineConfigurationData(
BareMetalMachineConfigurationDataArgs.builder()
.bmcCredentials(AdministrativeCredentialsArgs.builder()
.password("{password}")
.username("username")
.build())
.bmcMacAddress("AA:BB:CC:DD:EE:FF")
.bootMacAddress("00:BB:CC:DD:EE:FF")
.machineDetails("extraDetails")
.machineName("bmmName1")
.rackSlot(1)
.serialNumber("BM1219XXX")
.build(),
BareMetalMachineConfigurationDataArgs.builder()
.bmcCredentials(AdministrativeCredentialsArgs.builder()
.password("{password}")
.username("username")
.build())
.bmcMacAddress("AA:BB:CC:DD:EE:00")
.bootMacAddress("00:BB:CC:DD:EE:00")
.machineDetails("extraDetails")
.machineName("bmmName2")
.rackSlot(2)
.serialNumber("BM1219YYY")
.build())
.networkRackId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName")
.rackLocation("Foo Datacenter, Floor 3, Aisle 9, Rack 2")
.rackSerialNumber("AA1234")
.rackSkuId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName")
.storageApplianceConfigurationData(StorageApplianceConfigurationDataArgs.builder()
.adminCredentials(AdministrativeCredentialsArgs.builder()
.password("{password}")
.username("username")
.build())
.rackSlot(1)
.serialNumber("BM1219XXX")
.storageApplianceName("vmName")
.build())
.build())
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName")
.type("CustomLocation")
.build())
.location("location")
.managedResourceGroupConfiguration(ManagedResourceGroupConfigurationArgs.builder()
.location("East US")
.name("my-managed-rg")
.build())
.networkFabricId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName")
.resourceGroupName("resourceGroupName")
.runtimeProtectionConfiguration(RuntimeProtectionConfigurationArgs.builder()
.enforcementLevel("OnDemand")
.build())
.secretArchive(ClusterSecretArchiveArgs.builder()
.keyVaultId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName")
.useKeyVault("True")
.build())
.tags(Map.ofEntries(
Map.entry("key1", "myvalue1"),
Map.entry("key2", "myvalue2")
))
.updateStrategy(ClusterUpdateStrategyArgs.builder()
.maxUnavailable(4)
.strategyType("Rack")
.thresholdType("CountSuccess")
.thresholdValue(4)
.waitTimeMinutes(10)
.build())
.build());
}
}

Import

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

$ pulumi import azure-native:networkcloud:Cluster clusterName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}

Constructors

Link copied to clipboard
constructor(aggregatorOrSingleRackDefinition: Output<RackDefinitionArgs>? = null, analyticsWorkspaceId: Output<String>? = null, clusterLocation: Output<String>? = null, clusterName: Output<String>? = null, clusterServicePrincipal: Output<ServicePrincipalInformationArgs>? = null, clusterType: Output<Either<String, ClusterType>>? = null, clusterVersion: Output<String>? = null, computeDeploymentThreshold: Output<ValidationThresholdArgs>? = null, computeRackDefinitions: Output<List<RackDefinitionArgs>>? = null, extendedLocation: Output<ExtendedLocationArgs>? = null, location: Output<String>? = null, managedResourceGroupConfiguration: Output<ManagedResourceGroupConfigurationArgs>? = null, networkFabricId: Output<String>? = null, resourceGroupName: Output<String>? = null, runtimeProtectionConfiguration: Output<RuntimeProtectionConfigurationArgs>? = null, secretArchive: Output<ClusterSecretArchiveArgs>? = null, tags: Output<Map<String, String>>? = null, updateStrategy: Output<ClusterUpdateStrategyArgs>? = null)

Properties

Link copied to clipboard

The rack definition that is intended to reflect only a single rack in a single rack cluster, or an aggregator rack in a multi-rack cluster.

Link copied to clipboard
val analyticsWorkspaceId: Output<String>? = null

The resource ID of the Log Analytics Workspace that will be used for storing relevant logs.

Link copied to clipboard
val clusterLocation: Output<String>? = null

The customer-provided location information to identify where the cluster resides.

Link copied to clipboard
val clusterName: Output<String>? = null

The name of the cluster.

Link copied to clipboard

The service principal to be used by the cluster during Arc Appliance installation.

Link copied to clipboard
val clusterType: Output<Either<String, ClusterType>>? = null

The type of rack configuration for the cluster.

Link copied to clipboard
val clusterVersion: Output<String>? = null

The current runtime version of the cluster.

Link copied to clipboard

The validation threshold indicating the allowable failures of compute machines during environment validation and deployment.

Link copied to clipboard

The list of rack definitions for the compute racks in a multi-rack cluster, or an empty list in a single-rack cluster.

Link copied to clipboard

The extended location of the cluster manager associated with the cluster.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard

The configuration of the managed resource group associated with the resource.

Link copied to clipboard
val networkFabricId: Output<String>? = null

The resource ID of the Network Fabric associated with the cluster.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard

The settings for cluster runtime protection.

Link copied to clipboard

The configuration for use of a key vault to store secrets for later retrieval by the operator.

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

Resource tags.

Link copied to clipboard

The strategy for updating the cluster.

Functions

Link copied to clipboard
open override fun toJava(): ClusterArgs