ClusterManagerArgs

data class ClusterManagerArgs(val analyticsWorkspaceId: Output<String>? = null, val availabilityZones: Output<List<String>>? = null, val clusterManagerName: Output<String>? = null, val fabricControllerId: Output<String>? = null, val location: Output<String>? = null, val managedResourceGroupConfiguration: Output<ManagedResourceGroupConfigurationArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vmSize: Output<String>? = null) : ConvertibleToJava<ClusterManagerArgs>

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 manager

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var clusterManager = new AzureNative.NetworkCloud.ClusterManager("clusterManager", new()
{
AnalyticsWorkspaceId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
ClusterManagerName = "clusterManagerName",
FabricControllerId = "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
Location = "location",
ManagedResourceGroupConfiguration = new AzureNative.NetworkCloud.Inputs.ManagedResourceGroupConfigurationArgs
{
Location = "East US",
Name = "my-managed-rg",
},
ResourceGroupName = "resourceGroupName",
Tags =
{
{ "key1", "myvalue1" },
{ "key2", "myvalue2" },
},
});
});
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.NewClusterManager(ctx, "clusterManager", &networkcloud.ClusterManagerArgs{
AnalyticsWorkspaceId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName"),
ClusterManagerName: pulumi.String("clusterManagerName"),
FabricControllerId: pulumi.String("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName"),
Location: pulumi.String("location"),
ManagedResourceGroupConfiguration: &networkcloud.ManagedResourceGroupConfigurationArgs{
Location: pulumi.String("East US"),
Name: pulumi.String("my-managed-rg"),
},
ResourceGroupName: pulumi.String("resourceGroupName"),
Tags: pulumi.StringMap{
"key1": pulumi.String("myvalue1"),
"key2": pulumi.String("myvalue2"),
},
})
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.ClusterManager;
import com.pulumi.azurenative.networkcloud.ClusterManagerArgs;
import com.pulumi.azurenative.networkcloud.inputs.ManagedResourceGroupConfigurationArgs;
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 clusterManager = new ClusterManager("clusterManager", ClusterManagerArgs.builder()
.analyticsWorkspaceId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName")
.clusterManagerName("clusterManagerName")
.fabricControllerId("/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName")
.location("location")
.managedResourceGroupConfiguration(ManagedResourceGroupConfigurationArgs.builder()
.location("East US")
.name("my-managed-rg")
.build())
.resourceGroupName("resourceGroupName")
.tags(Map.ofEntries(
Map.entry("key1", "myvalue1"),
Map.entry("key2", "myvalue2")
))
.build());
}
}

Import

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

$ pulumi import azure-native:networkcloud:ClusterManager clusterManagerName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusterManagers/{clusterManagerName}

Constructors

Link copied to clipboard
constructor(analyticsWorkspaceId: Output<String>? = null, availabilityZones: Output<List<String>>? = null, clusterManagerName: Output<String>? = null, fabricControllerId: Output<String>? = null, location: Output<String>? = null, managedResourceGroupConfiguration: Output<ManagedResourceGroupConfigurationArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, vmSize: Output<String>? = null)

Properties

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

The resource ID of the Log Analytics workspace that is used for the logs collection.

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

Field deprecated, this value will no longer influence the cluster manager allocation process and will be removed in a future version. The Azure availability zones within the region that will be used to support the cluster manager resource.

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

The name of the cluster manager.

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

The resource ID of the fabric controller that has one to one mapping with the cluster manager.

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 resourceGroupName: Output<String>? = null

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

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

Resource tags.

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

Field deprecated, this value will no longer influence the cluster manager allocation process and will be removed in a future version. The size of the Azure virtual machines to use for hosting the cluster manager resource.

Functions

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