Cluster Manager Args
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>
API Version: 2022-12-12-preview.
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/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
ClusterManagerName = "clusterManagerName",
FabricControllerId = "/subscriptions/subscriptionId/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" },
},
});
});
Content copied to clipboard
package main
import (
networkcloud "github.com/pulumi/pulumi-azure-native-sdk/networkcloud"
"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/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName"),
ClusterManagerName: pulumi.String("clusterManagerName"),
FabricControllerId: pulumi.String("/subscriptions/subscriptionId/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
})
}
Content copied to clipboard
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 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/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName")
.clusterManagerName("clusterManagerName")
.fabricControllerId("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName")
.location("location")
.managedResourceGroupConfiguration(Map.ofEntries(
Map.entry("location", "East US"),
Map.entry("name", "my-managed-rg")
))
.resourceGroupName("resourceGroupName")
.tags(Map.ofEntries(
Map.entry("key1", "myvalue1"),
Map.entry("key2", "myvalue2")
))
.build());
}
}
Content copied to clipboard
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
Content copied to clipboard
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
The resource ID of the Log Analytics workspace that is used for the logs collection.
Link copied to clipboard
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
The name of the cluster manager.
Link copied to clipboard
The resource ID of the fabric controller that has one to one mapping with the cluster manager.
Link copied to clipboard
The configuration of the managed resource group associated with the resource.
Link copied to clipboard
The name of the resource group. The name is case insensitive.