azure logo
Azure Classic v5.38.0, Mar 21 23

azure.servicefabric.ManagedCluster

Manages a Resource Group.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = new Azure.ServiceFabric.ManagedCluster("example", new()
    {
        ClientConnectionPort = 12345,
        HttpGatewayPort = 4567,
        LbRules = new[]
        {
            new Azure.ServiceFabric.Inputs.ManagedClusterLbRuleArgs
            {
                BackendPort = 38080,
                FrontendPort = 80,
                ProbeProtocol = "http",
                ProbeRequestPath = "/test",
                Protocol = "tcp",
            },
        },
        Location = "West Europe",
        NodeTypes = new[]
        {
            new Azure.ServiceFabric.Inputs.ManagedClusterNodeTypeArgs
            {
                ApplicationPortRange = "30000-49000",
                DataDiskSizeGb = 130,
                EphemeralPortRange = "10000-20000",
                Name = "test1",
                Primary = true,
                VmImageOffer = "WindowsServer",
                VmImagePublisher = "MicrosoftWindowsServer",
                VmImageSku = "2019-Datacenter-with-Containers",
                VmImageVersion = "latest",
                VmInstanceCount = 5,
                VmSize = "Standard_DS1_v2",
            },
        },
        ResourceGroupName = "example",
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/servicefabric"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicefabric.NewManagedCluster(ctx, "example", &servicefabric.ManagedClusterArgs{
			ClientConnectionPort: pulumi.Int(12345),
			HttpGatewayPort:      pulumi.Int(4567),
			LbRules: servicefabric.ManagedClusterLbRuleArray{
				&servicefabric.ManagedClusterLbRuleArgs{
					BackendPort:      pulumi.Int(38080),
					FrontendPort:     pulumi.Int(80),
					ProbeProtocol:    pulumi.String("http"),
					ProbeRequestPath: pulumi.String("/test"),
					Protocol:         pulumi.String("tcp"),
				},
			},
			Location: pulumi.String("West Europe"),
			NodeTypes: servicefabric.ManagedClusterNodeTypeArray{
				&servicefabric.ManagedClusterNodeTypeArgs{
					ApplicationPortRange: pulumi.String("30000-49000"),
					DataDiskSizeGb:       pulumi.Int(130),
					EphemeralPortRange:   pulumi.String("10000-20000"),
					Name:                 pulumi.String("test1"),
					Primary:              pulumi.Bool(true),
					VmImageOffer:         pulumi.String("WindowsServer"),
					VmImagePublisher:     pulumi.String("MicrosoftWindowsServer"),
					VmImageSku:           pulumi.String("2019-Datacenter-with-Containers"),
					VmImageVersion:       pulumi.String("latest"),
					VmInstanceCount:      pulumi.Int(5),
					VmSize:               pulumi.String("Standard_DS1_v2"),
				},
			},
			ResourceGroupName: pulumi.String("example"),
		})
		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.azure.servicefabric.ManagedCluster;
