ManagedCluster

class ManagedCluster : KotlinCustomResource

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

Properties

Link copied to clipboard

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

Link copied to clipboard

If true, backup service is enabled.

Link copied to clipboard

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>

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

Link copied to clipboard

If true, DNS service is enabled.

Link copied to clipboard
val httpGatewayPort: Output<Int>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

One or more lb_rule blocks as defined below.

Link copied to clipboard
val location: Output<String>

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>

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>?

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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>?

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>>?

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

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

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

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

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