ManagedClusterArgs

data class ManagedClusterArgs(val authentication: Output<ManagedClusterAuthenticationArgs>? = null, val backupServiceEnabled: Output<Boolean>? = null, val clientConnectionPort: Output<Int>? = null, val customFabricSettings: Output<List<ManagedClusterCustomFabricSettingArgs>>? = null, val dnsName: Output<String>? = null, val dnsServiceEnabled: Output<Boolean>? = null, val httpGatewayPort: Output<Int>? = null, val lbRules: Output<List<ManagedClusterLbRuleArgs>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val nodeTypes: Output<List<ManagedClusterNodeTypeArgs>>? = null, val password: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val upgradeWave: Output<String>? = null, val username: Output<String>? = null) : ConvertibleToJava<ManagedClusterArgs>

Manages a Resource Group.

Example Usage

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

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

Constructors

Link copied to clipboard
fun ManagedClusterArgs(authentication: Output<ManagedClusterAuthenticationArgs>? = null, backupServiceEnabled: Output<Boolean>? = null, clientConnectionPort: Output<Int>? = null, customFabricSettings: Output<List<ManagedClusterCustomFabricSettingArgs>>? = null, dnsName: Output<String>? = null, dnsServiceEnabled: Output<Boolean>? = null, httpGatewayPort: Output<Int>? = null, lbRules: Output<List<ManagedClusterLbRuleArgs>>? = null, location: Output<String>? = null, name: Output<String>? = null, nodeTypes: Output<List<ManagedClusterNodeTypeArgs>>? = null, password: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<String>? = null, tags: Output<Map<String, String>>? = null, upgradeWave: Output<String>? = null, username: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard

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

Link copied to clipboard
val backupServiceEnabled: Output<Boolean>? = null

If true, backup service is enabled.

Link copied to clipboard
val clientConnectionPort: Output<Int>? = null

Port to use when connecting to the cluster.

Link copied to clipboard

One or more custom_fabric_setting blocks as defined below.

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

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

Link copied to clipboard
val dnsServiceEnabled: Output<Boolean>? = null

If true, DNS service is enabled.

Link copied to clipboard
val httpGatewayPort: Output<Int>? = null

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

Link copied to clipboard
val lbRules: Output<List<ManagedClusterLbRuleArgs>>? = null

One or more lb_rule blocks as defined below.

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

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

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

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

Link copied to clipboard

One or more node_type blocks as defined below.

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

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

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

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

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

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

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

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

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

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

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

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