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:
- Client
Connection intPort Port to use when connecting to the cluster.
- Http
Gateway intPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- Lb
Rules List<ManagedCluster Lb Rule Args> One or more
lb_rule
blocks as defined below.- Resource
Group stringName The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.
- Authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- Backup
Service boolEnabled If true, backup service is enabled.
- Custom
Fabric List<ManagedSettings Cluster Custom Fabric Setting Args> One or more
custom_fabric_setting
blocks as defined below.- Dns
Name string Hostname for the cluster. If unset the cluster's name will be used..
- Dns
Service boolEnabled 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.
- Node
Types List<ManagedCluster Node Type Args> 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 eitherBasic
orStandard
.- Dictionary<string, string>
A mapping of tags which should be assigned to the Resource Group.
- Upgrade
Wave string Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- Username string
Administrator password for the VMs that will be created as part of this cluster.
- Client
Connection intPort Port to use when connecting to the cluster.
- Http
Gateway intPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- Lb
Rules []ManagedCluster Lb Rule Args One or more
lb_rule
blocks as defined below.- Resource
Group stringName The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.
- Authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- Backup
Service boolEnabled If true, backup service is enabled.
- Custom
Fabric []ManagedSettings Cluster Custom Fabric Setting Args One or more
custom_fabric_setting
blocks as defined below.- Dns
Name string Hostname for the cluster. If unset the cluster's name will be used..
- Dns
Service boolEnabled 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.
- Node
Types []ManagedCluster Node Type Args 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 eitherBasic
orStandard
.- map[string]string
A mapping of tags which should be assigned to the Resource Group.
- Upgrade
Wave string Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- Username string
Administrator password for the VMs that will be created as part of this cluster.
- client
Connection IntegerPort Port to use when connecting to the cluster.
- http
Gateway IntegerPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- lb
Rules List<ManagedCluster Lb Rule Args> One or more
lb_rule
blocks as defined below.- resource
Group StringName The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.
- authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- backup
Service BooleanEnabled If true, backup service is enabled.
- custom
Fabric List<ManagedSettings Cluster Custom Fabric Setting Args> One or more
custom_fabric_setting
blocks as defined below.- dns
Name String Hostname for the cluster. If unset the cluster's name will be used..
- dns
Service BooleanEnabled 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.
- node
Types List<ManagedCluster Node Type Args> 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 eitherBasic
orStandard
.- Map<String,String>
A mapping of tags which should be assigned to the Resource Group.
- upgrade
Wave String Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- username String
Administrator password for the VMs that will be created as part of this cluster.
- client
Connection numberPort Port to use when connecting to the cluster.
- http
Gateway numberPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- lb
Rules ManagedCluster Lb Rule Args[] One or more
lb_rule
blocks as defined below.- resource
Group stringName The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.
- authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- backup
Service booleanEnabled If true, backup service is enabled.
- custom
Fabric ManagedSettings Cluster Custom Fabric Setting Args[] One or more
custom_fabric_setting
blocks as defined below.- dns
Name string Hostname for the cluster. If unset the cluster's name will be used..
- dns
Service booleanEnabled 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.
- node
Types ManagedCluster Node Type Args[] 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 eitherBasic
orStandard
.- {[key: string]: string}
A mapping of tags which should be assigned to the Resource Group.
- upgrade
Wave string Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- username string
Administrator password for the VMs that will be created as part of this cluster.
- client_
connection_ intport Port to use when connecting to the cluster.
- http_
gateway_ intport Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- lb_
rules Sequence[ManagedCluster Lb Rule Args] One or more
lb_rule
blocks as defined below.- resource_
group_ strname The name of the Resource Group where the Resource Group should exist. Changing this forces a new Resource Group to be created.
- authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- backup_
service_ boolenabled If true, backup service is enabled.
- custom_
fabric_ Sequence[Managedsettings Cluster Custom Fabric Setting Args] 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_ boolenabled 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[ManagedCluster Node Type Args] 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 eitherBasic
orStandard
.- 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 ofWave0
,Wave1
, orWave2
.- username str
Administrator password for the VMs that will be created as part of this cluster.
- client
Connection NumberPort Port to use when connecting to the cluster.
- http
Gateway NumberPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- lb
Rules List<Property Map> One or more
lb_rule
blocks as defined below.- resource
Group StringName 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.- backup
Service BooleanEnabled If true, backup service is enabled.
- custom
Fabric List<Property Map>Settings One or more
custom_fabric_setting
blocks as defined below.- dns
Name String Hostname for the cluster. If unset the cluster's name will be used..
- dns
Service BooleanEnabled 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.
- node
Types 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 eitherBasic
orStandard
.- Map<String>
A mapping of tags which should be assigned to the Resource Group.
- upgrade
Wave String Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- 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.
- Authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- Backup
Service boolEnabled If true, backup service is enabled.
- Client
Connection intPort Port to use when connecting to the cluster.
- Custom
Fabric List<ManagedSettings Cluster Custom Fabric Setting Args> One or more
custom_fabric_setting
blocks as defined below.- Dns
Name string Hostname for the cluster. If unset the cluster's name will be used..
- Dns
Service boolEnabled If true, DNS service is enabled.
- Http
Gateway intPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- Lb
Rules List<ManagedCluster Lb Rule Args> 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.
- Node
Types List<ManagedCluster Node Type Args> 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.
- Resource
Group stringName 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 eitherBasic
orStandard
.- Dictionary<string, string>
A mapping of tags which should be assigned to the Resource Group.
- Upgrade
Wave string Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- Username string
Administrator password for the VMs that will be created as part of this cluster.
- Authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- Backup
Service boolEnabled If true, backup service is enabled.
- Client
Connection intPort Port to use when connecting to the cluster.
- Custom
Fabric []ManagedSettings Cluster Custom Fabric Setting Args One or more
custom_fabric_setting
blocks as defined below.- Dns
Name string Hostname for the cluster. If unset the cluster's name will be used..
- Dns
Service boolEnabled If true, DNS service is enabled.
- Http
Gateway intPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- Lb
Rules []ManagedCluster Lb Rule Args 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.
- Node
Types []ManagedCluster Node Type Args 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.
- Resource
Group stringName 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 eitherBasic
orStandard
.- map[string]string
A mapping of tags which should be assigned to the Resource Group.
- Upgrade
Wave string Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- Username string
Administrator password for the VMs that will be created as part of this cluster.
- authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- backup
Service BooleanEnabled If true, backup service is enabled.
- client
Connection IntegerPort Port to use when connecting to the cluster.
- custom
Fabric List<ManagedSettings Cluster Custom Fabric Setting Args> One or more
custom_fabric_setting
blocks as defined below.- dns
Name String Hostname for the cluster. If unset the cluster's name will be used..
- dns
Service BooleanEnabled If true, DNS service is enabled.
- http
Gateway IntegerPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- lb
Rules List<ManagedCluster Lb Rule Args> 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.
- node
Types List<ManagedCluster Node Type Args> 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.
- resource
Group StringName 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 eitherBasic
orStandard
.- Map<String,String>
A mapping of tags which should be assigned to the Resource Group.
- upgrade
Wave String Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- username String
Administrator password for the VMs that will be created as part of this cluster.
- authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- backup
Service booleanEnabled If true, backup service is enabled.
- client
Connection numberPort Port to use when connecting to the cluster.
- custom
Fabric ManagedSettings Cluster Custom Fabric Setting Args[] One or more
custom_fabric_setting
blocks as defined below.- dns
Name string Hostname for the cluster. If unset the cluster's name will be used..
- dns
Service booleanEnabled If true, DNS service is enabled.
- http
Gateway numberPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- lb
Rules ManagedCluster Lb Rule Args[] 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.
- node
Types ManagedCluster Node Type Args[] 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.
- resource
Group stringName 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 eitherBasic
orStandard
.- {[key: string]: string}
A mapping of tags which should be assigned to the Resource Group.
- upgrade
Wave string Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- username string
Administrator password for the VMs that will be created as part of this cluster.
- authentication
Managed
Cluster Authentication Args Controls how connections to the cluster are authenticated. A
authentication
block as defined below.- backup_
service_ boolenabled If true, backup service is enabled.
- client_
connection_ intport Port to use when connecting to the cluster.
- custom_
fabric_ Sequence[Managedsettings Cluster Custom Fabric Setting Args] 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_ boolenabled If true, DNS service is enabled.
- http_
gateway_ intport Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- lb_
rules Sequence[ManagedCluster Lb Rule Args] 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[ManagedCluster Node Type Args] 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_ strname 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 eitherBasic
orStandard
.- 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 ofWave0
,Wave1
, orWave2
.- 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.- backup
Service BooleanEnabled If true, backup service is enabled.
- client
Connection NumberPort Port to use when connecting to the cluster.
- custom
Fabric List<Property Map>Settings One or more
custom_fabric_setting
blocks as defined below.- dns
Name String Hostname for the cluster. If unset the cluster's name will be used..
- dns
Service BooleanEnabled If true, DNS service is enabled.
- http
Gateway NumberPort Port that should be used by the Service Fabric Explorer to visualize applications and cluster status.
- lb
Rules 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.
- node
Types 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.
- resource
Group StringName 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 eitherBasic
orStandard
.- Map<String>
A mapping of tags which should be assigned to the Resource Group.
- upgrade
Wave String Upgrade wave for the fabric runtime. Default is
Wave0
, allowed value must be one ofWave0
,Wave1
, orWave2
.- username String
Administrator password for the VMs that will be created as part of this cluster.
Supporting Types
ManagedClusterAuthentication
- Active
Directory ManagedCluster Authentication Active Directory A
active_directory
block as defined above.- Certificates
List<Managed
Cluster Authentication Certificate> One or more
certificate
blocks as defined below.
- Active
Directory ManagedCluster Authentication Active Directory A
active_directory
block as defined above.- Certificates
[]Managed
Cluster Authentication Certificate One or more
certificate
blocks as defined below.
- active
Directory ManagedCluster Authentication Active Directory A
active_directory
block as defined above.- certificates
List<Managed
Cluster Authentication Certificate> One or more
certificate
blocks as defined below.
- active
Directory ManagedCluster Authentication Active Directory A
active_directory
block as defined above.- certificates
Managed
Cluster Authentication Certificate[] One or more
certificate
blocks as defined below.
- active_
directory ManagedCluster Authentication Active Directory A
active_directory
block as defined above.- certificates
Sequence[Managed
Cluster Authentication Certificate] One or more
certificate
blocks as defined below.
- active
Directory Property Map A
active_directory
block as defined above.- certificates List<Property Map>
One or more
certificate
blocks as defined below.
ManagedClusterAuthenticationActiveDirectory
- Client
Application stringId The ID of the Client Application.
- Cluster
Application stringId The ID of the Cluster Application.
- Tenant
Id string The ID of the Tenant.
- Client
Application stringId The ID of the Client Application.
- Cluster
Application stringId The ID of the Cluster Application.
- Tenant
Id string The ID of the Tenant.
- client
Application StringId The ID of the Client Application.
- cluster
Application StringId The ID of the Cluster Application.
- tenant
Id String The ID of the Tenant.
- client
Application stringId The ID of the Client Application.
- cluster
Application stringId The ID of the Cluster Application.
- tenant
Id string The ID of the Tenant.
- client_
application_ strid The ID of the Client Application.
- cluster_
application_ strid The ID of the Cluster Application.
- tenant_
id str The ID of the Tenant.
- client
Application StringId The ID of the Client Application.
- cluster
Application StringId The ID of the Cluster Application.
- tenant
Id String The ID of the Tenant.
ManagedClusterAuthenticationCertificate
- Thumbprint string
The thumbprint of the certificate.
- Type string
The type of the certificate. Can be
AdminClient
orReadOnlyClient
.- Common
Name string The certificate's CN.
- Thumbprint string
The thumbprint of the certificate.
- Type string
The type of the certificate. Can be
AdminClient
orReadOnlyClient
.- Common
Name string The certificate's CN.
- thumbprint String
The thumbprint of the certificate.
- type String
The type of the certificate. Can be
AdminClient
orReadOnlyClient
.- common
Name String The certificate's CN.
- thumbprint string
The thumbprint of the certificate.
- type string
The type of the certificate. Can be
AdminClient
orReadOnlyClient
.- common
Name string The certificate's CN.
- thumbprint str
The thumbprint of the certificate.
- type str
The type of the certificate. Can be
AdminClient
orReadOnlyClient
.- common_
name str The certificate's CN.
- thumbprint String
The thumbprint of the certificate.
- type String
The type of the certificate. Can be
AdminClient
orReadOnlyClient
.- common
Name String The certificate's CN.
ManagedClusterCustomFabricSetting
ManagedClusterLbRule
- Backend
Port int LB Backend port.
- Frontend
Port int LB Frontend port.
- Probe
Protocol string Protocol for the probe. Can be one of
tcp
,udp
,http
, orhttps
.- Protocol string
The transport protocol used in this rule. Can be one of
tcp
orudp
.- Probe
Request stringPath 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 string Protocol for the probe. Can be one of
tcp
,udp
,http
, orhttps
.- Protocol string
The transport protocol used in this rule. Can be one of
tcp
orudp
.- Probe
Request stringPath Path for the probe to check, when probe protocol is set to
http
.
- backend
Port Integer LB Backend port.
- frontend
Port Integer LB Frontend port.
- probe
Protocol String Protocol for the probe. Can be one of
tcp
,udp
,http
, orhttps
.- protocol String
The transport protocol used in this rule. Can be one of
tcp
orudp
.- probe
Request StringPath Path for the probe to check, when probe protocol is set to
http
.
- backend
Port number LB Backend port.
- frontend
Port number LB Frontend port.
- probe
Protocol string Protocol for the probe. Can be one of
tcp
,udp
,http
, orhttps
.- protocol string
The transport protocol used in this rule. Can be one of
tcp
orudp
.- probe
Request stringPath 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
, orhttps
.- protocol str
The transport protocol used in this rule. Can be one of
tcp
orudp
.- probe_
request_ strpath Path for the probe to check, when probe protocol is set to
http
.
- backend
Port Number LB Backend port.
- frontend
Port Number LB Frontend port.
- probe
Protocol String Protocol for the probe. Can be one of
tcp
,udp
,http
, orhttps
.- protocol String
The transport protocol used in this rule. Can be one of
tcp
orudp
.- probe
Request StringPath Path for the probe to check, when probe protocol is set to
http
.
ManagedClusterNodeType
- Application
Port stringRange Sets the port range available for applications. Format is
<from_port>-<to_port>
, for example10000-20000
.- Data
Disk intSize Gb The size of the data disk in gigabytes..
- Ephemeral
Port stringRange Sets the port range available for the OS. Format is
<from_port>-<to_port>
, for example10000-20000
. There has to be at least 255 ports available and cannot overlap withapplication_port_range
..- Name string
The name which should be used for this node type.
- Vm
Image stringOffer The offer type of the marketplace image cluster VMs will use.
- Vm
Image stringPublisher The publisher of the marketplace image cluster VMs will use.
- Vm
Image stringSku The SKU of the marketplace image cluster VMs will use.
- Vm
Image stringVersion The version of the marketplace image cluster VMs will use.
- Vm
Instance intCount The number of instances this node type will launch.
- Vm
Size 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.
- Data
Disk stringType The type of the disk to use for storing data. It can be one of
Premium_LRS
,Standard_LRS
, orStandardSSD_LRS
.- Id string
The ID of the Resource Group.
- Multiple
Placement boolGroups Enabled If set the node type can be composed of multiple placement groups.
- Placement
Properties 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.
- Vm
Secrets List<ManagedCluster Node Type Vm Secret> One or more
vm_secrets
blocks as defined below.
- Application
Port stringRange Sets the port range available for applications. Format is
<from_port>-<to_port>
, for example10000-20000
.- Data
Disk intSize Gb The size of the data disk in gigabytes..
- Ephemeral
Port stringRange Sets the port range available for the OS. Format is
<from_port>-<to_port>
, for example10000-20000
. There has to be at least 255 ports available and cannot overlap withapplication_port_range
..- Name string
The name which should be used for this node type.
- Vm
Image stringOffer The offer type of the marketplace image cluster VMs will use.
- Vm
Image stringPublisher The publisher of the marketplace image cluster VMs will use.
- Vm
Image stringSku The SKU of the marketplace image cluster VMs will use.
- Vm
Image stringVersion The version of the marketplace image cluster VMs will use.
- Vm
Instance intCount The number of instances this node type will launch.
- Vm
Size 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.
- Data
Disk stringType The type of the disk to use for storing data. It can be one of
Premium_LRS
,Standard_LRS
, orStandardSSD_LRS
.- Id string
The ID of the Resource Group.
- Multiple
Placement boolGroups Enabled If set the node type can be composed of multiple placement groups.
- Placement
Properties 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.
- Vm
Secrets []ManagedCluster Node Type Vm Secret One or more
vm_secrets
blocks as defined below.
- application
Port StringRange Sets the port range available for applications. Format is
<from_port>-<to_port>
, for example10000-20000
.- data
Disk IntegerSize Gb The size of the data disk in gigabytes..
- ephemeral
Port StringRange Sets the port range available for the OS. Format is
<from_port>-<to_port>
, for example10000-20000
. There has to be at least 255 ports available and cannot overlap withapplication_port_range
..- name String
The name which should be used for this node type.
- vm
Image StringOffer The offer type of the marketplace image cluster VMs will use.
- vm
Image StringPublisher The publisher of the marketplace image cluster VMs will use.
- vm
Image StringSku The SKU of the marketplace image cluster VMs will use.
- vm
Image StringVersion The version of the marketplace image cluster VMs will use.
- vm
Instance IntegerCount The number of instances this node type will launch.
- vm
Size 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.
- data
Disk StringType The type of the disk to use for storing data. It can be one of
Premium_LRS
,Standard_LRS
, orStandardSSD_LRS
.- id String
The ID of the Resource Group.
- multiple
Placement BooleanGroups Enabled If set the node type can be composed of multiple placement groups.
- placement
Properties 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.
- vm
Secrets List<ManagedCluster Node Type Vm Secret> One or more
vm_secrets
blocks as defined below.
- application
Port stringRange Sets the port range available for applications. Format is
<from_port>-<to_port>
, for example10000-20000
.- data
Disk numberSize Gb The size of the data disk in gigabytes..
- ephemeral
Port stringRange Sets the port range available for the OS. Format is
<from_port>-<to_port>
, for example10000-20000
. There has to be at least 255 ports available and cannot overlap withapplication_port_range
..- name string
The name which should be used for this node type.
- vm
Image stringOffer The offer type of the marketplace image cluster VMs will use.
- vm
Image stringPublisher The publisher of the marketplace image cluster VMs will use.
- vm
Image stringSku The SKU of the marketplace image cluster VMs will use.
- vm
Image stringVersion The version of the marketplace image cluster VMs will use.
- vm
Instance numberCount The number of instances this node type will launch.
- vm
Size 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.
- data
Disk stringType The type of the disk to use for storing data. It can be one of
Premium_LRS
,Standard_LRS
, orStandardSSD_LRS
.- id string
The ID of the Resource Group.
- multiple
Placement booleanGroups Enabled If set the node type can be composed of multiple placement groups.
- placement
Properties {[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.
- vm
Secrets ManagedCluster Node Type Vm Secret[] One or more
vm_secrets
blocks as defined below.
- application_
port_ strrange Sets the port range available for applications. Format is
<from_port>-<to_port>
, for example10000-20000
.- data_
disk_ intsize_ gb The size of the data disk in gigabytes..
- ephemeral_
port_ strrange Sets the port range available for the OS. Format is
<from_port>-<to_port>
, for example10000-20000
. There has to be at least 255 ports available and cannot overlap withapplication_port_range
..- name str
The name which should be used for this node type.
- vm_
image_ stroffer The offer type of the marketplace image cluster VMs will use.
- vm_
image_ strpublisher The publisher of the marketplace image cluster VMs will use.
- vm_
image_ strsku The SKU of the marketplace image cluster VMs will use.
- vm_
image_ strversion The version of the marketplace image cluster VMs will use.
- vm_
instance_ intcount 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_ strtype The type of the disk to use for storing data. It can be one of
Premium_LRS
,Standard_LRS
, orStandardSSD_LRS
.- id str
The ID of the Resource Group.
- multiple_
placement_ boolgroups_ enabled 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[ManagedCluster Node Type Vm Secret] One or more
vm_secrets
blocks as defined below.
- application
Port StringRange Sets the port range available for applications. Format is
<from_port>-<to_port>
, for example10000-20000
.- data
Disk NumberSize Gb The size of the data disk in gigabytes..
- ephemeral
Port StringRange Sets the port range available for the OS. Format is
<from_port>-<to_port>
, for example10000-20000
. There has to be at least 255 ports available and cannot overlap withapplication_port_range
..- name String
The name which should be used for this node type.
- vm
Image StringOffer The offer type of the marketplace image cluster VMs will use.
- vm
Image StringPublisher The publisher of the marketplace image cluster VMs will use.
- vm
Image StringSku The SKU of the marketplace image cluster VMs will use.
- vm
Image StringVersion The version of the marketplace image cluster VMs will use.
- vm
Instance NumberCount The number of instances this node type will launch.
- vm
Size 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.
- data
Disk StringType The type of the disk to use for storing data. It can be one of
Premium_LRS
,Standard_LRS
, orStandardSSD_LRS
.- id String
The ID of the Resource Group.
- multiple
Placement BooleanGroups Enabled If set the node type can be composed of multiple placement groups.
- placement
Properties 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.
- vm
Secrets List<Property Map> One or more
vm_secrets
blocks as defined below.
ManagedClusterNodeTypeVmSecret
- Certificates
List<Managed
Cluster Node Type Vm Secret Certificate> One or more
certificates
blocks as defined above.- Vault
Id string The ID of the Vault that contain the certificates.
- Certificates
[]Managed
Cluster Node Type Vm Secret Certificate One or more
certificates
blocks as defined above.- Vault
Id string The ID of the Vault that contain the certificates.
- certificates
List<Managed
Cluster Node Type Vm Secret Certificate> One or more
certificates
blocks as defined above.- vault
Id String The ID of the Vault that contain the certificates.
- certificates
Managed
Cluster Node Type Vm Secret Certificate[] One or more
certificates
blocks as defined above.- vault
Id string The ID of the Vault that contain the certificates.
- certificates
Sequence[Managed
Cluster Node Type Vm Secret Certificate] 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.- vault
Id String The ID of the Vault that contain the certificates.
ManagedClusterNodeTypeVmSecretCertificate
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.