We recommend using Azure Native.
azure.servicefabric.ManagedCluster
Explore with Pulumi AI
Manages a Resource Group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.servicefabric.ManagedCluster("example", {
name: "example",
resourceGroupName: "example",
location: "West Europe",
httpGatewayPort: 4567,
lbRules: [{
backendPort: 38080,
frontendPort: 80,
probeProtocol: "http",
probeRequestPath: "/test",
protocol: "tcp",
}],
clientConnectionPort: 12345,
nodeTypes: [{
dataDiskSizeGb: 130,
name: "test1",
primary: true,
applicationPortRange: "30000-49000",
ephemeralPortRange: "10000-20000",
vmSize: "Standard_DS1_v2",
vmImagePublisher: "MicrosoftWindowsServer",
vmImageSku: "2019-Datacenter-with-Containers",
vmImageOffer: "WindowsServer",
vmImageVersion: "latest",
vmInstanceCount: 5,
}],
});
import pulumi
import pulumi_azure as azure
example = azure.servicefabric.ManagedCluster("example",
name="example",
resource_group_name="example",
location="West Europe",
http_gateway_port=4567,
lb_rules=[azure.servicefabric.ManagedClusterLbRuleArgs(
backend_port=38080,
frontend_port=80,
probe_protocol="http",
probe_request_path="/test",
protocol="tcp",
)],
client_connection_port=12345,
node_types=[azure.servicefabric.ManagedClusterNodeTypeArgs(
data_disk_size_gb=130,
name="test1",
primary=True,
application_port_range="30000-49000",
ephemeral_port_range="10000-20000",
vm_size="Standard_DS1_v2",
vm_image_publisher="MicrosoftWindowsServer",
vm_image_sku="2019-Datacenter-with-Containers",
vm_image_offer="WindowsServer",
vm_image_version="latest",
vm_instance_count=5,
)])
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{
Name: pulumi.String("example"),
ResourceGroupName: pulumi.String("example"),
Location: pulumi.String("West Europe"),
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"),
},
},
ClientConnectionPort: pulumi.Int(12345),
NodeTypes: servicefabric.ManagedClusterNodeTypeArray{
&servicefabric.ManagedClusterNodeTypeArgs{
DataDiskSizeGb: pulumi.Int(130),
Name: pulumi.String("test1"),
Primary: pulumi.Bool(true),
ApplicationPortRange: pulumi.String("30000-49000"),
EphemeralPortRange: pulumi.String("10000-20000"),
VmSize: pulumi.String("Standard_DS1_v2"),
VmImagePublisher: pulumi.String("MicrosoftWindowsServer"),
VmImageSku: pulumi.String("2019-Datacenter-with-Containers"),
VmImageOffer: pulumi.String("WindowsServer"),
VmImageVersion: pulumi.String("latest"),
VmInstanceCount: pulumi.Int(5),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.ServiceFabric.ManagedCluster("example", new()
{
Name = "example",
ResourceGroupName = "example",
Location = "West Europe",
HttpGatewayPort = 4567,
LbRules = new[]
{
new Azure.ServiceFabric.Inputs.ManagedClusterLbRuleArgs
{
BackendPort = 38080,
FrontendPort = 80,
ProbeProtocol = "http",
ProbeRequestPath = "/test",
Protocol = "tcp",
},
},
ClientConnectionPort = 12345,
NodeTypes = new[]
{
new Azure.ServiceFabric.Inputs.ManagedClusterNodeTypeArgs
{
DataDiskSizeGb = 130,
Name = "test1",
Primary = true,
ApplicationPortRange = "30000-49000",
EphemeralPortRange = "10000-20000",
VmSize = "Standard_DS1_v2",
VmImagePublisher = "MicrosoftWindowsServer",
VmImageSku = "2019-Datacenter-with-Containers",
VmImageOffer = "WindowsServer",
VmImageVersion = "latest",
VmInstanceCount = 5,
},
},
});
});
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()
.name("example")
.resourceGroupName("example")
.location("West Europe")
.httpGatewayPort(4567)
.lbRules(ManagedClusterLbRuleArgs.builder()
.backendPort(38080)
.frontendPort(80)
.probeProtocol("http")
.probeRequestPath("/test")
.protocol("tcp")
.build())
.clientConnectionPort(12345)
.nodeTypes(ManagedClusterNodeTypeArgs.builder()
.dataDiskSizeGb(130)
.name("test1")
.primary(true)
.applicationPortRange("30000-49000")
.ephemeralPortRange("10000-20000")
.vmSize("Standard_DS1_v2")
.vmImagePublisher("MicrosoftWindowsServer")
.vmImageSku("2019-Datacenter-with-Containers")
.vmImageOffer("WindowsServer")
.vmImageVersion("latest")
.vmInstanceCount(5)
.build())
.build());
}
}
resources:
example:
type: azure:servicefabric:ManagedCluster
properties:
name: example
resourceGroupName: example
location: West Europe
httpGatewayPort: 4567
lbRules:
- backendPort: 38080
frontendPort: 80
probeProtocol: http
probeRequestPath: /test
protocol: tcp
clientConnectionPort: 12345
nodeTypes:
- dataDiskSizeGb: 130
name: test1
primary: true
applicationPortRange: 30000-49000
ephemeralPortRange: 10000-20000
vmSize: Standard_DS1_v2
vmImagePublisher: MicrosoftWindowsServer
vmImageSku: 2019-Datacenter-with-Containers
vmImageOffer: WindowsServer
vmImageVersion: latest
vmInstanceCount: 5
Create ManagedCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedCluster(name: string, args: ManagedClusterArgs, opts?: CustomResourceOptions);
@overload
def ManagedCluster(resource_name: str,
args: ManagedClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
http_gateway_port: Optional[int] = None,
resource_group_name: Optional[str] = None,
client_connection_port: Optional[int] = None,
lb_rules: Optional[Sequence[ManagedClusterLbRuleArgs]] = None,
dns_name: Optional[str] = None,
dns_service_enabled: Optional[bool] = None,
authentication: Optional[ManagedClusterAuthenticationArgs] = None,
custom_fabric_settings: Optional[Sequence[ManagedClusterCustomFabricSettingArgs]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
node_types: Optional[Sequence[ManagedClusterNodeTypeArgs]] = None,
password: Optional[str] = None,
backup_service_enabled: Optional[bool] = None,
sku: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
upgrade_wave: Optional[str] = None,
username: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var managedClusterResource = new Azure.ServiceFabric.ManagedCluster("managedClusterResource", new()
{
HttpGatewayPort = 0,
ResourceGroupName = "string",
ClientConnectionPort = 0,
LbRules = new[]
{
new Azure.ServiceFabric.Inputs.ManagedClusterLbRuleArgs
{
BackendPort = 0,
FrontendPort = 0,
ProbeProtocol = "string",
Protocol = "string",
ProbeRequestPath = "string",
},
},
DnsName = "string",
DnsServiceEnabled = false,
Authentication = new Azure.ServiceFabric.Inputs.ManagedClusterAuthenticationArgs
{
ActiveDirectory = new Azure.ServiceFabric.Inputs.ManagedClusterAuthenticationActiveDirectoryArgs
{
ClientApplicationId = "string",
ClusterApplicationId = "string",
TenantId = "string",
},
Certificates = new[]
{
new Azure.ServiceFabric.Inputs.ManagedClusterAuthenticationCertificateArgs
{
Thumbprint = "string",
Type = "string",
CommonName = "string",
},
},
},
CustomFabricSettings = new[]
{
new Azure.ServiceFabric.Inputs.ManagedClusterCustomFabricSettingArgs
{
Parameter = "string",
Section = "string",
Value = "string",
},
},
Location = "string",
Name = "string",
NodeTypes = new[]
{
new Azure.ServiceFabric.Inputs.ManagedClusterNodeTypeArgs
{
VmImagePublisher = "string",
VmImageSku = "string",
VmInstanceCount = 0,
VmImageVersion = "string",
EphemeralPortRange = "string",
ApplicationPortRange = "string",
VmImageOffer = "string",
Name = "string",
VmSize = "string",
DataDiskSizeGb = 0,
DataDiskType = "string",
MultiplePlacementGroupsEnabled = false,
Id = "string",
Capacities =
{
{ "string", "string" },
},
Stateless = false,
Primary = false,
VmSecrets = new[]
{
new Azure.ServiceFabric.Inputs.ManagedClusterNodeTypeVmSecretArgs
{
Certificates = new[]
{
new Azure.ServiceFabric.Inputs.ManagedClusterNodeTypeVmSecretCertificateArgs
{
Store = "string",
Url = "string",
},
},
VaultId = "string",
},
},
PlacementProperties =
{
{ "string", "string" },
},
},
},
Password = "string",
BackupServiceEnabled = false,
Sku = "string",
Tags =
{
{ "string", "string" },
},
UpgradeWave = "string",
Username = "string",
});
example, err := servicefabric.NewManagedCluster(ctx, "managedClusterResource", &servicefabric.ManagedClusterArgs{
HttpGatewayPort: pulumi.Int(0),
ResourceGroupName: pulumi.String("string"),
ClientConnectionPort: pulumi.Int(0),
LbRules: servicefabric.ManagedClusterLbRuleArray{
&servicefabric.ManagedClusterLbRuleArgs{
BackendPort: pulumi.Int(0),
FrontendPort: pulumi.Int(0),
ProbeProtocol: pulumi.String("string"),
Protocol: pulumi.String("string"),
ProbeRequestPath: pulumi.String("string"),
},
},
DnsName: pulumi.String("string"),
DnsServiceEnabled: pulumi.Bool(false),
Authentication: &servicefabric.ManagedClusterAuthenticationArgs{
ActiveDirectory: &servicefabric.ManagedClusterAuthenticationActiveDirectoryArgs{
ClientApplicationId: pulumi.String("string"),
ClusterApplicationId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Certificates: servicefabric.ManagedClusterAuthenticationCertificateArray{
&servicefabric.ManagedClusterAuthenticationCertificateArgs{
Thumbprint: pulumi.String("string"),
Type: pulumi.String("string"),
CommonName: pulumi.String("string"),
},
},
},
CustomFabricSettings: servicefabric.ManagedClusterCustomFabricSettingArray{
&servicefabric.ManagedClusterCustomFabricSettingArgs{
Parameter: pulumi.String("string"),
Section: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
NodeTypes: servicefabric.ManagedClusterNodeTypeArray{
&servicefabric.ManagedClusterNodeTypeArgs{
VmImagePublisher: pulumi.String("string"),
VmImageSku: pulumi.String("string"),
VmInstanceCount: pulumi.Int(0),
VmImageVersion: pulumi.String("string"),
EphemeralPortRange: pulumi.String("string"),
ApplicationPortRange: pulumi.String("string"),
VmImageOffer: pulumi.String("string"),
Name: pulumi.String("string"),
VmSize: pulumi.String("string"),
DataDiskSizeGb: pulumi.Int(0),
DataDiskType: pulumi.String("string"),
MultiplePlacementGroupsEnabled: pulumi.Bool(false),
Id: pulumi.String("string"),
Capacities: pulumi.StringMap{
"string": pulumi.String("string"),
},
Stateless: pulumi.Bool(false),
Primary: pulumi.Bool(false),
VmSecrets: servicefabric.ManagedClusterNodeTypeVmSecretArray{
&servicefabric.ManagedClusterNodeTypeVmSecretArgs{
Certificates: servicefabric.ManagedClusterNodeTypeVmSecretCertificateArray{
&servicefabric.ManagedClusterNodeTypeVmSecretCertificateArgs{
Store: pulumi.String("string"),
Url: pulumi.String("string"),
},
},
VaultId: pulumi.String("string"),
},
},
PlacementProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Password: pulumi.String("string"),
BackupServiceEnabled: pulumi.Bool(false),
Sku: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
UpgradeWave: pulumi.String("string"),
Username: pulumi.String("string"),
})
var managedClusterResource = new ManagedCluster("managedClusterResource", ManagedClusterArgs.builder()
.httpGatewayPort(0)
.resourceGroupName("string")
.clientConnectionPort(0)
.lbRules(ManagedClusterLbRuleArgs.builder()
.backendPort(0)
.frontendPort(0)
.probeProtocol("string")
.protocol("string")
.probeRequestPath("string")
.build())
.dnsName("string")
.dnsServiceEnabled(false)
.authentication(ManagedClusterAuthenticationArgs.builder()
.activeDirectory(ManagedClusterAuthenticationActiveDirectoryArgs.builder()
.clientApplicationId("string")
.clusterApplicationId("string")
.tenantId("string")
.build())
.certificates(ManagedClusterAuthenticationCertificateArgs.builder()
.thumbprint("string")
.type("string")
.commonName("string")
.build())
.build())
.customFabricSettings(ManagedClusterCustomFabricSettingArgs.builder()
.parameter("string")
.section("string")
.value("string")
.build())
.location("string")
.name("string")
.nodeTypes(ManagedClusterNodeTypeArgs.builder()
.vmImagePublisher("string")
.vmImageSku("string")
.vmInstanceCount(0)
.vmImageVersion("string")
.ephemeralPortRange("string")
.applicationPortRange("string")
.vmImageOffer("string")
.name("string")
.vmSize("string")
.dataDiskSizeGb(0)
.dataDiskType("string")
.multiplePlacementGroupsEnabled(false)
.id("string")
.capacities(Map.of("string", "string"))
.stateless(false)
.primary(false)
.vmSecrets(ManagedClusterNodeTypeVmSecretArgs.builder()
.certificates(ManagedClusterNodeTypeVmSecretCertificateArgs.builder()
.store("string")
.url("string")
.build())
.vaultId("string")
.build())
.placementProperties(Map.of("string", "string"))
.build())
.password("string")
.backupServiceEnabled(false)
.sku("string")
.tags(Map.of("string", "string"))
.upgradeWave("string")
.username("string")
.build());
managed_cluster_resource = azure.servicefabric.ManagedCluster("managedClusterResource",
http_gateway_port=0,
resource_group_name="string",
client_connection_port=0,
lb_rules=[azure.servicefabric.ManagedClusterLbRuleArgs(
backend_port=0,
frontend_port=0,
probe_protocol="string",
protocol="string",
probe_request_path="string",
)],
dns_name="string",
dns_service_enabled=False,
authentication=azure.servicefabric.ManagedClusterAuthenticationArgs(
active_directory=azure.servicefabric.ManagedClusterAuthenticationActiveDirectoryArgs(
client_application_id="string",
cluster_application_id="string",
tenant_id="string",
),
certificates=[azure.servicefabric.ManagedClusterAuthenticationCertificateArgs(
thumbprint="string",
type="string",
common_name="string",
)],
),
custom_fabric_settings=[azure.servicefabric.ManagedClusterCustomFabricSettingArgs(
parameter="string",
section="string",
value="string",
)],
location="string",
name="string",
node_types=[azure.servicefabric.ManagedClusterNodeTypeArgs(
vm_image_publisher="string",
vm_image_sku="string",
vm_instance_count=0,
vm_image_version="string",
ephemeral_port_range="string",
application_port_range="string",
vm_image_offer="string",
name="string",
vm_size="string",
data_disk_size_gb=0,
data_disk_type="string",
multiple_placement_groups_enabled=False,
id="string",
capacities={
"string": "string",
},
stateless=False,
primary=False,
vm_secrets=[azure.servicefabric.ManagedClusterNodeTypeVmSecretArgs(
certificates=[azure.servicefabric.ManagedClusterNodeTypeVmSecretCertificateArgs(
store="string",
url="string",
)],
vault_id="string",
)],
placement_properties={
"string": "string",
},
)],
password="string",
backup_service_enabled=False,
sku="string",
tags={
"string": "string",
},
upgrade_wave="string",
username="string")
const managedClusterResource = new azure.servicefabric.ManagedCluster("managedClusterResource", {
httpGatewayPort: 0,
resourceGroupName: "string",
clientConnectionPort: 0,
lbRules: [{
backendPort: 0,
frontendPort: 0,
probeProtocol: "string",
protocol: "string",
probeRequestPath: "string",
}],
dnsName: "string",
dnsServiceEnabled: false,
authentication: {
activeDirectory: {
clientApplicationId: "string",
clusterApplicationId: "string",
tenantId: "string",
},
certificates: [{
thumbprint: "string",
type: "string",
commonName: "string",
}],
},
customFabricSettings: [{
parameter: "string",
section: "string",
value: "string",
}],
location: "string",
name: "string",
nodeTypes: [{
vmImagePublisher: "string",
vmImageSku: "string",
vmInstanceCount: 0,
vmImageVersion: "string",
ephemeralPortRange: "string",
applicationPortRange: "string",
vmImageOffer: "string",
name: "string",
vmSize: "string",
dataDiskSizeGb: 0,
dataDiskType: "string",
multiplePlacementGroupsEnabled: false,
id: "string",
capacities: {
string: "string",
},
stateless: false,
primary: false,
vmSecrets: [{
certificates: [{
store: "string",
url: "string",
}],
vaultId: "string",
}],
placementProperties: {
string: "string",
},
}],
password: "string",
backupServiceEnabled: false,
sku: "string",
tags: {
string: "string",
},
upgradeWave: "string",
username: "string",
});
type: azure:servicefabric:ManagedCluster
properties:
authentication:
activeDirectory:
clientApplicationId: string
clusterApplicationId: string
tenantId: string
certificates:
- commonName: string
thumbprint: string
type: string
backupServiceEnabled: false
clientConnectionPort: 0
customFabricSettings:
- parameter: string
section: string
value: string
dnsName: string
dnsServiceEnabled: false
httpGatewayPort: 0
lbRules:
- backendPort: 0
frontendPort: 0
probeProtocol: string
probeRequestPath: string
protocol: string
location: string
name: string
nodeTypes:
- applicationPortRange: string
capacities:
string: string
dataDiskSizeGb: 0
dataDiskType: string
ephemeralPortRange: string
id: string
multiplePlacementGroupsEnabled: false
name: string
placementProperties:
string: string
primary: false
stateless: false
vmImageOffer: string
vmImagePublisher: string
vmImageSku: string
vmImageVersion: string
vmInstanceCount: 0
vmSecrets:
- certificates:
- store: string
url: string
vaultId: string
vmSize: string
password: string
resourceGroupName: string
sku: string
tags:
string: string
upgradeWave: string
username: string
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> - 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 - 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> - 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> - 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> - 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 - 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> - 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> - 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[] - 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 - 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[] - 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[] - 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 - 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> - 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> - 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> - 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 - 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> - 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> - 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> - 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 - 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[] - 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[] - 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[] - 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, ManagedClusterAuthenticationArgs
- 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, ManagedClusterAuthenticationActiveDirectoryArgs
- 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, ManagedClusterAuthenticationCertificateArgs
- 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, ManagedClusterCustomFabricSettingArgs
ManagedClusterLbRule, ManagedClusterLbRuleArgs
- 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, ManagedClusterNodeTypeArgs
- 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
. Defaults toStandard_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
. Defaults toStandard_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
. Defaults toStandard_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
. Defaults toStandard_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
. Defaults toStandard_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
. Defaults toStandard_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, ManagedClusterNodeTypeVmSecretArgs
- 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, ManagedClusterNodeTypeVmSecretCertificateArgs
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.