import com.pulumi.azure.servicefabric.ManagedClusterArgs;
import com.pulumi.azure.servicefabric.inputs.ManagedClusterLbRuleArgs;
import com.pulumi.azure.servicefabric.inputs.ManagedClusterNodeTypeArgs;
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 example = new ManagedCluster("example", ManagedClusterArgs.builder()        
            .clientConnectionPort(12345)
            .httpGatewayPort(4567)
            .lbRules(ManagedClusterLbRuleArgs.builder()
                .backendPort(38080)
                .frontendPort(80)
                .probeProtocol("http")
                .probeRequestPath("/test")
                .protocol("tcp")
                .build())
            .location("West Europe")
            .nodeTypes(ManagedClusterNodeTypeArgs.builder()
                .applicationPortRange("30000-49000")
                .dataDiskSizeGb(130)
                .ephemeralPortRange("10000-20000")
                .name("test1")
                .primary(true)
                .vmImageOffer("WindowsServer")
                .vmImagePublisher("MicrosoftWindowsServer")
                .vmImageSku("2019-Datacenter-with-Containers")
                .vmImageVersion("latest")
                .vmInstanceCount(5)
                .vmSize("Standard_DS1_v2")
                .build())
            .resourceGroupName("example")
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example = azure.servicefabric.ManagedCluster("example",
    client_connection_port=12345,
    http_gateway_port=4567,
    lb_rules=[azure.servicefabric.ManagedClusterLbRuleArgs(
        backend_port=38080,
        frontend_port=80,
        probe_protocol="http",
        probe_request_path="/test",
        protocol="tcp",
    )],
    location="West Europe",
    node_types=[azure.servicefabric.ManagedClusterNodeTypeArgs(
        application_port_range="30000-49000",
        data_disk_size_gb=130,
        ephemeral_port_range="10000-20000",
        name="test1",
        primary=True,
        vm_image_offer="WindowsServer",
        vm_image_publisher="MicrosoftWindowsServer",
        vm_image_sku="2019-Datacenter-with-Containers",
        vm_image_version="latest",
        vm_instance_count=5,
        vm_size="Standard_DS1_v2",
    )],
    resource_group_name="example")
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = new azure.servicefabric.ManagedCluster("example", {
    clientConnectionPort: 12345,
    httpGatewayPort: 4567,
    lbRules: [{
        backendPort: 38080,
        frontendPort: 80,
        probeProtocol: "http",
        probeRequestPath: "/test",
        protocol: "tcp",
    }],
    location: "West Europe",
    nodeTypes: [{
        applicationPortRange: "30000-49000",
        dataDiskSizeGb: 130,
        ephemeralPortRange: "10000-20000",
        name: "test1",
        primary: true,
        vmImageOffer: "WindowsServer",
        vmImagePublisher: "MicrosoftWindowsServer",
        vmImageSku: "2019-Datacenter-with-Containers",
        vmImageVersion: "latest",
        vmInstanceCount: 5,
        vmSize: "Standard_DS1_v2",
    }],
    resourceGroupName: "example",
});
resources:
  example:
    type: azure:servicefabric:ManagedCluster
    properties:
      clientConnectionPort: 12345
      httpGatewayPort: 4567
      lbRules:
        - backendPort: 38080
          frontendPort: 80
          probeProtocol: http
          probeRequestPath: /test
          protocol: tcp
      location: West Europe
      nodeTypes:
        - applicationPortRange: 30000-49000
          dataDiskSizeGb: 130
          ephemeralPortRange: 10000-20000
          name: test1
          primary: true
          vmImageOffer: WindowsServer
          vmImagePublisher: MicrosoftWindowsServer
          vmImageSku: 2019-Datacenter-with-Containers
          vmImageVersion: latest
          vmInstanceCount: 5
          vmSize: Standard_DS1_v2
      resourceGroupName: example

Create ManagedCluster Resource

new ManagedCluster(name: string, args: ManagedClusterArgs, opts?: CustomResourceOptions);
@overload
def ManagedCluster(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   authentication: Optional[ManagedClusterAuthenticationArgs] = None,
                   backup_service_enabled: Optional[bool] = None,
                   client_connection_port: Optional[int] = None,
                   custom_fabric_settings: Optional[Sequence[ManagedClusterCustomFabricSettingArgs]] = None,
                   dns_name: Optional[str] = None,
                   dns_service_enabled: Optional[bool] = None,
                   http_gateway_port: Optional[int] = None,
                   lb_rules: Optional[Sequence[ManagedClusterLbRuleArgs]] = None,
                   location: Optional[str] = None,
                   name: Optional[str] = None,
                   node_types: Optional[Sequence[ManagedClusterNodeTypeArgs]] = None,
                   password: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   sku: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   upgrade_wave: Optional[str] = None,
                   username: Optional[str] = None)
@overload
def ManagedCluster(resource_name: str,
                   args: ManagedClusterArgs,
                   opts: Optional[ResourceOptions] = None)
func NewManagedCluster(ctx *Context, name string, args ManagedClusterArgs, opts ...ResourceOption) (*ManagedCluster, error)
public ManagedCluster(string name, ManagedClusterArgs args, CustomResourceOptions? opts = null)
public ManagedCluster(String name, ManagedClusterArgs args)
public ManagedCluster(String name, ManagedClusterArgs args, CustomResourceOptions options)
type: azure:servicefabric:ManagedCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ManagedClusterArgs
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 ManagedClusterArgs
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 ManagedClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ManagedClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ManagedClusterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ManagedCluster 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 ManagedCluster resource accepts the following input properties:

ClientConnectionPort int

Port to use when connecting to the cluster.

HttpGatewayPort int

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

LbRules List<ManagedClusterLbRuleArgs>

One or more lb_rule blocks as defined below.

ResourceGroupName string

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

Authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

BackupServiceEnabled bool

If true, backup service is enabled.

CustomFabricSettings List<ManagedClusterCustomFabricSettingArgs>

One or more custom_fabric_setting blocks as defined below.

DnsName string

Hostname for the cluster. If unset the cluster's name will be used..

DnsServiceEnabled bool

If true, DNS service is enabled.

Location string

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

Name string

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

NodeTypes List<ManagedClusterNodeTypeArgs>

One or more node_type blocks as defined below.

Password string

Administrator password for the VMs that will be created as part of this cluster.

Sku string

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Resource Group.

UpgradeWave string

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

Username string

Administrator password for the VMs that will be created as part of this cluster.

ClientConnectionPort int

Port to use when connecting to the cluster.

HttpGatewayPort int

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

LbRules []ManagedClusterLbRuleArgs

One or more lb_rule blocks as defined below.

ResourceGroupName string

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

Authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

BackupServiceEnabled bool

If true, backup service is enabled.

CustomFabricSettings []ManagedClusterCustomFabricSettingArgs

One or more custom_fabric_setting blocks as defined below.

DnsName string

Hostname for the cluster. If unset the cluster's name will be used..

DnsServiceEnabled bool

If true, DNS service is enabled.

Location string

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

Name string

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

NodeTypes []ManagedClusterNodeTypeArgs

One or more node_type blocks as defined below.

Password string

Administrator password for the VMs that will be created as part of this cluster.

Sku string

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

Tags map[string]string

A mapping of tags which should be assigned to the Resource Group.

UpgradeWave string

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

Username string

Administrator password for the VMs that will be created as part of this cluster.

clientConnectionPort Integer

Port to use when connecting to the cluster.

httpGatewayPort Integer

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

lbRules List<ManagedClusterLbRuleArgs>

One or more lb_rule blocks as defined below.

resourceGroupName String

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

backupServiceEnabled Boolean

If true, backup service is enabled.

customFabricSettings List<ManagedClusterCustomFabricSettingArgs>

One or more custom_fabric_setting blocks as defined below.

dnsName String

Hostname for the cluster. If unset the cluster's name will be used..

dnsServiceEnabled Boolean

If true, DNS service is enabled.

location String

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

name String

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

nodeTypes List<ManagedClusterNodeTypeArgs>

One or more node_type blocks as defined below.

password String

Administrator password for the VMs that will be created as part of this cluster.

sku String

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

tags Map<String,String>

A mapping of tags which should be assigned to the Resource Group.

upgradeWave String

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

username String

Administrator password for the VMs that will be created as part of this cluster.

clientConnectionPort number

Port to use when connecting to the cluster.

httpGatewayPort number

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

lbRules ManagedClusterLbRuleArgs[]

One or more lb_rule blocks as defined below.

resourceGroupName string

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

backupServiceEnabled boolean

If true, backup service is enabled.

customFabricSettings ManagedClusterCustomFabricSettingArgs[]

One or more custom_fabric_setting blocks as defined below.

dnsName string

Hostname for the cluster. If unset the cluster's name will be used..

dnsServiceEnabled boolean

If true, DNS service is enabled.

location string

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

name string

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

nodeTypes ManagedClusterNodeTypeArgs[]

One or more node_type blocks as defined below.

password string

Administrator password for the VMs that will be created as part of this cluster.

sku string

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Resource Group.

upgradeWave string

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

username string

Administrator password for the VMs that will be created as part of this cluster.

client_connection_port int

Port to use when connecting to the cluster.

http_gateway_port int

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

lb_rules Sequence[ManagedClusterLbRuleArgs]

One or more lb_rule blocks as defined below.

resource_group_name str

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

backup_service_enabled bool

If true, backup service is enabled.

custom_fabric_settings Sequence[ManagedClusterCustomFabricSettingArgs]

One or more custom_fabric_setting blocks as defined below.

dns_name str

Hostname for the cluster. If unset the cluster's name will be used..

dns_service_enabled bool

If true, DNS service is enabled.

location str

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

name str

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

node_types Sequence[ManagedClusterNodeTypeArgs]

One or more node_type blocks as defined below.

password str

Administrator password for the VMs that will be created as part of this cluster.

sku str

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Resource Group.

upgrade_wave str

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

username str

Administrator password for the VMs that will be created as part of this cluster.

clientConnectionPort Number

Port to use when connecting to the cluster.

httpGatewayPort Number

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

lbRules List<Property Map>

One or more lb_rule blocks as defined below.

resourceGroupName String

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

authentication Property Map

Controls how connections to the cluster are authenticated. A authentication block as defined below.

backupServiceEnabled Boolean

If true, backup service is enabled.

customFabricSettings List<Property Map>

One or more custom_fabric_setting blocks as defined below.

dnsName String

Hostname for the cluster. If unset the cluster's name will be used..

dnsServiceEnabled Boolean

If true, DNS service is enabled.

location String

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

name String

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

nodeTypes List<Property Map>

One or more node_type blocks as defined below.

password String

Administrator password for the VMs that will be created as part of this cluster.

sku String

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

tags Map<String>

A mapping of tags which should be assigned to the Resource Group.

upgradeWave String

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

username String

Administrator password for the VMs that will be created as part of this cluster.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing ManagedCluster Resource

Get an existing ManagedCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ManagedClusterState, opts?: CustomResourceOptions): ManagedCluster
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication: Optional[ManagedClusterAuthenticationArgs] = None,
        backup_service_enabled: Optional[bool] = None,
        client_connection_port: Optional[int] = None,
        custom_fabric_settings: Optional[Sequence[ManagedClusterCustomFabricSettingArgs]] = None,
        dns_name: Optional[str] = None,
        dns_service_enabled: Optional[bool] = None,
        http_gateway_port: Optional[int] = None,
        lb_rules: Optional[Sequence[ManagedClusterLbRuleArgs]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        node_types: Optional[Sequence[ManagedClusterNodeTypeArgs]] = None,
        password: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        sku: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        upgrade_wave: Optional[str] = None,
        username: Optional[str] = None) -> ManagedCluster
