Cluster Manager
Uses Azure REST API version 2025-02-01. In version 2.x of the Azure Native provider, it used API version 2023-10-01-preview. Other available API versions: 2023-10-01-preview, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native networkcloud [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
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",
Identity = new AzureNative.NetworkCloud.Inputs.ManagedServiceIdentityArgs
{
Type = AzureNative.NetworkCloud.ManagedServiceIdentityType.SystemAssigned,
},
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"),
Identity: &networkcloud.ManagedServiceIdentityArgs{
Type: pulumi.String(networkcloud.ManagedServiceIdentityTypeSystemAssigned),
},
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.ManagedServiceIdentityArgs;
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")
.identity(ManagedServiceIdentityArgs.builder()
.type("SystemAssigned")
.build())
.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}
Properties
The resource ID of the Log Analytics workspace that is used for the logs collection.
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.
The Azure API version of the resource.
The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.
The detailed status that provides additional information about the cluster manager.
The descriptive message about the current detailed status.
The resource ID of the fabric controller that has one to one mapping with the cluster manager.
The identity of the cluster manager.
The configuration of the managed resource group associated with the resource.
The extended location (custom location) that represents the cluster manager's control plane location. This extended location is used when creating cluster and rack manifest resources.
The provisioning state of the cluster manager.
Azure Resource Manager metadata containing createdBy and modifiedBy information.