azure-native.networkcloud.ClusterManager

API Version: 2022-12-12-preview.

Example Usage

Create or update cluster manager

using System.Collections.Generic;
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" },
        },
    });

});
package main

import (
	networkcloud "github.com/pulumi/pulumi-azure-native/sdk/go/azure/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
	})
}
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());

    }
}
import pulumi
import pulumi_azure_native as azure_native

cluster_manager = azure_native.networkcloud.ClusterManager("clusterManager",
    analytics_workspace_id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
    cluster_manager_name="clusterManagerName",
    fabric_controller_id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
    location="location",
    managed_resource_group_configuration=azure_native.networkcloud.ManagedResourceGroupConfigurationArgs(
        location="East US",
        name="my-managed-rg",
    ),
    resource_group_name="resourceGroupName",
    tags={
        "key1": "myvalue1",
        "key2": "myvalue2",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const clusterManager = new azure_native.networkcloud.ClusterManager("clusterManager", {
    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: {
        location: "East US",
        name: "my-managed-rg",
    },
    resourceGroupName: "resourceGroupName",
    tags: {
        key1: "myvalue1",
        key2: "myvalue2",
    },
});
resources:
  clusterManager:
    type: azure-native:networkcloud:ClusterManager
    properties:
      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:
        location: East US
        name: my-managed-rg
      resourceGroupName: resourceGroupName
      tags:
        key1: myvalue1
        key2: myvalue2

Create ClusterManager Resource

new ClusterManager(name: string, args: ClusterManagerArgs, opts?: CustomResourceOptions);
@overload
def ClusterManager(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   analytics_workspace_id: Optional[str] = None,
                   availability_zones: Optional[Sequence[str]] = None,
                   cluster_manager_name: Optional[str] = None,
                   fabric_controller_id: Optional[str] = None,
                   location: Optional[str] = None,
                   managed_resource_group_configuration: Optional[ManagedResourceGroupConfigurationArgs] = None,
                   resource_group_name: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   vm_size: Optional[str] = None)
@overload
def ClusterManager(resource_name: str,
                   args: ClusterManagerArgs,
                   opts: Optional[ResourceOptions] = None)
func NewClusterManager(ctx *Context, name string, args ClusterManagerArgs, opts ...ResourceOption) (*ClusterManager, error)
public ClusterManager(string name, ClusterManagerArgs args, CustomResourceOptions? opts = null)
public ClusterManager(String name, ClusterManagerArgs args)
public ClusterManager(String name, ClusterManagerArgs args, CustomResourceOptions options)
type: azure-native:networkcloud:ClusterManager
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ClusterManagerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ClusterManagerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ClusterManagerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ClusterManagerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ClusterManagerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ClusterManager Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ClusterManager resource accepts the following input properties:

FabricControllerId string

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

ResourceGroupName string

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

AnalyticsWorkspaceId string

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

AvailabilityZones List<string>

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.

ClusterManagerName string

The name of the cluster manager.

Location string

The geo-location where the resource lives

ManagedResourceGroupConfiguration Pulumi.AzureNative.NetworkCloud.Inputs.ManagedResourceGroupConfigurationArgs

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

Tags Dictionary<string, string>

Resource tags.

VmSize string

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.

FabricControllerId string

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

ResourceGroupName string

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

AnalyticsWorkspaceId string

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

AvailabilityZones []string

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.

ClusterManagerName string

The name of the cluster manager.

Location string

The geo-location where the resource lives

ManagedResourceGroupConfiguration ManagedResourceGroupConfigurationArgs

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

Tags map[string]string

Resource tags.

VmSize string

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.

fabricControllerId String

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

resourceGroupName String

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

analyticsWorkspaceId String

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

availabilityZones List<String>

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.

clusterManagerName String

The name of the cluster manager.

location String

The geo-location where the resource lives

managedResourceGroupConfiguration ManagedResourceGroupConfigurationArgs

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

tags Map<String,String>

Resource tags.

vmSize String

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.

fabricControllerId string

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

resourceGroupName string

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

analyticsWorkspaceId string

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

availabilityZones string[]

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.

clusterManagerName string

The name of the cluster manager.

location string

The geo-location where the resource lives

managedResourceGroupConfiguration ManagedResourceGroupConfigurationArgs

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

tags {[key: string]: string}

Resource tags.

vmSize string

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.

fabric_controller_id str

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

resource_group_name str

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

analytics_workspace_id str

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

availability_zones Sequence[str]

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.

cluster_manager_name str

The name of the cluster manager.

location str

The geo-location where the resource lives

managed_resource_group_configuration ManagedResourceGroupConfigurationArgs

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

tags Mapping[str, str]

Resource tags.

vm_size str

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.

fabricControllerId String

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

resourceGroupName String

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

analyticsWorkspaceId String

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

availabilityZones List<String>

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.

clusterManagerName String

The name of the cluster manager.

location String

The geo-location where the resource lives

managedResourceGroupConfiguration Property Map

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

tags Map<String>

Resource tags.

vmSize String

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the ClusterManager resource produces the following output properties:

ClusterVersions List<Pulumi.AzureNative.NetworkCloud.Outputs.ClusterAvailableVersionResponse>

The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.

DetailedStatus string

The detailed status that provides additional information about the cluster manager.

DetailedStatusMessage string

The descriptive message about the current detailed status.

Id string

The provider-assigned unique ID for this managed resource.

ManagerExtendedLocation Pulumi.AzureNative.NetworkCloud.Outputs.ExtendedLocationResponse

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.

Name string

The name of the resource

ProvisioningState string

The provisioning state of the cluster manager.

SystemData Pulumi.AzureNative.NetworkCloud.Outputs.SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

ClusterVersions []ClusterAvailableVersionResponse

The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.

DetailedStatus string

The detailed status that provides additional information about the cluster manager.

DetailedStatusMessage string

The descriptive message about the current detailed status.

Id string

The provider-assigned unique ID for this managed resource.

ManagerExtendedLocation ExtendedLocationResponse

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.

Name string

The name of the resource

ProvisioningState string

The provisioning state of the cluster manager.

SystemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

clusterVersions List<ClusterAvailableVersionResponse>

The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.

detailedStatus String

The detailed status that provides additional information about the cluster manager.

detailedStatusMessage String

The descriptive message about the current detailed status.

id String

The provider-assigned unique ID for this managed resource.

managerExtendedLocation ExtendedLocationResponse

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.

name String

The name of the resource

provisioningState String

The provisioning state of the cluster manager.

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

clusterVersions ClusterAvailableVersionResponse[]

The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.

detailedStatus string

The detailed status that provides additional information about the cluster manager.

detailedStatusMessage string

The descriptive message about the current detailed status.

id string

The provider-assigned unique ID for this managed resource.

managerExtendedLocation ExtendedLocationResponse

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.

name string

The name of the resource

provisioningState string

The provisioning state of the cluster manager.

systemData SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

cluster_versions Sequence[ClusterAvailableVersionResponse]

The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.

detailed_status str

The detailed status that provides additional information about the cluster manager.

detailed_status_message str

The descriptive message about the current detailed status.

id str

The provider-assigned unique ID for this managed resource.

manager_extended_location ExtendedLocationResponse

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.

name str

The name of the resource

provisioning_state str

The provisioning state of the cluster manager.

system_data SystemDataResponse

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

clusterVersions List<Property Map>

The list of the cluster versions the manager supports. It is used as input in clusterVersion property of a cluster resource.

detailedStatus String

The detailed status that provides additional information about the cluster manager.

detailedStatusMessage String

The descriptive message about the current detailed status.

id String

The provider-assigned unique ID for this managed resource.

managerExtendedLocation Property Map

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.

name String

The name of the resource

provisioningState String

The provisioning state of the cluster manager.

systemData Property Map

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

ClusterAvailableVersionResponse

SupportExpiryDate string

The last date the version of the platform is supported.

TargetClusterVersion string

The version of the cluster to be deployed.

SupportExpiryDate string

The last date the version of the platform is supported.

TargetClusterVersion string

The version of the cluster to be deployed.

supportExpiryDate String

The last date the version of the platform is supported.

targetClusterVersion String

The version of the cluster to be deployed.

supportExpiryDate string

The last date the version of the platform is supported.

targetClusterVersion string

The version of the cluster to be deployed.

support_expiry_date str

The last date the version of the platform is supported.

target_cluster_version str

The version of the cluster to be deployed.

supportExpiryDate String

The last date the version of the platform is supported.

targetClusterVersion String

The version of the cluster to be deployed.

ExtendedLocationResponse

Name string

The resource ID of the extended location on which the resource will be created.

Type string

The extended location type, for example, CustomLocation.

Name string

The resource ID of the extended location on which the resource will be created.

Type string

The extended location type, for example, CustomLocation.

name String

The resource ID of the extended location on which the resource will be created.

type String

The extended location type, for example, CustomLocation.

name string

The resource ID of the extended location on which the resource will be created.

type string

The extended location type, for example, CustomLocation.

name str

The resource ID of the extended location on which the resource will be created.

type str

The extended location type, for example, CustomLocation.

name String

The resource ID of the extended location on which the resource will be created.

type String

The extended location type, for example, CustomLocation.

ManagedResourceGroupConfiguration

Location string

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

Name string

The name for the managed resource group. If not specified, the unique name is automatically generated.

Location string

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

Name string

The name for the managed resource group. If not specified, the unique name is automatically generated.

location String

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

name String

The name for the managed resource group. If not specified, the unique name is automatically generated.

location string

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

name string

The name for the managed resource group. If not specified, the unique name is automatically generated.

location str

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

name str

The name for the managed resource group. If not specified, the unique name is automatically generated.

location String

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

name String

The name for the managed resource group. If not specified, the unique name is automatically generated.

ManagedResourceGroupConfigurationResponse

Location string

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

Name string

The name for the managed resource group. If not specified, the unique name is automatically generated.

Location string

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

Name string

The name for the managed resource group. If not specified, the unique name is automatically generated.

location String

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

name String

The name for the managed resource group. If not specified, the unique name is automatically generated.

location string

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

name string

The name for the managed resource group. If not specified, the unique name is automatically generated.

location str

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

name str

The name for the managed resource group. If not specified, the unique name is automatically generated.

location String

The location of the managed resource group. If not specified, the location of the parent resource is chosen.

name String

The name for the managed resource group. If not specified, the unique name is automatically generated.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

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 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0