func GetManagedCluster(ctx *Context, name string, id IDInput, state *ManagedClusterState, opts ...ResourceOption) (*ManagedCluster, error)
public static ManagedCluster Get(string name, Input<string> id, ManagedClusterState? state, CustomResourceOptions? opts = null)
public static ManagedCluster get(String name, Output<String> id, ManagedClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

BackupServiceEnabled bool

If true, backup service is enabled.

ClientConnectionPort int

Port to use when connecting to the cluster.

CustomFabricSettings List<ManagedClusterCustomFabricSettingArgs>

One or more custom_fabric_setting blocks as defined below.

DnsName string

Hostname for the cluster. If unset the cluster's name will be used..

DnsServiceEnabled bool

If true, DNS service is enabled.

HttpGatewayPort int

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

LbRules List<ManagedClusterLbRuleArgs>

One or more lb_rule blocks as defined below.

Location string

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

Name string

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

NodeTypes List<ManagedClusterNodeTypeArgs>

One or more node_type blocks as defined below.

Password string

Administrator password for the VMs that will be created as part of this cluster.

ResourceGroupName string

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

Sku string

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Resource Group.

UpgradeWave string

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

Username string

Administrator password for the VMs that will be created as part of this cluster.

Authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

BackupServiceEnabled bool

If true, backup service is enabled.

ClientConnectionPort int

Port to use when connecting to the cluster.

CustomFabricSettings []ManagedClusterCustomFabricSettingArgs

One or more custom_fabric_setting blocks as defined below.

DnsName string

Hostname for the cluster. If unset the cluster's name will be used..

DnsServiceEnabled bool

If true, DNS service is enabled.

HttpGatewayPort int

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

LbRules []ManagedClusterLbRuleArgs

One or more lb_rule blocks as defined below.

Location string

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

Name string

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

NodeTypes []ManagedClusterNodeTypeArgs

One or more node_type blocks as defined below.

Password string

Administrator password for the VMs that will be created as part of this cluster.

ResourceGroupName string

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

Sku string

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

Tags map[string]string

A mapping of tags which should be assigned to the Resource Group.

UpgradeWave string

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

Username string

Administrator password for the VMs that will be created as part of this cluster.

authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

backupServiceEnabled Boolean

If true, backup service is enabled.

clientConnectionPort Integer

Port to use when connecting to the cluster.

customFabricSettings List<ManagedClusterCustomFabricSettingArgs>

One or more custom_fabric_setting blocks as defined below.

dnsName String

Hostname for the cluster. If unset the cluster's name will be used..

dnsServiceEnabled Boolean

If true, DNS service is enabled.

httpGatewayPort Integer

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

lbRules List<ManagedClusterLbRuleArgs>

One or more lb_rule blocks as defined below.

location String

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

name String

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

nodeTypes List<ManagedClusterNodeTypeArgs>

One or more node_type blocks as defined below.

password String

Administrator password for the VMs that will be created as part of this cluster.

resourceGroupName String

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

sku String

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

tags Map<String,String>

A mapping of tags which should be assigned to the Resource Group.

upgradeWave String

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

username String

Administrator password for the VMs that will be created as part of this cluster.

authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

backupServiceEnabled boolean

If true, backup service is enabled.

clientConnectionPort number

Port to use when connecting to the cluster.

customFabricSettings ManagedClusterCustomFabricSettingArgs[]

One or more custom_fabric_setting blocks as defined below.

dnsName string

Hostname for the cluster. If unset the cluster's name will be used..

dnsServiceEnabled boolean

If true, DNS service is enabled.

httpGatewayPort number

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

lbRules ManagedClusterLbRuleArgs[]

One or more lb_rule blocks as defined below.

location string

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

name string

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

nodeTypes ManagedClusterNodeTypeArgs[]

One or more node_type blocks as defined below.

password string

Administrator password for the VMs that will be created as part of this cluster.

resourceGroupName string

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

sku string

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Resource Group.

upgradeWave string

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

username string

Administrator password for the VMs that will be created as part of this cluster.

authentication ManagedClusterAuthenticationArgs

Controls how connections to the cluster are authenticated. A authentication block as defined below.

backup_service_enabled bool

If true, backup service is enabled.

client_connection_port int

Port to use when connecting to the cluster.

custom_fabric_settings Sequence[ManagedClusterCustomFabricSettingArgs]

One or more custom_fabric_setting blocks as defined below.

dns_name str

Hostname for the cluster. If unset the cluster's name will be used..

dns_service_enabled bool

If true, DNS service is enabled.

http_gateway_port int

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

lb_rules Sequence[ManagedClusterLbRuleArgs]

One or more lb_rule blocks as defined below.

location str

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

name str

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

node_types Sequence[ManagedClusterNodeTypeArgs]

One or more node_type blocks as defined below.

password str

Administrator password for the VMs that will be created as part of this cluster.

resource_group_name str

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

sku str

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Resource Group.

upgrade_wave str

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

username str

Administrator password for the VMs that will be created as part of this cluster.

authentication Property Map

Controls how connections to the cluster are authenticated. A authentication block as defined below.

backupServiceEnabled Boolean

If true, backup service is enabled.

clientConnectionPort Number

Port to use when connecting to the cluster.

customFabricSettings List<Property Map>

One or more custom_fabric_setting blocks as defined below.

dnsName String

Hostname for the cluster. If unset the cluster's name will be used..

dnsServiceEnabled Boolean

If true, DNS service is enabled.

httpGatewayPort Number

Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.

lbRules List<Property Map>

One or more lb_rule blocks as defined below.

location String

The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

name String

The name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

nodeTypes List<Property Map>

One or more node_type blocks as defined below.

password String

Administrator password for the VMs that will be created as part of this cluster.

resourceGroupName String

The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.

sku String

SKU for this cluster. Changing this forces a new resource to be created. Default is Basic, allowed values are either Basic or Standard.

tags Map<String>

A mapping of tags which should be assigned to the Resource Group.

upgradeWave String

Upgrade wave for the fabric runtime. Default is Wave0, allowed value must be one of Wave0, Wave1, or Wave2.

username String

Administrator password for the VMs that will be created as part of this cluster.

Supporting Types

ManagedClusterAuthentication

ActiveDirectory ManagedClusterAuthenticationActiveDirectory

A active_directory block as defined above.

Certificates List<ManagedClusterAuthenticationCertificate>

One or more certificate blocks as defined below.

ActiveDirectory ManagedClusterAuthenticationActiveDirectory

A active_directory block as defined above.

Certificates []ManagedClusterAuthenticationCertificate

One or more certificate blocks as defined below.

activeDirectory ManagedClusterAuthenticationActiveDirectory

A active_directory block as defined above.

certificates List<ManagedClusterAuthenticationCertificate>

One or more certificate blocks as defined below.

activeDirectory ManagedClusterAuthenticationActiveDirectory

A active_directory block as defined above.

certificates ManagedClusterAuthenticationCertificate[]

One or more certificate blocks as defined below.

active_directory ManagedClusterAuthenticationActiveDirectory

A active_directory block as defined above.

certificates Sequence[ManagedClusterAuthenticationCertificate]

One or more certificate blocks as defined below.

activeDirectory Property Map

A active_directory block as defined above.

certificates List<Property Map>

One or more certificate blocks as defined below.

ManagedClusterAuthenticationActiveDirectory

ClientApplicationId string

The ID of the Client Application.

ClusterApplicationId string

The ID of the Cluster Application.

TenantId string

The ID of the Tenant.

ClientApplicationId string

The ID of the Client Application.

ClusterApplicationId string

The ID of the Cluster Application.

TenantId string

The ID of the Tenant.

clientApplicationId String

The ID of the Client Application.

clusterApplicationId String

The ID of the Cluster Application.

tenantId String

The ID of the Tenant.

clientApplicationId string

The ID of the Client Application.

clusterApplicationId string

The ID of the Cluster Application.

tenantId string

The ID of the Tenant.

client_application_id str

The ID of the Client Application.

cluster_application_id str

The ID of the Cluster Application.

tenant_id str

The ID of the Tenant.

clientApplicationId String

The ID of the Client Application.

clusterApplicationId String

The ID of the Cluster Application.

tenantId String

The ID of the Tenant.

ManagedClusterAuthenticationCertificate

Thumbprint string

The thumbprint of the certificate.

Type string

The type of the certificate. Can be AdminClient or ReadOnlyClient.

CommonName string

The certificate's CN.

Thumbprint string

The thumbprint of the certificate.

Type string

The type of the certificate. Can be AdminClient or ReadOnlyClient.

CommonName string

The certificate's CN.

thumbprint String

The thumbprint of the certificate.

type String

The type of the certificate. Can be AdminClient or ReadOnlyClient.

commonName String

The certificate's CN.

thumbprint string

The thumbprint of the certificate.

type string

The type of the certificate. Can be AdminClient or ReadOnlyClient.

commonName string

The certificate's CN.

thumbprint str

The thumbprint of the certificate.

type str

The type of the certificate. Can be AdminClient or ReadOnlyClient.

common_name str

The certificate's CN.

thumbprint String

The thumbprint of the certificate.

type String

The type of the certificate. Can be AdminClient or ReadOnlyClient.

commonName String

The certificate's CN.

ManagedClusterCustomFabricSetting

Parameter string

Parameter name.

Section string

Section name.

Value string

Parameter value.

Parameter string

Parameter name.

Section string

Section name.

Value string

Parameter value.

parameter String

Parameter name.

section String

Section name.

value String

Parameter value.

parameter string

Parameter name.

section string

Section name.

value string

Parameter value.

parameter str

Parameter name.

section str

Section name.

value str

Parameter value.

parameter String

Parameter name.

section String

Section name.

value String

Parameter value.

ManagedClusterLbRule

BackendPort int

LB Backend port.

FrontendPort int

LB Frontend port.

ProbeProtocol string

Protocol for the probe. Can be one of tcp, udp, http, or https.

Protocol string

The transport protocol used in this rule. Can be one of tcp or udp.

ProbeRequestPath string

Path for the probe to check, when probe protocol is set to http.

BackendPort int

LB Backend port.

FrontendPort int

LB Frontend port.

ProbeProtocol string

Protocol for the probe. Can be one of tcp, udp, http, or https.

Protocol string

The transport protocol used in this rule. Can be one of tcp or udp.

ProbeRequestPath string

Path for the probe to check, when probe protocol is set to http.

backendPort Integer

LB Backend port.

frontendPort Integer

LB Frontend port.

probeProtocol String

Protocol for the probe. Can be one of tcp, udp, http, or https.

protocol String

The transport protocol used in this rule. Can be one of tcp or udp.

probeRequestPath String

Path for the probe to check, when probe protocol is set to http.

backendPort number

LB Backend port.

frontendPort number

LB Frontend port.

probeProtocol string

Protocol for the probe. Can be one of tcp, udp, http, or https.

protocol string

The transport protocol used in this rule. Can be one of tcp or udp.

probeRequestPath string

Path for the probe to check, when probe protocol is set to http.

backend_port int

LB Backend port.

frontend_port int

LB Frontend port.

probe_protocol str

Protocol for the probe. Can be one of tcp, udp, http, or https.

protocol str

The transport protocol used in this rule. Can be one of tcp or udp.

probe_request_path str

Path for the probe to check, when probe protocol is set to http.

backendPort Number

LB Backend port.

frontendPort Number

LB Frontend port.

probeProtocol String

Protocol for the probe. Can be one of tcp, udp, http, or https.

protocol String

The transport protocol used in this rule. Can be one of tcp or udp.

probeRequestPath String

Path for the probe to check, when probe protocol is set to http.

ManagedClusterNodeType

ApplicationPortRange string

Sets the port range available for applications. Format is <from_port>-<to_port>, for example 10000-20000.

DataDiskSizeGb int

The size of the data disk in gigabytes..

EphemeralPortRange string

Sets the port range available for the OS. Format is <from_port>-<to_port>, for example 10000-20000. There has to be at least 255 ports available and cannot overlap with application_port_range..

Name string

The name which should be used for this node type.

VmImageOffer string

The offer type of the marketplace image cluster VMs will use.

VmImagePublisher string

The publisher of the marketplace image cluster VMs will use.

VmImageSku string

The SKU of the marketplace image cluster VMs will use.

VmImageVersion string

The version of the marketplace image cluster VMs will use.

VmInstanceCount int

The number of instances this node type will launch.

VmSize string

The size of the instances in this node type.

Capacities Dictionary<string, string>

Specifies a list of key/value pairs used to set capacity tags for this node type.

DataDiskType string

The type of the disk to use for storing data. It can be one of Premium_LRS, Standard_LRS, or StandardSSD_LRS.

Id string

The ID of the Resource Group.

MultiplePlacementGroupsEnabled bool

If set the node type can be composed of multiple placement groups.

PlacementProperties Dictionary<string, string>

Specifies a list of placement tags that can be used to indicate where services should run..

Primary bool

If set to true, system services will run on this node type. Only one node type should be marked as primary. Primary node type cannot be deleted or changed once they're created.

Stateless bool

If set to true, only stateless workloads can run on this node type.

VmSecrets List<ManagedClusterNodeTypeVmSecret>

One or more vm_secrets blocks as defined below.

ApplicationPortRange string

Sets the port range available for applications. Format is <from_port>-<to_port>, for example 10000-20000.

DataDiskSizeGb int

The size of the data disk in gigabytes..

EphemeralPortRange string

Sets the port range available for the OS. Format is <from_port>-<to_port>, for example 10000-20000. There has to be at least 255 ports available and cannot overlap with application_port_range..

Name string

The name which should be used for this node type.

VmImageOffer string

The offer type of the marketplace image cluster VMs will use.

VmImagePublisher string

The publisher of the marketplace image cluster VMs will use.

VmImageSku string

The SKU of the marketplace image cluster VMs will use.

VmImageVersion string

The version of the marketplace image cluster VMs will use.

VmInstanceCount int

The number of instances this node type will launch.

VmSize string

The size of the instances in this node type.

Capacities map[string]string

Specifies a list of key/value pairs used to set capacity tags for this node type.

DataDiskType string

The type of the disk to use for storing data. It can be one of Premium_LRS, Standard_LRS, or StandardSSD_LRS.

Id string

The ID of the Resource Group.

MultiplePlacementGroupsEnabled bool

If set the node type can be composed of multiple placement groups.

PlacementProperties map[string]string

Specifies a list of placement tags that can be used to indicate where services should run..

Primary bool

If set to true, system services will run on this node type. Only one node type should be marked as primary. Primary node type cannot be deleted or changed once they're created.

Stateless bool

If set to true, only stateless workloads can run on this node type.

VmSecrets []ManagedClusterNodeTypeVmSecret

One or more vm_secrets blocks as defined below.

applicationPortRange String

Sets the port range available for applications. Format is <from_port>-<to_port>, for example 10000-20000.

dataDiskSizeGb Integer

The size of the data disk in gigabytes..

ephemeralPortRange String

Sets the port range available for the OS. Format is <from_port>-<to_port>, for example 10000-20000. There has to be at least 255 ports available and cannot overlap with application_port_range..

name String

The name which should be used for this node type.

vmImageOffer String

The offer type of the marketplace image cluster VMs will use.

vmImagePublisher String

The publisher of the marketplace image cluster VMs will use.

vmImageSku String

The SKU of the marketplace image cluster VMs will use.

vmImageVersion String

The version of the marketplace image cluster VMs will use.

vmInstanceCount Integer

The number of instances this node type will launch.

vmSize String

The size of the instances in this node type.

capacities Map<String,String>

Specifies a list of key/value pairs used to set capacity tags for this node type.

dataDiskType String

The type of the disk to use for storing data. It can be one of Premium_LRS, Standard_LRS, or StandardSSD_LRS.

id String

The ID of the Resource Group.

multiplePlacementGroupsEnabled Boolean

If set the node type can be composed of multiple placement groups.

placementProperties Map<String,String>

Specifies a list of placement tags that can be used to indicate where services should run..

primary Boolean

If set to true, system services will run on this node type. Only one node type should be marked as primary. Primary node type cannot be deleted or changed once they're created.

stateless Boolean

If set to true, only stateless workloads can run on this node type.

vmSecrets List<ManagedClusterNodeTypeVmSecret>

One or more vm_secrets blocks as defined below.

applicationPortRange string

Sets the port range available for applications. Format is <from_port>-<to_port>, for example 10000-20000.

dataDiskSizeGb number

The size of the data disk in gigabytes..

ephemeralPortRange string

Sets the port range available for the OS. Format is <from_port>-<to_port>, for example 10000-20000. There has to be at least 255 ports available and cannot overlap with application_port_range..

name string

The name which should be used for this node type.

vmImageOffer string

The offer type of the marketplace image cluster VMs will use.

vmImagePublisher string

The publisher of the marketplace image cluster VMs will use.

vmImageSku string

The SKU of the marketplace image cluster VMs will use.

vmImageVersion string

The version of the marketplace image cluster VMs will use.

vmInstanceCount number

The number of instances this node type will launch.

vmSize string

The size of the instances in this node type.

capacities {[key: string]: string}

Specifies a list of key/value pairs used to set capacity tags for this node type.

dataDiskType string

The type of the disk to use for storing data. It can be one of Premium_LRS, Standard_LRS, or StandardSSD_LRS.

id string

The ID of the Resource Group.

multiplePlacementGroupsEnabled boolean

If set the node type can be composed of multiple placement groups.

placementProperties {[key: string]: string}

Specifies a list of placement tags that can be used to indicate where services should run..

primary boolean

If set to true, system services will run on this node type. Only one node type should be marked as primary. Primary node type cannot be deleted or changed once they're created.

stateless boolean

If set to true, only stateless workloads can run on this node type.

vmSecrets ManagedClusterNodeTypeVmSecret[]

One or more vm_secrets blocks as defined below.

application_port_range str

Sets the port range available for applications. Format is <from_port>-<to_port>, for example 10000-20000.

data_disk_size_gb int

The size of the data disk in gigabytes..

ephemeral_port_range str

Sets the port range available for the OS. Format is <from_port>-<to_port>, for example 10000-20000. There has to be at least 255 ports available and cannot overlap with application_port_range..

name str

The name which should be used for this node type.

vm_image_offer str

The offer type of the marketplace image cluster VMs will use.

vm_image_publisher str

The publisher of the marketplace image cluster VMs will use.

vm_image_sku str

The SKU of the marketplace image cluster VMs will use.

vm_image_version str

The version of the marketplace image cluster VMs will use.

vm_instance_count int

The number of instances this node type will launch.

vm_size str

The size of the instances in this node type.

capacities Mapping[str, str]

Specifies a list of key/value pairs used to set capacity tags for this node type.

data_disk_type str

The type of the disk to use for storing data. It can be one of Premium_LRS, Standard_LRS, or StandardSSD_LRS.

id str

The ID of the Resource Group.

multiple_placement_groups_enabled bool

If set the node type can be composed of multiple placement groups.

placement_properties Mapping[str, str]

Specifies a list of placement tags that can be used to indicate where services should run..

primary bool

If set to true, system services will run on this node type. Only one node type should be marked as primary. Primary node type cannot be deleted or changed once they're created.

stateless bool

If set to true, only stateless workloads can run on this node type.

vm_secrets Sequence[ManagedClusterNodeTypeVmSecret]

One or more vm_secrets blocks as defined below.

applicationPortRange String

Sets the port range available for applications. Format is <from_port>-<to_port>, for example 10000-20000.

dataDiskSizeGb Number

The size of the data disk in gigabytes..

ephemeralPortRange String

Sets the port range available for the OS. Format is <from_port>-<to_port>, for example 10000-20000. There has to be at least 255 ports available and cannot overlap with application_port_range..

name String

The name which should be used for this node type.

vmImageOffer String

The offer type of the marketplace image cluster VMs will use.

vmImagePublisher String

The publisher of the marketplace image cluster VMs will use.

vmImageSku String

The SKU of the marketplace image cluster VMs will use.

vmImageVersion String

The version of the marketplace image cluster VMs will use.

vmInstanceCount Number

The number of instances this node type will launch.

vmSize String

The size of the instances in this node type.

capacities Map<String>

Specifies a list of key/value pairs used to set capacity tags for this node type.

dataDiskType String

The type of the disk to use for storing data. It can be one of Premium_LRS, Standard_LRS, or StandardSSD_LRS.

id String

The ID of the Resource Group.

multiplePlacementGroupsEnabled Boolean

If set the node type can be composed of multiple placement groups.

placementProperties Map<String>

Specifies a list of placement tags that can be used to indicate where services should run..

primary Boolean

If set to true, system services will run on this node type. Only one node type should be marked as primary. Primary node type cannot be deleted or changed once they're created.

stateless Boolean

If set to true, only stateless workloads can run on this node type.

vmSecrets List<Property Map>

One or more vm_secrets blocks as defined below.

ManagedClusterNodeTypeVmSecret

Certificates List<ManagedClusterNodeTypeVmSecretCertificate>

One or more certificates blocks as defined above.

VaultId string

The ID of the Vault that contain the certificates.

Certificates []ManagedClusterNodeTypeVmSecretCertificate

One or more certificates blocks as defined above.

VaultId string

The ID of the Vault that contain the certificates.

certificates List<ManagedClusterNodeTypeVmSecretCertificate>

One or more certificates blocks as defined above.

vaultId String

The ID of the Vault that contain the certificates.

certificates ManagedClusterNodeTypeVmSecretCertificate[]

One or more certificates blocks as defined above.

vaultId string

The ID of the Vault that contain the certificates.

certificates Sequence[ManagedClusterNodeTypeVmSecretCertificate]

One or more certificates blocks as defined above.

vault_id str

The ID of the Vault that contain the certificates.

certificates List<Property Map>

One or more certificates blocks as defined above.

vaultId String

The ID of the Vault that contain the certificates.

ManagedClusterNodeTypeVmSecretCertificate

Store string

The certificate store on the Virtual Machine to which the certificate should be added.

Url string

The URL of a certificate that has been uploaded to Key Vault as a secret

Store string

The certificate store on the Virtual Machine to which the certificate should be added.

Url string

The URL of a certificate that has been uploaded to Key Vault as a secret

store String

The certificate store on the Virtual Machine to which the certificate should be added.

url String

The URL of a certificate that has been uploaded to Key Vault as a secret

store string

The certificate store on the Virtual Machine to which the certificate should be added.

url string

The URL of a certificate that has been uploaded to Key Vault as a secret

store str

The certificate store on the Virtual Machine to which the certificate should be added.

url str

The URL of a certificate that has been uploaded to Key Vault as a secret

store String

The certificate store on the Virtual Machine to which the certificate should be added.

url String

The URL of a certificate that has been uploaded to Key Vault as a secret

Import

Resource Groups can be imported using the resource id, e.g.

 $ pulumi import azure:servicefabric/managedCluster:ManagedCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ServiceFabric/managedClusters/clusterName1

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.