Managed cluster.
Uses Azure REST API version 2025-09-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01.
Other available API versions: 2019-11-01, 2020-01-01, 2020-02-01, 2020-03-01, 2020-04-01, 2020-06-01, 2020-07-01, 2020-09-01, 2020-11-01, 2020-12-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-07-01, 2021-08-01, 2021-09-01, 2021-10-01, 2021-11-01-preview, 2022-01-01, 2022-01-02-preview, 2022-02-01, 2022-02-02-preview, 2022-03-01, 2022-03-02-preview, 2022-04-01, 2022-04-02-preview, 2022-05-02-preview, 2022-06-01, 2022-06-02-preview, 2022-07-01, 2022-07-02-preview, 2022-08-02-preview, 2022-08-03-preview, 2022-09-01, 2022-09-02-preview, 2022-10-02-preview, 2022-11-01, 2022-11-02-preview, 2023-01-01, 2023-01-02-preview, 2023-02-01, 2023-02-02-preview, 2023-03-01, 2023-03-02-preview, 2023-04-01, 2023-04-02-preview, 2023-05-01, 2023-05-02-preview, 2023-06-01, 2023-06-02-preview, 2023-07-01, 2023-07-02-preview, 2023-08-01, 2023-08-02-preview, 2023-09-01, 2023-09-02-preview, 2023-10-01, 2023-10-02-preview, 2023-11-01, 2023-11-02-preview, 2024-01-01, 2024-01-02-preview, 2024-02-01, 2024-02-02-preview, 2024-03-02-preview, 2024-04-02-preview, 2024-05-01, 2024-05-02-preview, 2024-06-02-preview, 2024-07-01, 2024-07-02-preview, 2024-08-01, 2024-09-01, 2024-09-02-preview, 2024-10-01, 2024-10-02-preview, 2025-01-01, 2025-01-02-preview, 2025-02-01, 2025-02-02-preview, 2025-03-01, 2025-03-02-preview, 2025-04-01, 2025-04-02-preview, 2025-05-01, 2025-05-02-preview, 2025-06-02-preview, 2025-07-01, 2025-07-02-preview, 2025-08-01, 2025-08-02-preview, 2025-09-02-preview, 2025-10-01, 2025-10-02-preview, 2026-01-01, 2026-01-02-preview, 2026-02-01, 2026-02-02-preview, 2026-03-01, 2026-03-02-preview, 2026-04-01, 2026-04-02-preview, 2026-05-01, 2026-05-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerservice [ApiVersion]. See the version guide for details.
When creating a managed cluster you must define at least one agent pool inline via the agentPoolProfiles property. The Azure API does not currently allow this property to be updated directly. Instead, additional agent pools can be defined via the AgentPool resource. If needing to change the initial agent pool profile property, you can either trigger the whole cluster to be re-created by using the replaceOnChanges resource option, or make the change directly in Azure then use pulumi refresh to update the stack’s stack to match.
Example Usage
Create Managed Cluster using an agent pool snapshot
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
CreationData = new AzureNative.ContainerService.Inputs.CreationDataArgs
{
SourceResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
},
EnableFIPS = true,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
CreationData: &containerservice.CreationDataArgs{
SourceResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1"),
},
EnableFIPS: pulumi.Bool(true),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
creation_data = {
source_resource_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1"
}
enable_fips = true
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.CreationDataArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.creationData(CreationDataArgs.builder()
.sourceResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1")
.build())
.enableFIPS(true)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
creationData: {
sourceResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
},
enableFIPS: true,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"creation_data": {
"source_resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
},
"enable_fips": True,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
creationData:
sourceResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1
enableFIPS: true
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with AKS-managed NAT gateway as outbound type
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = false,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
NatGatewayProfile = new AzureNative.ContainerService.Inputs.ManagedClusterNATGatewayProfileArgs
{
ManagedOutboundIPProfile = new AzureNative.ContainerService.Inputs.ManagedClusterManagedOutboundIPProfileArgs
{
Count = 2,
},
},
OutboundType = AzureNative.ContainerService.OutboundType.ManagedNATGateway,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(false),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
NatGatewayProfile: &containerservice.ManagedClusterNATGatewayProfileArgs{
ManagedOutboundIPProfile: &containerservice.ManagedClusterManagedOutboundIPProfileArgs{
Count: pulumi.Int(2),
},
},
OutboundType: pulumi.String(containerservice.OutboundTypeManagedNATGateway),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = false
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_sku = "standard"
nat_gateway_profile = {
managed_outbound_ip_profile = {
count = 2
}
}
outbound_type = "managedNATGateway"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterNATGatewayProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterManagedOutboundIPProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(false)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerSku("standard")
.natGatewayProfile(ManagedClusterNATGatewayProfileArgs.builder()
.managedOutboundIPProfile(ManagedClusterManagedOutboundIPProfileArgs.builder()
.count(2)
.build())
.build())
.outboundType("managedNATGateway")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: false,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
natGatewayProfile: {
managedOutboundIPProfile: {
count: 2,
},
},
outboundType: azure_native.containerservice.OutboundType.ManagedNATGateway,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": False,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"nat_gateway_profile": {
"managed_outbound_ip_profile": {
"count": 2,
},
},
"outbound_type": azure_native.containerservice.OutboundType.MANAGED_NAT_GATEWAY,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: false
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerSku: standard
natGatewayProfile:
managedOutboundIPProfile:
count: 2
outboundType: managedNATGateway
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with Azure KeyVault Secrets Provider Addon
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles =
{
{ "azureKeyvaultSecretsProvider", new AzureNative.ContainerService.Inputs.ManagedClusterAddonProfileArgs
{
Config =
{
{ "enableSecretRotation", "true" },
{ "rotationPollInterval", "2m" },
},
Enabled = true,
} },
},
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{
"azureKeyvaultSecretsProvider": &containerservice.ManagedClusterAddonProfileArgs{
Config: pulumi.StringMap{
"enableSecretRotation": pulumi.String("true"),
"rotationPollInterval": pulumi.String("2m"),
},
Enabled: pulumi.Bool(true),
},
},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {
"azureKeyvaultSecretsProvider" = {
config = {
"enableSecretRotation" = "true"
"rotationPollInterval" = "2m"
}
enabled = true
}
}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAddonProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.of("azureKeyvaultSecretsProvider", ManagedClusterAddonProfileArgs.builder()
.config(Map.ofEntries(
Map.entry("enableSecretRotation", "true"),
Map.entry("rotationPollInterval", "2m")
))
.enabled(true)
.build()))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {
azureKeyvaultSecretsProvider: {
config: {
enableSecretRotation: "true",
rotationPollInterval: "2m",
},
enabled: true,
},
},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={
"azureKeyvaultSecretsProvider": {
"config": {
"enableSecretRotation": "true",
"rotationPollInterval": "2m",
},
"enabled": True,
},
},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles:
azureKeyvaultSecretsProvider:
config:
enableSecretRotation: 'true'
rotationPollInterval: 2m
enabled: true
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with Capacity Reservation Group
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
CapacityReservationGroupID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/capacityReservationGroups/crg1",
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
CapacityReservationGroupID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/capacityReservationGroups/crg1"),
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
capacity_reservation_group_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/capacityReservationGroups/crg1"
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.capacityReservationGroupID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/capacityReservationGroups/crg1")
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
capacityReservationGroupID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/capacityReservationGroups/crg1",
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"capacity_reservation_group_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/capacityReservationGroups/crg1",
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- capacityReservationGroupID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/capacityReservationGroups/crg1
count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with Custom CA Trust Certificates
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
SecurityProfile = new AzureNative.ContainerService.Inputs.ManagedClusterSecurityProfileArgs
{
CustomCATrustCertificates = new[]
{
"ZHVtbXlFeGFtcGxlVGVzdFZhbHVlRm9yQ2VydGlmaWNhdGVUb0JlQWRkZWQ=",
},
},
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
SecurityProfile: &containerservice.ManagedClusterSecurityProfileArgs{
CustomCATrustCertificates: pulumi.StringArray{
pulumi.String("ZHVtbXlFeGFtcGxlVGVzdFZhbHVlRm9yQ2VydGlmaWNhdGVUb0JlQWRkZWQ="),
},
},
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
security_profile = {
custom_ca_trust_certificates = ["ZHVtbXlFeGFtcGxlVGVzdFZhbHVlRm9yQ2VydGlmaWNhdGVUb0JlQWRkZWQ="]
}
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSecurityProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.securityProfile(ManagedClusterSecurityProfileArgs.builder()
.customCATrustCertificates("ZHVtbXlFeGFtcGxlVGVzdFZhbHVlRm9yQ2VydGlmaWNhdGVUb0JlQWRkZWQ=")
.build())
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
securityProfile: {
customCATrustCertificates: ["ZHVtbXlFeGFtcGxlVGVzdFZhbHVlRm9yQ2VydGlmaWNhdGVUb0JlQWRkZWQ="],
},
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
security_profile={
"custom_ca_trust_certificates": ["ZHVtbXlFeGFtcGxlVGVzdFZhbHVlRm9yQ2VydGlmaWNhdGVUb0JlQWRkZWQ="],
},
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
securityProfile:
customCATrustCertificates:
- ZHVtbXlFeGFtcGxlVGVzdFZhbHVlRm9yQ2VydGlmaWNhdGVUb0JlQWRkZWQ=
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with Dedicated Host Group
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
HostGroupID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1",
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
HostGroupID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1"),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
host_group_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.hostGroupID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
hostGroupID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1",
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"host_group_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1",
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
hostGroupID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with EncryptionAtHost enabled
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableEncryptionAtHost = true,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableEncryptionAtHost: pulumi.Bool(true),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_encryption_at_host = true
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableEncryptionAtHost(true)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableEncryptionAtHost: true,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_encryption_at_host": True,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableEncryptionAtHost: true
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with FIPS enabled OS
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableFIPS = true,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableFIPS: pulumi.Bool(true),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_fips = true
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableFIPS(true)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableFIPS: true,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_fips": True,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableFIPS: true
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with GPUMIG
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
GpuInstanceProfile = AzureNative.ContainerService.GPUInstanceProfile.MIG3g,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_ND96asr_v4",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
HttpProxyConfig = new AzureNative.ContainerService.Inputs.ManagedClusterHTTPProxyConfigArgs
{
HttpProxy = "http://myproxy.server.com:8080",
HttpsProxy = "https://myproxy.server.com:8080",
NoProxy = new[]
{
"localhost",
"127.0.0.1",
},
TrustedCa = "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
GpuInstanceProfile: pulumi.String(containerservice.GPUInstanceProfileMIG3g),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_ND96asr_v4"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
HttpProxyConfig: &containerservice.ManagedClusterHTTPProxyConfigArgs{
HttpProxy: pulumi.String("http://myproxy.server.com:8080"),
HttpsProxy: pulumi.String("https://myproxy.server.com:8080"),
NoProxy: pulumi.StringArray{
pulumi.String("localhost"),
pulumi.String("127.0.0.1"),
},
TrustedCa: pulumi.String("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U="),
},
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
gpu_instance_profile = "MIG3g"
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_ND96asr_v4"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
http_proxy_config = {
http_proxy = "http://myproxy.server.com:8080"
https_proxy = "https://myproxy.server.com:8080"
no_proxy = ["localhost", "127.0.0.1"]
trusted_ca = "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U="
}
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterHTTPProxyConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.gpuInstanceProfile("MIG3g")
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_ND96asr_v4")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.httpProxyConfig(ManagedClusterHTTPProxyConfigArgs.builder()
.httpProxy("http://myproxy.server.com:8080")
.httpsProxy("https://myproxy.server.com:8080")
.noProxy(
"localhost",
"127.0.0.1")
.trustedCa("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=")
.build())
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
gpuInstanceProfile: azure_native.containerservice.GPUInstanceProfile.MIG3g,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_ND96asr_v4",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
httpProxyConfig: {
httpProxy: "http://myproxy.server.com:8080",
httpsProxy: "https://myproxy.server.com:8080",
noProxy: [
"localhost",
"127.0.0.1",
],
trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"gpu_instance_profile": azure_native.containerservice.GPUInstanceProfile.MIG3G,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_ND96asr_v4",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
http_proxy_config={
"http_proxy": "http://myproxy.server.com:8080",
"https_proxy": "https://myproxy.server.com:8080",
"no_proxy": [
"localhost",
"127.0.0.1",
],
"trusted_ca": "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
gpuInstanceProfile: MIG3g
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_ND96asr_v4
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
httpProxyConfig:
httpProxy: http://myproxy.server.com:8080
httpsProxy: https://myproxy.server.com:8080
noProxy:
- localhost
- 127.0.0.1
trustedCa: Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
HttpProxyConfig = new AzureNative.ContainerService.Inputs.ManagedClusterHTTPProxyConfigArgs
{
HttpProxy = "http://myproxy.server.com:8080",
HttpsProxy = "https://myproxy.server.com:8080",
NoProxy = new[]
{
"localhost",
"127.0.0.1",
},
TrustedCa = "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
HttpProxyConfig: &containerservice.ManagedClusterHTTPProxyConfigArgs{
HttpProxy: pulumi.String("http://myproxy.server.com:8080"),
HttpsProxy: pulumi.String("https://myproxy.server.com:8080"),
NoProxy: pulumi.StringArray{
pulumi.String("localhost"),
pulumi.String("127.0.0.1"),
},
TrustedCa: pulumi.String("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U="),
},
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
http_proxy_config = {
http_proxy = "http://myproxy.server.com:8080"
https_proxy = "https://myproxy.server.com:8080"
no_proxy = ["localhost", "127.0.0.1"]
trusted_ca = "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U="
}
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterHTTPProxyConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.httpProxyConfig(ManagedClusterHTTPProxyConfigArgs.builder()
.httpProxy("http://myproxy.server.com:8080")
.httpsProxy("https://myproxy.server.com:8080")
.noProxy(
"localhost",
"127.0.0.1")
.trustedCa("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=")
.build())
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
httpProxyConfig: {
httpProxy: "http://myproxy.server.com:8080",
httpsProxy: "https://myproxy.server.com:8080",
noProxy: [
"localhost",
"127.0.0.1",
],
trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
http_proxy_config={
"http_proxy": "http://myproxy.server.com:8080",
"https_proxy": "https://myproxy.server.com:8080",
"no_proxy": [
"localhost",
"127.0.0.1",
],
"trusted_ca": "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
httpProxyConfig:
httpProxy: http://myproxy.server.com:8080
httpsProxy: https://myproxy.server.com:8080
noProxy:
- localhost
- 127.0.0.1
trustedCa: Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with LongTermSupport
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableEncryptionAtHost = true,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
ApiServerAccessProfile = new AzureNative.ContainerService.Inputs.ManagedClusterAPIServerAccessProfileArgs
{
DisableRunCommand = true,
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = AzureNative.ContainerService.ManagedClusterSKUName.Base,
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Premium,
},
SupportPlan = AzureNative.ContainerService.KubernetesSupportPlan.AKSLongTermSupport,
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableEncryptionAtHost: pulumi.Bool(true),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
ApiServerAccessProfile: &containerservice.ManagedClusterAPIServerAccessProfileArgs{
DisableRunCommand: pulumi.Bool(true),
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String(containerservice.ManagedClusterSKUNameBase),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierPremium),
},
SupportPlan: pulumi.String(containerservice.KubernetesSupportPlanAKSLongTermSupport),
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_encryption_at_host = true
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
api_server_access_profile = {
disable_run_command = true
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Base"
tier = "Premium"
}
support_plan = "AKSLongTermSupport"
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAPIServerAccessProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableEncryptionAtHost(true)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.apiServerAccessProfile(ManagedClusterAPIServerAccessProfileArgs.builder()
.disableRunCommand(true)
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Base")
.tier("Premium")
.build())
.supportPlan("AKSLongTermSupport")
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableEncryptionAtHost: true,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
apiServerAccessProfile: {
disableRunCommand: true,
},
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: azure_native.containerservice.ManagedClusterSKUName.Base,
tier: azure_native.containerservice.ManagedClusterSKUTier.Premium,
},
supportPlan: azure_native.containerservice.KubernetesSupportPlan.AKSLongTermSupport,
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_encryption_at_host": True,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
api_server_access_profile={
"disable_run_command": True,
},
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": azure_native.containerservice.ManagedClusterSKUName.BASE,
"tier": azure_native.containerservice.ManagedClusterSKUTier.PREMIUM,
},
support_plan=azure_native.containerservice.KubernetesSupportPlan.AKS_LONG_TERM_SUPPORT,
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableEncryptionAtHost: true
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
apiServerAccessProfile:
disableRunCommand: true
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Base
tier: Premium
supportPlan: AKSLongTermSupport
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with Node Public IP Prefix
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
NodePublicIPPrefixID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
NodePublicIPPrefixID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
node_public_ip_prefix_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.nodePublicIPPrefixID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
nodePublicIPPrefixID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"node_public_ip_prefix_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
nodePublicIPPrefixID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIPPrefixes/public-ip-prefix
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with OSSKU
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsSKU = AzureNative.ContainerService.OSSKU.AzureLinux,
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
HttpProxyConfig = new AzureNative.ContainerService.Inputs.ManagedClusterHTTPProxyConfigArgs
{
HttpProxy = "http://myproxy.server.com:8080",
HttpsProxy = "https://myproxy.server.com:8080",
NoProxy = new[]
{
"localhost",
"127.0.0.1",
},
TrustedCa = "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsSKU: pulumi.String(containerservice.OSSKUAzureLinux),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
HttpProxyConfig: &containerservice.ManagedClusterHTTPProxyConfigArgs{
HttpProxy: pulumi.String("http://myproxy.server.com:8080"),
HttpsProxy: pulumi.String("https://myproxy.server.com:8080"),
NoProxy: pulumi.StringArray{
pulumi.String("localhost"),
pulumi.String("127.0.0.1"),
},
TrustedCa: pulumi.String("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U="),
},
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_sku = "AzureLinux"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
http_proxy_config = {
http_proxy = "http://myproxy.server.com:8080"
https_proxy = "https://myproxy.server.com:8080"
no_proxy = ["localhost", "127.0.0.1"]
trusted_ca = "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U="
}
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterHTTPProxyConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osSKU("AzureLinux")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.httpProxyConfig(ManagedClusterHTTPProxyConfigArgs.builder()
.httpProxy("http://myproxy.server.com:8080")
.httpsProxy("https://myproxy.server.com:8080")
.noProxy(
"localhost",
"127.0.0.1")
.trustedCa("Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=")
.build())
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osSKU: azure_native.containerservice.OSSKU.AzureLinux,
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
httpProxyConfig: {
httpProxy: "http://myproxy.server.com:8080",
httpsProxy: "https://myproxy.server.com:8080",
noProxy: [
"localhost",
"127.0.0.1",
],
trustedCa: "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_sku": azure_native.containerservice.OSSKU.AZURE_LINUX,
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
http_proxy_config={
"http_proxy": "http://myproxy.server.com:8080",
"https_proxy": "https://myproxy.server.com:8080",
"no_proxy": [
"localhost",
"127.0.0.1",
],
"trusted_ca": "Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=",
},
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osSKU: AzureLinux
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
httpProxyConfig:
httpProxy: http://myproxy.server.com:8080
httpsProxy: https://myproxy.server.com:8080
noProxy:
- localhost
- 127.0.0.1
trustedCa: Q29uZ3JhdHMhIFlvdSBoYXZlIGZvdW5kIGEgaGlkZGVuIG1lc3NhZ2U=
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with PPG
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
ProximityPlacementGroupID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1",
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
ProximityPlacementGroupID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1"),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
proximity_placement_group_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.proximityPlacementGroupID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
proximityPlacementGroupID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1",
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"proximity_placement_group_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1",
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
proximityPlacementGroupID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with PodIdentity enabled
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
PodIdentityProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPodIdentityProfileArgs
{
AllowNetworkPluginKubenet = true,
Enabled = true,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
PodIdentityProfile: &containerservice.ManagedClusterPodIdentityProfileArgs{
AllowNetworkPluginKubenet: pulumi.Bool(true),
Enabled: pulumi.Bool(true),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
pod_identity_profile = {
allow_network_plugin_kubenet = true
enabled = true
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPodIdentityProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.podIdentityProfile(ManagedClusterPodIdentityProfileArgs.builder()
.allowNetworkPluginKubenet(true)
.enabled(true)
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
podIdentityProfile: {
allowNetworkPluginKubenet: true,
enabled: true,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
pod_identity_profile={
"allow_network_plugin_kubenet": True,
"enabled": True,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
podIdentityProfile:
allowNetworkPluginKubenet: true
enabled: true
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Cluster with RunCommand disabled
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableEncryptionAtHost = true,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
ApiServerAccessProfile = new AzureNative.ContainerService.Inputs.ManagedClusterAPIServerAccessProfileArgs
{
DisableRunCommand = true,
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableEncryptionAtHost: pulumi.Bool(true),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
ApiServerAccessProfile: &containerservice.ManagedClusterAPIServerAccessProfileArgs{
DisableRunCommand: pulumi.Bool(true),
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_encryption_at_host = true
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
api_server_access_profile = {
disable_run_command = true
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAPIServerAccessProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableEncryptionAtHost(true)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.apiServerAccessProfile(ManagedClusterAPIServerAccessProfileArgs.builder()
.disableRunCommand(true)
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableEncryptionAtHost: true,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
apiServerAccessProfile: {
disableRunCommand: true,
},
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_encryption_at_host": True,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
api_server_access_profile={
"disable_run_command": True,
},
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableEncryptionAtHost: true
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
apiServerAccessProfile:
disableRunCommand: true
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
DnsPrefix = "dnsprefix1",
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
SecurityProfile = new AzureNative.ContainerService.Inputs.ManagedClusterSecurityProfileArgs
{
Defender = new AzureNative.ContainerService.Inputs.ManagedClusterSecurityProfileDefenderArgs
{
LogAnalyticsWorkspaceResourceId = "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME",
SecurityMonitoring = new AzureNative.ContainerService.Inputs.ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs
{
Enabled = true,
},
},
WorkloadIdentity = new AzureNative.ContainerService.Inputs.ManagedClusterSecurityProfileWorkloadIdentityArgs
{
Enabled = true,
},
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
DnsPrefix: pulumi.String("dnsprefix1"),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
SecurityProfile: &containerservice.ManagedClusterSecurityProfileArgs{
Defender: &containerservice.ManagedClusterSecurityProfileDefenderArgs{
LogAnalyticsWorkspaceResourceId: pulumi.String("/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME"),
SecurityMonitoring: &containerservice.ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs{
Enabled: pulumi.Bool(true),
},
},
WorkloadIdentity: &containerservice.ManagedClusterSecurityProfileWorkloadIdentityArgs{
Enabled: pulumi.Bool(true),
},
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
dns_prefix = "dnsprefix1"
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
security_profile = {
defender = {
log_analytics_workspace_resource_id = "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME"
security_monitoring = {
enabled = true
}
}
workload_identity = {
enabled = true
}
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSecurityProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSecurityProfileDefenderArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSecurityProfileWorkloadIdentityArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.dnsPrefix("dnsprefix1")
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.securityProfile(ManagedClusterSecurityProfileArgs.builder()
.defender(ManagedClusterSecurityProfileDefenderArgs.builder()
.logAnalyticsWorkspaceResourceId("/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME")
.securityMonitoring(ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs.builder()
.enabled(true)
.build())
.build())
.workloadIdentity(ManagedClusterSecurityProfileWorkloadIdentityArgs.builder()
.enabled(true)
.build())
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
dnsPrefix: "dnsprefix1",
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
securityProfile: {
defender: {
logAnalyticsWorkspaceResourceId: "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME",
securityMonitoring: {
enabled: true,
},
},
workloadIdentity: {
enabled: true,
},
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
dns_prefix="dnsprefix1",
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
security_profile={
"defender": {
"log_analytics_workspace_resource_id": "/subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME",
"security_monitoring": {
"enabled": True,
},
},
"workload_identity": {
"enabled": True,
},
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
dnsPrefix: dnsprefix1
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
securityProfile:
defender:
logAnalyticsWorkspaceResourceId: /subscriptions/SUB_ID/resourcegroups/RG_NAME/providers/microsoft.operationalinsights/workspaces/WORKSPACE_NAME
securityMonitoring:
enabled: true
workloadIdentity:
enabled: true
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
Create Managed Cluster with UltraSSD enabled
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
EnableUltraSSD = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
EnableUltraSSD: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
enable_ultra_ssd = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.enableUltraSSD(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
enableUltraSSD: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"enable_ultra_ssd": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
enableUltraSSD: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
DnsPrefix = "dnsprefix1",
IngressProfile = new AzureNative.ContainerService.Inputs.ManagedClusterIngressProfileArgs
{
WebAppRouting = new AzureNative.ContainerService.Inputs.ManagedClusterIngressProfileWebAppRoutingArgs
{
DnsZoneResourceIds = new[]
{
"/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME",
},
Enabled = true,
},
},
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
DnsPrefix: pulumi.String("dnsprefix1"),
IngressProfile: &containerservice.ManagedClusterIngressProfileArgs{
WebAppRouting: &containerservice.ManagedClusterIngressProfileWebAppRoutingArgs{
DnsZoneResourceIds: pulumi.StringArray{
pulumi.String("/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"),
},
Enabled: pulumi.Bool(true),
},
},
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
dns_prefix = "dnsprefix1"
ingress_profile = {
web_app_routing = {
dns_zone_resource_ids = ["/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"]
enabled = true
}
}
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterIngressProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterIngressProfileWebAppRoutingArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.dnsPrefix("dnsprefix1")
.ingressProfile(ManagedClusterIngressProfileArgs.builder()
.webAppRouting(ManagedClusterIngressProfileWebAppRoutingArgs.builder()
.dnsZoneResourceIds("/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME")
.enabled(true)
.build())
.build())
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
dnsPrefix: "dnsprefix1",
ingressProfile: {
webAppRouting: {
dnsZoneResourceIds: ["/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"],
enabled: true,
},
},
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
dns_prefix="dnsprefix1",
ingress_profile={
"web_app_routing": {
"dns_zone_resource_ids": ["/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"],
"enabled": True,
},
},
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
dnsPrefix: dnsprefix1
ingressProfile:
webAppRouting:
dnsZoneResourceIds:
- /subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME
enabled: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
Create Managed Cluster with user-assigned NAT gateway as outbound type
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = false,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.UserAssignedNATGateway,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(false),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeUserAssignedNATGateway),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_node_public_ip = false
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_sku = "standard"
outbound_type = "userAssignedNATGateway"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(false)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerSku("standard")
.outboundType("userAssignedNATGateway")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: false,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.UserAssignedNATGateway,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": False,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.USER_ASSIGNED_NAT_GATEWAY,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableNodePublicIP: false
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerSku: standard
outboundType: userAssignedNATGateway
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Private Cluster with Public FQDN specified
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableEncryptionAtHost = true,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
ApiServerAccessProfile = new AzureNative.ContainerService.Inputs.ManagedClusterAPIServerAccessProfileArgs
{
EnablePrivateCluster = true,
EnablePrivateClusterPublicFQDN = true,
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableEncryptionAtHost: pulumi.Bool(true),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
ApiServerAccessProfile: &containerservice.ManagedClusterAPIServerAccessProfileArgs{
EnablePrivateCluster: pulumi.Bool(true),
EnablePrivateClusterPublicFQDN: pulumi.Bool(true),
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_encryption_at_host = true
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
api_server_access_profile = {
enable_private_cluster = true
enable_private_cluster_public_fqdn = true
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAPIServerAccessProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableEncryptionAtHost(true)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.apiServerAccessProfile(ManagedClusterAPIServerAccessProfileArgs.builder()
.enablePrivateCluster(true)
.enablePrivateClusterPublicFQDN(true)
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableEncryptionAtHost: true,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
apiServerAccessProfile: {
enablePrivateCluster: true,
enablePrivateClusterPublicFQDN: true,
},
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_encryption_at_host": True,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
api_server_access_profile={
"enable_private_cluster": True,
"enable_private_cluster_public_fqdn": True,
},
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableEncryptionAtHost: true
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
apiServerAccessProfile:
enablePrivateCluster: true
enablePrivateClusterPublicFQDN: true
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create Managed Private Cluster with fqdn subdomain specified
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableEncryptionAtHost = true,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
ApiServerAccessProfile = new AzureNative.ContainerService.Inputs.ManagedClusterAPIServerAccessProfileArgs
{
EnablePrivateCluster = true,
PrivateDNSZone = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io",
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
EnableRBAC = true,
FqdnSubdomain = "domain1",
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableEncryptionAtHost: pulumi.Bool(true),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
ApiServerAccessProfile: &containerservice.ManagedClusterAPIServerAccessProfileArgs{
EnablePrivateCluster: pulumi.Bool(true),
PrivateDNSZone: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io"),
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
EnableRBAC: pulumi.Bool(true),
FqdnSubdomain: pulumi.String("domain1"),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {}
agent_pool_profiles {
count = 3
enable_encryption_at_host = true
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
api_server_access_profile = {
enable_private_cluster = true
private_dns_zone = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
enable_rbac = true
fqdn_subdomain = "domain1"
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAPIServerAccessProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableEncryptionAtHost(true)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.apiServerAccessProfile(ManagedClusterAPIServerAccessProfileArgs.builder()
.enablePrivateCluster(true)
.privateDNSZone("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.enableRBAC(true)
.fqdnSubdomain("domain1")
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {},
agentPoolProfiles: [{
count: 3,
enableEncryptionAtHost: true,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
apiServerAccessProfile: {
enablePrivateCluster: true,
privateDNSZone: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io",
},
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
enableRBAC: true,
fqdnSubdomain: "domain1",
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={},
agent_pool_profiles=[{
"count": 3,
"enable_encryption_at_host": True,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
api_server_access_profile={
"enable_private_cluster": True,
"private_dns_zone": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io",
},
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
enable_rbac=True,
fqdn_subdomain="domain1",
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles: {}
agentPoolProfiles:
- count: 3
enableEncryptionAtHost: true
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
apiServerAccessProfile:
enablePrivateCluster: true
privateDNSZone: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/privateDnsZones/privatelink.location1.azmk8s.io
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
enableRBAC: true
fqdnSubdomain: domain1
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create/Update AAD Managed Cluster with EnableAzureRBAC
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AadProfile = new AzureNative.ContainerService.Inputs.ManagedClusterAADProfileArgs
{
EnableAzureRBAC = true,
Managed = true,
},
AddonProfiles = new() { },
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
AvailabilityZones = new[]
{
"1",
"2",
"3",
},
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS1_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AadProfile: &containerservice.ManagedClusterAADProfileArgs{
EnableAzureRBAC: pulumi.Bool(true),
Managed: pulumi.Bool(true),
},
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
AvailabilityZones: pulumi.StringArray{
pulumi.String("1"),
pulumi.String("2"),
pulumi.String("3"),
},
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS1_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
aad_profile = {
enable_azure_rbac = true
managed = true
}
addon_profiles = {}
agent_pool_profiles {
availability_zones = ["1", "2", "3"]
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS1_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAADProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.aadProfile(ManagedClusterAADProfileArgs.builder()
.enableAzureRBAC(true)
.managed(true)
.build())
.addonProfiles(Map.ofEntries(
))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.availabilityZones(
"1",
"2",
"3")
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS1_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
aadProfile: {
enableAzureRBAC: true,
managed: true,
},
addonProfiles: {},
agentPoolProfiles: [{
availabilityZones: [
"1",
"2",
"3",
],
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS1_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
aad_profile={
"enable_azure_rbac": True,
"managed": True,
},
addon_profiles={},
agent_pool_profiles=[{
"availability_zones": [
"1",
"2",
"3",
],
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS1_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
aadProfile:
enableAzureRBAC: true
managed: true
addonProfiles: {}
agentPoolProfiles:
- availabilityZones:
- '1'
- '2'
- '3'
count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS1_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create/Update Managed Cluster with Azure Service Mesh
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedCluster = new AzureNative.ContainerService.ManagedCluster("managedCluster", new()
{
AddonProfiles =
{
{ "azureKeyvaultSecretsProvider", new AzureNative.ContainerService.Inputs.ManagedClusterAddonProfileArgs
{
Config =
{
{ "enableSecretRotation", "true" },
{ "rotationPollInterval", "2m" },
},
Enabled = true,
} },
},
AgentPoolProfiles = new[]
{
new AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfileArgs
{
Count = 3,
EnableNodePublicIP = true,
Mode = AzureNative.ContainerService.AgentPoolMode.System,
Name = "nodepool1",
OsType = AzureNative.ContainerService.OSType.Linux,
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachineScaleSets,
VmSize = "Standard_DS2_v2",
},
},
AutoScalerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfileArgs
{
ScaleDownDelayAfterAdd = "15m",
ScanInterval = "20s",
},
DiskEncryptionSetID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
DnsPrefix = "dnsprefix1",
EnableRBAC = true,
KubernetesVersion = "",
LinuxProfile = new AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfileArgs
{
AdminUsername = "azureuser",
Ssh = new AzureNative.ContainerService.Inputs.ContainerServiceSshConfigurationArgs
{
PublicKeys = new[]
{
new AzureNative.ContainerService.Inputs.ContainerServiceSshPublicKeyArgs
{
KeyData = "keydata",
},
},
},
},
Location = "location1",
NetworkProfile = new AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfileArgs
{
LoadBalancerProfile = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileArgs
{
ManagedOutboundIPs = new AzureNative.ContainerService.Inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
{
Count = 2,
},
},
LoadBalancerSku = AzureNative.ContainerService.LoadBalancerSku.Standard,
OutboundType = AzureNative.ContainerService.OutboundType.LoadBalancer,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ServiceMeshProfile = new AzureNative.ContainerService.Inputs.ServiceMeshProfileArgs
{
Istio = new AzureNative.ContainerService.Inputs.IstioServiceMeshArgs
{
CertificateAuthority = new AzureNative.ContainerService.Inputs.IstioCertificateAuthorityArgs
{
Plugin = new AzureNative.ContainerService.Inputs.IstioPluginCertificateAuthorityArgs
{
CertChainObjectName = "cert-chain",
CertObjectName = "ca-cert",
KeyObjectName = "ca-key",
KeyVaultId = "/subscriptions/854c9ddb-fe9e-4aea-8d58-99ed88282881/resourceGroups/ddama-test/providers/Microsoft.KeyVault/vaults/my-akv",
RootCertObjectName = "root-cert",
},
},
Components = new AzureNative.ContainerService.Inputs.IstioComponentsArgs
{
EgressGateways = new[]
{
new AzureNative.ContainerService.Inputs.IstioEgressGatewayArgs
{
Enabled = true,
GatewayConfigurationName = "test-gateway-configuration",
Name = "test-istio-egress",
},
},
IngressGateways = new[]
{
new AzureNative.ContainerService.Inputs.IstioIngressGatewayArgs
{
Enabled = true,
Mode = AzureNative.ContainerService.IstioIngressGatewayMode.Internal,
},
},
},
},
Mode = AzureNative.ContainerService.ServiceMeshMode.Istio,
},
ServicePrincipalProfile = new AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfileArgs
{
ClientId = "clientid",
Secret = "secret",
},
Sku = new AzureNative.ContainerService.Inputs.ManagedClusterSKUArgs
{
Name = "Basic",
Tier = AzureNative.ContainerService.ManagedClusterSKUTier.Free,
},
Tags =
{
{ "archv2", "" },
{ "tier", "production" },
},
WindowsProfile = new AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfileArgs
{
AdminPassword = "replacePassword1234$",
AdminUsername = "azureuser",
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerservice.NewManagedCluster(ctx, "managedCluster", &containerservice.ManagedClusterArgs{
AddonProfiles: containerservice.ManagedClusterAddonProfileMap{
"azureKeyvaultSecretsProvider": &containerservice.ManagedClusterAddonProfileArgs{
Config: pulumi.StringMap{
"enableSecretRotation": pulumi.String("true"),
"rotationPollInterval": pulumi.String("2m"),
},
Enabled: pulumi.Bool(true),
},
},
AgentPoolProfiles: containerservice.ManagedClusterAgentPoolProfileArray{
&containerservice.ManagedClusterAgentPoolProfileArgs{
Count: pulumi.Int(3),
EnableNodePublicIP: pulumi.Bool(true),
Mode: pulumi.String(containerservice.AgentPoolModeSystem),
Name: pulumi.String("nodepool1"),
OsType: pulumi.String(containerservice.OSTypeLinux),
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachineScaleSets),
VmSize: pulumi.String("Standard_DS2_v2"),
},
},
AutoScalerProfile: &containerservice.ManagedClusterPropertiesAutoScalerProfileArgs{
ScaleDownDelayAfterAdd: pulumi.String("15m"),
ScanInterval: pulumi.String("20s"),
},
DiskEncryptionSetID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"),
DnsPrefix: pulumi.String("dnsprefix1"),
EnableRBAC: pulumi.Bool(true),
KubernetesVersion: pulumi.String(""),
LinuxProfile: &containerservice.ContainerServiceLinuxProfileArgs{
AdminUsername: pulumi.String("azureuser"),
Ssh: &containerservice.ContainerServiceSshConfigurationArgs{
PublicKeys: containerservice.ContainerServiceSshPublicKeyArray{
&containerservice.ContainerServiceSshPublicKeyArgs{
KeyData: pulumi.String("keydata"),
},
},
},
},
Location: pulumi.String("location1"),
NetworkProfile: &containerservice.ContainerServiceNetworkProfileArgs{
LoadBalancerProfile: &containerservice.ManagedClusterLoadBalancerProfileArgs{
ManagedOutboundIPs: &containerservice.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs{
Count: pulumi.Int(2),
},
},
LoadBalancerSku: pulumi.String(containerservice.LoadBalancerSkuStandard),
OutboundType: pulumi.String(containerservice.OutboundTypeLoadBalancer),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ServiceMeshProfile: &containerservice.ServiceMeshProfileArgs{
Istio: &containerservice.IstioServiceMeshArgs{
CertificateAuthority: &containerservice.IstioCertificateAuthorityArgs{
Plugin: &containerservice.IstioPluginCertificateAuthorityArgs{
CertChainObjectName: pulumi.String("cert-chain"),
CertObjectName: pulumi.String("ca-cert"),
KeyObjectName: pulumi.String("ca-key"),
KeyVaultId: pulumi.String("/subscriptions/854c9ddb-fe9e-4aea-8d58-99ed88282881/resourceGroups/ddama-test/providers/Microsoft.KeyVault/vaults/my-akv"),
RootCertObjectName: pulumi.String("root-cert"),
},
},
Components: &containerservice.IstioComponentsArgs{
EgressGateways: containerservice.IstioEgressGatewayArray{
&containerservice.IstioEgressGatewayArgs{
Enabled: pulumi.Bool(true),
GatewayConfigurationName: pulumi.String("test-gateway-configuration"),
Name: pulumi.String("test-istio-egress"),
},
},
IngressGateways: containerservice.IstioIngressGatewayArray{
&containerservice.IstioIngressGatewayArgs{
Enabled: pulumi.Bool(true),
Mode: pulumi.String(containerservice.IstioIngressGatewayModeInternal),
},
},
},
},
Mode: pulumi.String(containerservice.ServiceMeshModeIstio),
},
ServicePrincipalProfile: &containerservice.ManagedClusterServicePrincipalProfileArgs{
ClientId: pulumi.String("clientid"),
Secret: pulumi.String("secret"),
},
Sku: &containerservice.ManagedClusterSKUArgs{
Name: pulumi.String("Basic"),
Tier: pulumi.String(containerservice.ManagedClusterSKUTierFree),
},
Tags: pulumi.StringMap{
"archv2": pulumi.String(""),
"tier": pulumi.String("production"),
},
WindowsProfile: &containerservice.ManagedClusterWindowsProfileArgs{
AdminPassword: pulumi.String("replacePassword1234$"),
AdminUsername: pulumi.String("azureuser"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_containerservice_managed_cluster" "managedCluster" {
lifecycle {
create_before_destroy = true
}
addon_profiles = {
"azureKeyvaultSecretsProvider" = {
config = {
"enableSecretRotation" = "true"
"rotationPollInterval" = "2m"
}
enabled = true
}
}
agent_pool_profiles {
count = 3
enable_node_public_ip = true
mode = "System"
name = "nodepool1"
os_type = "Linux"
type = "VirtualMachineScaleSets"
vm_size = "Standard_DS2_v2"
}
auto_scaler_profile = {
scale_down_delay_after_add = "15m"
scan_interval = "20s"
}
disk_encryption_set_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des"
dns_prefix = "dnsprefix1"
enable_rbac = true
kubernetes_version = ""
linux_profile = {
admin_username = "azureuser"
ssh = {
public_keys = [{
key_data = "keydata"
}]
}
}
location = "location1"
network_profile = {
load_balancer_profile = {
managed_outbound_i_ps = {
count = 2
}
}
load_balancer_sku = "standard"
outbound_type = "loadBalancer"
}
resource_group_name = "rg1"
resource_name = "clustername1"
service_mesh_profile = {
istio = {
certificate_authority = {
plugin = {
cert_chain_object_name = "cert-chain"
cert_object_name = "ca-cert"
key_object_name = "ca-key"
key_vault_id = "/subscriptions/854c9ddb-fe9e-4aea-8d58-99ed88282881/resourceGroups/ddama-test/providers/Microsoft.KeyVault/vaults/my-akv"
root_cert_object_name = "root-cert"
}
}
components = {
egress_gateways = [{
enabled = true
gateway_configuration_name = "test-gateway-configuration"
name = "test-istio-egress"
}]
ingress_gateways = [{
enabled = true
mode = "Internal"
}]
}
}
mode = "Istio"
}
service_principal_profile = {
client_id = "clientid"
secret = "secret"
}
sku = {
name = "Basic"
tier = "Free"
}
tags = {
"archv2" = ""
"tier" = "production"
}
windows_profile = {
admin_password = "replacePassword1234$"
admin_username = "azureuser"
}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.ManagedCluster;
import com.pulumi.azurenative.containerservice.ManagedClusterArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAddonProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterAgentPoolProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterPropertiesAutoScalerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceLinuxProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshConfigurationArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceSshPublicKeyArgs;
import com.pulumi.azurenative.containerservice.inputs.ContainerServiceNetworkProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs;
import com.pulumi.azurenative.containerservice.inputs.ServiceMeshProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.IstioServiceMeshArgs;
import com.pulumi.azurenative.containerservice.inputs.IstioCertificateAuthorityArgs;
import com.pulumi.azurenative.containerservice.inputs.IstioPluginCertificateAuthorityArgs;
import com.pulumi.azurenative.containerservice.inputs.IstioComponentsArgs;
import com.pulumi.azurenative.containerservice.inputs.IstioEgressGatewayArgs;
import com.pulumi.azurenative.containerservice.inputs.IstioIngressGatewayArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterServicePrincipalProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs;
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterWindowsProfileArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 managedCluster = new ManagedCluster("managedCluster", ManagedClusterArgs.builder()
.addonProfiles(Map.of("azureKeyvaultSecretsProvider", ManagedClusterAddonProfileArgs.builder()
.config(Map.ofEntries(
Map.entry("enableSecretRotation", "true"),
Map.entry("rotationPollInterval", "2m")
))
.enabled(true)
.build()))
.agentPoolProfiles(ManagedClusterAgentPoolProfileArgs.builder()
.count(3)
.enableNodePublicIP(true)
.mode("System")
.name("nodepool1")
.osType("Linux")
.type("VirtualMachineScaleSets")
.vmSize("Standard_DS2_v2")
.build())
.autoScalerProfile(ManagedClusterPropertiesAutoScalerProfileArgs.builder()
.scaleDownDelayAfterAdd("15m")
.scanInterval("20s")
.build())
.diskEncryptionSetID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des")
.dnsPrefix("dnsprefix1")
.enableRBAC(true)
.kubernetesVersion("")
.linuxProfile(ContainerServiceLinuxProfileArgs.builder()
.adminUsername("azureuser")
.ssh(ContainerServiceSshConfigurationArgs.builder()
.publicKeys(ContainerServiceSshPublicKeyArgs.builder()
.keyData("keydata")
.build())
.build())
.build())
.location("location1")
.networkProfile(ContainerServiceNetworkProfileArgs.builder()
.loadBalancerProfile(ManagedClusterLoadBalancerProfileArgs.builder()
.managedOutboundIPs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs.builder()
.count(2)
.build())
.build())
.loadBalancerSku("standard")
.outboundType("loadBalancer")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.serviceMeshProfile(ServiceMeshProfileArgs.builder()
.istio(IstioServiceMeshArgs.builder()
.certificateAuthority(IstioCertificateAuthorityArgs.builder()
.plugin(IstioPluginCertificateAuthorityArgs.builder()
.certChainObjectName("cert-chain")
.certObjectName("ca-cert")
.keyObjectName("ca-key")
.keyVaultId("/subscriptions/854c9ddb-fe9e-4aea-8d58-99ed88282881/resourceGroups/ddama-test/providers/Microsoft.KeyVault/vaults/my-akv")
.rootCertObjectName("root-cert")
.build())
.build())
.components(IstioComponentsArgs.builder()
.egressGateways(IstioEgressGatewayArgs.builder()
.enabled(true)
.gatewayConfigurationName("test-gateway-configuration")
.name("test-istio-egress")
.build())
.ingressGateways(IstioIngressGatewayArgs.builder()
.enabled(true)
.mode("Internal")
.build())
.build())
.build())
.mode("Istio")
.build())
.servicePrincipalProfile(ManagedClusterServicePrincipalProfileArgs.builder()
.clientId("clientid")
.secret("secret")
.build())
.sku(ManagedClusterSKUArgs.builder()
.name("Basic")
.tier("Free")
.build())
.tags(Map.ofEntries(
Map.entry("archv2", ""),
Map.entry("tier", "production")
))
.windowsProfile(ManagedClusterWindowsProfileArgs.builder()
.adminPassword("replacePassword1234$")
.adminUsername("azureuser")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedCluster = new azure_native.containerservice.ManagedCluster("managedCluster", {
addonProfiles: {
azureKeyvaultSecretsProvider: {
config: {
enableSecretRotation: "true",
rotationPollInterval: "2m",
},
enabled: true,
},
},
agentPoolProfiles: [{
count: 3,
enableNodePublicIP: true,
mode: azure_native.containerservice.AgentPoolMode.System,
name: "nodepool1",
osType: azure_native.containerservice.OSType.Linux,
type: azure_native.containerservice.AgentPoolType.VirtualMachineScaleSets,
vmSize: "Standard_DS2_v2",
}],
autoScalerProfile: {
scaleDownDelayAfterAdd: "15m",
scanInterval: "20s",
},
diskEncryptionSetID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dnsPrefix: "dnsprefix1",
enableRBAC: true,
kubernetesVersion: "",
linuxProfile: {
adminUsername: "azureuser",
ssh: {
publicKeys: [{
keyData: "keydata",
}],
},
},
location: "location1",
networkProfile: {
loadBalancerProfile: {
managedOutboundIPs: {
count: 2,
},
},
loadBalancerSku: azure_native.containerservice.LoadBalancerSku.Standard,
outboundType: azure_native.containerservice.OutboundType.LoadBalancer,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
serviceMeshProfile: {
istio: {
certificateAuthority: {
plugin: {
certChainObjectName: "cert-chain",
certObjectName: "ca-cert",
keyObjectName: "ca-key",
keyVaultId: "/subscriptions/854c9ddb-fe9e-4aea-8d58-99ed88282881/resourceGroups/ddama-test/providers/Microsoft.KeyVault/vaults/my-akv",
rootCertObjectName: "root-cert",
},
},
components: {
egressGateways: [{
enabled: true,
gatewayConfigurationName: "test-gateway-configuration",
name: "test-istio-egress",
}],
ingressGateways: [{
enabled: true,
mode: azure_native.containerservice.IstioIngressGatewayMode.Internal,
}],
},
},
mode: azure_native.containerservice.ServiceMeshMode.Istio,
},
servicePrincipalProfile: {
clientId: "clientid",
secret: "secret",
},
sku: {
name: "Basic",
tier: azure_native.containerservice.ManagedClusterSKUTier.Free,
},
tags: {
archv2: "",
tier: "production",
},
windowsProfile: {
adminPassword: "replacePassword1234$",
adminUsername: "azureuser",
},
});
import pulumi
import pulumi_azure_native as azure_native
managed_cluster = azure_native.containerservice.ManagedCluster("managedCluster",
addon_profiles={
"azureKeyvaultSecretsProvider": {
"config": {
"enableSecretRotation": "true",
"rotationPollInterval": "2m",
},
"enabled": True,
},
},
agent_pool_profiles=[{
"count": 3,
"enable_node_public_ip": True,
"mode": azure_native.containerservice.AgentPoolMode.SYSTEM,
"name": "nodepool1",
"os_type": azure_native.containerservice.OSType.LINUX,
"type": azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINE_SCALE_SETS,
"vm_size": "Standard_DS2_v2",
}],
auto_scaler_profile={
"scale_down_delay_after_add": "15m",
"scan_interval": "20s",
},
disk_encryption_set_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des",
dns_prefix="dnsprefix1",
enable_rbac=True,
kubernetes_version="",
linux_profile={
"admin_username": "azureuser",
"ssh": {
"public_keys": [{
"key_data": "keydata",
}],
},
},
location="location1",
network_profile={
"load_balancer_profile": {
"managed_outbound_ips": {
"count": 2,
},
},
"load_balancer_sku": azure_native.containerservice.LoadBalancerSku.STANDARD,
"outbound_type": azure_native.containerservice.OutboundType.LOAD_BALANCER,
},
resource_group_name="rg1",
resource_name_="clustername1",
service_mesh_profile={
"istio": {
"certificate_authority": {
"plugin": {
"cert_chain_object_name": "cert-chain",
"cert_object_name": "ca-cert",
"key_object_name": "ca-key",
"key_vault_id": "/subscriptions/854c9ddb-fe9e-4aea-8d58-99ed88282881/resourceGroups/ddama-test/providers/Microsoft.KeyVault/vaults/my-akv",
"root_cert_object_name": "root-cert",
},
},
"components": {
"egress_gateways": [{
"enabled": True,
"gateway_configuration_name": "test-gateway-configuration",
"name": "test-istio-egress",
}],
"ingress_gateways": [{
"enabled": True,
"mode": azure_native.containerservice.IstioIngressGatewayMode.INTERNAL,
}],
},
},
"mode": azure_native.containerservice.ServiceMeshMode.ISTIO,
},
service_principal_profile={
"client_id": "clientid",
"secret": "secret",
},
sku={
"name": "Basic",
"tier": azure_native.containerservice.ManagedClusterSKUTier.FREE,
},
tags={
"archv2": "",
"tier": "production",
},
windows_profile={
"admin_password": "replacePassword1234$",
"admin_username": "azureuser",
})
resources:
managedCluster:
type: azure-native:containerservice:ManagedCluster
properties:
addonProfiles:
azureKeyvaultSecretsProvider:
config:
enableSecretRotation: 'true'
rotationPollInterval: 2m
enabled: true
agentPoolProfiles:
- count: 3
enableNodePublicIP: true
mode: System
name: nodepool1
osType: Linux
type: VirtualMachineScaleSets
vmSize: Standard_DS2_v2
autoScalerProfile:
scaleDownDelayAfterAdd: 15m
scanInterval: 20s
diskEncryptionSetID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/diskEncryptionSets/des
dnsPrefix: dnsprefix1
enableRBAC: true
kubernetesVersion: ""
linuxProfile:
adminUsername: azureuser
ssh:
publicKeys:
- keyData: keydata
location: location1
networkProfile:
loadBalancerProfile:
managedOutboundIPs:
count: 2
loadBalancerSku: standard
outboundType: loadBalancer
resourceGroupName: rg1
resourceName: clustername1
serviceMeshProfile:
istio:
certificateAuthority:
plugin:
certChainObjectName: cert-chain
certObjectName: ca-cert
keyObjectName: ca-key
keyVaultId: /subscriptions/854c9ddb-fe9e-4aea-8d58-99ed88282881/resourceGroups/ddama-test/providers/Microsoft.KeyVault/vaults/my-akv
rootCertObjectName: root-cert
components:
egressGateways:
- enabled: true
gatewayConfigurationName: test-gateway-configuration
name: test-istio-egress
ingressGateways:
- enabled: true
mode: Internal
mode: Istio
servicePrincipalProfile:
clientId: clientid
secret: secret
sku:
name: Basic
tier: Free
tags:
archv2: ""
tier: production
windowsProfile:
adminPassword: replacePassword1234$
adminUsername: azureuser
Create ManagedCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def ManagedCluster(resource_name: str,
args: ManagedClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
metrics_profile: Optional[ManagedClusterMetricsProfileArgs] = None,
ai_toolchain_operator_profile: Optional[ManagedClusterAIToolchainOperatorProfileArgs] = None,
api_server_access_profile: Optional[ManagedClusterAPIServerAccessProfileArgs] = None,
auto_scaler_profile: Optional[ManagedClusterPropertiesAutoScalerProfileArgs] = None,
auto_upgrade_profile: Optional[ManagedClusterAutoUpgradeProfileArgs] = None,
azure_monitor_profile: Optional[ManagedClusterAzureMonitorProfileArgs] = None,
bootstrap_profile: Optional[ManagedClusterBootstrapProfileArgs] = None,
disable_local_accounts: Optional[bool] = None,
disk_encryption_set_id: Optional[str] = None,
dns_prefix: Optional[str] = None,
enable_rbac: Optional[bool] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
fqdn_subdomain: Optional[str] = None,
http_proxy_config: Optional[ManagedClusterHTTPProxyConfigArgs] = None,
identity: Optional[ManagedClusterIdentityArgs] = None,
identity_profile: Optional[Mapping[str, UserAssignedIdentityArgs]] = None,
aad_profile: Optional[ManagedClusterAADProfileArgs] = None,
kind: Optional[str] = None,
kubernetes_version: Optional[str] = None,
agent_pool_profiles: Optional[Sequence[ManagedClusterAgentPoolProfileArgs]] = None,
linux_profile: Optional[ContainerServiceLinuxProfileArgs] = None,
ingress_profile: Optional[ManagedClusterIngressProfileArgs] = None,
network_profile: Optional[ContainerServiceNetworkProfileArgs] = None,
node_provisioning_profile: Optional[ManagedClusterNodeProvisioningProfileArgs] = None,
node_resource_group: Optional[str] = None,
node_resource_group_profile: Optional[ManagedClusterNodeResourceGroupProfileArgs] = None,
oidc_issuer_profile: Optional[ManagedClusterOIDCIssuerProfileArgs] = None,
pod_identity_profile: Optional[ManagedClusterPodIdentityProfileArgs] = None,
private_link_resources: Optional[Sequence[PrivateLinkResourceArgs]] = None,
public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
addon_profiles: Optional[Mapping[str, ManagedClusterAddonProfileArgs]] = None,
resource_name_: Optional[str] = None,
security_profile: Optional[ManagedClusterSecurityProfileArgs] = None,
service_mesh_profile: Optional[ServiceMeshProfileArgs] = None,
service_principal_profile: Optional[ManagedClusterServicePrincipalProfileArgs] = None,
sku: Optional[ManagedClusterSKUArgs] = None,
storage_profile: Optional[ManagedClusterStorageProfileArgs] = None,
support_plan: Optional[Union[str, KubernetesSupportPlan]] = None,
tags: Optional[Mapping[str, str]] = None,
upgrade_settings: Optional[ClusterUpgradeSettingsArgs] = None,
windows_profile: Optional[ManagedClusterWindowsProfileArgs] = None,
workload_auto_scaler_profile: Optional[ManagedClusterWorkloadAutoScalerProfileArgs] = None)
type: azure-native:containerservice:ManagedCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_containerservice_managed_cluster" "name" {
# resource properties
}
Parameters
- 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.
- 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.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ManagedCluster resource accepts the following input properties:
- ResourceGroupName
string
- The name of the resource group. The name is case insensitive.
- AadProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterAADProfile
- The Azure Active Directory configuration.
- AddonProfiles
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterAddonProfileArgs>
- The profile of managed cluster add-on.
- AgentPoolProfiles
List<Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterAgentPoolProfile>
- The agent pool properties.
- AiToolchainOperatorProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterAIToolchainOperatorProfile
- AI toolchain operator settings that apply to the whole cluster.
- ApiServerAccessProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterAPIServerAccessProfile
- The access profile for managed cluster API server.
- AutoScalerProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterPropertiesAutoScalerProfile
- Parameters to be applied to the cluster-autoscaler when enabled
- AutoUpgradeProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterAutoUpgradeProfile
- The auto upgrade configuration.
- AzureMonitorProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterAzureMonitorProfile
- Azure Monitor addon profiles for monitoring the managed cluster.
- BootstrapProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterBootstrapProfile
- Profile of the cluster bootstrap configuration.
- DisableLocalAccounts
bool
- If local accounts should be disabled on the Managed Cluster. If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see disable local accounts.
- DiskEncryptionSetID
string
- The Resource ID of the disk encryption set to use for enabling encryption at rest. This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
- DnsPrefix
string
- The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has been created.
- EnableRBAC
bool
- Whether to enable Kubernetes Role-Based Access Control.
- ExtendedLocation
Pulumi.AzureNative.ContainerService.Inputs.ExtendedLocation
- The extended location of the Virtual Machine.
- FqdnSubdomain
string
- The FQDN subdomain of the private cluster with custom private dns zone. This cannot be updated once the Managed Cluster has been created.
- HttpProxyConfig
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterHTTPProxyConfig
- Configurations for provisioning the cluster with HTTP proxy servers.
- Identity
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterIdentity
- The identity of the managed cluster, if configured.
- IdentityProfile
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.UserAssignedIdentityArgs>
- The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
- IngressProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterIngressProfile
- Ingress profile for the managed cluster.
- Kind
string
- This is primarily used to expose different UI experiences in the portal for different kinds
- KubernetesVersion
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See upgrading an AKS cluster for more details.
- LinuxProfile
Pulumi.AzureNative.ContainerService.Inputs.ContainerServiceLinuxProfile
- The profile for Linux VMs in the Managed Cluster.
- Location
string
- The geo-location where the resource lives
- MetricsProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterMetricsProfile
- Optional cluster metrics configuration.
- NetworkProfile
Pulumi.AzureNative.ContainerService.Inputs.ContainerServiceNetworkProfile
- The network configuration profile.
- NodeProvisioningProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterNodeProvisioningProfile
- Node provisioning settings that apply to the whole cluster.
- NodeResourceGroup
string
- The name of the resource group containing agent pool nodes.
- NodeResourceGroupProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterNodeResourceGroupProfile
- Profile of the node resource group configuration.
- OidcIssuerProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterOIDCIssuerProfile
- The OIDC issuer profile of the Managed Cluster.
- PodIdentityProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterPodIdentityProfile
- The pod identity profile of the Managed Cluster. See use AAD pod identity for more details on AAD pod identity integration.
- PrivateLinkResources
List<Pulumi.AzureNative.ContainerService.Inputs.PrivateLinkResource>
- Private link resources associated with the cluster.
- PublicNetworkAccess
string | Pulumi.AzureNative.ContainerService.PublicNetworkAccess
- PublicNetworkAccess of the managedCluster. Allow or deny public network access for AKS
- ResourceName
string
- The name of the managed cluster resource.
- SecurityProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterSecurityProfile
- Security profile for the managed cluster.
- ServiceMeshProfile
Pulumi.AzureNative.ContainerService.Inputs.ServiceMeshProfile
- Service mesh profile for a managed cluster.
- ServicePrincipalProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterServicePrincipalProfile
- Information about a service principal identity for the cluster to use for manipulating Azure APIs.
- Sku
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterSKU
- The managed cluster SKU.
- StorageProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterStorageProfile
- Storage profile for the managed cluster.
- SupportPlan
string | Pulumi.AzureNative.ContainerService.KubernetesSupportPlan
- The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
- Tags
Dictionary<string, string>
- Resource tags.
- UpgradeSettings
Pulumi.AzureNative.ContainerService.Inputs.ClusterUpgradeSettings
- Settings for upgrading a cluster.
- WindowsProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterWindowsProfile
- The profile for Windows VMs in the Managed Cluster.
- WorkloadAutoScalerProfile
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterWorkloadAutoScalerProfile
- Workload Auto-scaler profile for the managed cluster.
- resourceGroupName
String
- The name of the resource group. The name is case insensitive.
- aadProfile
ManagedClusterAADProfile
- The Azure Active Directory configuration.
- addonProfiles
Map<String,ManagedClusterAddonProfileArgs>
- The profile of managed cluster add-on.
- agentPoolProfiles
List<ManagedClusterAgentPoolProfile>
- The agent pool properties.
- aiToolchainOperatorProfile
ManagedClusterAIToolchainOperatorProfile
- AI toolchain operator settings that apply to the whole cluster.
- apiServerAccessProfile
ManagedClusterAPIServerAccessProfile
- The access profile for managed cluster API server.
- autoScalerProfile
ManagedClusterPropertiesAutoScalerProfile
- Parameters to be applied to the cluster-autoscaler when enabled
- autoUpgradeProfile
ManagedClusterAutoUpgradeProfile
- The auto upgrade configuration.
- azureMonitorProfile
ManagedClusterAzureMonitorProfile
- Azure Monitor addon profiles for monitoring the managed cluster.
- bootstrapProfile
ManagedClusterBootstrapProfile
- Profile of the cluster bootstrap configuration.
- disableLocalAccounts
Boolean
- If local accounts should be disabled on the Managed Cluster. If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see disable local accounts.
- diskEncryptionSetID
String
- The Resource ID of the disk encryption set to use for enabling encryption at rest. This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
- dnsPrefix
String
- The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has been created.
- enableRBAC
Boolean
- Whether to enable Kubernetes Role-Based Access Control.
- extendedLocation
ExtendedLocation
- The extended location of the Virtual Machine.
- fqdnSubdomain
String
- The FQDN subdomain of the private cluster with custom private dns zone. This cannot be updated once the Managed Cluster has been created.
- httpProxyConfig
ManagedClusterHTTPProxyConfig
- Configurations for provisioning the cluster with HTTP proxy servers.
- identity
ManagedClusterIdentity
- The identity of the managed cluster, if configured.
- identityProfile
Map<String,UserAssignedIdentityArgs>
- The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
- ingressProfile
ManagedClusterIngressProfile
- Ingress profile for the managed cluster.
- kind
String
- This is primarily used to expose different UI experiences in the portal for different kinds
- kubernetesVersion
String
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See upgrading an AKS cluster for more details.
- linuxProfile
ContainerServiceLinuxProfile
- The profile for Linux VMs in the Managed Cluster.
- location
String
- The geo-location where the resource lives
- metricsProfile
ManagedClusterMetricsProfile
- Optional cluster metrics configuration.
- networkProfile
ContainerServiceNetworkProfile
- The network configuration profile.
- nodeProvisioningProfile
ManagedClusterNodeProvisioningProfile
- Node provisioning settings that apply to the whole cluster.
- nodeResourceGroup
String
- The name of the resource group containing agent pool nodes.
- nodeResourceGroupProfile
ManagedClusterNodeResourceGroupProfile
- Profile of the node resource group configuration.
- oidcIssuerProfile
ManagedClusterOIDCIssuerProfile
- The OIDC issuer profile of the Managed Cluster.
- podIdentityProfile
ManagedClusterPodIdentityProfile
- The pod identity profile of the Managed Cluster. See use AAD pod identity for more details on AAD pod identity integration.
- privateLinkResources
List<PrivateLinkResource>
- Private link resources associated with the cluster.
- publicNetworkAccess
String | PublicNetworkAccess
- PublicNetworkAccess of the managedCluster. Allow or deny public network access for AKS
- resourceName
String
- The name of the managed cluster resource.
- securityProfile
ManagedClusterSecurityProfile
- Security profile for the managed cluster.
- serviceMeshProfile
ServiceMeshProfile
- Service mesh profile for a managed cluster.
- servicePrincipalProfile
ManagedClusterServicePrincipalProfile
- Information about a service principal identity for the cluster to use for manipulating Azure APIs.
- sku
ManagedClusterSKU
- The managed cluster SKU.
- storageProfile
ManagedClusterStorageProfile
- Storage profile for the managed cluster.
- supportPlan
String | KubernetesSupportPlan
- The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
- tags
Map<String,String>
- Resource tags.
- upgradeSettings
ClusterUpgradeSettings
- Settings for upgrading a cluster.
- windowsProfile
ManagedClusterWindowsProfile
- The profile for Windows VMs in the Managed Cluster.
- workloadAutoScalerProfile
ManagedClusterWorkloadAutoScalerProfile
- Workload Auto-scaler profile for the managed cluster.
- resource_group_name
str
- The name of the resource group. The name is case insensitive.
- aad_profile
ManagedClusterAADProfileArgs
- The Azure Active Directory configuration.
- addon_profiles
Mapping[str, ManagedClusterAddonProfileArgs]
- The profile of managed cluster add-on.
- agent_pool_profiles
Sequence[ManagedClusterAgentPoolProfileArgs]
- The agent pool properties.
- ai_toolchain_operator_profile
ManagedClusterAIToolchainOperatorProfileArgs
- AI toolchain operator settings that apply to the whole cluster.
- api_server_access_profile
ManagedClusterAPIServerAccessProfileArgs
- The access profile for managed cluster API server.
- auto_scaler_profile
ManagedClusterPropertiesAutoScalerProfileArgs
- Parameters to be applied to the cluster-autoscaler when enabled
- auto_upgrade_profile
ManagedClusterAutoUpgradeProfileArgs
- The auto upgrade configuration.
- azure_monitor_profile
ManagedClusterAzureMonitorProfileArgs
- Azure Monitor addon profiles for monitoring the managed cluster.
- bootstrap_profile
ManagedClusterBootstrapProfileArgs
- Profile of the cluster bootstrap configuration.
- disable_local_accounts
bool
- If local accounts should be disabled on the Managed Cluster. If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see disable local accounts.
- disk_encryption_set_id
str
- The Resource ID of the disk encryption set to use for enabling encryption at rest. This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
- dns_prefix
str
- The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has been created.
- enable_rbac
bool
- Whether to enable Kubernetes Role-Based Access Control.
- extended_location
ExtendedLocationArgs
- The extended location of the Virtual Machine.
- fqdn_subdomain
str
- The FQDN subdomain of the private cluster with custom private dns zone. This cannot be updated once the Managed Cluster has been created.
- http_proxy_config
ManagedClusterHTTPProxyConfigArgs
- Configurations for provisioning the cluster with HTTP proxy servers.
- identity
ManagedClusterIdentityArgs
- The identity of the managed cluster, if configured.
- identity_profile
Mapping[str, UserAssignedIdentityArgs]
- The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
- ingress_profile
ManagedClusterIngressProfileArgs
- Ingress profile for the managed cluster.
- kind
str
- This is primarily used to expose different UI experiences in the portal for different kinds
- kubernetes_version
str
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See upgrading an AKS cluster for more details.
- linux_profile
ContainerServiceLinuxProfileArgs
- The profile for Linux VMs in the Managed Cluster.
- location
str
- The geo-location where the resource lives
- metrics_profile
ManagedClusterMetricsProfileArgs
- Optional cluster metrics configuration.
- network_profile
ContainerServiceNetworkProfileArgs
- The network configuration profile.
- node_provisioning_profile
ManagedClusterNodeProvisioningProfileArgs
- Node provisioning settings that apply to the whole cluster.
- node_resource_group
str
- The name of the resource group containing agent pool nodes.
- node_resource_group_profile
ManagedClusterNodeResourceGroupProfileArgs
- Profile of the node resource group configuration.
- oidc_issuer_profile
ManagedClusterOIDCIssuerProfileArgs
- The OIDC issuer profile of the Managed Cluster.
- pod_identity_profile
ManagedClusterPodIdentityProfileArgs
- The pod identity profile of the Managed Cluster. See use AAD pod identity for more details on AAD pod identity integration.
- private_link_resources
Sequence[PrivateLinkResourceArgs]
- Private link resources associated with the cluster.
- public_network_access
str | PublicNetworkAccess
- PublicNetworkAccess of the managedCluster. Allow or deny public network access for AKS
- resource_name
str
- The name of the managed cluster resource.
- security_profile
ManagedClusterSecurityProfileArgs
- Security profile for the managed cluster.
- service_mesh_profile
ServiceMeshProfileArgs
- Service mesh profile for a managed cluster.
- service_principal_profile
ManagedClusterServicePrincipalProfileArgs
- Information about a service principal identity for the cluster to use for manipulating Azure APIs.
- sku
ManagedClusterSKUArgs
- The managed cluster SKU.
- storage_profile
ManagedClusterStorageProfileArgs
- Storage profile for the managed cluster.
- support_plan
str | KubernetesSupportPlan
- The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
- tags
Mapping[str, str]
- Resource tags.
- upgrade_settings
ClusterUpgradeSettingsArgs
- Settings for upgrading a cluster.
- windows_profile
ManagedClusterWindowsProfileArgs
- The profile for Windows VMs in the Managed Cluster.
- workload_auto_scaler_profile
ManagedClusterWorkloadAutoScalerProfileArgs
- Workload Auto-scaler profile for the managed cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedCluster resource produces the following output properties:
- AzureApiVersion
string
- The Azure API version of the resource.
- AzurePortalFQDN
string
- The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
- CurrentKubernetesVersion
string
- The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.
- ETag
string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- Fqdn
string
- The FQDN of the master pool.
- Id
string
- The provider-assigned unique ID for this managed resource.
- MaxAgentPools
int
- The max number of agent pools for the managed cluster.
- Name
string
- The name of the resource
- PowerState
Pulumi.AzureNative.ContainerService.Outputs.PowerStateResponse
- The Power State of the cluster.
- PrivateFQDN
string
- The FQDN of private cluster.
- ProvisioningState
string
- The current provisioning state.
- ResourceUID
string
- The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence)
- SystemData
Pulumi.AzureNative.ContainerService.Outputs.SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Status
Pulumi.AzureNative.ContainerService.Outputs.ManagedClusterStatusResponse
- Contains read-only information about the Managed Cluster.
- AzureApiVersion
string
- The Azure API version of the resource.
- AzurePortalFQDN
string
- The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
- CurrentKubernetesVersion
string
- The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.
- ETag
string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- Fqdn
string
- The FQDN of the master pool.
- Id
string
- The provider-assigned unique ID for this managed resource.
- MaxAgentPools
int
- The max number of agent pools for the managed cluster.
- Name
string
- The name of the resource
- PowerState
PowerStateResponse
- The Power State of the cluster.
- PrivateFQDN
string
- The FQDN of private cluster.
- ProvisioningState
string
- The current provisioning state.
- ResourceUID
string
- The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence)
- SystemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Status
ManagedClusterStatusResponse
- Contains read-only information about the Managed Cluster.
- azure_api_version
string
- The Azure API version of the resource.
- azure_portal_fqdn
string
- The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
- current_kubernetes_version
string
- The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.
- e_tag
string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- fqdn
string
- The FQDN of the master pool.
- id
string
- The provider-assigned unique ID for this managed resource.
- max_agent_pools
number
- The max number of agent pools for the managed cluster.
- name
string
- The name of the resource
- power_state
object
- The Power State of the cluster.
- private_fqdn
string
- The FQDN of private cluster.
- provisioning_state
string
- The current provisioning state.
- resource_uid
string
- The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence)
- system_data
object
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- status
object
- Contains read-only information about the Managed Cluster.
- azureApiVersion
String
- The Azure API version of the resource.
- azurePortalFQDN
String
- The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
- currentKubernetesVersion
String
- The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.
- eTag
String
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- fqdn
String
- The FQDN of the master pool.
- id
String
- The provider-assigned unique ID for this managed resource.
- maxAgentPools
Integer
- The max number of agent pools for the managed cluster.
- name
String
- The name of the resource
- powerState
PowerStateResponse
- The Power State of the cluster.
- privateFQDN
String
- The FQDN of private cluster.
- provisioningState
String
- The current provisioning state.
- resourceUID
String
- The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence)
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- status
ManagedClusterStatusResponse
- Contains read-only information about the Managed Cluster.
- azureApiVersion
string
- The Azure API version of the resource.
- azurePortalFQDN
string
- The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
- currentKubernetesVersion
string
- The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.
- eTag
string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- fqdn
string
- The FQDN of the master pool.
- id
string
- The provider-assigned unique ID for this managed resource.
- maxAgentPools
number
- The max number of agent pools for the managed cluster.
- name
string
- The name of the resource
- powerState
PowerStateResponse
- The Power State of the cluster.
- privateFQDN
string
- The FQDN of private cluster.
- provisioningState
string
- The current provisioning state.
- resourceUID
string
- The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence)
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- status
ManagedClusterStatusResponse
- Contains read-only information about the Managed Cluster.
- azure_api_version
str
- The Azure API version of the resource.
- azure_portal_fqdn
str
- The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
- current_kubernetes_version
str
- The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.
- e_tag
str
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- fqdn
str
- The FQDN of the master pool.
- id
str
- The provider-assigned unique ID for this managed resource.
- max_agent_pools
int
- The max number of agent pools for the managed cluster.
- name
str
- The name of the resource
- power_state
PowerStateResponse
- The Power State of the cluster.
- private_fqdn
str
- The FQDN of private cluster.
- provisioning_state
str
- The current provisioning state.
- resource_uid
str
- The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence)
- system_data
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- status
ManagedClusterStatusResponse
- Contains read-only information about the Managed Cluster.
- azureApiVersion
String
- The Azure API version of the resource.
- azurePortalFQDN
String
- The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
- currentKubernetesVersion
String
- The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.
- eTag
String
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- fqdn
String
- The FQDN of the master pool.
- id
String
- The provider-assigned unique ID for this managed resource.
- maxAgentPools
Number
- The max number of agent pools for the managed cluster.
- name
String
- The name of the resource
- powerState
Property Map
- The Power State of the cluster.
- privateFQDN
String
- The FQDN of private cluster.
- provisioningState
String
- The current provisioning state.
- resourceUID
String
- The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence)
- systemData
Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- status
Property Map
- Contains read-only information about the Managed Cluster.
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 ManagedCluster get(String name, Output<String> id, CustomResourceOptions options)
resources: existingManagedCluster: type: azure-native:containerservice:ManagedCluster get: id: ${id}
import {
to = azure-native_containerservice_managed_cluster.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
ManagedClusterState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
AdvancedNetworkPolicies, AdvancedNetworkPoliciesArgs
Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.| Name | Value | Description |
|---|
| L7 | L7 | Enable Layer7 network policies (FQDN, HTTP/S, Kafka). This option is a superset of the FQDN option. |
| FQDN | FQDN | Enable FQDN based network policies |
| None | None | Disable Layer 7 network policies (FQDN, HTTP/S, Kafka) |
| Name | Value | Description |
|---|
| AdvancedNetworkPoliciesL7 | L7 | Enable Layer7 network policies (FQDN, HTTP/S, Kafka). This option is a superset of the FQDN option. |
| AdvancedNetworkPoliciesFQDN | FQDN | Enable FQDN based network policies |
| AdvancedNetworkPoliciesNone | None | Disable Layer 7 network policies (FQDN, HTTP/S, Kafka) |
| Value | Description |
|---|
L7 | Enable Layer7 network policies (FQDN, HTTP/S, Kafka). This option is a superset of the FQDN option. |
FQDN | Enable FQDN based network policies |
None | Disable Layer 7 network policies (FQDN, HTTP/S, Kafka) |
| Name | Value | Description |
|---|
| L7 | L7 | Enable Layer7 network policies (FQDN, HTTP/S, Kafka). This option is a superset of the FQDN option. |
| FQDN | FQDN | Enable FQDN based network policies |
| None | None | Disable Layer 7 network policies (FQDN, HTTP/S, Kafka) |
| Name | Value | Description |
|---|
| L7 | L7 | Enable Layer7 network policies (FQDN, HTTP/S, Kafka). This option is a superset of the FQDN option. |
| FQDN | FQDN | Enable FQDN based network policies |
| None | None | Disable Layer 7 network policies (FQDN, HTTP/S, Kafka) |
| Name | Value | Description |
|---|
| L7 | L7 | Enable Layer7 network policies (FQDN, HTTP/S, Kafka). This option is a superset of the FQDN option. |
| FQDN | FQDN | Enable FQDN based network policies |
| NONE | None | Disable Layer 7 network policies (FQDN, HTTP/S, Kafka) |
| Value | Description |
|---|
L7 | Enable Layer7 network policies (FQDN, HTTP/S, Kafka). This option is a superset of the FQDN option. |
FQDN | Enable FQDN based network policies |
None | Disable Layer 7 network policies (FQDN, HTTP/S, Kafka) |
AdvancedNetworking, AdvancedNetworkingArgs
Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.- Enabled
bool
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- Observability
AdvancedNetworkingObservability
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- Security
AdvancedNetworkingSecurity
- Security profile to enable security features on cilium based cluster.
- enabled
bool
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
object
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
object
- Security profile to enable security features on cilium based cluster.
- enabled
Boolean
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
AdvancedNetworkingObservability
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
AdvancedNetworkingSecurity
- Security profile to enable security features on cilium based cluster.
- enabled
boolean
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
AdvancedNetworkingObservability
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
AdvancedNetworkingSecurity
- Security profile to enable security features on cilium based cluster.
- enabled
bool
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
AdvancedNetworkingObservability
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
AdvancedNetworkingSecurity
- Security profile to enable security features on cilium based cluster.
- enabled
Boolean
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
Property Map
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
Property Map
- Security profile to enable security features on cilium based cluster.
AdvancedNetworkingObservability, AdvancedNetworkingObservabilityArgs
Observability profile to enable advanced network metrics and flow logs with historical contexts.- Enabled
bool
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- Enabled
bool
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
bool
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
Boolean
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
boolean
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
bool
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
Boolean
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
AdvancedNetworkingObservabilityResponse, AdvancedNetworkingObservabilityResponseArgs
Observability profile to enable advanced network metrics and flow logs with historical contexts.- Enabled
bool
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- Enabled
bool
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
bool
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
Boolean
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
boolean
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
bool
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
- enabled
Boolean
- Indicates the enablement of Advanced Networking observability functionalities on clusters.
AdvancedNetworkingResponse, AdvancedNetworkingResponseArgs
Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.- Enabled
bool
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- Observability
AdvancedNetworkingObservabilityResponse
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- Security
AdvancedNetworkingSecurityResponse
- Security profile to enable security features on cilium based cluster.
- enabled
bool
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
object
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
object
- Security profile to enable security features on cilium based cluster.
- enabled
Boolean
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
AdvancedNetworkingObservabilityResponse
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
AdvancedNetworkingSecurityResponse
- Security profile to enable security features on cilium based cluster.
- enabled
boolean
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
AdvancedNetworkingObservabilityResponse
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
AdvancedNetworkingSecurityResponse
- Security profile to enable security features on cilium based cluster.
- enabled
bool
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
AdvancedNetworkingObservabilityResponse
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
AdvancedNetworkingSecurityResponse
- Security profile to enable security features on cilium based cluster.
- enabled
Boolean
- Indicates the enablement of Advanced Networking functionalities of observability and security on AKS clusters. When this is set to true, all observability and security features will be set to enabled unless explicitly disabled. If not specified, the default is false.
- observability
Property Map
- Observability profile to enable advanced network metrics and flow logs with historical contexts.
- security
Property Map
- Security profile to enable security features on cilium based cluster.
AdvancedNetworkingSecurity, AdvancedNetworkingSecurityArgs
Security profile to enable security features on cilium based cluster.- AdvancedNetworkPolicies
string | Pulumi.AzureNative.ContainerService.AdvancedNetworkPolicies
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- Enabled
bool
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- AdvancedNetworkPolicies
string | AdvancedNetworkPolicies
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- Enabled
bool
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advanced_network_policies
string | "L7" | "FQDN" | "None"
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
bool
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advancedNetworkPolicies
String | AdvancedNetworkPolicies
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
Boolean
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advancedNetworkPolicies
string | AdvancedNetworkPolicies
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
boolean
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advanced_network_policies
str | AdvancedNetworkPolicies
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
bool
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advancedNetworkPolicies
String | "L7" | "FQDN" | "None"
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
Boolean
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
AdvancedNetworkingSecurityResponse, AdvancedNetworkingSecurityResponseArgs
Security profile to enable security features on cilium based cluster.- AdvancedNetworkPolicies
string
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- Enabled
bool
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- AdvancedNetworkPolicies
string
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- Enabled
bool
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advanced_network_policies
string
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
bool
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advancedNetworkPolicies
String
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
Boolean
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advancedNetworkPolicies
string
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
boolean
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advanced_network_policies
str
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
bool
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
- advancedNetworkPolicies
String
- Enable advanced network policies. This allows users to configure Layer 7 network policies (FQDN, HTTP, Kafka). Policies themselves must be configured via the Cilium Network Policy resources, see https://docs.cilium.io/en/latest/security/policy/index.html. This can be enabled only on cilium-based clusters. If not specified, the default value is FQDN if security.enabled is set to true.
- enabled
Boolean
- This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.
AgentPoolGatewayProfile, AgentPoolGatewayProfileArgs
Profile of the managed cluster gateway agent pool.- PublicIPPrefixSize
int
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- PublicIPPrefixSize
int
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public_ip_prefix_size
number
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- publicIPPrefixSize
Integer
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- publicIPPrefixSize
number
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public_ip_prefix_size
int
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- publicIPPrefixSize
Number
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
AgentPoolGatewayProfileResponse, AgentPoolGatewayProfileResponseArgs
Profile of the managed cluster gateway agent pool.- PublicIPPrefixSize
int
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- PublicIPPrefixSize
int
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public_ip_prefix_size
number
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- publicIPPrefixSize
Integer
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- publicIPPrefixSize
number
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public_ip_prefix_size
int
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- publicIPPrefixSize
Number
- The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
AgentPoolMode, AgentPoolModeArgs
The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools| Name | Value | Description |
|---|
| System | System | System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. |
| User | User | User agent pools are primarily for hosting your application pods. |
| Gateway | Gateway | Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway. |
| Name | Value | Description |
|---|
| AgentPoolModeSystem | System | System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. |
| AgentPoolModeUser | User | User agent pools are primarily for hosting your application pods. |
| AgentPoolModeGateway | Gateway | Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway. |
| Value | Description |
|---|
System | System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. |
User | User agent pools are primarily for hosting your application pods. |
Gateway | Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway. |
| Name | Value | Description |
|---|
| System | System | System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. |
| User | User | User agent pools are primarily for hosting your application pods. |
| Gateway | Gateway | Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway. |
| Name | Value | Description |
|---|
| System | System | System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. |
| User | User | User agent pools are primarily for hosting your application pods. |
| Gateway | Gateway | Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway. |
| Name | Value | Description |
|---|
| SYSTEM | System | System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. |
| USER | User | User agent pools are primarily for hosting your application pods. |
| GATEWAY | Gateway | Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway. |
| Value | Description |
|---|
System | System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. |
User | User agent pools are primarily for hosting your application pods. |
Gateway | Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway. |
AgentPoolNetworkProfile, AgentPoolNetworkProfileArgs
Network settings of an agent pool.AgentPoolNetworkProfileResponse, AgentPoolNetworkProfileResponseArgs
Network settings of an agent pool.AgentPoolSSHAccess, AgentPoolSSHAccessArgs
SSH access method of an agent pool.| Name | Value | Description |
|---|
| LocalUser | LocalUser | Can SSH onto the node as a local user using private key. |
| Disabled | Disabled | SSH service will be turned off on the node. |
| Name | Value | Description |
|---|
| AgentPoolSSHAccessLocalUser | LocalUser | Can SSH onto the node as a local user using private key. |
| AgentPoolSSHAccessDisabled | Disabled | SSH service will be turned off on the node. |
| Value | Description |
|---|
LocalUser | Can SSH onto the node as a local user using private key. |
Disabled | SSH service will be turned off on the node. |
| Name | Value | Description |
|---|
| LocalUser | LocalUser | Can SSH onto the node as a local user using private key. |
| Disabled | Disabled | SSH service will be turned off on the node. |
| Name | Value | Description |
|---|
| LocalUser | LocalUser | Can SSH onto the node as a local user using private key. |
| Disabled | Disabled | SSH service will be turned off on the node. |
| Name | Value | Description |
|---|
| LOCAL_USER | LocalUser | Can SSH onto the node as a local user using private key. |
| DISABLED | Disabled | SSH service will be turned off on the node. |
| Value | Description |
|---|
LocalUser | Can SSH onto the node as a local user using private key. |
Disabled | SSH service will be turned off on the node. |
AgentPoolSecurityProfile, AgentPoolSecurityProfileArgs
The security settings of an agent pool.- EnableSecureBoot
bool
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- EnableVTPM
bool
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- SshAccess
string | Pulumi.AzureNative.ContainerService.AgentPoolSSHAccess
- SSH access method of an agent pool.
- EnableSecureBoot
bool
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- EnableVTPM
bool
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- SshAccess
string | AgentPoolSSHAccess
- SSH access method of an agent pool.
- enable_secure_boot
bool
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable_vtpm
bool
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh_access
string | "LocalUser" | "Disabled"
- SSH access method of an agent pool.
- enableSecureBoot
Boolean
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enableVTPM
Boolean
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- sshAccess
String | AgentPoolSSHAccess
- SSH access method of an agent pool.
- enableSecureBoot
boolean
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enableVTPM
boolean
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- sshAccess
string | AgentPoolSSHAccess
- SSH access method of an agent pool.
- enable_secure_boot
bool
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable_vtpm
bool
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh_access
str | AgentPoolSSHAccess
- SSH access method of an agent pool.
- enableSecureBoot
Boolean
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enableVTPM
Boolean
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- sshAccess
String | "LocalUser" | "Disabled"
- SSH access method of an agent pool.
AgentPoolSecurityProfileResponse, AgentPoolSecurityProfileResponseArgs
The security settings of an agent pool.- EnableSecureBoot
bool
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- EnableVTPM
bool
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- SshAccess
string
- SSH access method of an agent pool.
- EnableSecureBoot
bool
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- EnableVTPM
bool
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- SshAccess
string
- SSH access method of an agent pool.
- enable_secure_boot
bool
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable_vtpm
bool
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh_access
string
- SSH access method of an agent pool.
- enableSecureBoot
Boolean
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enableVTPM
Boolean
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- sshAccess
String
- SSH access method of an agent pool.
- enableSecureBoot
boolean
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enableVTPM
boolean
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- sshAccess
string
- SSH access method of an agent pool.
- enable_secure_boot
bool
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable_vtpm
bool
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh_access
str
- SSH access method of an agent pool.
- enableSecureBoot
Boolean
- Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enableVTPM
Boolean
- vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- sshAccess
String
- SSH access method of an agent pool.
AgentPoolStatusResponse, AgentPoolStatusResponseArgs
Contains read-only information about the Agent Pool.- provisioning_error
object
- The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.
- provisioningError
Property Map
- The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.
AgentPoolType, AgentPoolTypeArgs
The type of Agent Pool.| Name | Value | Description |
|---|
| VirtualMachineScaleSets | VirtualMachineScaleSets | Create an Agent Pool backed by a Virtual Machine Scale Set. |
| AvailabilitySet | AvailabilitySet | Use of this is strongly discouraged. |
| VirtualMachines | VirtualMachines | Create an Agent Pool backed by a Single Instance VM orchestration mode. |
| Name | Value | Description |
|---|
| AgentPoolTypeVirtualMachineScaleSets | VirtualMachineScaleSets | Create an Agent Pool backed by a Virtual Machine Scale Set. |
| AgentPoolTypeAvailabilitySet | AvailabilitySet | Use of this is strongly discouraged. |
| AgentPoolTypeVirtualMachines | VirtualMachines | Create an Agent Pool backed by a Single Instance VM orchestration mode. |
| Value | Description |
|---|
VirtualMachineScaleSets | Create an Agent Pool backed by a Virtual Machine Scale Set. |
AvailabilitySet | Use of this is strongly discouraged. |
VirtualMachines | Create an Agent Pool backed by a Single Instance VM orchestration mode. |
| Name | Value | Description |
|---|
| VirtualMachineScaleSets | VirtualMachineScaleSets | Create an Agent Pool backed by a Virtual Machine Scale Set. |
| AvailabilitySet | AvailabilitySet | Use of this is strongly discouraged. |
| VirtualMachines | VirtualMachines | Create an Agent Pool backed by a Single Instance VM orchestration mode. |
| Name | Value | Description |
|---|
| VirtualMachineScaleSets | VirtualMachineScaleSets | Create an Agent Pool backed by a Virtual Machine Scale Set. |
| AvailabilitySet | AvailabilitySet | Use of this is strongly discouraged. |
| VirtualMachines | VirtualMachines | Create an Agent Pool backed by a Single Instance VM orchestration mode. |
| Name | Value | Description |
|---|
| VIRTUAL_MACHINE_SCALE_SETS | VirtualMachineScaleSets | Create an Agent Pool backed by a Virtual Machine Scale Set. |
| AVAILABILITY_SET | AvailabilitySet | Use of this is strongly discouraged. |
| VIRTUAL_MACHINES | VirtualMachines | Create an Agent Pool backed by a Single Instance VM orchestration mode. |
| Value | Description |
|---|
VirtualMachineScaleSets | Create an Agent Pool backed by a Virtual Machine Scale Set. |
AvailabilitySet | Use of this is strongly discouraged. |
VirtualMachines | Create an Agent Pool backed by a Single Instance VM orchestration mode. |
AgentPoolUpgradeSettings, AgentPoolUpgradeSettingsArgs
Settings for upgrading an agentpool- DrainTimeoutInMinutes
int
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- MaxSurge
string
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- MaxUnavailable
string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- NodeSoakDurationInMinutes
int
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- UndrainableNodeBehavior
string | Pulumi.AzureNative.ContainerService.UndrainableNodeBehavior
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- DrainTimeoutInMinutes
int
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- MaxSurge
string
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- MaxUnavailable
string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- NodeSoakDurationInMinutes
int
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- UndrainableNodeBehavior
string | UndrainableNodeBehavior
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain_timeout_in_minutes
number
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max_surge
string
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- max_unavailable
string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node_soak_duration_in_minutes
number
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable_node_behavior
string | "Cordon" | "Schedule"
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drainTimeoutInMinutes
Integer
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- maxSurge
String
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- maxUnavailable
String
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- nodeSoakDurationInMinutes
Integer
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainableNodeBehavior
String | UndrainableNodeBehavior
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drainTimeoutInMinutes
number
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- maxSurge
string
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- maxUnavailable
string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- nodeSoakDurationInMinutes
number
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainableNodeBehavior
string | UndrainableNodeBehavior
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain_timeout_in_minutes
int
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max_surge
str
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- max_unavailable
str
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node_soak_duration_in_minutes
int
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable_node_behavior
str | UndrainableNodeBehavior
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drainTimeoutInMinutes
Number
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- maxSurge
String
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- maxUnavailable
String
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- nodeSoakDurationInMinutes
Number
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainableNodeBehavior
String | "Cordon" | "Schedule"
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
AgentPoolUpgradeSettingsResponse, AgentPoolUpgradeSettingsResponseArgs
Settings for upgrading an agentpool- DrainTimeoutInMinutes
int
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- MaxSurge
string
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- MaxUnavailable
string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- NodeSoakDurationInMinutes
int
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- UndrainableNodeBehavior
string
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- DrainTimeoutInMinutes
int
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- MaxSurge
string
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- MaxUnavailable
string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- NodeSoakDurationInMinutes
int
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- UndrainableNodeBehavior
string
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain_timeout_in_minutes
number
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max_surge
string
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- max_unavailable
string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node_soak_duration_in_minutes
number
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable_node_behavior
string
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drainTimeoutInMinutes
Integer
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- maxSurge
String
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- maxUnavailable
String
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- nodeSoakDurationInMinutes
Integer
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainableNodeBehavior
String
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drainTimeoutInMinutes
number
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- maxSurge
string
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- maxUnavailable
string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- nodeSoakDurationInMinutes
number
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainableNodeBehavior
string
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain_timeout_in_minutes
int
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max_surge
str
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- max_unavailable
str
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node_soak_duration_in_minutes
int
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable_node_behavior
str
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drainTimeoutInMinutes
Number
- The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- maxSurge
String
- The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- maxUnavailable
String
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- nodeSoakDurationInMinutes
Number
- The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainableNodeBehavior
String
- Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
AgentPoolWindowsProfile, AgentPoolWindowsProfileArgs
The Windows agent pool's specific profile.- DisableOutboundNat
bool
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- DisableOutboundNat
bool
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable_outbound_nat
bool
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disableOutboundNat
Boolean
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disableOutboundNat
boolean
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable_outbound_nat
bool
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disableOutboundNat
Boolean
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
AgentPoolWindowsProfileResponse, AgentPoolWindowsProfileResponseArgs
The Windows agent pool's specific profile.- DisableOutboundNat
bool
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- DisableOutboundNat
bool
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable_outbound_nat
bool
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disableOutboundNat
Boolean
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disableOutboundNat
boolean
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable_outbound_nat
bool
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disableOutboundNat
Boolean
- Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
ArtifactSource, ArtifactSourceArgs
The artifact source. The source where the artifacts are downloaded from.| Name | Value | Description |
|---|
| Cache | Cache | pull images from Azure Container Registry with cache |
| Direct | Direct | pull images from Microsoft Artifact Registry |
| Name | Value | Description |
|---|
| ArtifactSourceCache | Cache | pull images from Azure Container Registry with cache |
| ArtifactSourceDirect | Direct | pull images from Microsoft Artifact Registry |
| Value | Description |
|---|
Cache | pull images from Azure Container Registry with cache |
Direct | pull images from Microsoft Artifact Registry |
| Name | Value | Description |
|---|
| Cache | Cache | pull images from Azure Container Registry with cache |
| Direct | Direct | pull images from Microsoft Artifact Registry |
| Name | Value | Description |
|---|
| Cache | Cache | pull images from Azure Container Registry with cache |
| Direct | Direct | pull images from Microsoft Artifact Registry |
| Name | Value | Description |
|---|
| CACHE | Cache | pull images from Azure Container Registry with cache |
| DIRECT | Direct | pull images from Microsoft Artifact Registry |
| Value | Description |
|---|
Cache | pull images from Azure Container Registry with cache |
Direct | pull images from Microsoft Artifact Registry |
AzureKeyVaultKms, AzureKeyVaultKmsArgs
Azure Key Vault key management service settings for the security profile.- Enabled
bool
- Whether to enable Azure Key Vault key management service. The default is false.
- KeyId
string
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- KeyVaultNetworkAccess
string | Pulumi.AzureNative.ContainerService.KeyVaultNetworkAccessTypes
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - KeyVaultResourceId
string
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- Enabled
bool
- Whether to enable Azure Key Vault key management service. The default is false.
- KeyId
string
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- KeyVaultNetworkAccess
string | KeyVaultNetworkAccessTypes
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - KeyVaultResourceId
string
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
bool
- Whether to enable Azure Key Vault key management service. The default is false.
- key_id
string
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- key_vault_network_access
string | "Public" | "Private"
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - key_vault_resource_id
string
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
Boolean
- Whether to enable Azure Key Vault key management service. The default is false.
- keyId
String
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- keyVaultNetworkAccess
String | KeyVaultNetworkAccessTypes
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - keyVaultResourceId
String
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
boolean
- Whether to enable Azure Key Vault key management service. The default is false.
- keyId
string
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- keyVaultNetworkAccess
string | KeyVaultNetworkAccessTypes
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - keyVaultResourceId
string
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
bool
- Whether to enable Azure Key Vault key management service. The default is false.
- key_id
str
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- key_vault_network_access
str | KeyVaultNetworkAccessTypes
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - key_vault_resource_id
str
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
Boolean
- Whether to enable Azure Key Vault key management service. The default is false.
- keyId
String
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- keyVaultNetworkAccess
String | "Public" | "Private"
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - keyVaultResourceId
String
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
AzureKeyVaultKmsResponse, AzureKeyVaultKmsResponseArgs
Azure Key Vault key management service settings for the security profile.- Enabled
bool
- Whether to enable Azure Key Vault key management service. The default is false.
- KeyId
string
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- KeyVaultNetworkAccess
string
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - KeyVaultResourceId
string
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- Enabled
bool
- Whether to enable Azure Key Vault key management service. The default is false.
- KeyId
string
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- KeyVaultNetworkAccess
string
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - KeyVaultResourceId
string
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
bool
- Whether to enable Azure Key Vault key management service. The default is false.
- key_id
string
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- key_vault_network_access
string
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - key_vault_resource_id
string
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
Boolean
- Whether to enable Azure Key Vault key management service. The default is false.
- keyId
String
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- keyVaultNetworkAccess
String
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - keyVaultResourceId
String
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
boolean
- Whether to enable Azure Key Vault key management service. The default is false.
- keyId
string
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- keyVaultNetworkAccess
string
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - keyVaultResourceId
string
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
bool
- Whether to enable Azure Key Vault key management service. The default is false.
- key_id
str
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- key_vault_network_access
str
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - key_vault_resource_id
str
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
- enabled
Boolean
- Whether to enable Azure Key Vault key management service. The default is false.
- keyId
String
- Identifier of Azure Key Vault key. See key identifier format for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key identifier. When Azure Key Vault key management service is disabled, leave the field empty.
- keyVaultNetworkAccess
String
- Network access of the key vault. Network access of key vault. The possible values are
Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public. - keyVaultResourceId
String
- Resource ID of key vault. When keyVaultNetworkAccess is
Private, this field is required and must be a valid resource ID. When keyVaultNetworkAccess is Public, leave the field empty.
BackendPoolType, BackendPoolTypeArgs
The type of the managed inbound Load Balancer BackendPool.| Name | Value | Description |
|---|
| NodeIPConfiguration | NodeIPConfiguration | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| NodeIP | NodeIP | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| Name | Value | Description |
|---|
| BackendPoolTypeNodeIPConfiguration | NodeIPConfiguration | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| BackendPoolTypeNodeIP | NodeIP | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| Value | Description |
|---|
NodeIPConfiguration | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
NodeIP | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| Name | Value | Description |
|---|
| NodeIPConfiguration | NodeIPConfiguration | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| NodeIP | NodeIP | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| Name | Value | Description |
|---|
| NodeIPConfiguration | NodeIPConfiguration | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| NodeIP | NodeIP | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| Name | Value | Description |
|---|
| NODE_IP_CONFIGURATION | NodeIPConfiguration | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| NODE_IP | NodeIP | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
| Value | Description |
|---|
NodeIPConfiguration | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
NodeIP | The type of the managed inbound Load Balancer BackendPool. https://cloud-provider-azure.sigs.k8s.io/topics/loadbalancer/#configure-load-balancer-backend. |
ClusterUpgradeSettings, ClusterUpgradeSettingsArgs
Settings for upgrading a cluster.ClusterUpgradeSettingsResponse, ClusterUpgradeSettingsResponseArgs
Settings for upgrading a cluster.Code, CodeArgs
Tells whether the cluster is Running or Stopped| Name | Value | Description |
|---|
| Running | Running | The cluster is running. |
| Stopped | Stopped | The cluster is stopped. |
| Name | Value | Description |
|---|
| CodeRunning | Running | The cluster is running. |
| CodeStopped | Stopped | The cluster is stopped. |
| Value | Description |
|---|
Running | The cluster is running. |
Stopped | The cluster is stopped. |
| Name | Value | Description |
|---|
| Running | Running | The cluster is running. |
| Stopped | Stopped | The cluster is stopped. |
| Name | Value | Description |
|---|
| Running | Running | The cluster is running. |
| Stopped | Stopped | The cluster is stopped. |
| Name | Value | Description |
|---|
| RUNNING | Running | The cluster is running. |
| STOPPED | Stopped | The cluster is stopped. |
| Value | Description |
|---|
Running | The cluster is running. |
Stopped | The cluster is stopped. |
ContainerServiceLinuxProfile, ContainerServiceLinuxProfileArgs
Profile for Linux VMs in the container service cluster.- admin_username
string
- The administrator username to use for Linux VMs.
- ssh
object
- The SSH configuration for Linux-based VMs running on Azure.
- adminUsername
String
- The administrator username to use for Linux VMs.
- ssh
Property Map
- The SSH configuration for Linux-based VMs running on Azure.
ContainerServiceLinuxProfileResponse, ContainerServiceLinuxProfileResponseArgs
Profile for Linux VMs in the container service cluster.- admin_username
string
- The administrator username to use for Linux VMs.
- ssh
object
- The SSH configuration for Linux-based VMs running on Azure.
- adminUsername
String
- The administrator username to use for Linux VMs.
- ssh
Property Map
- The SSH configuration for Linux-based VMs running on Azure.
ContainerServiceNetworkProfile, ContainerServiceNetworkProfileArgs
Profile of network configuration.- AdvancedNetworking
AdvancedNetworking
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- DnsServiceIP
string
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- IpFamilies
[]string
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- LoadBalancerProfile
ManagedClusterLoadBalancerProfile
- Profile of the cluster load balancer.
- LoadBalancerSku
string | LoadBalancerSku
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- NatGatewayProfile
ManagedClusterNATGatewayProfile
- Profile of the cluster NAT gateway.
- NetworkDataplane
string | NetworkDataplane
- Network dataplane used in the Kubernetes cluster.
- NetworkMode
string | NetworkMode
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- NetworkPlugin
string | NetworkPlugin
- Network plugin used for building the Kubernetes network.
- NetworkPluginMode
string | NetworkPluginMode
- The mode the network plugin should use.
- NetworkPolicy
string | NetworkPolicy
- Network policy used for building the Kubernetes network.
- OutboundType
string | OutboundType
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- PodCidr
string
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- PodCidrs
[]string
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- ServiceCidr
string
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- ServiceCidrs
[]string
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- StaticEgressGatewayProfile
ManagedClusterStaticEgressGatewayProfile
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
- advancedNetworking
AdvancedNetworking
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- dnsServiceIP
String
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- ipFamilies
List<Either<String,IpFamily>>
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- loadBalancerProfile
ManagedClusterLoadBalancerProfile
- Profile of the cluster load balancer.
- loadBalancerSku
String | LoadBalancerSku
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- natGatewayProfile
ManagedClusterNATGatewayProfile
- Profile of the cluster NAT gateway.
- networkDataplane
String | NetworkDataplane
- Network dataplane used in the Kubernetes cluster.
- networkMode
String | NetworkMode
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- networkPlugin
String | NetworkPlugin
- Network plugin used for building the Kubernetes network.
- networkPluginMode
String | NetworkPluginMode
- The mode the network plugin should use.
- networkPolicy
String | NetworkPolicy
- Network policy used for building the Kubernetes network.
- outboundType
String | OutboundType
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- podCidr
String
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- podCidrs
List<String>
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- serviceCidr
String
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- serviceCidrs
List<String>
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- staticEgressGatewayProfile
ManagedClusterStaticEgressGatewayProfile
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
- advancedNetworking
AdvancedNetworking
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- dnsServiceIP
string
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- ipFamilies
(string | IpFamily)[]
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- loadBalancerProfile
ManagedClusterLoadBalancerProfile
- Profile of the cluster load balancer.
- loadBalancerSku
string | LoadBalancerSku
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- natGatewayProfile
ManagedClusterNATGatewayProfile
- Profile of the cluster NAT gateway.
- networkDataplane
string | NetworkDataplane
- Network dataplane used in the Kubernetes cluster.
- networkMode
string | NetworkMode
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- networkPlugin
string | NetworkPlugin
- Network plugin used for building the Kubernetes network.
- networkPluginMode
string | NetworkPluginMode
- The mode the network plugin should use.
- networkPolicy
string | NetworkPolicy
- Network policy used for building the Kubernetes network.
- outboundType
string | OutboundType
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- podCidr
string
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- podCidrs
string[]
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- serviceCidr
string
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- serviceCidrs
string[]
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- staticEgressGatewayProfile
ManagedClusterStaticEgressGatewayProfile
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
- advanced_networking
AdvancedNetworking
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- dns_service_ip
str
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- ip_families
Sequence[Union[str, IpFamily]]
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- load_balancer_profile
ManagedClusterLoadBalancerProfile
- Profile of the cluster load balancer.
- load_balancer_sku
str | LoadBalancerSku
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- nat_gateway_profile
ManagedClusterNATGatewayProfile
- Profile of the cluster NAT gateway.
- network_dataplane
str | NetworkDataplane
- Network dataplane used in the Kubernetes cluster.
- network_mode
str | NetworkMode
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- network_plugin
str | NetworkPlugin
- Network plugin used for building the Kubernetes network.
- network_plugin_mode
str | NetworkPluginMode
- The mode the network plugin should use.
- network_policy
str | NetworkPolicy
- Network policy used for building the Kubernetes network.
- outbound_type
str | OutboundType
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- pod_cidr
str
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- pod_cidrs
Sequence[str]
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- service_cidr
str
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- service_cidrs
Sequence[str]
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- static_egress_gateway_profile
ManagedClusterStaticEgressGatewayProfile
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
ContainerServiceNetworkProfileResponse, ContainerServiceNetworkProfileResponseArgs
Profile of network configuration.- AdvancedNetworking
AdvancedNetworkingResponse
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- DnsServiceIP
string
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- IpFamilies
[]string
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- LoadBalancerProfile
ManagedClusterLoadBalancerProfileResponse
- Profile of the cluster load balancer.
- LoadBalancerSku
string
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- NatGatewayProfile
ManagedClusterNATGatewayProfileResponse
- Profile of the cluster NAT gateway.
- NetworkDataplane
string
- Network dataplane used in the Kubernetes cluster.
- NetworkMode
string
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- NetworkPlugin
string
- Network plugin used for building the Kubernetes network.
- NetworkPluginMode
string
- The mode the network plugin should use.
- NetworkPolicy
string
- Network policy used for building the Kubernetes network.
- OutboundType
string
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- PodCidr
string
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- PodCidrs
[]string
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- ServiceCidr
string
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- ServiceCidrs
[]string
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- StaticEgressGatewayProfile
ManagedClusterStaticEgressGatewayProfileResponse
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
- advanced_networking
object
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- dns_service_ip
string
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- ip_families
list(string)
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- load_balancer_profile
object
- Profile of the cluster load balancer.
- load_balancer_sku
string
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- nat_gateway_profile
object
- Profile of the cluster NAT gateway.
- network_dataplane
string
- Network dataplane used in the Kubernetes cluster.
- network_mode
string
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- network_plugin
string
- Network plugin used for building the Kubernetes network.
- network_plugin_mode
string
- The mode the network plugin should use.
- network_policy
string
- Network policy used for building the Kubernetes network.
- outbound_type
string
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- pod_cidr
string
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- pod_cidrs
list(string)
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- service_cidr
string
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- service_cidrs
list(string)
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- static_egress_gateway_profile
object
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
- advancedNetworking
AdvancedNetworkingResponse
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- dnsServiceIP
String
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- ipFamilies
List<String>
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- loadBalancerProfile
ManagedClusterLoadBalancerProfileResponse
- Profile of the cluster load balancer.
- loadBalancerSku
String
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- natGatewayProfile
ManagedClusterNATGatewayProfileResponse
- Profile of the cluster NAT gateway.
- networkDataplane
String
- Network dataplane used in the Kubernetes cluster.
- networkMode
String
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- networkPlugin
String
- Network plugin used for building the Kubernetes network.
- networkPluginMode
String
- The mode the network plugin should use.
- networkPolicy
String
- Network policy used for building the Kubernetes network.
- outboundType
String
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- podCidr
String
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- podCidrs
List<String>
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- serviceCidr
String
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- serviceCidrs
List<String>
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- staticEgressGatewayProfile
ManagedClusterStaticEgressGatewayProfileResponse
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
- advancedNetworking
AdvancedNetworkingResponse
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- dnsServiceIP
string
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- ipFamilies
string[]
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- loadBalancerProfile
ManagedClusterLoadBalancerProfileResponse
- Profile of the cluster load balancer.
- loadBalancerSku
string
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- natGatewayProfile
ManagedClusterNATGatewayProfileResponse
- Profile of the cluster NAT gateway.
- networkDataplane
string
- Network dataplane used in the Kubernetes cluster.
- networkMode
string
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- networkPlugin
string
- Network plugin used for building the Kubernetes network.
- networkPluginMode
string
- The mode the network plugin should use.
- networkPolicy
string
- Network policy used for building the Kubernetes network.
- outboundType
string
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- podCidr
string
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- podCidrs
string[]
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- serviceCidr
string
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- serviceCidrs
string[]
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- staticEgressGatewayProfile
ManagedClusterStaticEgressGatewayProfileResponse
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
- advanced_networking
AdvancedNetworkingResponse
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- dns_service_ip
str
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- ip_families
Sequence[str]
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- load_balancer_profile
ManagedClusterLoadBalancerProfileResponse
- Profile of the cluster load balancer.
- load_balancer_sku
str
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- nat_gateway_profile
ManagedClusterNATGatewayProfileResponse
- Profile of the cluster NAT gateway.
- network_dataplane
str
- Network dataplane used in the Kubernetes cluster.
- network_mode
str
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- network_plugin
str
- Network plugin used for building the Kubernetes network.
- network_plugin_mode
str
- The mode the network plugin should use.
- network_policy
str
- Network policy used for building the Kubernetes network.
- outbound_type
str
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- pod_cidr
str
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- pod_cidrs
Sequence[str]
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- service_cidr
str
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- service_cidrs
Sequence[str]
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- static_egress_gateway_profile
ManagedClusterStaticEgressGatewayProfileResponse
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
- advancedNetworking
Property Map
- Advanced Networking profile for enabling observability and security feature suite on a cluster. For more information see aka.ms/aksadvancednetworking.
- dnsServiceIP
String
- An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
- ipFamilies
List<String>
- The IP families used to specify IP versions available to the cluster. IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
- loadBalancerProfile
Property Map
- Profile of the cluster load balancer.
- loadBalancerSku
String
- The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.
- natGatewayProfile
Property Map
- Profile of the cluster NAT gateway.
- networkDataplane
String
- Network dataplane used in the Kubernetes cluster.
- networkMode
String
- The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.
- networkPlugin
String
- Network plugin used for building the Kubernetes network.
- networkPluginMode
String
- The mode the network plugin should use.
- networkPolicy
String
- Network policy used for building the Kubernetes network.
- outboundType
String
- The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.
- podCidr
String
- A CIDR notation IP range from which to assign pod IPs when kubenet is used.
- podCidrs
List<String>
- The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.
- serviceCidr
String
- A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
- serviceCidrs
List<String>
- The CIDR notation IP ranges from which to assign service cluster IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
- staticEgressGatewayProfile
Property Map
- The profile for Static Egress Gateway addon. For more details about Static Egress Gateway, see https://aka.ms/aks/static-egress-gateway.
ContainerServiceSshConfiguration, ContainerServiceSshConfigurationArgs
SSH configuration for Linux-based VMs running on Azure.- public_keys
list(object)
- The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
ContainerServiceSshConfigurationResponse, ContainerServiceSshConfigurationResponseArgs
SSH configuration for Linux-based VMs running on Azure.- public_keys
list(object)
- The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
ContainerServiceSshPublicKey, ContainerServiceSshPublicKeyArgs
Contains information about SSH certificate public key data.- KeyData
string
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- KeyData
string
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- key_data
string
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- keyData
String
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- keyData
string
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- key_data
str
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- keyData
String
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
ContainerServiceSshPublicKeyResponse, ContainerServiceSshPublicKeyResponseArgs
Contains information about SSH certificate public key data.- KeyData
string
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- KeyData
string
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- key_data
string
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- keyData
String
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- keyData
string
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- key_data
str
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
- keyData
String
- Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
CreationData, CreationDataArgs
Data used when creating a target resource from a source resource.- SourceResourceId
string
- This is the ARM ID of the source object to be used to create the target object.
- SourceResourceId
string
- This is the ARM ID of the source object to be used to create the target object.
- source_resource_id
string
- This is the ARM ID of the source object to be used to create the target object.
- sourceResourceId
String
- This is the ARM ID of the source object to be used to create the target object.
- sourceResourceId
string
- This is the ARM ID of the source object to be used to create the target object.
- source_resource_id
str
- This is the ARM ID of the source object to be used to create the target object.
- sourceResourceId
String
- This is the ARM ID of the source object to be used to create the target object.
CreationDataResponse, CreationDataResponseArgs
Data used when creating a target resource from a source resource.- SourceResourceId
string
- This is the ARM ID of the source object to be used to create the target object.
- SourceResourceId
string
- This is the ARM ID of the source object to be used to create the target object.
- source_resource_id
string
- This is the ARM ID of the source object to be used to create the target object.
- sourceResourceId
String
- This is the ARM ID of the source object to be used to create the target object.
- sourceResourceId
string
- This is the ARM ID of the source object to be used to create the target object.
- source_resource_id
str
- This is the ARM ID of the source object to be used to create the target object.
- sourceResourceId
String
- This is the ARM ID of the source object to be used to create the target object.
DelegatedResource, DelegatedResourceArgs
Delegated resource properties - internal use only.- Location
string
- The source resource location - internal use only.
- ReferralResource
string
- The delegation id of the referral delegation (optional) - internal use only.
- ResourceId
string
- The ARM resource id of the delegated resource - internal use only.
- TenantId
string
- The tenant id of the delegated resource - internal use only.
- Location
string
- The source resource location - internal use only.
- ReferralResource
string
- The delegation id of the referral delegation (optional) - internal use only.
- ResourceId
string
- The ARM resource id of the delegated resource - internal use only.
- TenantId
string
- The tenant id of the delegated resource - internal use only.
- location
string
- The source resource location - internal use only.
- referral_resource
string
- The delegation id of the referral delegation (optional) - internal use only.
- resource_id
string
- The ARM resource id of the delegated resource - internal use only.
- tenant_id
string
- The tenant id of the delegated resource - internal use only.
- location
String
- The source resource location - internal use only.
- referralResource
String
- The delegation id of the referral delegation (optional) - internal use only.
- resourceId
String
- The ARM resource id of the delegated resource - internal use only.
- tenantId
String
- The tenant id of the delegated resource - internal use only.
- location
string
- The source resource location - internal use only.
- referralResource
string
- The delegation id of the referral delegation (optional) - internal use only.
- resourceId
string
- The ARM resource id of the delegated resource - internal use only.
- tenantId
string
- The tenant id of the delegated resource - internal use only.
- location
str
- The source resource location - internal use only.
- referral_resource
str
- The delegation id of the referral delegation (optional) - internal use only.
- resource_id
str
- The ARM resource id of the delegated resource - internal use only.
- tenant_id
str
- The tenant id of the delegated resource - internal use only.
- location
String
- The source resource location - internal use only.
- referralResource
String
- The delegation id of the referral delegation (optional) - internal use only.
- resourceId
String
- The ARM resource id of the delegated resource - internal use only.
- tenantId
String
- The tenant id of the delegated resource - internal use only.
DelegatedResourceResponse, DelegatedResourceResponseArgs
Delegated resource properties - internal use only.- Location
string
- The source resource location - internal use only.
- ReferralResource
string
- The delegation id of the referral delegation (optional) - internal use only.
- ResourceId
string
- The ARM resource id of the delegated resource - internal use only.
- TenantId
string
- The tenant id of the delegated resource - internal use only.
- Location
string
- The source resource location - internal use only.
- ReferralResource
string
- The delegation id of the referral delegation (optional) - internal use only.
- ResourceId
string
- The ARM resource id of the delegated resource - internal use only.
- TenantId
string
- The tenant id of the delegated resource - internal use only.
- location
string
- The source resource location - internal use only.
- referral_resource
string
- The delegation id of the referral delegation (optional) - internal use only.
- resource_id
string
- The ARM resource id of the delegated resource - internal use only.
- tenant_id
string
- The tenant id of the delegated resource - internal use only.
- location
String
- The source resource location - internal use only.
- referralResource
String
- The delegation id of the referral delegation (optional) - internal use only.
- resourceId
String
- The ARM resource id of the delegated resource - internal use only.
- tenantId
String
- The tenant id of the delegated resource - internal use only.
- location
string
- The source resource location - internal use only.
- referralResource
string
- The delegation id of the referral delegation (optional) - internal use only.
- resourceId
string
- The ARM resource id of the delegated resource - internal use only.
- tenantId
string
- The tenant id of the delegated resource - internal use only.
- location
str
- The source resource location - internal use only.
- referral_resource
str
- The delegation id of the referral delegation (optional) - internal use only.
- resource_id
str
- The ARM resource id of the delegated resource - internal use only.
- tenant_id
str
- The tenant id of the delegated resource - internal use only.
- location
String
- The source resource location - internal use only.
- referralResource
String
- The delegation id of the referral delegation (optional) - internal use only.
- resourceId
String
- The ARM resource id of the delegated resource - internal use only.
- tenantId
String
- The tenant id of the delegated resource - internal use only.
ErrorAdditionalInfoResponse, ErrorAdditionalInfoResponseArgs
The resource management error additional info.- Info
object
- The additional info.
- Type
string
- The additional info type.
- Info
interface{}
- The additional info.
- Type
string
- The additional info type.
- info
any
- The additional info.
- type
string
- The additional info type.
- info
Object
- The additional info.
- type
String
- The additional info type.
- info
any
- The additional info.
- type
string
- The additional info type.
- info
Any
- The additional info.
- type
str
- The additional info type.
- info
Any
- The additional info.
- type
String
- The additional info type.
ErrorDetailResponse, ErrorDetailResponseArgs
The error detail.Expander, ExpanderArgs
The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.| Name | Value | Description |
|---|
| Least_waste | least-waste | Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. |
| Most_pods | most-pods | Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. |
| Priority | priority | Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here. |
| Random | random | Used when you don't have a particular need for the node groups to scale differently. |
| Name | Value | Description |
|---|
| Expander_Least_Waste | least-waste | Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. |
| Expander_Most_Pods | most-pods | Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. |
| ExpanderPriority | priority | Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here. |
| ExpanderRandom | random | Used when you don't have a particular need for the node groups to scale differently. |
| Value | Description |
|---|
least-waste | Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. |
most-pods | Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. |
priority | Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here. |
random | Used when you don't have a particular need for the node groups to scale differently. |
| Name | Value | Description |
|---|
| Leastwaste | least-waste | Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. |
| Mostpods | most-pods | Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. |
| Priority | priority | Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here. |
| Random | random | Used when you don't have a particular need for the node groups to scale differently. |
| Name | Value | Description |
|---|
| Least_waste | least-waste | Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. |
| Most_pods | most-pods | Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. |
| Priority | priority | Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here. |
| Random | random | Used when you don't have a particular need for the node groups to scale differently. |
| Name | Value | Description |
|---|
| LEAST_WASTE | least-waste | Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. |
| MOST_PODS | most-pods | Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. |
| PRIORITY | priority | Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here. |
| RANDOM | random | Used when you don't have a particular need for the node groups to scale differently. |
| Value | Description |
|---|
least-waste | Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources. |
most-pods | Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once. |
priority | Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details here. |
random | Used when you don't have a particular need for the node groups to scale differently. |
ExtendedLocation, ExtendedLocationArgs
The complex type of the extended location.- name
string
- The name of the extended location.
- type
string | "EdgeZone"
- The type of the extended location.
- name
String
- The name of the extended location.
- type
String | "EdgeZone"
- The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
The complex type of the extended location.- Name
string
- The name of the extended location.
- Type
string
- The type of the extended location.
- Name
string
- The name of the extended location.
- Type
string
- The type of the extended location.
- name
string
- The name of the extended location.
- type
string
- The type of the extended location.
- name
String
- The name of the extended location.
- type
String
- The type of the extended location.
- name
string
- The name of the extended location.
- type
string
- The type of the extended location.
- name
str
- The name of the extended location.
- type
str
- The type of the extended location.
- name
String
- The name of the extended location.
- type
String
- The type of the extended location.
ExtendedLocationTypes, ExtendedLocationTypesArgs
The type of the extended location.| Name | Value |
|---|
| EdgeZone | EdgeZone |
| Name | Value |
|---|
| ExtendedLocationTypesEdgeZone | EdgeZone |
| Name | Value |
|---|
| EdgeZone | EdgeZone |
| Name | Value |
|---|
| EdgeZone | EdgeZone |
| Name | Value |
|---|
| EDGE_ZONE | EdgeZone |
GPUDriver, GPUDriverArgs
Whether to install GPU drivers. When it's not specified, default is Install.| Name | Value | Description |
|---|
| Install | Install | Install driver. |
| None | None | Skip driver install. |
| Name | Value | Description |
|---|
| GPUDriverInstall | Install | Install driver. |
| GPUDriverNone | None | Skip driver install. |
| Value | Description |
|---|
Install | Install driver. |
None | Skip driver install. |
| Name | Value | Description |
|---|
| Install | Install | Install driver. |
| None | None | Skip driver install. |
| Name | Value | Description |
|---|
| Install | Install | Install driver. |
| None | None | Skip driver install. |
| Name | Value | Description |
|---|
| INSTALL | Install | Install driver. |
| NONE | None | Skip driver install. |
| Value | Description |
|---|
Install | Install driver. |
None | Skip driver install. |
GPUInstanceProfile, GPUInstanceProfileArgs
GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.| Name | Value |
|---|
| MIG1g | MIG1g |
| MIG2g | MIG2g |
| MIG3g | MIG3g |
| MIG4g | MIG4g |
| MIG7g | MIG7g |
| Name | Value |
|---|
| GPUInstanceProfileMIG1g | MIG1g |
| GPUInstanceProfileMIG2g | MIG2g |
| GPUInstanceProfileMIG3g | MIG3g |
| GPUInstanceProfileMIG4g | MIG4g |
| GPUInstanceProfileMIG7g | MIG7g |
| Value |
|---|
MIG1g |
MIG2g |
MIG3g |
MIG4g |
MIG7g |
| Name | Value |
|---|
| MIG1g | MIG1g |
| MIG2g | MIG2g |
| MIG3g | MIG3g |
| MIG4g | MIG4g |
| MIG7g | MIG7g |
| Name | Value |
|---|
| MIG1g | MIG1g |
| MIG2g | MIG2g |
| MIG3g | MIG3g |
| MIG4g | MIG4g |
| MIG7g | MIG7g |
| Name | Value |
|---|
| MIG1G | MIG1g |
| MIG2G | MIG2g |
| MIG3G | MIG3g |
| MIG4G | MIG4g |
| MIG7G | MIG7g |
| Value |
|---|
MIG1g |
MIG2g |
MIG3g |
MIG4g |
MIG7g |
GPUProfile, GPUProfileArgs
GPU settings for the Agent Pool.- Driver
string | GPUDriver
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver
String | GPUDriver
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver
string | GPUDriver
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver
str | GPUDriver
- Whether to install GPU drivers. When it's not specified, default is Install.
GPUProfileResponse, GPUProfileResponseArgs
GPU settings for the Agent Pool.- Driver
string
- Whether to install GPU drivers. When it's not specified, default is Install.
- Driver
string
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver
string
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver
String
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver
string
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver
str
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver
String
- Whether to install GPU drivers. When it's not specified, default is Install.
IPTag, IPTagArgs
Contains the IPTag associated with the object.- IpTagType
string
- The IP tag type. Example: RoutingPreference.
- Tag
string
- The value of the IP tag associated with the public IP. Example: Internet.
- IpTagType
string
- The IP tag type. Example: RoutingPreference.
- Tag
string
- The value of the IP tag associated with the public IP. Example: Internet.
- ip_tag_type
string
- The IP tag type. Example: RoutingPreference.
- tag
string
- The value of the IP tag associated with the public IP. Example: Internet.
- ipTagType
String
- The IP tag type. Example: RoutingPreference.
- tag
String
- The value of the IP tag associated with the public IP. Example: Internet.
- ipTagType
string
- The IP tag type. Example: RoutingPreference.
- tag
string
- The value of the IP tag associated with the public IP. Example: Internet.
- ip_tag_type
str
- The IP tag type. Example: RoutingPreference.
- tag
str
- The value of the IP tag associated with the public IP. Example: Internet.
- ipTagType
String
- The IP tag type. Example: RoutingPreference.
- tag
String
- The value of the IP tag associated with the public IP. Example: Internet.
IPTagResponse, IPTagResponseArgs
Contains the IPTag associated with the object.- IpTagType
string
- The IP tag type. Example: RoutingPreference.
- Tag
string
- The value of the IP tag associated with the public IP. Example: Internet.
- IpTagType
string
- The IP tag type. Example: RoutingPreference.
- Tag
string
- The value of the IP tag associated with the public IP. Example: Internet.
- ip_tag_type
string
- The IP tag type. Example: RoutingPreference.
- tag
string
- The value of the IP tag associated with the public IP. Example: Internet.
- ipTagType
String
- The IP tag type. Example: RoutingPreference.
- tag
String
- The value of the IP tag associated with the public IP. Example: Internet.
- ipTagType
string
- The IP tag type. Example: RoutingPreference.
- tag
string
- The value of the IP tag associated with the public IP. Example: Internet.
- ip_tag_type
str
- The IP tag type. Example: RoutingPreference.
- tag
str
- The value of the IP tag associated with the public IP. Example: Internet.
- ipTagType
String
- The IP tag type. Example: RoutingPreference.
- tag
String
- The value of the IP tag associated with the public IP. Example: Internet.
IpFamily, IpFamilyArgs
The IP version to use for cluster networking and IP assignment.| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| IpFamilyIPv4 | IPv4 |
| IpFamilyIPv6 | IPv6 |
| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| IPv4 | IPv4 |
| IPv6 | IPv6 |
| Name | Value |
|---|
| I_PV4 | IPv4 |
| I_PV6 | IPv6 |
IstioCertificateAuthority, IstioCertificateAuthorityArgs
Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca- plugin
object
- Plugin certificates information for Service Mesh.
IstioCertificateAuthorityResponse, IstioCertificateAuthorityResponseArgs
Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca- plugin
object
- Plugin certificates information for Service Mesh.
IstioComponents, IstioComponentsArgs
Istio components configuration.IstioComponentsResponse, IstioComponentsResponseArgs
Istio components configuration.IstioEgressGateway, IstioEgressGatewayArgs
Istio egress gateway configuration.- Enabled
bool
- Whether to enable the egress gateway.
- Name
string
- Name of the Istio add-on egress gateway.
- GatewayConfigurationName
string
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- Namespace
string
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- Enabled
bool
- Whether to enable the egress gateway.
- Name
string
- Name of the Istio add-on egress gateway.
- GatewayConfigurationName
string
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- Namespace
string
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
bool
- Whether to enable the egress gateway.
- name
string
- Name of the Istio add-on egress gateway.
- gateway_configuration_name
string
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
string
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
Boolean
- Whether to enable the egress gateway.
- name
String
- Name of the Istio add-on egress gateway.
- gatewayConfigurationName
String
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
String
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
boolean
- Whether to enable the egress gateway.
- name
string
- Name of the Istio add-on egress gateway.
- gatewayConfigurationName
string
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
string
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
bool
- Whether to enable the egress gateway.
- name
str
- Name of the Istio add-on egress gateway.
- gateway_configuration_name
str
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
str
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
Boolean
- Whether to enable the egress gateway.
- name
String
- Name of the Istio add-on egress gateway.
- gatewayConfigurationName
String
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
String
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
IstioEgressGatewayResponse, IstioEgressGatewayResponseArgs
Istio egress gateway configuration.- Enabled
bool
- Whether to enable the egress gateway.
- Name
string
- Name of the Istio add-on egress gateway.
- GatewayConfigurationName
string
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- Namespace
string
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- Enabled
bool
- Whether to enable the egress gateway.
- Name
string
- Name of the Istio add-on egress gateway.
- GatewayConfigurationName
string
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- Namespace
string
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
bool
- Whether to enable the egress gateway.
- name
string
- Name of the Istio add-on egress gateway.
- gateway_configuration_name
string
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
string
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
Boolean
- Whether to enable the egress gateway.
- name
String
- Name of the Istio add-on egress gateway.
- gatewayConfigurationName
String
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
String
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
boolean
- Whether to enable the egress gateway.
- name
string
- Name of the Istio add-on egress gateway.
- gatewayConfigurationName
string
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
string
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
bool
- Whether to enable the egress gateway.
- name
str
- Name of the Istio add-on egress gateway.
- gateway_configuration_name
str
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
str
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
- enabled
Boolean
- Whether to enable the egress gateway.
- name
String
- Name of the Istio add-on egress gateway.
- gatewayConfigurationName
String
- Name of the gateway configuration custom resource for the Istio add-on egress gateway. Must be specified when enabling the Istio egress gateway. Must be deployed in the same namespace that the Istio egress gateway will be deployed in.
- namespace
String
- Namespace that the Istio add-on egress gateway should be deployed in. If unspecified, the default is aks-istio-egress.
IstioIngressGateway, IstioIngressGatewayArgs
Istio ingress gateway configuration. For now, we support up to one external ingress gateway named aks-istio-ingressgateway-external and one internal ingress gateway named aks-istio-ingressgateway-internal.IstioIngressGatewayMode, IstioIngressGatewayModeArgs
Mode of an ingress gateway.| Name | Value | Description |
|---|
| External | External | The ingress gateway is assigned a public IP address and is publicly accessible. |
| Internal | Internal | The ingress gateway is assigned an internal IP address and cannot is accessed publicly. |
| Name | Value | Description |
|---|
| IstioIngressGatewayModeExternal | External | The ingress gateway is assigned a public IP address and is publicly accessible. |
| IstioIngressGatewayModeInternal | Internal | The ingress gateway is assigned an internal IP address and cannot is accessed publicly. |
| Value | Description |
|---|
External | The ingress gateway is assigned a public IP address and is publicly accessible. |
Internal | The ingress gateway is assigned an internal IP address and cannot is accessed publicly. |
| Name | Value | Description |
|---|
| External | External | The ingress gateway is assigned a public IP address and is publicly accessible. |
| Internal | Internal | The ingress gateway is assigned an internal IP address and cannot is accessed publicly. |
| Name | Value | Description |
|---|
| External | External | The ingress gateway is assigned a public IP address and is publicly accessible. |
| Internal | Internal | The ingress gateway is assigned an internal IP address and cannot is accessed publicly. |
| Name | Value | Description |
|---|
| EXTERNAL | External | The ingress gateway is assigned a public IP address and is publicly accessible. |
| INTERNAL | Internal | The ingress gateway is assigned an internal IP address and cannot is accessed publicly. |
| Value | Description |
|---|
External | The ingress gateway is assigned a public IP address and is publicly accessible. |
Internal | The ingress gateway is assigned an internal IP address and cannot is accessed publicly. |
IstioIngressGatewayResponse, IstioIngressGatewayResponseArgs
Istio ingress gateway configuration. For now, we support up to one external ingress gateway named aks-istio-ingressgateway-external and one internal ingress gateway named aks-istio-ingressgateway-internal.- Enabled
bool
- Whether to enable the ingress gateway.
- Mode
string
- Mode of an ingress gateway.
- Enabled
bool
- Whether to enable the ingress gateway.
- Mode
string
- Mode of an ingress gateway.
- enabled
bool
- Whether to enable the ingress gateway.
- mode
string
- Mode of an ingress gateway.
- enabled
Boolean
- Whether to enable the ingress gateway.
- mode
String
- Mode of an ingress gateway.
- enabled
boolean
- Whether to enable the ingress gateway.
- mode
string
- Mode of an ingress gateway.
- enabled
bool
- Whether to enable the ingress gateway.
- mode
str
- Mode of an ingress gateway.
- enabled
Boolean
- Whether to enable the ingress gateway.
- mode
String
- Mode of an ingress gateway.
IstioPluginCertificateAuthority, IstioPluginCertificateAuthorityArgs
Plugin certificates information for Service Mesh.IstioPluginCertificateAuthorityResponse, IstioPluginCertificateAuthorityResponseArgs
Plugin certificates information for Service Mesh.IstioServiceMesh, IstioServiceMeshArgs
Istio service mesh configuration.- CertificateAuthority
IstioCertificateAuthority
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- Components
IstioComponents
- Istio components configuration.
- Revisions
[]string
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificate_authority
object
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
object
- Istio components configuration.
- revisions
list(string)
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificateAuthority
IstioCertificateAuthority
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
IstioComponents
- Istio components configuration.
- revisions
List<String>
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificateAuthority
IstioCertificateAuthority
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
IstioComponents
- Istio components configuration.
- revisions
string[]
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificate_authority
IstioCertificateAuthority
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
IstioComponents
- Istio components configuration.
- revisions
Sequence[str]
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificateAuthority
Property Map
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
Property Map
- Istio components configuration.
- revisions
List<String>
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
IstioServiceMeshResponse, IstioServiceMeshResponseArgs
Istio service mesh configuration.- CertificateAuthority
IstioCertificateAuthorityResponse
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- Components
IstioComponentsResponse
- Istio components configuration.
- Revisions
[]string
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificate_authority
object
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
object
- Istio components configuration.
- revisions
list(string)
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificateAuthority
IstioCertificateAuthorityResponse
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
IstioComponentsResponse
- Istio components configuration.
- revisions
List<String>
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificateAuthority
IstioCertificateAuthorityResponse
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
IstioComponentsResponse
- Istio components configuration.
- revisions
string[]
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificate_authority
IstioCertificateAuthorityResponse
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
IstioComponentsResponse
- Istio components configuration.
- revisions
Sequence[str]
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
- certificateAuthority
Property Map
- Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca
- components
Property Map
- Istio components configuration.
- revisions
List<String>
- The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value. When canary upgrade is in progress, this can only hold two consecutive values. For more information, see: https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
KeyVaultNetworkAccessTypes, KeyVaultNetworkAccessTypesArgs
Network access of the key vault. Network access of key vault. The possible values are Public and Private. Public means the key vault allows public access from all networks. Private means the key vault disables public access and enables private link. The default value is Public.| Name | Value |
|---|
| Public | Public |
| Private | Private |
| Name | Value |
|---|
| KeyVaultNetworkAccessTypesPublic | Public |
| KeyVaultNetworkAccessTypesPrivate | Private |
| Name | Value |
|---|
| Public | Public |
| Private | Private |
| Name | Value |
|---|
| Public | Public |
| Private | Private |
| Name | Value |
|---|
| PUBLIC | Public |
| PRIVATE | Private |
KubeletConfig, KubeletConfigArgs
Kubelet configurations of agent nodes. See AKS custom node configuration for more details.- AllowedUnsafeSysctls
List<string>
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - ContainerLogMaxFiles
int
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- ContainerLogMaxSizeMB
int
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- CpuCfsQuota
bool
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- CpuCfsQuotaPeriod
string
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- CpuManagerPolicy
string
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- FailSwapOn
bool
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- ImageGcHighThreshold
int
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- ImageGcLowThreshold
int
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- PodMaxPids
int
- The maximum number of processes per pod.
- TopologyManagerPolicy
string
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- AllowedUnsafeSysctls
[]string
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - ContainerLogMaxFiles
int
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- ContainerLogMaxSizeMB
int
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- CpuCfsQuota
bool
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- CpuCfsQuotaPeriod
string
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- CpuManagerPolicy
string
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- FailSwapOn
bool
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- ImageGcHighThreshold
int
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- ImageGcLowThreshold
int
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- PodMaxPids
int
- The maximum number of processes per pod.
- TopologyManagerPolicy
string
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed_unsafe_sysctls
list(string)
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container_log_max_files
number
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container_log_max_size_mb
number
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu_cfs_quota
bool
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu_cfs_quota_period
string
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu_manager_policy
string
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail_swap_on
bool
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image_gc_high_threshold
number
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image_gc_low_threshold
number
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod_max_pids
number
- The maximum number of processes per pod.
- topology_manager_policy
string
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowedUnsafeSysctls
List<String>
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - containerLogMaxFiles
Integer
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- containerLogMaxSizeMB
Integer
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpuCfsQuota
Boolean
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpuCfsQuotaPeriod
String
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpuManagerPolicy
String
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- failSwapOn
Boolean
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- imageGcHighThreshold
Integer
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- imageGcLowThreshold
Integer
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- podMaxPids
Integer
- The maximum number of processes per pod.
- topologyManagerPolicy
String
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowedUnsafeSysctls
string[]
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - containerLogMaxFiles
number
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- containerLogMaxSizeMB
number
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpuCfsQuota
boolean
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpuCfsQuotaPeriod
string
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpuManagerPolicy
string
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- failSwapOn
boolean
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- imageGcHighThreshold
number
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- imageGcLowThreshold
number
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- podMaxPids
number
- The maximum number of processes per pod.
- topologyManagerPolicy
string
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed_unsafe_sysctls
Sequence[str]
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container_log_max_files
int
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container_log_max_size_mb
int
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu_cfs_quota
bool
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu_cfs_quota_period
str
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu_manager_policy
str
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail_swap_on
bool
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image_gc_high_threshold
int
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image_gc_low_threshold
int
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod_max_pids
int
- The maximum number of processes per pod.
- topology_manager_policy
str
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowedUnsafeSysctls
List<String>
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - containerLogMaxFiles
Number
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- containerLogMaxSizeMB
Number
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpuCfsQuota
Boolean
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpuCfsQuotaPeriod
String
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpuManagerPolicy
String
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- failSwapOn
Boolean
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- imageGcHighThreshold
Number
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- imageGcLowThreshold
Number
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- podMaxPids
Number
- The maximum number of processes per pod.
- topologyManagerPolicy
String
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
KubeletConfigResponse, KubeletConfigResponseArgs
Kubelet configurations of agent nodes. See AKS custom node configuration for more details.- AllowedUnsafeSysctls
List<string>
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - ContainerLogMaxFiles
int
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- ContainerLogMaxSizeMB
int
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- CpuCfsQuota
bool
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- CpuCfsQuotaPeriod
string
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- CpuManagerPolicy
string
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- FailSwapOn
bool
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- ImageGcHighThreshold
int
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- ImageGcLowThreshold
int
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- PodMaxPids
int
- The maximum number of processes per pod.
- TopologyManagerPolicy
string
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- AllowedUnsafeSysctls
[]string
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - ContainerLogMaxFiles
int
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- ContainerLogMaxSizeMB
int
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- CpuCfsQuota
bool
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- CpuCfsQuotaPeriod
string
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- CpuManagerPolicy
string
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- FailSwapOn
bool
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- ImageGcHighThreshold
int
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- ImageGcLowThreshold
int
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- PodMaxPids
int
- The maximum number of processes per pod.
- TopologyManagerPolicy
string
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed_unsafe_sysctls
list(string)
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container_log_max_files
number
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container_log_max_size_mb
number
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu_cfs_quota
bool
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu_cfs_quota_period
string
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu_manager_policy
string
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail_swap_on
bool
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image_gc_high_threshold
number
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image_gc_low_threshold
number
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod_max_pids
number
- The maximum number of processes per pod.
- topology_manager_policy
string
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowedUnsafeSysctls
List<String>
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - containerLogMaxFiles
Integer
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- containerLogMaxSizeMB
Integer
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpuCfsQuota
Boolean
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpuCfsQuotaPeriod
String
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpuManagerPolicy
String
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- failSwapOn
Boolean
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- imageGcHighThreshold
Integer
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- imageGcLowThreshold
Integer
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- podMaxPids
Integer
- The maximum number of processes per pod.
- topologyManagerPolicy
String
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowedUnsafeSysctls
string[]
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - containerLogMaxFiles
number
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- containerLogMaxSizeMB
number
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpuCfsQuota
boolean
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpuCfsQuotaPeriod
string
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpuManagerPolicy
string
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- failSwapOn
boolean
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- imageGcHighThreshold
number
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- imageGcLowThreshold
number
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- podMaxPids
number
- The maximum number of processes per pod.
- topologyManagerPolicy
string
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed_unsafe_sysctls
Sequence[str]
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container_log_max_files
int
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container_log_max_size_mb
int
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu_cfs_quota
bool
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu_cfs_quota_period
str
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu_manager_policy
str
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail_swap_on
bool
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image_gc_high_threshold
int
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image_gc_low_threshold
int
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod_max_pids
int
- The maximum number of processes per pod.
- topology_manager_policy
str
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowedUnsafeSysctls
List<String>
- Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - containerLogMaxFiles
Number
- The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- containerLogMaxSizeMB
Number
- The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpuCfsQuota
Boolean
- If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpuCfsQuotaPeriod
String
- The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpuManagerPolicy
String
- The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- failSwapOn
Boolean
- If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- imageGcHighThreshold
Number
- The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- imageGcLowThreshold
Number
- The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- podMaxPids
Number
- The maximum number of processes per pod.
- topologyManagerPolicy
String
- The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
KubeletDiskType, KubeletDiskTypeArgs
Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.| Name | Value | Description |
|---|
| OS | OS | Kubelet will use the OS disk for its data. |
| Temporary | Temporary | Kubelet will use the temporary disk for its data. |
| Name | Value | Description |
|---|
| KubeletDiskTypeOS | OS | Kubelet will use the OS disk for its data. |
| KubeletDiskTypeTemporary | Temporary | Kubelet will use the temporary disk for its data. |
| Value | Description |
|---|
OS | Kubelet will use the OS disk for its data. |
Temporary | Kubelet will use the temporary disk for its data. |
| Name | Value | Description |
|---|
| OS | OS | Kubelet will use the OS disk for its data. |
| Temporary | Temporary | Kubelet will use the temporary disk for its data. |
| Name | Value | Description |
|---|
| OS | OS | Kubelet will use the OS disk for its data. |
| Temporary | Temporary | Kubelet will use the temporary disk for its data. |
| Name | Value | Description |
|---|
| OS | OS | Kubelet will use the OS disk for its data. |
| TEMPORARY | Temporary | Kubelet will use the temporary disk for its data. |
| Value | Description |
|---|
OS | Kubelet will use the OS disk for its data. |
Temporary | Kubelet will use the temporary disk for its data. |
KubernetesSupportPlan, KubernetesSupportPlanArgs
The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.| Name | Value | Description |
|---|
| KubernetesOfficial | KubernetesOfficial | Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. |
| AKSLongTermSupport | AKSLongTermSupport | Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. |
| Name | Value | Description |
|---|
| KubernetesSupportPlanKubernetesOfficial | KubernetesOfficial | Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. |
| KubernetesSupportPlanAKSLongTermSupport | AKSLongTermSupport | Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. |
| Value | Description |
|---|
KubernetesOfficial | Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. |
AKSLongTermSupport | Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. |
| Name | Value | Description |
|---|
| KubernetesOfficial | KubernetesOfficial | Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. |
| AKSLongTermSupport | AKSLongTermSupport | Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. |
| Name | Value | Description |
|---|
| KubernetesOfficial | KubernetesOfficial | Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. |
| AKSLongTermSupport | AKSLongTermSupport | Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. |
| Name | Value | Description |
|---|
| KUBERNETES_OFFICIAL | KubernetesOfficial | Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. |
| AKS_LONG_TERM_SUPPORT | AKSLongTermSupport | Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. |
| Value | Description |
|---|
KubernetesOfficial | Support for the version is the same as for the open source Kubernetes offering. Official Kubernetes open source community support versions for 1 year after release. |
AKSLongTermSupport | Support for the version extended past the KubernetesOfficial support of 1 year. AKS continues to patch CVEs for another 1 year, for a total of 2 years of support. |
LicenseType, LicenseTypeArgs
The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.| Name | Value | Description |
|---|
| None | None | No additional licensing is applied. |
| Windows_Server | Windows_Server | Enables Azure Hybrid User Benefits for Windows VMs. |
| Name | Value | Description |
|---|
| LicenseTypeNone | None | No additional licensing is applied. |
| LicenseType_Windows_Server | Windows_Server | Enables Azure Hybrid User Benefits for Windows VMs. |
| Value | Description |
|---|
None | No additional licensing is applied. |
Windows_Server | Enables Azure Hybrid User Benefits for Windows VMs. |
| Name | Value | Description |
|---|
| None | None | No additional licensing is applied. |
| Windows_Server | Windows_Server | Enables Azure Hybrid User Benefits for Windows VMs. |
| Name | Value | Description |
|---|
| None | None | No additional licensing is applied. |
| Windows_Server | Windows_Server | Enables Azure Hybrid User Benefits for Windows VMs. |
| Name | Value | Description |
|---|
| NONE | None | No additional licensing is applied. |
| WINDOWS_SERVER | Windows_Server | Enables Azure Hybrid User Benefits for Windows VMs. |
| Value | Description |
|---|
None | No additional licensing is applied. |
Windows_Server | Enables Azure Hybrid User Benefits for Windows VMs. |
LinuxOSConfig, LinuxOSConfigArgs
OS configurations of Linux agent nodes. See AKS custom node configuration for more details.LinuxOSConfigResponse, LinuxOSConfigResponseArgs
OS configurations of Linux agent nodes. See AKS custom node configuration for more details.LoadBalancerSku, LoadBalancerSkuArgs
The load balancer sku for the managed cluster. The default is 'standard'. See Azure Load Balancer SKUs for more information about the differences between load balancer SKUs.| Name | Value | Description |
|---|
| Standard | standard | Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the standard Load Balancer article. |
| Basic | basic | Use a basic Load Balancer with limited functionality. |
| Name | Value | Description |
|---|
| LoadBalancerSkuStandard | standard | Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the standard Load Balancer article. |
| LoadBalancerSkuBasic | basic | Use a basic Load Balancer with limited functionality. |
| Value | Description |
|---|
standard | Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the standard Load Balancer article. |
basic | Use a basic Load Balancer with limited functionality. |
| Name | Value | Description |
|---|
| Standard | standard | Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the standard Load Balancer article. |
| Basic | basic | Use a basic Load Balancer with limited functionality. |
| Name | Value | Description |
|---|
| Standard | standard | Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the standard Load Balancer article. |
| Basic | basic | Use a basic Load Balancer with limited functionality. |
| Name | Value | Description |
|---|
| STANDARD | standard | Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the standard Load Balancer article. |
| BASIC | basic | Use a basic Load Balancer with limited functionality. |
| Value | Description |
|---|
standard | Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the standard Load Balancer article. |
basic | Use a basic Load Balancer with limited functionality. |
LocalDNSForwardDestination, LocalDNSForwardDestinationArgs
Destination server for DNS queries to be forwarded from localDNS.| Name | Value | Description |
|---|
| ClusterCoreDNS | ClusterCoreDNS | Forward DNS queries from localDNS to cluster CoreDNS. |
| VnetDNS | VnetDNS | Forward DNS queries from localDNS to DNS server configured in the VNET. A VNET can have multiple DNS servers configured. |
| Name | Value | Description |
|---|
| LocalDNSForwardDestinationClusterCoreDNS | ClusterCoreDNS | Forward DNS queries from localDNS to cluster CoreDNS. |
| LocalDNSForwardDestinationVnetDNS | VnetDNS | Forward DNS queries from localDNS to DNS server configured in the VNET. A VNET can have multiple DNS servers configured. |
| Value | Description |
|---|
ClusterCoreDNS | Forward DNS queries from localDNS to cluster CoreDNS. |
VnetDNS | Forward DNS queries from localDNS to DNS server configured in the VNET. A VNET can have multiple DNS servers configured. |
| Name | Value | Description |
|---|
| ClusterCoreDNS | ClusterCoreDNS | Forward DNS queries from localDNS to cluster CoreDNS. |
| VnetDNS | VnetDNS | Forward DNS queries from localDNS to DNS server configured in the VNET. A VNET can have multiple DNS servers configured. |
| Name | Value | Description |
|---|
| ClusterCoreDNS | ClusterCoreDNS | Forward DNS queries from localDNS to cluster CoreDNS. |
| VnetDNS | VnetDNS | Forward DNS queries from localDNS to DNS server configured in the VNET. A VNET can have multiple DNS servers configured. |
| Name | Value | Description |
|---|
| CLUSTER_CORE_DNS | ClusterCoreDNS | Forward DNS queries from localDNS to cluster CoreDNS. |
| VNET_DNS | VnetDNS | Forward DNS queries from localDNS to DNS server configured in the VNET. A VNET can have multiple DNS servers configured. |
| Value | Description |
|---|
ClusterCoreDNS | Forward DNS queries from localDNS to cluster CoreDNS. |
VnetDNS | Forward DNS queries from localDNS to DNS server configured in the VNET. A VNET can have multiple DNS servers configured. |
LocalDNSForwardPolicy, LocalDNSForwardPolicyArgs
Forward policy for selecting upstream DNS server. See forward plugin for more information.| Name | Value | Description |
|---|
| Sequential | Sequential | Implements sequential upstream DNS server selection. See forward plugin for more information. |
| RoundRobin | RoundRobin | Implements round robin upstream DNS server selection. See forward plugin for more information. |
| Random | Random | Implements random upstream DNS server selection. See forward plugin for more information. |
| Name | Value | Description |
|---|
| LocalDNSForwardPolicySequential | Sequential | Implements sequential upstream DNS server selection. See forward plugin for more information. |
| LocalDNSForwardPolicyRoundRobin | RoundRobin | Implements round robin upstream DNS server selection. See forward plugin for more information. |
| LocalDNSForwardPolicyRandom | Random | Implements random upstream DNS server selection. See forward plugin for more information. |
| Value | Description |
|---|
Sequential | Implements sequential upstream DNS server selection. See forward plugin for more information. |
RoundRobin | Implements round robin upstream DNS server selection. See forward plugin for more information. |
Random | Implements random upstream DNS server selection. See forward plugin for more information. |
| Name | Value | Description |
|---|
| Sequential | Sequential | Implements sequential upstream DNS server selection. See forward plugin for more information. |
| RoundRobin | RoundRobin | Implements round robin upstream DNS server selection. See forward plugin for more information. |
| Random | Random | Implements random upstream DNS server selection. See forward plugin for more information. |
| Name | Value | Description |
|---|
| Sequential | Sequential | Implements sequential upstream DNS server selection. See forward plugin for more information. |
| RoundRobin | RoundRobin | Implements round robin upstream DNS server selection. See forward plugin for more information. |
| Random | Random | Implements random upstream DNS server selection. See forward plugin for more information. |
| Name | Value | Description |
|---|
| SEQUENTIAL | Sequential | Implements sequential upstream DNS server selection. See forward plugin for more information. |
| ROUND_ROBIN | RoundRobin | Implements round robin upstream DNS server selection. See forward plugin for more information. |
| RANDOM | Random | Implements random upstream DNS server selection. See forward plugin for more information. |
| Value | Description |
|---|
Sequential | Implements sequential upstream DNS server selection. See forward plugin for more information. |
RoundRobin | Implements round robin upstream DNS server selection. See forward plugin for more information. |
Random | Implements random upstream DNS server selection. See forward plugin for more information. |
LocalDNSMode, LocalDNSModeArgs
Mode of enablement for localDNS.| Name | Value | Description |
|---|
| Preferred | Preferred | If the current orchestrator version supports this feature, prefer enabling localDNS. |
| Required | Required | Enable localDNS. |
| Disabled | Disabled | Disable localDNS. |
| Name | Value | Description |
|---|
| LocalDNSModePreferred | Preferred | If the current orchestrator version supports this feature, prefer enabling localDNS. |
| LocalDNSModeRequired | Required | Enable localDNS. |
| LocalDNSModeDisabled | Disabled | Disable localDNS. |
| Value | Description |
|---|
Preferred | If the current orchestrator version supports this feature, prefer enabling localDNS. |
Required | Enable localDNS. |
Disabled | Disable localDNS. |
| Name | Value | Description |
|---|
| Preferred | Preferred | If the current orchestrator version supports this feature, prefer enabling localDNS. |
| Required | Required | Enable localDNS. |
| Disabled | Disabled | Disable localDNS. |
| Name | Value | Description |
|---|
| Preferred | Preferred | If the current orchestrator version supports this feature, prefer enabling localDNS. |
| Required | Required | Enable localDNS. |
| Disabled | Disabled | Disable localDNS. |
| Name | Value | Description |
|---|
| PREFERRED | Preferred | If the current orchestrator version supports this feature, prefer enabling localDNS. |
| REQUIRED | Required | Enable localDNS. |
| DISABLED | Disabled | Disable localDNS. |
| Value | Description |
|---|
Preferred | If the current orchestrator version supports this feature, prefer enabling localDNS. |
Required | Enable localDNS. |
Disabled | Disable localDNS. |
LocalDNSOverride, LocalDNSOverrideArgs
Overrides for localDNS profile.LocalDNSOverrideResponse, LocalDNSOverrideResponseArgs
Overrides for localDNS profile.LocalDNSProfile, LocalDNSProfileArgs
Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.- KubeDNSOverrides
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.LocalDNSOverride>
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- Mode
string | Pulumi.AzureNative.ContainerService.LocalDNSMode
- Mode of enablement for localDNS.
- VnetDNSOverrides
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.LocalDNSOverride>
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- KubeDNSOverrides
map[string]LocalDNSOverride
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- Mode
string | LocalDNSMode
- Mode of enablement for localDNS.
- VnetDNSOverrides
map[string]LocalDNSOverride
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- kubeDNSOverrides
Map<String,LocalDNSOverride>
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
String | LocalDNSMode
- Mode of enablement for localDNS.
- vnetDNSOverrides
Map<String,LocalDNSOverride>
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- kubeDNSOverrides
{[key: string]: LocalDNSOverride}
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
string | LocalDNSMode
- Mode of enablement for localDNS.
- vnetDNSOverrides
{[key: string]: LocalDNSOverride}
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- kube_dns_overrides
Mapping[str, LocalDNSOverride]
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
str | LocalDNSMode
- Mode of enablement for localDNS.
- vnet_dns_overrides
Mapping[str, LocalDNSOverride]
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- kubeDNSOverrides
Map<Property Map>
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
String | "Preferred" | "Required" | "Disabled"
- Mode of enablement for localDNS.
- vnetDNSOverrides
Map<Property Map>
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
LocalDNSProfileResponse, LocalDNSProfileResponseArgs
Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.- State
string
- System-generated state of localDNS.
- KubeDNSOverrides
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.LocalDNSOverrideResponse>
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- Mode
string
- Mode of enablement for localDNS.
- VnetDNSOverrides
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.LocalDNSOverrideResponse>
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- State
string
- System-generated state of localDNS.
- KubeDNSOverrides
map[string]LocalDNSOverrideResponse
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- Mode
string
- Mode of enablement for localDNS.
- VnetDNSOverrides
map[string]LocalDNSOverrideResponse
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- state
string
- System-generated state of localDNS.
- kube_dns_overrides
map(object)
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
string
- Mode of enablement for localDNS.
- vnet_dns_overrides
map(object)
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- state
String
- System-generated state of localDNS.
- kubeDNSOverrides
Map<String,LocalDNSOverrideResponse>
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
String
- Mode of enablement for localDNS.
- vnetDNSOverrides
Map<String,LocalDNSOverrideResponse>
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- state
string
- System-generated state of localDNS.
- kubeDNSOverrides
{[key: string]: LocalDNSOverrideResponse}
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
string
- Mode of enablement for localDNS.
- vnetDNSOverrides
{[key: string]: LocalDNSOverrideResponse}
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- state
str
- System-generated state of localDNS.
- kube_dns_overrides
Mapping[str, LocalDNSOverrideResponse]
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
str
- Mode of enablement for localDNS.
- vnet_dns_overrides
Mapping[str, LocalDNSOverrideResponse]
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
- state
String
- System-generated state of localDNS.
- kubeDNSOverrides
Map<Property Map>
- KubeDNS overrides apply to DNS traffic from pods with dnsPolicy:ClusterFirst (referred to as KubeDNS traffic).
- mode
String
- Mode of enablement for localDNS.
- vnetDNSOverrides
Map<Property Map>
- VnetDNS overrides apply to DNS traffic from pods with dnsPolicy:default or kubelet (referred to as VnetDNS traffic).
LocalDNSProtocol, LocalDNSProtocolArgs
Enforce TCP or prefer UDP protocol for connections from localDNS to upstream DNS server.| Name | Value | Description |
|---|
| PreferUDP | PreferUDP | Prefer UDP protocol for connections from localDNS to upstream DNS server. |
| ForceTCP | ForceTCP | Enforce TCP protocol for connections from localDNS to upstream DNS server. |
| Name | Value | Description |
|---|
| LocalDNSProtocolPreferUDP | PreferUDP | Prefer UDP protocol for connections from localDNS to upstream DNS server. |
| LocalDNSProtocolForceTCP | ForceTCP | Enforce TCP protocol for connections from localDNS to upstream DNS server. |
| Value | Description |
|---|
PreferUDP | Prefer UDP protocol for connections from localDNS to upstream DNS server. |
ForceTCP | Enforce TCP protocol for connections from localDNS to upstream DNS server. |
| Name | Value | Description |
|---|
| PreferUDP | PreferUDP | Prefer UDP protocol for connections from localDNS to upstream DNS server. |
| ForceTCP | ForceTCP | Enforce TCP protocol for connections from localDNS to upstream DNS server. |
| Name | Value | Description |
|---|
| PreferUDP | PreferUDP | Prefer UDP protocol for connections from localDNS to upstream DNS server. |
| ForceTCP | ForceTCP | Enforce TCP protocol for connections from localDNS to upstream DNS server. |
| Name | Value | Description |
|---|
| PREFER_UDP | PreferUDP | Prefer UDP protocol for connections from localDNS to upstream DNS server. |
| FORCE_TCP | ForceTCP | Enforce TCP protocol for connections from localDNS to upstream DNS server. |
| Value | Description |
|---|
PreferUDP | Prefer UDP protocol for connections from localDNS to upstream DNS server. |
ForceTCP | Enforce TCP protocol for connections from localDNS to upstream DNS server. |
LocalDNSQueryLogging, LocalDNSQueryLoggingArgs
Log level for DNS queries in localDNS.| Name | Value | Description |
|---|
| Error | Error | Enables error logging in localDNS. See errors plugin for more information. |
| Log | Log | Enables query logging in localDNS. See log plugin for more information. |
| Name | Value | Description |
|---|
| LocalDNSQueryLoggingError | Error | Enables error logging in localDNS. See errors plugin for more information. |
| LocalDNSQueryLoggingLog | Log | Enables query logging in localDNS. See log plugin for more information. |
| Value | Description |
|---|
Error | Enables error logging in localDNS. See errors plugin for more information. |
Log | Enables query logging in localDNS. See log plugin for more information. |
| Name | Value | Description |
|---|
| Error | Error | Enables error logging in localDNS. See errors plugin for more information. |
| Log | Log | Enables query logging in localDNS. See log plugin for more information. |
| Name | Value | Description |
|---|
| Error | Error | Enables error logging in localDNS. See errors plugin for more information. |
| Log | Log | Enables query logging in localDNS. See log plugin for more information. |
| Name | Value | Description |
|---|
| ERROR | Error | Enables error logging in localDNS. See errors plugin for more information. |
| LOG | Log | Enables query logging in localDNS. See log plugin for more information. |
| Value | Description |
|---|
Error | Enables error logging in localDNS. See errors plugin for more information. |
Log | Enables query logging in localDNS. See log plugin for more information. |
LocalDNSServeStale, LocalDNSServeStaleArgs
Policy for serving stale data. See cache plugin for more information.| Name | Value | Description |
|---|
| Verify | Verify | Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See cache plugin for more information. |
| Immediate | Immediate | Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See cache plugin for more information. |
| Disable | Disable | Disable serving stale data. |
| Name | Value | Description |
|---|
| LocalDNSServeStaleVerify | Verify | Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See cache plugin for more information. |
| LocalDNSServeStaleImmediate | Immediate | Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See cache plugin for more information. |
| LocalDNSServeStaleDisable | Disable | Disable serving stale data. |
| Value | Description |
|---|
Verify | Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See cache plugin for more information. |
Immediate | Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See cache plugin for more information. |
Disable | Disable serving stale data. |
| Name | Value | Description |
|---|
| Verify | Verify | Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See cache plugin for more information. |
| Immediate | Immediate | Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See cache plugin for more information. |
| Disable | Disable | Disable serving stale data. |
| Name | Value | Description |
|---|
| Verify | Verify | Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See cache plugin for more information. |
| Immediate | Immediate | Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See cache plugin for more information. |
| Disable | Disable | Disable serving stale data. |
| Name | Value | Description |
|---|
| VERIFY | Verify | Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See cache plugin for more information. |
| IMMEDIATE | Immediate | Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See cache plugin for more information. |
| DISABLE | Disable | Disable serving stale data. |
| Value | Description |
|---|
Verify | Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See cache plugin for more information. |
Immediate | Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See cache plugin for more information. |
Disable | Disable serving stale data. |
ManagedClusterAADProfile, ManagedClusterAADProfileArgs
AADProfile specifies attributes for Azure Active Directory integration. For more details see managed AAD on AKS.- AdminGroupObjectIDs
List<string>
- The list of AAD group object IDs that will have admin role of the cluster.
- ClientAppID
string
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- EnableAzureRBAC
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- Managed
bool
- Whether to enable managed AAD.
- ServerAppID
string
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- ServerAppSecret
string
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- TenantID
string
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- AdminGroupObjectIDs
[]string
- The list of AAD group object IDs that will have admin role of the cluster.
- ClientAppID
string
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- EnableAzureRBAC
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- Managed
bool
- Whether to enable managed AAD.
- ServerAppID
string
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- ServerAppSecret
string
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- TenantID
string
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- admin_group_object_i_ds
list(string)
- The list of AAD group object IDs that will have admin role of the cluster.
- client_app_id
string
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enable_azure_rbac
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
bool
- Whether to enable managed AAD.
- server_app_id
string
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- server_app_secret
string
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenant_id
string
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- adminGroupObjectIDs
List<String>
- The list of AAD group object IDs that will have admin role of the cluster.
- clientAppID
String
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enableAzureRBAC
Boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
Boolean
- Whether to enable managed AAD.
- serverAppID
String
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- serverAppSecret
String
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenantID
String
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- adminGroupObjectIDs
string[]
- The list of AAD group object IDs that will have admin role of the cluster.
- clientAppID
string
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enableAzureRBAC
boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
boolean
- Whether to enable managed AAD.
- serverAppID
string
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- serverAppSecret
string
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenantID
string
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- admin_group_object_ids
Sequence[str]
- The list of AAD group object IDs that will have admin role of the cluster.
- client_app_id
str
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enable_azure_rbac
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
bool
- Whether to enable managed AAD.
- server_app_id
str
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- server_app_secret
str
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenant_id
str
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- adminGroupObjectIDs
List<String>
- The list of AAD group object IDs that will have admin role of the cluster.
- clientAppID
String
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enableAzureRBAC
Boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
Boolean
- Whether to enable managed AAD.
- serverAppID
String
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- serverAppSecret
String
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenantID
String
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
ManagedClusterAADProfileResponse, ManagedClusterAADProfileResponseArgs
AADProfile specifies attributes for Azure Active Directory integration. For more details see managed AAD on AKS.- AdminGroupObjectIDs
List<string>
- The list of AAD group object IDs that will have admin role of the cluster.
- ClientAppID
string
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- EnableAzureRBAC
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- Managed
bool
- Whether to enable managed AAD.
- ServerAppID
string
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- ServerAppSecret
string
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- TenantID
string
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- AdminGroupObjectIDs
[]string
- The list of AAD group object IDs that will have admin role of the cluster.
- ClientAppID
string
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- EnableAzureRBAC
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- Managed
bool
- Whether to enable managed AAD.
- ServerAppID
string
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- ServerAppSecret
string
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- TenantID
string
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- admin_group_object_i_ds
list(string)
- The list of AAD group object IDs that will have admin role of the cluster.
- client_app_id
string
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enable_azure_rbac
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
bool
- Whether to enable managed AAD.
- server_app_id
string
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- server_app_secret
string
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenant_id
string
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- adminGroupObjectIDs
List<String>
- The list of AAD group object IDs that will have admin role of the cluster.
- clientAppID
String
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enableAzureRBAC
Boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
Boolean
- Whether to enable managed AAD.
- serverAppID
String
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- serverAppSecret
String
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenantID
String
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- adminGroupObjectIDs
string[]
- The list of AAD group object IDs that will have admin role of the cluster.
- clientAppID
string
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enableAzureRBAC
boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
boolean
- Whether to enable managed AAD.
- serverAppID
string
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- serverAppSecret
string
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenantID
string
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- admin_group_object_ids
Sequence[str]
- The list of AAD group object IDs that will have admin role of the cluster.
- client_app_id
str
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enable_azure_rbac
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
bool
- Whether to enable managed AAD.
- server_app_id
str
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- server_app_secret
str
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenant_id
str
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
- adminGroupObjectIDs
List<String>
- The list of AAD group object IDs that will have admin role of the cluster.
- clientAppID
String
- (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- enableAzureRBAC
Boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- managed
Boolean
- Whether to enable managed AAD.
- serverAppID
String
- (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
- serverAppSecret
String
- (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
- tenantID
String
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
When enabling the operator, a set of AKS managed CRDs and controllers will be installed in the cluster. The operator automates the deployment of OSS models for inference and/or training purposes. It provides a set of preset models and enables distributed inference against them.- Enabled
bool
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- Enabled
bool
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
bool
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
Boolean
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
boolean
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
bool
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
Boolean
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
When enabling the operator, a set of AKS managed CRDs and controllers will be installed in the cluster. The operator automates the deployment of OSS models for inference and/or training purposes. It provides a set of preset models and enables distributed inference against them.- Enabled
bool
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- Enabled
bool
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
bool
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
Boolean
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
boolean
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
bool
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
- enabled
Boolean
- Whether to enable AI toolchain operator to the cluster. Indicates if AI toolchain operator enabled or not.
ManagedClusterAPIServerAccessProfile, ManagedClusterAPIServerAccessProfileArgs
Access profile for managed cluster API server.- AuthorizedIPRanges
List<string>
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- DisableRunCommand
bool
- Whether to disable run command for the cluster or not.
- EnablePrivateCluster
bool
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- EnablePrivateClusterPublicFQDN
bool
- Whether to create additional public FQDN for private cluster or not.
- EnableVnetIntegration
bool
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- PrivateDNSZone
string
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- SubnetId
string
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- AuthorizedIPRanges
[]string
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- DisableRunCommand
bool
- Whether to disable run command for the cluster or not.
- EnablePrivateCluster
bool
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- EnablePrivateClusterPublicFQDN
bool
- Whether to create additional public FQDN for private cluster or not.
- EnableVnetIntegration
bool
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- PrivateDNSZone
string
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- SubnetId
string
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorized_ip_ranges
list(string)
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disable_run_command
bool
- Whether to disable run command for the cluster or not.
- enable_private_cluster
bool
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enable_private_cluster_public_fqdn
bool
- Whether to create additional public FQDN for private cluster or not.
- enable_vnet_integration
bool
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- private_dns_zone
string
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnet_id
string
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorizedIPRanges
List<String>
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disableRunCommand
Boolean
- Whether to disable run command for the cluster or not.
- enablePrivateCluster
Boolean
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enablePrivateClusterPublicFQDN
Boolean
- Whether to create additional public FQDN for private cluster or not.
- enableVnetIntegration
Boolean
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- privateDNSZone
String
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnetId
String
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorizedIPRanges
string[]
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disableRunCommand
boolean
- Whether to disable run command for the cluster or not.
- enablePrivateCluster
boolean
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enablePrivateClusterPublicFQDN
boolean
- Whether to create additional public FQDN for private cluster or not.
- enableVnetIntegration
boolean
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- privateDNSZone
string
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnetId
string
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorized_ip_ranges
Sequence[str]
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disable_run_command
bool
- Whether to disable run command for the cluster or not.
- enable_private_cluster
bool
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enable_private_cluster_public_fqdn
bool
- Whether to create additional public FQDN for private cluster or not.
- enable_vnet_integration
bool
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- private_dns_zone
str
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnet_id
str
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorizedIPRanges
List<String>
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disableRunCommand
Boolean
- Whether to disable run command for the cluster or not.
- enablePrivateCluster
Boolean
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enablePrivateClusterPublicFQDN
Boolean
- Whether to create additional public FQDN for private cluster or not.
- enableVnetIntegration
Boolean
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- privateDNSZone
String
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnetId
String
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
ManagedClusterAPIServerAccessProfileResponse, ManagedClusterAPIServerAccessProfileResponseArgs
Access profile for managed cluster API server.- AuthorizedIPRanges
List<string>
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- DisableRunCommand
bool
- Whether to disable run command for the cluster or not.
- EnablePrivateCluster
bool
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- EnablePrivateClusterPublicFQDN
bool
- Whether to create additional public FQDN for private cluster or not.
- EnableVnetIntegration
bool
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- PrivateDNSZone
string
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- SubnetId
string
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- AuthorizedIPRanges
[]string
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- DisableRunCommand
bool
- Whether to disable run command for the cluster or not.
- EnablePrivateCluster
bool
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- EnablePrivateClusterPublicFQDN
bool
- Whether to create additional public FQDN for private cluster or not.
- EnableVnetIntegration
bool
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- PrivateDNSZone
string
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- SubnetId
string
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorized_ip_ranges
list(string)
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disable_run_command
bool
- Whether to disable run command for the cluster or not.
- enable_private_cluster
bool
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enable_private_cluster_public_fqdn
bool
- Whether to create additional public FQDN for private cluster or not.
- enable_vnet_integration
bool
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- private_dns_zone
string
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnet_id
string
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorizedIPRanges
List<String>
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disableRunCommand
Boolean
- Whether to disable run command for the cluster or not.
- enablePrivateCluster
Boolean
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enablePrivateClusterPublicFQDN
Boolean
- Whether to create additional public FQDN for private cluster or not.
- enableVnetIntegration
Boolean
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- privateDNSZone
String
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnetId
String
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorizedIPRanges
string[]
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disableRunCommand
boolean
- Whether to disable run command for the cluster or not.
- enablePrivateCluster
boolean
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enablePrivateClusterPublicFQDN
boolean
- Whether to create additional public FQDN for private cluster or not.
- enableVnetIntegration
boolean
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- privateDNSZone
string
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnetId
string
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorized_ip_ranges
Sequence[str]
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disable_run_command
bool
- Whether to disable run command for the cluster or not.
- enable_private_cluster
bool
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enable_private_cluster_public_fqdn
bool
- Whether to create additional public FQDN for private cluster or not.
- enable_vnet_integration
bool
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- private_dns_zone
str
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnet_id
str
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
- authorizedIPRanges
List<String>
- The IP ranges authorized to access the Kubernetes API server. IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see API server authorized IP ranges.
- disableRunCommand
Boolean
- Whether to disable run command for the cluster or not.
- enablePrivateCluster
Boolean
- Whether to create the cluster as a private cluster or not. For more details, see Creating a private AKS cluster.
- enablePrivateClusterPublicFQDN
Boolean
- Whether to create additional public FQDN for private cluster or not.
- enableVnetIntegration
Boolean
- Whether to enable apiserver vnet integration for the cluster or not. See aka.ms/AksVnetIntegration for more details.
- privateDNSZone
String
- The private DNS zone mode for the cluster. The default is System. For more details see configure private DNS zone. Allowed values are 'system' and 'none'.
- subnetId
String
- The subnet to be used when apiserver vnet integration is enabled. It is required when creating a new cluster with BYO Vnet, or when updating an existing cluster to enable apiserver vnet integration.
ManagedClusterAddonProfile, ManagedClusterAddonProfileArgs
A Kubernetes add-on profile for a managed cluster.- Enabled
bool
- Whether the add-on is enabled or not.
- Config
Dictionary<string, string>
- Key-value pairs for configuring an add-on.
- Enabled
bool
- Whether the add-on is enabled or not.
- Config
map[string]string
- Key-value pairs for configuring an add-on.
- enabled
bool
- Whether the add-on is enabled or not.
- config
map(string)
- Key-value pairs for configuring an add-on.
- enabled
Boolean
- Whether the add-on is enabled or not.
- config
Map<String,String>
- Key-value pairs for configuring an add-on.
- enabled
boolean
- Whether the add-on is enabled or not.
- config
{[key: string]: string}
- Key-value pairs for configuring an add-on.
- enabled
bool
- Whether the add-on is enabled or not.
- config
Mapping[str, str]
- Key-value pairs for configuring an add-on.
- enabled
Boolean
- Whether the add-on is enabled or not.
- config
Map<String>
- Key-value pairs for configuring an add-on.
ManagedClusterAddonProfileResponse, ManagedClusterAddonProfileResponseArgs
A Kubernetes add-on profile for a managed cluster.- enabled
bool
- Whether the add-on is enabled or not.
- identity
object
- Information of user assigned identity used by this add-on.
- config
map(string)
- Key-value pairs for configuring an add-on.
- enabled
Boolean
- Whether the add-on is enabled or not.
- identity
Property Map
- Information of user assigned identity used by this add-on.
- config
Map<String>
- Key-value pairs for configuring an add-on.
ManagedClusterAddonProfileResponseIdentity, ManagedClusterAddonProfileResponseIdentityArgs
Information of user assigned identity used by this add-on.- ClientId
string
- The client ID of the user assigned identity.
- ObjectId
string
- The object ID of the user assigned identity.
- ResourceId
string
- The resource ID of the user assigned identity.
- ClientId
string
- The client ID of the user assigned identity.
- ObjectId
string
- The object ID of the user assigned identity.
- ResourceId
string
- The resource ID of the user assigned identity.
- client_id
string
- The client ID of the user assigned identity.
- object_id
string
- The object ID of the user assigned identity.
- resource_id
string
- The resource ID of the user assigned identity.
- clientId
String
- The client ID of the user assigned identity.
- objectId
String
- The object ID of the user assigned identity.
- resourceId
String
- The resource ID of the user assigned identity.
- clientId
string
- The client ID of the user assigned identity.
- objectId
string
- The object ID of the user assigned identity.
- resourceId
string
- The resource ID of the user assigned identity.
- client_id
str
- The client ID of the user assigned identity.
- object_id
str
- The object ID of the user assigned identity.
- resource_id
str
- The resource ID of the user assigned identity.
- clientId
String
- The client ID of the user assigned identity.
- objectId
String
- The object ID of the user assigned identity.
- resourceId
String
- The resource ID of the user assigned identity.
ManagedClusterAgentPoolProfile, ManagedClusterAgentPoolProfileArgs
Profile for the container service agent pool.- Name
string
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- AvailabilityZones
List<string>
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- CapacityReservationGroupID
string
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- Count
int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- CreationData
Pulumi.AzureNative.ContainerService.Inputs.CreationData
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- EnableAutoScaling
bool
- Whether to enable auto-scaler
- EnableEncryptionAtHost
bool
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- EnableFIPS
bool
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- EnableNodePublicIP
bool
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- EnableUltraSSD
bool
- Whether to enable UltraSSD
- GatewayProfile
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolGatewayProfile
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- GpuInstanceProfile
string | Pulumi.AzureNative.ContainerService.GPUInstanceProfile
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- GpuProfile
Pulumi.AzureNative.ContainerService.Inputs.GPUProfile
- GPU settings for the Agent Pool.
- HostGroupID
string
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- KubeletConfig
Pulumi.AzureNative.ContainerService.Inputs.KubeletConfig
- The Kubelet configuration on the agent pool nodes.
- KubeletDiskType
string | Pulumi.AzureNative.ContainerService.KubeletDiskType
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- LinuxOSConfig
Pulumi.AzureNative.ContainerService.Inputs.LinuxOSConfig
- The OS configuration of Linux agent nodes.
- LocalDNSProfile
Pulumi.AzureNative.ContainerService.Inputs.LocalDNSProfile
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- MaxCount
int
- The maximum number of nodes for auto-scaling
- MaxPods
int
- The maximum number of pods that can run on a node.
- MessageOfTheDay
string
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- MinCount
int
- The minimum number of nodes for auto-scaling
- Mode
string | Pulumi.AzureNative.ContainerService.AgentPoolMode
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- NetworkProfile
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolNetworkProfile
- Network-related settings of an agent pool.
- NodeLabels
Dictionary<string, string>
- The node labels to be persisted across all nodes in agent pool.
- NodePublicIPPrefixID
string
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- NodeTaints
List<string>
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- OrchestratorVersion
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- OsDiskSizeGB
int
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- OsDiskType
string | Pulumi.AzureNative.ContainerService.OSDiskType
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- OsSKU
string | Pulumi.AzureNative.ContainerService.OSSKU
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- OsType
string | Pulumi.AzureNative.ContainerService.OSType
- The operating system type. The default is Linux.
- PodIPAllocationMode
string | Pulumi.AzureNative.ContainerService.PodIPAllocationMode
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- PodSubnetID
string
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- PowerState
Pulumi.AzureNative.ContainerService.Inputs.PowerState
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- ProximityPlacementGroupID
string
- The ID for Proximity Placement Group.
- ScaleDownMode
string | Pulumi.AzureNative.ContainerService.ScaleDownMode
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- ScaleSetEvictionPolicy
string | Pulumi.AzureNative.ContainerService.ScaleSetEvictionPolicy
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- ScaleSetPriority
string | Pulumi.AzureNative.ContainerService.ScaleSetPriority
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- SecurityProfile
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolSecurityProfile
- The security settings of an agent pool.
- SpotMaxPrice
double
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- Tags
Dictionary<string, string>
- The tags to be persisted on the agent pool virtual machine scale set.
- Type
string | Pulumi.AzureNative.ContainerService.AgentPoolType
- The type of Agent Pool.
- UpgradeSettings
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolUpgradeSettings
- Settings for upgrading the agentpool
- VirtualMachineNodesStatus
List<Pulumi.AzureNative.ContainerService.Inputs.VirtualMachineNodes>
- The status of nodes in a VirtualMachines agent pool.
- VirtualMachinesProfile
Pulumi.AzureNative.ContainerService.Inputs.VirtualMachinesProfile
- Specifications on VirtualMachines agent pool.
- VmSize
string
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- VnetSubnetID
string
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- WindowsProfile
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolWindowsProfile
- The Windows agent pool's specific profile.
- WorkloadRuntime
string | Pulumi.AzureNative.ContainerService.WorkloadRuntime
- Determines the type of workload a node can run.
- Name
string
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- AvailabilityZones
[]string
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- CapacityReservationGroupID
string
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- Count
int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- CreationData
CreationData
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- EnableAutoScaling
bool
- Whether to enable auto-scaler
- EnableEncryptionAtHost
bool
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- EnableFIPS
bool
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- EnableNodePublicIP
bool
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- EnableUltraSSD
bool
- Whether to enable UltraSSD
- GatewayProfile
AgentPoolGatewayProfile
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- GpuInstanceProfile
string | GPUInstanceProfile
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- GpuProfile
GPUProfile
- GPU settings for the Agent Pool.
- HostGroupID
string
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- KubeletConfig
KubeletConfig
- The Kubelet configuration on the agent pool nodes.
- KubeletDiskType
string | KubeletDiskType
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- LinuxOSConfig
LinuxOSConfig
- The OS configuration of Linux agent nodes.
- LocalDNSProfile
LocalDNSProfile
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- MaxCount
int
- The maximum number of nodes for auto-scaling
- MaxPods
int
- The maximum number of pods that can run on a node.
- MessageOfTheDay
string
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- MinCount
int
- The minimum number of nodes for auto-scaling
- Mode
string | AgentPoolMode
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- NetworkProfile
AgentPoolNetworkProfile
- Network-related settings of an agent pool.
- NodeLabels
map[string]string
- The node labels to be persisted across all nodes in agent pool.
- NodePublicIPPrefixID
string
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- NodeTaints
[]string
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- OrchestratorVersion
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- OsDiskSizeGB
int
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- OsDiskType
string | OSDiskType
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- OsSKU
string | OSSKU
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- OsType
string | OSType
- The operating system type. The default is Linux.
- PodIPAllocationMode
string | PodIPAllocationMode
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- PodSubnetID
string
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- PowerState
PowerState
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- ProximityPlacementGroupID
string
- The ID for Proximity Placement Group.
- ScaleDownMode
string | ScaleDownMode
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- ScaleSetEvictionPolicy
string | ScaleSetEvictionPolicy
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- ScaleSetPriority
string | ScaleSetPriority
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- SecurityProfile
AgentPoolSecurityProfile
- The security settings of an agent pool.
- SpotMaxPrice
float64
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- Tags
map[string]string
- The tags to be persisted on the agent pool virtual machine scale set.
- Type
string | AgentPoolType
- The type of Agent Pool.
- UpgradeSettings
AgentPoolUpgradeSettings
- Settings for upgrading the agentpool
- VirtualMachineNodesStatus
[]VirtualMachineNodes
- The status of nodes in a VirtualMachines agent pool.
- VirtualMachinesProfile
VirtualMachinesProfile
- Specifications on VirtualMachines agent pool.
- VmSize
string
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- VnetSubnetID
string
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- WindowsProfile
AgentPoolWindowsProfile
- The Windows agent pool's specific profile.
- WorkloadRuntime
string | WorkloadRuntime
- Determines the type of workload a node can run.
- name
string
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- availability_zones
list(string)
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacity_reservation_group_id
string
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
number
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creation_data
object
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enable_auto_scaling
bool
- Whether to enable auto-scaler
- enable_encryption_at_host
bool
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enable_fips
bool
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enable_node_public_ip
bool
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enable_ultra_ssd
bool
- Whether to enable UltraSSD
- gateway_profile
object
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpu_instance_profile
string | "MIG1g" | "MIG2g" | "MIG3g" | "MIG4g" | "MIG7g"
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpu_profile
object
- GPU settings for the Agent Pool.
- host_group_id
string
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubelet_config
object
- The Kubelet configuration on the agent pool nodes.
- kubelet_disk_type
string | "OS" | "Temporary"
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linux_os_config
object
- The OS configuration of Linux agent nodes.
- local_dns_profile
object
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- max_count
number
- The maximum number of nodes for auto-scaling
- max_pods
number
- The maximum number of pods that can run on a node.
- message_of_the_day
string
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- min_count
number
- The minimum number of nodes for auto-scaling
- mode
string | "System" | "User" | "Gateway"
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- network_profile
object
- Network-related settings of an agent pool.
- node_labels
map(string)
- The node labels to be persisted across all nodes in agent pool.
- node_public_ip_prefix_id
string
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- node_taints
list(string)
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestrator_version
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- os_disk_size_gb
number
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- os_disk_type
string | "Managed" | "Ephemeral"
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- os_sku
string | "Ubuntu" | "AzureLinux" | "AzureLinux3" | "CBLMariner" | "Windows2019" | "Windows2022" | "Ubuntu2204"
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- os_type
string | "Linux" | "Windows"
- The operating system type. The default is Linux.
- pod_ip_allocation_mode
string | "DynamicIndividual" | "StaticBlock"
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- pod_subnet_id
string
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- power_state
object
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximity_placement_group_id
string
- The ID for Proximity Placement Group.
- scale_down_mode
string | "Delete" | "Deallocate"
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scale_set_eviction_policy
string | "Delete" | "Deallocate"
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scale_set_priority
string | "Spot" | "Regular"
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- security_profile
object
- The security settings of an agent pool.
- spot_max_price
number
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- tags
map(string)
- The tags to be persisted on the agent pool virtual machine scale set.
- type
string | "VirtualMachineScaleSets" | "AvailabilitySet" | "VirtualMachines"
- The type of Agent Pool.
- upgrade_settings
object
- Settings for upgrading the agentpool
- virtual_machine_nodes_status
list(object)
- The status of nodes in a VirtualMachines agent pool.
- virtual_machines_profile
object
- Specifications on VirtualMachines agent pool.
- vm_size
string
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnet_subnet_id
string
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windows_profile
object
- The Windows agent pool's specific profile.
- workload_runtime
string | "OCIContainer" | "WasmWasi" | "KataVmIsolation"
- Determines the type of workload a node can run.
- name
String
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- availabilityZones
List<String>
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacityReservationGroupID
String
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
Integer
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creationData
CreationData
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enableAutoScaling
Boolean
- Whether to enable auto-scaler
- enableEncryptionAtHost
Boolean
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enableFIPS
Boolean
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enableNodePublicIP
Boolean
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enableUltraSSD
Boolean
- Whether to enable UltraSSD
- gatewayProfile
AgentPoolGatewayProfile
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpuInstanceProfile
String | GPUInstanceProfile
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpuProfile
GPUProfile
- GPU settings for the Agent Pool.
- hostGroupID
String
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubeletConfig
KubeletConfig
- The Kubelet configuration on the agent pool nodes.
- kubeletDiskType
String | KubeletDiskType
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linuxOSConfig
LinuxOSConfig
- The OS configuration of Linux agent nodes.
- localDNSProfile
LocalDNSProfile
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- maxCount
Integer
- The maximum number of nodes for auto-scaling
- maxPods
Integer
- The maximum number of pods that can run on a node.
- messageOfTheDay
String
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- minCount
Integer
- The minimum number of nodes for auto-scaling
- mode
String | AgentPoolMode
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- networkProfile
AgentPoolNetworkProfile
- Network-related settings of an agent pool.
- nodeLabels
Map<String,String>
- The node labels to be persisted across all nodes in agent pool.
- nodePublicIPPrefixID
String
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- nodeTaints
List<String>
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestratorVersion
String
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- osDiskSizeGB
Integer
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- osDiskType
String | OSDiskType
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- osSKU
String | OSSKU
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- osType
String | OSType
- The operating system type. The default is Linux.
- podIPAllocationMode
String | PodIPAllocationMode
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- podSubnetID
String
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- powerState
PowerState
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximityPlacementGroupID
String
- The ID for Proximity Placement Group.
- scaleDownMode
String | ScaleDownMode
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scaleSetEvictionPolicy
String | ScaleSetEvictionPolicy
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scaleSetPriority
String | ScaleSetPriority
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- securityProfile
AgentPoolSecurityProfile
- The security settings of an agent pool.
- spotMaxPrice
Double
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- tags
Map<String,String>
- The tags to be persisted on the agent pool virtual machine scale set.
- type
String | AgentPoolType
- The type of Agent Pool.
- upgradeSettings
AgentPoolUpgradeSettings
- Settings for upgrading the agentpool
- virtualMachineNodesStatus
List<VirtualMachineNodes>
- The status of nodes in a VirtualMachines agent pool.
- virtualMachinesProfile
VirtualMachinesProfile
- Specifications on VirtualMachines agent pool.
- vmSize
String
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnetSubnetID
String
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windowsProfile
AgentPoolWindowsProfile
- The Windows agent pool's specific profile.
- workloadRuntime
String | WorkloadRuntime
- Determines the type of workload a node can run.
- name
string
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- availabilityZones
string[]
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacityReservationGroupID
string
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
number
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creationData
CreationData
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enableAutoScaling
boolean
- Whether to enable auto-scaler
- enableEncryptionAtHost
boolean
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enableFIPS
boolean
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enableNodePublicIP
boolean
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enableUltraSSD
boolean
- Whether to enable UltraSSD
- gatewayProfile
AgentPoolGatewayProfile
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpuInstanceProfile
string | GPUInstanceProfile
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpuProfile
GPUProfile
- GPU settings for the Agent Pool.
- hostGroupID
string
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubeletConfig
KubeletConfig
- The Kubelet configuration on the agent pool nodes.
- kubeletDiskType
string | KubeletDiskType
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linuxOSConfig
LinuxOSConfig
- The OS configuration of Linux agent nodes.
- localDNSProfile
LocalDNSProfile
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- maxCount
number
- The maximum number of nodes for auto-scaling
- maxPods
number
- The maximum number of pods that can run on a node.
- messageOfTheDay
string
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- minCount
number
- The minimum number of nodes for auto-scaling
- mode
string | AgentPoolMode
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- networkProfile
AgentPoolNetworkProfile
- Network-related settings of an agent pool.
- nodeLabels
{[key: string]: string}
- The node labels to be persisted across all nodes in agent pool.
- nodePublicIPPrefixID
string
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- nodeTaints
string[]
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestratorVersion
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- osDiskSizeGB
number
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- osDiskType
string | OSDiskType
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- osSKU
string | OSSKU
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- osType
string | OSType
- The operating system type. The default is Linux.
- podIPAllocationMode
string | PodIPAllocationMode
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- podSubnetID
string
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- powerState
PowerState
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximityPlacementGroupID
string
- The ID for Proximity Placement Group.
- scaleDownMode
string | ScaleDownMode
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scaleSetEvictionPolicy
string | ScaleSetEvictionPolicy
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scaleSetPriority
string | ScaleSetPriority
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- securityProfile
AgentPoolSecurityProfile
- The security settings of an agent pool.
- spotMaxPrice
number
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- tags
{[key: string]: string}
- The tags to be persisted on the agent pool virtual machine scale set.
- type
string | AgentPoolType
- The type of Agent Pool.
- upgradeSettings
AgentPoolUpgradeSettings
- Settings for upgrading the agentpool
- virtualMachineNodesStatus
VirtualMachineNodes[]
- The status of nodes in a VirtualMachines agent pool.
- virtualMachinesProfile
VirtualMachinesProfile
- Specifications on VirtualMachines agent pool.
- vmSize
string
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnetSubnetID
string
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windowsProfile
AgentPoolWindowsProfile
- The Windows agent pool's specific profile.
- workloadRuntime
string | WorkloadRuntime
- Determines the type of workload a node can run.
- name
str
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- availability_zones
Sequence[str]
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacity_reservation_group_id
str
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creation_data
CreationData
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enable_auto_scaling
bool
- Whether to enable auto-scaler
- enable_encryption_at_host
bool
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enable_fips
bool
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enable_node_public_ip
bool
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enable_ultra_ssd
bool
- Whether to enable UltraSSD
- gateway_profile
AgentPoolGatewayProfile
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpu_instance_profile
str | GPUInstanceProfile
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpu_profile
GPUProfile
- GPU settings for the Agent Pool.
- host_group_id
str
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubelet_config
KubeletConfig
- The Kubelet configuration on the agent pool nodes.
- kubelet_disk_type
str | KubeletDiskType
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linux_os_config
LinuxOSConfig
- The OS configuration of Linux agent nodes.
- local_dns_profile
LocalDNSProfile
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- max_count
int
- The maximum number of nodes for auto-scaling
- max_pods
int
- The maximum number of pods that can run on a node.
- message_of_the_day
str
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- min_count
int
- The minimum number of nodes for auto-scaling
- mode
str | AgentPoolMode
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- network_profile
AgentPoolNetworkProfile
- Network-related settings of an agent pool.
- node_labels
Mapping[str, str]
- The node labels to be persisted across all nodes in agent pool.
- node_public_ip_prefix_id
str
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- node_taints
Sequence[str]
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestrator_version
str
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- os_disk_size_gb
int
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- os_disk_type
str | OSDiskType
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- os_sku
str | OSSKU
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- os_type
str | OSType
- The operating system type. The default is Linux.
- pod_ip_allocation_mode
str | PodIPAllocationMode
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- pod_subnet_id
str
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- power_state
PowerState
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximity_placement_group_id
str
- The ID for Proximity Placement Group.
- scale_down_mode
str | ScaleDownMode
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scale_set_eviction_policy
str | ScaleSetEvictionPolicy
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scale_set_priority
str | ScaleSetPriority
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- security_profile
AgentPoolSecurityProfile
- The security settings of an agent pool.
- spot_max_price
float
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- tags
Mapping[str, str]
- The tags to be persisted on the agent pool virtual machine scale set.
- type
str | AgentPoolType
- The type of Agent Pool.
- upgrade_settings
AgentPoolUpgradeSettings
- Settings for upgrading the agentpool
- virtual_machine_nodes_status
Sequence[VirtualMachineNodes]
- The status of nodes in a VirtualMachines agent pool.
- virtual_machines_profile
VirtualMachinesProfile
- Specifications on VirtualMachines agent pool.
- vm_size
str
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnet_subnet_id
str
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windows_profile
AgentPoolWindowsProfile
- The Windows agent pool's specific profile.
- workload_runtime
str | WorkloadRuntime
- Determines the type of workload a node can run.
- name
String
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- availabilityZones
List<String>
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacityReservationGroupID
String
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
Number
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creationData
Property Map
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enableAutoScaling
Boolean
- Whether to enable auto-scaler
- enableEncryptionAtHost
Boolean
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enableFIPS
Boolean
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enableNodePublicIP
Boolean
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enableUltraSSD
Boolean
- Whether to enable UltraSSD
- gatewayProfile
Property Map
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpuInstanceProfile
String | "MIG1g" | "MIG2g" | "MIG3g" | "MIG4g" | "MIG7g"
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpuProfile
Property Map
- GPU settings for the Agent Pool.
- hostGroupID
String
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubeletConfig
Property Map
- The Kubelet configuration on the agent pool nodes.
- kubeletDiskType
String | "OS" | "Temporary"
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linuxOSConfig
Property Map
- The OS configuration of Linux agent nodes.
- localDNSProfile
Property Map
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- maxCount
Number
- The maximum number of nodes for auto-scaling
- maxPods
Number
- The maximum number of pods that can run on a node.
- messageOfTheDay
String
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- minCount
Number
- The minimum number of nodes for auto-scaling
- mode
String | "System" | "User" | "Gateway"
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- networkProfile
Property Map
- Network-related settings of an agent pool.
- nodeLabels
Map<String>
- The node labels to be persisted across all nodes in agent pool.
- nodePublicIPPrefixID
String
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- nodeTaints
List<String>
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestratorVersion
String
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- osDiskSizeGB
Number
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- osDiskType
String | "Managed" | "Ephemeral"
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- osSKU
String | "Ubuntu" | "AzureLinux" | "AzureLinux3" | "CBLMariner" | "Windows2019" | "Windows2022" | "Ubuntu2204"
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- osType
String | "Linux" | "Windows"
- The operating system type. The default is Linux.
- podIPAllocationMode
String | "DynamicIndividual" | "StaticBlock"
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- podSubnetID
String
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- powerState
Property Map
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximityPlacementGroupID
String
- The ID for Proximity Placement Group.
- scaleDownMode
String | "Delete" | "Deallocate"
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scaleSetEvictionPolicy
String | "Delete" | "Deallocate"
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scaleSetPriority
String | "Spot" | "Regular"
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- securityProfile
Property Map
- The security settings of an agent pool.
- spotMaxPrice
Number
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- tags
Map<String>
- The tags to be persisted on the agent pool virtual machine scale set.
- type
String | "VirtualMachineScaleSets" | "AvailabilitySet" | "VirtualMachines"
- The type of Agent Pool.
- upgradeSettings
Property Map
- Settings for upgrading the agentpool
- virtualMachineNodesStatus
List<Property Map>
- The status of nodes in a VirtualMachines agent pool.
- virtualMachinesProfile
Property Map
- Specifications on VirtualMachines agent pool.
- vmSize
String
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnetSubnetID
String
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windowsProfile
Property Map
- The Windows agent pool's specific profile.
- workloadRuntime
String | "OCIContainer" | "WasmWasi" | "KataVmIsolation"
- Determines the type of workload a node can run.
ManagedClusterAgentPoolProfileResponse, ManagedClusterAgentPoolProfileResponseArgs
Profile for the container service agent pool.- CurrentOrchestratorVersion
string
- The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- ETag
string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- Name
string
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- NodeImageVersion
string
- The version of node image
- ProvisioningState
string
- The current deployment or provisioning state.
- AvailabilityZones
List<string>
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- CapacityReservationGroupID
string
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- Count
int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- CreationData
Pulumi.AzureNative.ContainerService.Inputs.CreationDataResponse
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- EnableAutoScaling
bool
- Whether to enable auto-scaler
- EnableEncryptionAtHost
bool
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- EnableFIPS
bool
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- EnableNodePublicIP
bool
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- EnableUltraSSD
bool
- Whether to enable UltraSSD
- GatewayProfile
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolGatewayProfileResponse
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- GpuInstanceProfile
string
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- GpuProfile
Pulumi.AzureNative.ContainerService.Inputs.GPUProfileResponse
- GPU settings for the Agent Pool.
- HostGroupID
string
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- KubeletConfig
Pulumi.AzureNative.ContainerService.Inputs.KubeletConfigResponse
- The Kubelet configuration on the agent pool nodes.
- KubeletDiskType
string
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- LinuxOSConfig
Pulumi.AzureNative.ContainerService.Inputs.LinuxOSConfigResponse
- The OS configuration of Linux agent nodes.
- LocalDNSProfile
Pulumi.AzureNative.ContainerService.Inputs.LocalDNSProfileResponse
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- MaxCount
int
- The maximum number of nodes for auto-scaling
- MaxPods
int
- The maximum number of pods that can run on a node.
- MessageOfTheDay
string
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- MinCount
int
- The minimum number of nodes for auto-scaling
- Mode
string
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- NetworkProfile
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolNetworkProfileResponse
- Network-related settings of an agent pool.
- NodeLabels
Dictionary<string, string>
- The node labels to be persisted across all nodes in agent pool.
- NodePublicIPPrefixID
string
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- NodeTaints
List<string>
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- OrchestratorVersion
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- OsDiskSizeGB
int
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- OsDiskType
string
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- OsSKU
string
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- OsType
string
- The operating system type. The default is Linux.
- PodIPAllocationMode
string
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- PodSubnetID
string
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- PowerState
Pulumi.AzureNative.ContainerService.Inputs.PowerStateResponse
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- ProximityPlacementGroupID
string
- The ID for Proximity Placement Group.
- ScaleDownMode
string
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- ScaleSetEvictionPolicy
string
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- ScaleSetPriority
string
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- SecurityProfile
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolSecurityProfileResponse
- The security settings of an agent pool.
- SpotMaxPrice
double
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- Status
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolStatusResponse
- Contains read-only information about the Agent Pool.
- Tags
Dictionary<string, string>
- The tags to be persisted on the agent pool virtual machine scale set.
- Type
string
- The type of Agent Pool.
- UpgradeSettings
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolUpgradeSettingsResponse
- Settings for upgrading the agentpool
- VirtualMachineNodesStatus
List<Pulumi.AzureNative.ContainerService.Inputs.VirtualMachineNodesResponse>
- The status of nodes in a VirtualMachines agent pool.
- VirtualMachinesProfile
Pulumi.AzureNative.ContainerService.Inputs.VirtualMachinesProfileResponse
- Specifications on VirtualMachines agent pool.
- VmSize
string
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- VnetSubnetID
string
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- WindowsProfile
Pulumi.AzureNative.ContainerService.Inputs.AgentPoolWindowsProfileResponse
- The Windows agent pool's specific profile.
- WorkloadRuntime
string
- Determines the type of workload a node can run.
- CurrentOrchestratorVersion
string
- The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- ETag
string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- Name
string
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- NodeImageVersion
string
- The version of node image
- ProvisioningState
string
- The current deployment or provisioning state.
- AvailabilityZones
[]string
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- CapacityReservationGroupID
string
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- Count
int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- CreationData
CreationDataResponse
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- EnableAutoScaling
bool
- Whether to enable auto-scaler
- EnableEncryptionAtHost
bool
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- EnableFIPS
bool
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- EnableNodePublicIP
bool
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- EnableUltraSSD
bool
- Whether to enable UltraSSD
- GatewayProfile
AgentPoolGatewayProfileResponse
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- GpuInstanceProfile
string
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- GpuProfile
GPUProfileResponse
- GPU settings for the Agent Pool.
- HostGroupID
string
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- KubeletConfig
KubeletConfigResponse
- The Kubelet configuration on the agent pool nodes.
- KubeletDiskType
string
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- LinuxOSConfig
LinuxOSConfigResponse
- The OS configuration of Linux agent nodes.
- LocalDNSProfile
LocalDNSProfileResponse
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- MaxCount
int
- The maximum number of nodes for auto-scaling
- MaxPods
int
- The maximum number of pods that can run on a node.
- MessageOfTheDay
string
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- MinCount
int
- The minimum number of nodes for auto-scaling
- Mode
string
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- NetworkProfile
AgentPoolNetworkProfileResponse
- Network-related settings of an agent pool.
- NodeLabels
map[string]string
- The node labels to be persisted across all nodes in agent pool.
- NodePublicIPPrefixID
string
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- NodeTaints
[]string
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- OrchestratorVersion
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- OsDiskSizeGB
int
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- OsDiskType
string
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- OsSKU
string
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- OsType
string
- The operating system type. The default is Linux.
- PodIPAllocationMode
string
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- PodSubnetID
string
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- PowerState
PowerStateResponse
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- ProximityPlacementGroupID
string
- The ID for Proximity Placement Group.
- ScaleDownMode
string
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- ScaleSetEvictionPolicy
string
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- ScaleSetPriority
string
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- SecurityProfile
AgentPoolSecurityProfileResponse
- The security settings of an agent pool.
- SpotMaxPrice
float64
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- Status
AgentPoolStatusResponse
- Contains read-only information about the Agent Pool.
- Tags
map[string]string
- The tags to be persisted on the agent pool virtual machine scale set.
- Type
string
- The type of Agent Pool.
- UpgradeSettings
AgentPoolUpgradeSettingsResponse
- Settings for upgrading the agentpool
- VirtualMachineNodesStatus
[]VirtualMachineNodesResponse
- The status of nodes in a VirtualMachines agent pool.
- VirtualMachinesProfile
VirtualMachinesProfileResponse
- Specifications on VirtualMachines agent pool.
- VmSize
string
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- VnetSubnetID
string
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- WindowsProfile
AgentPoolWindowsProfileResponse
- The Windows agent pool's specific profile.
- WorkloadRuntime
string
- Determines the type of workload a node can run.
- current_orchestrator_version
string
- The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- e_tag
string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- name
string
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- node_image_version
string
- The version of node image
- provisioning_state
string
- The current deployment or provisioning state.
- availability_zones
list(string)
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacity_reservation_group_id
string
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
number
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creation_data
object
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enable_auto_scaling
bool
- Whether to enable auto-scaler
- enable_encryption_at_host
bool
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enable_fips
bool
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enable_node_public_ip
bool
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enable_ultra_ssd
bool
- Whether to enable UltraSSD
- gateway_profile
object
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpu_instance_profile
string
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpu_profile
object
- GPU settings for the Agent Pool.
- host_group_id
string
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubelet_config
object
- The Kubelet configuration on the agent pool nodes.
- kubelet_disk_type
string
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linux_os_config
object
- The OS configuration of Linux agent nodes.
- local_dns_profile
object
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- max_count
number
- The maximum number of nodes for auto-scaling
- max_pods
number
- The maximum number of pods that can run on a node.
- message_of_the_day
string
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- min_count
number
- The minimum number of nodes for auto-scaling
- mode
string
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- network_profile
object
- Network-related settings of an agent pool.
- node_labels
map(string)
- The node labels to be persisted across all nodes in agent pool.
- node_public_ip_prefix_id
string
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- node_taints
list(string)
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestrator_version
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- os_disk_size_gb
number
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- os_disk_type
string
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- os_sku
string
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- os_type
string
- The operating system type. The default is Linux.
- pod_ip_allocation_mode
string
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- pod_subnet_id
string
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- power_state
object
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximity_placement_group_id
string
- The ID for Proximity Placement Group.
- scale_down_mode
string
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scale_set_eviction_policy
string
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scale_set_priority
string
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- security_profile
object
- The security settings of an agent pool.
- spot_max_price
number
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- status
object
- Contains read-only information about the Agent Pool.
- tags
map(string)
- The tags to be persisted on the agent pool virtual machine scale set.
- type
string
- The type of Agent Pool.
- upgrade_settings
object
- Settings for upgrading the agentpool
- virtual_machine_nodes_status
list(object)
- The status of nodes in a VirtualMachines agent pool.
- virtual_machines_profile
object
- Specifications on VirtualMachines agent pool.
- vm_size
string
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnet_subnet_id
string
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windows_profile
object
- The Windows agent pool's specific profile.
- workload_runtime
string
- Determines the type of workload a node can run.
- currentOrchestratorVersion
String
- The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- eTag
String
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- name
String
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- nodeImageVersion
String
- The version of node image
- provisioningState
String
- The current deployment or provisioning state.
- availabilityZones
List<String>
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacityReservationGroupID
String
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
Integer
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creationData
CreationDataResponse
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enableAutoScaling
Boolean
- Whether to enable auto-scaler
- enableEncryptionAtHost
Boolean
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enableFIPS
Boolean
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enableNodePublicIP
Boolean
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enableUltraSSD
Boolean
- Whether to enable UltraSSD
- gatewayProfile
AgentPoolGatewayProfileResponse
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpuInstanceProfile
String
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpuProfile
GPUProfileResponse
- GPU settings for the Agent Pool.
- hostGroupID
String
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubeletConfig
KubeletConfigResponse
- The Kubelet configuration on the agent pool nodes.
- kubeletDiskType
String
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linuxOSConfig
LinuxOSConfigResponse
- The OS configuration of Linux agent nodes.
- localDNSProfile
LocalDNSProfileResponse
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- maxCount
Integer
- The maximum number of nodes for auto-scaling
- maxPods
Integer
- The maximum number of pods that can run on a node.
- messageOfTheDay
String
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- minCount
Integer
- The minimum number of nodes for auto-scaling
- mode
String
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- networkProfile
AgentPoolNetworkProfileResponse
- Network-related settings of an agent pool.
- nodeLabels
Map<String,String>
- The node labels to be persisted across all nodes in agent pool.
- nodePublicIPPrefixID
String
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- nodeTaints
List<String>
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestratorVersion
String
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- osDiskSizeGB
Integer
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- osDiskType
String
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- osSKU
String
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- osType
String
- The operating system type. The default is Linux.
- podIPAllocationMode
String
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- podSubnetID
String
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- powerState
PowerStateResponse
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximityPlacementGroupID
String
- The ID for Proximity Placement Group.
- scaleDownMode
String
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scaleSetEvictionPolicy
String
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scaleSetPriority
String
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- securityProfile
AgentPoolSecurityProfileResponse
- The security settings of an agent pool.
- spotMaxPrice
Double
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- status
AgentPoolStatusResponse
- Contains read-only information about the Agent Pool.
- tags
Map<String,String>
- The tags to be persisted on the agent pool virtual machine scale set.
- type
String
- The type of Agent Pool.
- upgradeSettings
AgentPoolUpgradeSettingsResponse
- Settings for upgrading the agentpool
- virtualMachineNodesStatus
List<VirtualMachineNodesResponse>
- The status of nodes in a VirtualMachines agent pool.
- virtualMachinesProfile
VirtualMachinesProfileResponse
- Specifications on VirtualMachines agent pool.
- vmSize
String
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnetSubnetID
String
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windowsProfile
AgentPoolWindowsProfileResponse
- The Windows agent pool's specific profile.
- workloadRuntime
String
- Determines the type of workload a node can run.
- currentOrchestratorVersion
string
- The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- eTag
string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- name
string
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- nodeImageVersion
string
- The version of node image
- provisioningState
string
- The current deployment or provisioning state.
- availabilityZones
string[]
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacityReservationGroupID
string
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
number
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creationData
CreationDataResponse
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enableAutoScaling
boolean
- Whether to enable auto-scaler
- enableEncryptionAtHost
boolean
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enableFIPS
boolean
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enableNodePublicIP
boolean
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enableUltraSSD
boolean
- Whether to enable UltraSSD
- gatewayProfile
AgentPoolGatewayProfileResponse
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpuInstanceProfile
string
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpuProfile
GPUProfileResponse
- GPU settings for the Agent Pool.
- hostGroupID
string
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubeletConfig
KubeletConfigResponse
- The Kubelet configuration on the agent pool nodes.
- kubeletDiskType
string
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linuxOSConfig
LinuxOSConfigResponse
- The OS configuration of Linux agent nodes.
- localDNSProfile
LocalDNSProfileResponse
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- maxCount
number
- The maximum number of nodes for auto-scaling
- maxPods
number
- The maximum number of pods that can run on a node.
- messageOfTheDay
string
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- minCount
number
- The minimum number of nodes for auto-scaling
- mode
string
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- networkProfile
AgentPoolNetworkProfileResponse
- Network-related settings of an agent pool.
- nodeLabels
{[key: string]: string}
- The node labels to be persisted across all nodes in agent pool.
- nodePublicIPPrefixID
string
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- nodeTaints
string[]
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestratorVersion
string
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- osDiskSizeGB
number
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- osDiskType
string
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- osSKU
string
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- osType
string
- The operating system type. The default is Linux.
- podIPAllocationMode
string
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- podSubnetID
string
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- powerState
PowerStateResponse
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximityPlacementGroupID
string
- The ID for Proximity Placement Group.
- scaleDownMode
string
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scaleSetEvictionPolicy
string
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scaleSetPriority
string
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- securityProfile
AgentPoolSecurityProfileResponse
- The security settings of an agent pool.
- spotMaxPrice
number
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- status
AgentPoolStatusResponse
- Contains read-only information about the Agent Pool.
- tags
{[key: string]: string}
- The tags to be persisted on the agent pool virtual machine scale set.
- type
string
- The type of Agent Pool.
- upgradeSettings
AgentPoolUpgradeSettingsResponse
- Settings for upgrading the agentpool
- virtualMachineNodesStatus
VirtualMachineNodesResponse[]
- The status of nodes in a VirtualMachines agent pool.
- virtualMachinesProfile
VirtualMachinesProfileResponse
- Specifications on VirtualMachines agent pool.
- vmSize
string
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnetSubnetID
string
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windowsProfile
AgentPoolWindowsProfileResponse
- The Windows agent pool's specific profile.
- workloadRuntime
string
- Determines the type of workload a node can run.
- current_orchestrator_version
str
- The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- e_tag
str
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- name
str
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- node_image_version
str
- The version of node image
- provisioning_state
str
- The current deployment or provisioning state.
- availability_zones
Sequence[str]
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacity_reservation_group_id
str
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creation_data
CreationDataResponse
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enable_auto_scaling
bool
- Whether to enable auto-scaler
- enable_encryption_at_host
bool
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enable_fips
bool
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enable_node_public_ip
bool
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enable_ultra_ssd
bool
- Whether to enable UltraSSD
- gateway_profile
AgentPoolGatewayProfileResponse
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpu_instance_profile
str
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpu_profile
GPUProfileResponse
- GPU settings for the Agent Pool.
- host_group_id
str
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubelet_config
KubeletConfigResponse
- The Kubelet configuration on the agent pool nodes.
- kubelet_disk_type
str
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linux_os_config
LinuxOSConfigResponse
- The OS configuration of Linux agent nodes.
- local_dns_profile
LocalDNSProfileResponse
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- max_count
int
- The maximum number of nodes for auto-scaling
- max_pods
int
- The maximum number of pods that can run on a node.
- message_of_the_day
str
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- min_count
int
- The minimum number of nodes for auto-scaling
- mode
str
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- network_profile
AgentPoolNetworkProfileResponse
- Network-related settings of an agent pool.
- node_labels
Mapping[str, str]
- The node labels to be persisted across all nodes in agent pool.
- node_public_ip_prefix_id
str
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- node_taints
Sequence[str]
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestrator_version
str
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- os_disk_size_gb
int
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- os_disk_type
str
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- os_sku
str
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- os_type
str
- The operating system type. The default is Linux.
- pod_ip_allocation_mode
str
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- pod_subnet_id
str
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- power_state
PowerStateResponse
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximity_placement_group_id
str
- The ID for Proximity Placement Group.
- scale_down_mode
str
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scale_set_eviction_policy
str
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scale_set_priority
str
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- security_profile
AgentPoolSecurityProfileResponse
- The security settings of an agent pool.
- spot_max_price
float
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- status
AgentPoolStatusResponse
- Contains read-only information about the Agent Pool.
- tags
Mapping[str, str]
- The tags to be persisted on the agent pool virtual machine scale set.
- type
str
- The type of Agent Pool.
- upgrade_settings
AgentPoolUpgradeSettingsResponse
- Settings for upgrading the agentpool
- virtual_machine_nodes_status
Sequence[VirtualMachineNodesResponse]
- The status of nodes in a VirtualMachines agent pool.
- virtual_machines_profile
VirtualMachinesProfileResponse
- Specifications on VirtualMachines agent pool.
- vm_size
str
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnet_subnet_id
str
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windows_profile
AgentPoolWindowsProfileResponse
- The Windows agent pool's specific profile.
- workload_runtime
str
- Determines the type of workload a node can run.
- currentOrchestratorVersion
String
- The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- eTag
String
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
- name
String
- Unique name of the agent pool profile in the context of the subscription and resource group. Windows agent pool names must be 6 characters or less.
- nodeImageVersion
String
- The version of node image
- provisioningState
String
- The current deployment or provisioning state.
- availabilityZones
List<String>
- The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacityReservationGroupID
String
- AKS will associate the specified agent pool with the Capacity Reservation Group.
- count
Number
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creationData
Property Map
- CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enableAutoScaling
Boolean
- Whether to enable auto-scaler
- enableEncryptionAtHost
Boolean
- Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enableFIPS
Boolean
- Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enableNodePublicIP
Boolean
- Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enableUltraSSD
Boolean
- Whether to enable UltraSSD
- gatewayProfile
Property Map
- Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpuInstanceProfile
String
- GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpuProfile
Property Map
- GPU settings for the Agent Pool.
- hostGroupID
String
- The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubeletConfig
Property Map
- The Kubelet configuration on the agent pool nodes.
- kubeletDiskType
String
- Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linuxOSConfig
Property Map
- The OS configuration of Linux agent nodes.
- localDNSProfile
Property Map
- Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.
- maxCount
Number
- The maximum number of nodes for auto-scaling
- maxPods
Number
- The maximum number of pods that can run on a node.
- messageOfTheDay
String
- Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- minCount
Number
- The minimum number of nodes for auto-scaling
- mode
String
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- networkProfile
Property Map
- Network-related settings of an agent pool.
- nodeLabels
Map<String>
- The node labels to be persisted across all nodes in agent pool.
- nodePublicIPPrefixID
String
- The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- nodeTaints
List<String>
- The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestratorVersion
String
- The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- osDiskSizeGB
Number
- OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- osDiskType
String
- The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- osSKU
String
- Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- osType
String
- The operating system type. The default is Linux.
- podIPAllocationMode
String
- Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- podSubnetID
String
- The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- powerState
Property Map
- Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximityPlacementGroupID
String
- The ID for Proximity Placement Group.
- scaleDownMode
String
- The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scaleSetEvictionPolicy
String
- The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scaleSetPriority
String
- The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- securityProfile
Property Map
- The security settings of an agent pool.
- spotMaxPrice
Number
- The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- status
Property Map
- Contains read-only information about the Agent Pool.
- tags
Map<String>
- The tags to be persisted on the agent pool virtual machine scale set.
- type
String
- The type of Agent Pool.
- upgradeSettings
Property Map
- Settings for upgrading the agentpool
- virtualMachineNodesStatus
List<Property Map>
- The status of nodes in a VirtualMachines agent pool.
- virtualMachinesProfile
Property Map
- Specifications on VirtualMachines agent pool.
- vmSize
String
- The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnetSubnetID
String
- The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windowsProfile
Property Map
- The Windows agent pool's specific profile.
- workloadRuntime
String
- Determines the type of workload a node can run.
ManagedClusterAutoUpgradeProfile, ManagedClusterAutoUpgradeProfileArgs
Auto upgrade profile for a managed cluster.ManagedClusterAutoUpgradeProfileResponse, ManagedClusterAutoUpgradeProfileResponseArgs
Auto upgrade profile for a managed cluster.ManagedClusterAzureMonitorProfile, ManagedClusterAzureMonitorProfileArgs
Azure Monitor addon profiles for monitoring the managed cluster.- Metrics
ManagedClusterAzureMonitorProfileMetrics
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
object
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
ManagedClusterAzureMonitorProfileMetrics
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
ManagedClusterAzureMonitorProfileMetrics
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
ManagedClusterAzureMonitorProfileMetrics
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
Property Map
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
ManagedClusterAzureMonitorProfileKubeStateMetrics, ManagedClusterAzureMonitorProfileKubeStateMetricsArgs
Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.- MetricAnnotationsAllowList
string
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- MetricLabelsAllowlist
string
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- MetricAnnotationsAllowList
string
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- MetricLabelsAllowlist
string
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metric_annotations_allow_list
string
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metric_labels_allowlist
string
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metricAnnotationsAllowList
String
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metricLabelsAllowlist
String
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metricAnnotationsAllowList
string
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metricLabelsAllowlist
string
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metric_annotations_allow_list
str
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metric_labels_allowlist
str
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metricAnnotationsAllowList
String
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metricLabelsAllowlist
String
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
ManagedClusterAzureMonitorProfileKubeStateMetricsResponse, ManagedClusterAzureMonitorProfileKubeStateMetricsResponseArgs
Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.- MetricAnnotationsAllowList
string
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- MetricLabelsAllowlist
string
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- MetricAnnotationsAllowList
string
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- MetricLabelsAllowlist
string
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metric_annotations_allow_list
string
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metric_labels_allowlist
string
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metricAnnotationsAllowList
String
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metricLabelsAllowlist
String
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metricAnnotationsAllowList
string
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metricLabelsAllowlist
string
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metric_annotations_allow_list
str
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metric_labels_allowlist
str
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
- metricAnnotationsAllowList
String
- Comma-separated list of Kubernetes annotation keys that will be used in the resource's labels metric (Example: 'namespaces=[kubernetes.io/team,...],pods=[kubernetes.io/team],...'). By default the metric contains only resource name and namespace labels.
- metricLabelsAllowlist
String
- Comma-separated list of additional Kubernetes label keys that will be used in the resource's labels metric (Example: 'namespaces=[k8s-label-1,k8s-label-n,...],pods=[app],...'). By default the metric contains only resource name and namespace labels.
ManagedClusterAzureMonitorProfileMetrics, ManagedClusterAzureMonitorProfileMetricsArgs
Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.- Enabled
bool
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- KubeStateMetrics
ManagedClusterAzureMonitorProfileKubeStateMetrics
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
bool
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kube_state_metrics
object
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
Boolean
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kubeStateMetrics
ManagedClusterAzureMonitorProfileKubeStateMetrics
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
boolean
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kubeStateMetrics
ManagedClusterAzureMonitorProfileKubeStateMetrics
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
bool
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kube_state_metrics
ManagedClusterAzureMonitorProfileKubeStateMetrics
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
Boolean
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kubeStateMetrics
Property Map
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
ManagedClusterAzureMonitorProfileMetricsResponse, ManagedClusterAzureMonitorProfileMetricsResponseArgs
Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.- Enabled
bool
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- KubeStateMetrics
ManagedClusterAzureMonitorProfileKubeStateMetricsResponse
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
bool
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kube_state_metrics
object
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
Boolean
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kubeStateMetrics
ManagedClusterAzureMonitorProfileKubeStateMetricsResponse
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
boolean
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kubeStateMetrics
ManagedClusterAzureMonitorProfileKubeStateMetricsResponse
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
bool
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kube_state_metrics
ManagedClusterAzureMonitorProfileKubeStateMetricsResponse
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
- enabled
Boolean
- Whether to enable or disable the Azure Managed Prometheus addon for Prometheus monitoring. See aka.ms/AzureManagedPrometheus-aks-enable for details on enabling and disabling.
- kubeStateMetrics
Property Map
- Kube State Metrics profile for the Azure Managed Prometheus addon. These optional settings are for the kube-state-metrics pod that is deployed with the addon. See aka.ms/AzureManagedPrometheus-optional-parameters for details.
ManagedClusterAzureMonitorProfileResponse, ManagedClusterAzureMonitorProfileResponseArgs
Azure Monitor addon profiles for monitoring the managed cluster.- Metrics
ManagedClusterAzureMonitorProfileMetricsResponse
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
object
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
ManagedClusterAzureMonitorProfileMetricsResponse
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
ManagedClusterAzureMonitorProfileMetricsResponse
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
ManagedClusterAzureMonitorProfileMetricsResponse
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
- metrics
Property Map
- Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See aka.ms/AzureManagedPrometheus for an overview.
ManagedClusterBootstrapProfile, ManagedClusterBootstrapProfileArgs
The bootstrap profile.- ArtifactSource
string | ArtifactSource
- The artifact source. The source where the artifacts are downloaded from.
- ContainerRegistryId
string
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifactSource
String | ArtifactSource
- The artifact source. The source where the artifacts are downloaded from.
- containerRegistryId
String
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifactSource
string | ArtifactSource
- The artifact source. The source where the artifacts are downloaded from.
- containerRegistryId
string
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifact_source
str | ArtifactSource
- The artifact source. The source where the artifacts are downloaded from.
- container_registry_id
str
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifactSource
String | "Cache" | "Direct"
- The artifact source. The source where the artifacts are downloaded from.
- containerRegistryId
String
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
ManagedClusterBootstrapProfileResponse, ManagedClusterBootstrapProfileResponseArgs
The bootstrap profile.- ArtifactSource
string
- The artifact source. The source where the artifacts are downloaded from.
- ContainerRegistryId
string
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- ArtifactSource
string
- The artifact source. The source where the artifacts are downloaded from.
- ContainerRegistryId
string
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifact_source
string
- The artifact source. The source where the artifacts are downloaded from.
- container_registry_id
string
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifactSource
String
- The artifact source. The source where the artifacts are downloaded from.
- containerRegistryId
String
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifactSource
string
- The artifact source. The source where the artifacts are downloaded from.
- containerRegistryId
string
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifact_source
str
- The artifact source. The source where the artifacts are downloaded from.
- container_registry_id
str
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
- artifactSource
String
- The artifact source. The source where the artifacts are downloaded from.
- containerRegistryId
String
- The resource Id of Azure Container Registry. The registry must have private network access, premium SKU and zone redundancy.
ManagedClusterCostAnalysis, ManagedClusterCostAnalysisArgs
The cost analysis configuration for the cluster- Enabled
bool
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- Enabled
bool
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
bool
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
Boolean
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
boolean
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
bool
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
Boolean
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
ManagedClusterCostAnalysisResponse, ManagedClusterCostAnalysisResponseArgs
The cost analysis configuration for the cluster- Enabled
bool
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- Enabled
bool
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
bool
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
Boolean
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
boolean
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
bool
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
- enabled
Boolean
- Whether to enable cost analysis. The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis.
ManagedClusterHTTPProxyConfig, ManagedClusterHTTPProxyConfigArgs
Cluster HTTP proxy configuration.- HttpProxy
string
- The HTTP proxy server endpoint to use.
- HttpsProxy
string
- The HTTPS proxy server endpoint to use.
- NoProxy
List<string>
- The endpoints that should not go through proxy.
- TrustedCa
string
- Alternative CA cert to use for connecting to proxy servers.
- HttpProxy
string
- The HTTP proxy server endpoint to use.
- HttpsProxy
string
- The HTTPS proxy server endpoint to use.
- NoProxy
[]string
- The endpoints that should not go through proxy.
- TrustedCa
string
- Alternative CA cert to use for connecting to proxy servers.
- http_proxy
string
- The HTTP proxy server endpoint to use.
- https_proxy
string
- The HTTPS proxy server endpoint to use.
- no_proxy
list(string)
- The endpoints that should not go through proxy.
- trusted_ca
string
- Alternative CA cert to use for connecting to proxy servers.
- httpProxy
String
- The HTTP proxy server endpoint to use.
- httpsProxy
String
- The HTTPS proxy server endpoint to use.
- noProxy
List<String>
- The endpoints that should not go through proxy.
- trustedCa
String
- Alternative CA cert to use for connecting to proxy servers.
- httpProxy
string
- The HTTP proxy server endpoint to use.
- httpsProxy
string
- The HTTPS proxy server endpoint to use.
- noProxy
string[]
- The endpoints that should not go through proxy.
- trustedCa
string
- Alternative CA cert to use for connecting to proxy servers.
- http_proxy
str
- The HTTP proxy server endpoint to use.
- https_proxy
str
- The HTTPS proxy server endpoint to use.
- no_proxy
Sequence[str]
- The endpoints that should not go through proxy.
- trusted_ca
str
- Alternative CA cert to use for connecting to proxy servers.
- httpProxy
String
- The HTTP proxy server endpoint to use.
- httpsProxy
String
- The HTTPS proxy server endpoint to use.
- noProxy
List<String>
- The endpoints that should not go through proxy.
- trustedCa
String
- Alternative CA cert to use for connecting to proxy servers.
ManagedClusterHTTPProxyConfigResponse, ManagedClusterHTTPProxyConfigResponseArgs
Cluster HTTP proxy configuration.- HttpProxy
string
- The HTTP proxy server endpoint to use.
- HttpsProxy
string
- The HTTPS proxy server endpoint to use.
- NoProxy
List<string>
- The endpoints that should not go through proxy.
- TrustedCa
string
- Alternative CA cert to use for connecting to proxy servers.
- HttpProxy
string
- The HTTP proxy server endpoint to use.
- HttpsProxy
string
- The HTTPS proxy server endpoint to use.
- NoProxy
[]string
- The endpoints that should not go through proxy.
- TrustedCa
string
- Alternative CA cert to use for connecting to proxy servers.
- http_proxy
string
- The HTTP proxy server endpoint to use.
- https_proxy
string
- The HTTPS proxy server endpoint to use.
- no_proxy
list(string)
- The endpoints that should not go through proxy.
- trusted_ca
string
- Alternative CA cert to use for connecting to proxy servers.
- httpProxy
String
- The HTTP proxy server endpoint to use.
- httpsProxy
String
- The HTTPS proxy server endpoint to use.
- noProxy
List<String>
- The endpoints that should not go through proxy.
- trustedCa
String
- Alternative CA cert to use for connecting to proxy servers.
- httpProxy
string
- The HTTP proxy server endpoint to use.
- httpsProxy
string
- The HTTPS proxy server endpoint to use.
- noProxy
string[]
- The endpoints that should not go through proxy.
- trustedCa
string
- Alternative CA cert to use for connecting to proxy servers.
- http_proxy
str
- The HTTP proxy server endpoint to use.
- https_proxy
str
- The HTTPS proxy server endpoint to use.
- no_proxy
Sequence[str]
- The endpoints that should not go through proxy.
- trusted_ca
str
- Alternative CA cert to use for connecting to proxy servers.
- httpProxy
String
- The HTTP proxy server endpoint to use.
- httpsProxy
String
- The HTTPS proxy server endpoint to use.
- noProxy
List<String>
- The endpoints that should not go through proxy.
- trustedCa
String
- Alternative CA cert to use for connecting to proxy servers.
ManagedClusterIdentity, ManagedClusterIdentityArgs
Identity for the managed cluster.- DelegatedResources
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.DelegatedResource>
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- Type
Pulumi.AzureNative.ContainerService.ResourceIdentityType
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- UserAssignedIdentities
List<string>
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- DelegatedResources
map[string]DelegatedResource
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- Type
ResourceIdentityType
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- UserAssignedIdentities
[]string
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- delegated_resources
map(object)
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
"SystemAssigned" | "UserAssigned" | "None"
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- user_assigned_identities
list(string)
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- delegatedResources
Map<String,DelegatedResource>
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
ResourceIdentityType
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- userAssignedIdentities
List<String>
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- delegatedResources
{[key: string]: DelegatedResource}
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
ResourceIdentityType
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- userAssignedIdentities
string[]
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- delegated_resources
Mapping[str, DelegatedResource]
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
ResourceIdentityType
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- user_assigned_identities
Sequence[str]
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- delegatedResources
Map<Property Map>
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
"SystemAssigned" | "UserAssigned" | "None"
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- userAssignedIdentities
List<String>
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ManagedClusterIdentityResponse, ManagedClusterIdentityResponseArgs
Identity for the managed cluster.- PrincipalId
string
- The principal id of the system assigned identity which is used by master components.
- TenantId
string
- The tenant id of the system assigned identity which is used by master components.
- DelegatedResources
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.DelegatedResourceResponse>
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- Type
string
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- UserAssignedIdentities
Dictionary<string, Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterIdentityResponseUserAssignedIdentities>
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- PrincipalId
string
- The principal id of the system assigned identity which is used by master components.
- TenantId
string
- The tenant id of the system assigned identity which is used by master components.
- DelegatedResources
map[string]DelegatedResourceResponse
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- Type
string
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- UserAssignedIdentities
map[string]ManagedClusterIdentityResponseUserAssignedIdentities
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_id
string
- The principal id of the system assigned identity which is used by master components.
- tenant_id
string
- The tenant id of the system assigned identity which is used by master components.
- delegated_resources
map(object)
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
string
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- user_assigned_identities
map(object)
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId
String
- The principal id of the system assigned identity which is used by master components.
- tenantId
String
- The tenant id of the system assigned identity which is used by master components.
- delegatedResources
Map<String,DelegatedResourceResponse>
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
String
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- userAssignedIdentities
Map<String,ManagedClusterIdentityResponseUserAssignedIdentities>
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId
string
- The principal id of the system assigned identity which is used by master components.
- tenantId
string
- The tenant id of the system assigned identity which is used by master components.
- delegatedResources
{[key: string]: DelegatedResourceResponse}
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
string
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- userAssignedIdentities
{[key: string]: ManagedClusterIdentityResponseUserAssignedIdentities}
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_id
str
- The principal id of the system assigned identity which is used by master components.
- tenant_id
str
- The tenant id of the system assigned identity which is used by master components.
- delegated_resources
Mapping[str, DelegatedResourceResponse]
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
str
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- user_assigned_identities
Mapping[str, ManagedClusterIdentityResponseUserAssignedIdentities]
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId
String
- The principal id of the system assigned identity which is used by master components.
- tenantId
String
- The tenant id of the system assigned identity which is used by master components.
- delegatedResources
Map<Property Map>
- The delegated identity resources assigned to this managed cluster. This can only be set by another Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
- type
String
- The type of identity used for the managed cluster. For more information see use managed identities in AKS.
- userAssignedIdentities
Map<Property Map>
- The user identity associated with the managed cluster. This identity will be used in control plane. Only one user assigned identity is allowed. The keys must be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ManagedClusterIdentityResponseUserAssignedIdentities, ManagedClusterIdentityResponseUserAssignedIdentitiesArgs
- ClientId
string
- The client id of user assigned identity.
- PrincipalId
string
- The principal id of user assigned identity.
- ClientId
string
- The client id of user assigned identity.
- PrincipalId
string
- The principal id of user assigned identity.
- client_id
string
- The client id of user assigned identity.
- principal_id
string
- The principal id of user assigned identity.
- clientId
String
- The client id of user assigned identity.
- principalId
String
- The principal id of user assigned identity.
- clientId
string
- The client id of user assigned identity.
- principalId
string
- The principal id of user assigned identity.
- client_id
str
- The client id of user assigned identity.
- principal_id
str
- The principal id of user assigned identity.
- clientId
String
- The client id of user assigned identity.
- principalId
String
- The principal id of user assigned identity.
ManagedClusterIngressProfile, ManagedClusterIngressProfileArgs
Ingress profile for the container service cluster.- web_app_routing
object
- App Routing settings for the ingress profile. You can find an overview and onboarding guide for this feature at https://learn.microsoft.com/en-us/azure/aks/app-routing?tabs=default%2Cdeploy-app-default.
- webAppRouting
Property Map
- App Routing settings for the ingress profile. You can find an overview and onboarding guide for this feature at https://learn.microsoft.com/en-us/azure/aks/app-routing?tabs=default%2Cdeploy-app-default.
ManagedClusterIngressProfileNginx, ManagedClusterIngressProfileNginxArgs
ManagedClusterIngressProfileNginxResponse, ManagedClusterIngressProfileNginxResponseArgs
ManagedClusterIngressProfileResponse, ManagedClusterIngressProfileResponseArgs
Ingress profile for the container service cluster.- web_app_routing
object
- App Routing settings for the ingress profile. You can find an overview and onboarding guide for this feature at https://learn.microsoft.com/en-us/azure/aks/app-routing?tabs=default%2Cdeploy-app-default.
- webAppRouting
Property Map
- App Routing settings for the ingress profile. You can find an overview and onboarding guide for this feature at https://learn.microsoft.com/en-us/azure/aks/app-routing?tabs=default%2Cdeploy-app-default.
ManagedClusterIngressProfileWebAppRouting, ManagedClusterIngressProfileWebAppRoutingArgs
Application Routing add-on settings for the ingress profile.- DnsZoneResourceIds
List<string>
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- Enabled
bool
- Whether to enable the Application Routing add-on.
- Nginx
Pulumi.AzureNative.ContainerService.Inputs.ManagedClusterIngressProfileNginx
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- DnsZoneResourceIds
[]string
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- Enabled
bool
- Whether to enable the Application Routing add-on.
- Nginx
ManagedClusterIngressProfileNginx
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- dns_zone_resource_ids
list(string)
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
bool
- Whether to enable the Application Routing add-on.
- nginx
object
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- dnsZoneResourceIds
List<String>
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
Boolean
- Whether to enable the Application Routing add-on.
- nginx
ManagedClusterIngressProfileNginx
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- dnsZoneResourceIds
string[]
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
boolean
- Whether to enable the Application Routing add-on.
- nginx
ManagedClusterIngressProfileNginx
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- dns_zone_resource_ids
Sequence[str]
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
bool
- Whether to enable the Application Routing add-on.
- nginx
ManagedClusterIngressProfileNginx
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- dnsZoneResourceIds
List<String>
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
Boolean
- Whether to enable the Application Routing add-on.
- nginx
Property Map
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
ManagedClusterIngressProfileWebAppRoutingResponse, ManagedClusterIngressProfileWebAppRoutingResponseArgs
Application Routing add-on settings for the ingress profile.- Identity
UserAssignedIdentityManagedClusterResponse
- Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See this overview of the add-on for more instructions.
- DnsZoneResourceIds
[]string
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- Enabled
bool
- Whether to enable the Application Routing add-on.
- Nginx
ManagedClusterIngressProfileNginxResponse
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- identity
object
- Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See this overview of the add-on for more instructions.
- dns_zone_resource_ids
list(string)
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
bool
- Whether to enable the Application Routing add-on.
- nginx
object
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- identity
UserAssignedIdentityManagedClusterResponse
- Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See this overview of the add-on for more instructions.
- dnsZoneResourceIds
List<String>
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
Boolean
- Whether to enable the Application Routing add-on.
- nginx
ManagedClusterIngressProfileNginxResponse
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- identity
UserAssignedIdentityManagedClusterResponse
- Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See this overview of the add-on for more instructions.
- dnsZoneResourceIds
string[]
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
boolean
- Whether to enable the Application Routing add-on.
- nginx
ManagedClusterIngressProfileNginxResponse
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- identity
UserAssignedIdentityManagedClusterResponse
- Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See this overview of the add-on for more instructions.
- dns_zone_resource_ids
Sequence[str]
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
bool
- Whether to enable the Application Routing add-on.
- nginx
ManagedClusterIngressProfileNginxResponse
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
- identity
Property Map
- Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See this overview of the add-on for more instructions.
- dnsZoneResourceIds
List<String>
- Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
- enabled
Boolean
- Whether to enable the Application Routing add-on.
- nginx
Property Map
- Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.
ManagedClusterLoadBalancerProfile, ManagedClusterLoadBalancerProfileArgs
Profile of the managed cluster load balancer.ManagedClusterLoadBalancerProfileManagedOutboundIPs, ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs
Desired managed outbound IPs for the cluster load balancer.- Count
int
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- CountIPv6
int
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- Count
int
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- CountIPv6
int
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
number
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- count_i_pv6
number
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
Integer
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- countIPv6
Integer
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
number
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- countIPv6
number
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
int
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- count_i_pv6
int
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
Number
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- countIPv6
Number
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
ManagedClusterLoadBalancerProfileOutboundIPPrefixes, ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs
Desired outbound IP Prefix resources for the cluster load balancer.ManagedClusterLoadBalancerProfileOutboundIPs, ManagedClusterLoadBalancerProfileOutboundIPsArgs
Desired outbound IP resources for the cluster load balancer.ManagedClusterLoadBalancerProfileResponse, ManagedClusterLoadBalancerProfileResponseArgs
Profile of the managed cluster load balancer.ManagedClusterLoadBalancerProfileResponseManagedOutboundIPs, ManagedClusterLoadBalancerProfileResponseManagedOutboundIPsArgs
Desired managed outbound IPs for the cluster load balancer.- Count
int
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- CountIPv6
int
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- Count
int
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- CountIPv6
int
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
number
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- count_i_pv6
number
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
Integer
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- countIPv6
Integer
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
number
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- countIPv6
number
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
int
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- count_i_pv6
int
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
- count
Number
- The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
- countIPv6
Number
- The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixes, ManagedClusterLoadBalancerProfileResponseOutboundIPPrefixesArgs
Desired outbound IP Prefix resources for the cluster load balancer.ManagedClusterLoadBalancerProfileResponseOutboundIPs, ManagedClusterLoadBalancerProfileResponseOutboundIPsArgs
Desired outbound IP resources for the cluster load balancer.ManagedClusterManagedOutboundIPProfile, ManagedClusterManagedOutboundIPProfileArgs
Profile of the managed outbound IP resources of the managed cluster.- Count
int
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- Count
int
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
number
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
Integer
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
number
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
int
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
Number
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
ManagedClusterManagedOutboundIPProfileResponse, ManagedClusterManagedOutboundIPProfileResponseArgs
Profile of the managed outbound IP resources of the managed cluster.- Count
int
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- Count
int
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
number
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
Integer
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
number
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
int
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
- count
Number
- The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16 (inclusive). The default value is 1.
ManagedClusterMetricsProfile, ManagedClusterMetricsProfileArgs
The metrics profile for the ManagedCluster.ManagedClusterMetricsProfileResponse, ManagedClusterMetricsProfileResponseArgs
The metrics profile for the ManagedCluster.ManagedClusterNATGatewayProfile, ManagedClusterNATGatewayProfileArgs
Profile of the managed cluster NAT gateway.ManagedClusterNATGatewayProfileResponse, ManagedClusterNATGatewayProfileResponseArgs
Profile of the managed cluster NAT gateway.ManagedClusterNodeProvisioningProfile, ManagedClusterNodeProvisioningProfileArgs
- DefaultNodePools
string | Pulumi.AzureNative.ContainerService.NodeProvisioningDefaultNodePools
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- Mode
string | Pulumi.AzureNative.ContainerService.NodeProvisioningMode
- The node provisioning mode. If not specified, the default is Manual.
- DefaultNodePools
string | NodeProvisioningDefaultNodePools
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- Mode
string | NodeProvisioningMode
- The node provisioning mode. If not specified, the default is Manual.
- default_node_pools
string | "None" | "Auto"
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
string | "Manual" | "Auto"
- The node provisioning mode. If not specified, the default is Manual.
- defaultNodePools
String | NodeProvisioningDefaultNodePools
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
String | NodeProvisioningMode
- The node provisioning mode. If not specified, the default is Manual.
- defaultNodePools
string | NodeProvisioningDefaultNodePools
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
string | NodeProvisioningMode
- The node provisioning mode. If not specified, the default is Manual.
- default_node_pools
str | NodeProvisioningDefaultNodePools
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
str | NodeProvisioningMode
- The node provisioning mode. If not specified, the default is Manual.
- defaultNodePools
String | "None" | "Auto"
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
String | "Manual" | "Auto"
- The node provisioning mode. If not specified, the default is Manual.
ManagedClusterNodeProvisioningProfileResponse, ManagedClusterNodeProvisioningProfileResponseArgs
- DefaultNodePools
string
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- Mode
string
- The node provisioning mode. If not specified, the default is Manual.
- DefaultNodePools
string
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- Mode
string
- The node provisioning mode. If not specified, the default is Manual.
- default_node_pools
string
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
string
- The node provisioning mode. If not specified, the default is Manual.
- defaultNodePools
String
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
String
- The node provisioning mode. If not specified, the default is Manual.
- defaultNodePools
string
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
string
- The node provisioning mode. If not specified, the default is Manual.
- default_node_pools
str
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
str
- The node provisioning mode. If not specified, the default is Manual.
- defaultNodePools
String
- The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.
- mode
String
- The node provisioning mode. If not specified, the default is Manual.
ManagedClusterNodeResourceGroupProfile, ManagedClusterNodeResourceGroupProfileArgs
Node resource group lockdown profile for a managed cluster.ManagedClusterNodeResourceGroupProfileResponse, ManagedClusterNodeResourceGroupProfileResponseArgs
Node resource group lockdown profile for a managed cluster.- RestrictionLevel
string
- The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'
- RestrictionLevel
string
- The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'
- restriction_level
string
- The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'
- restrictionLevel
String
- The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'
- restrictionLevel
string
- The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'
- restriction_level
str
- The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'
- restrictionLevel
String
- The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'
ManagedClusterOIDCIssuerProfile, ManagedClusterOIDCIssuerProfileArgs
The OIDC issuer profile of the Managed Cluster.- Enabled
bool
- Whether the OIDC issuer is enabled.
- Enabled
bool
- Whether the OIDC issuer is enabled.
- enabled
bool
- Whether the OIDC issuer is enabled.
- enabled
Boolean
- Whether the OIDC issuer is enabled.
- enabled
boolean
- Whether the OIDC issuer is enabled.
- enabled
bool
- Whether the OIDC issuer is enabled.
- enabled
Boolean
- Whether the OIDC issuer is enabled.
ManagedClusterOIDCIssuerProfileResponse, ManagedClusterOIDCIssuerProfileResponseArgs
The OIDC issuer profile of the Managed Cluster.- IssuerURL
string
- The OIDC issuer url of the Managed Cluster.
- Enabled
bool
- Whether the OIDC issuer is enabled.
- IssuerURL
string
- The OIDC issuer url of the Managed Cluster.
- Enabled
bool
- Whether the OIDC issuer is enabled.
- issuer_url
string
- The OIDC issuer url of the Managed Cluster.
- enabled
bool
- Whether the OIDC issuer is enabled.
- issuerURL
String
- The OIDC issuer url of the Managed Cluster.
- enabled
Boolean
- Whether the OIDC issuer is enabled.
- issuerURL
string
- The OIDC issuer url of the Managed Cluster.
- enabled
boolean
- Whether the OIDC issuer is enabled.
- issuer_url
str
- The OIDC issuer url of the Managed Cluster.
- enabled
bool
- Whether the OIDC issuer is enabled.
- issuerURL
String
- The OIDC issuer url of the Managed Cluster.
- enabled
Boolean
- Whether the OIDC issuer is enabled.
ManagedClusterPodIdentity, ManagedClusterPodIdentityArgs
Details about the pod identity assigned to the Managed Cluster.- identity
object
- The user assigned identity details.
- name
string
- The name of the pod identity.
- namespace
string
- The namespace of the pod identity.
- binding_selector
string
- The binding selector to use for the AzureIdentityBinding resource.
ManagedClusterPodIdentityException, ManagedClusterPodIdentityExceptionArgs
A pod identity exception, which allows pods with certain labels to access the Azure Instance Metadata Service (IMDS) endpoint without being intercepted by the node-managed identity (NMI) server. See disable AAD Pod Identity for a specific Pod/Application for more details.- Name
string
- The name of the pod identity exception.
- Namespace
string
- The namespace of the pod identity exception.
- PodLabels
Dictionary<string, string>
- The pod labels to match.
- Name
string
- The name of the pod identity exception.
- Namespace
string
- The namespace of the pod identity exception.
- PodLabels
map[string]string
- The pod labels to match.
- name
string
- The name of the pod identity exception.
- namespace
string
- The namespace of the pod identity exception.
- pod_labels
map(string)
- The pod labels to match.
- name
String
- The name of the pod identity exception.
- namespace
String
- The namespace of the pod identity exception.
- podLabels
Map<String,String>
- The pod labels to match.
- name
string
- The name of the pod identity exception.
- namespace
string
- The namespace of the pod identity exception.
- podLabels
{[key: string]: string}
- The pod labels to match.
- name
str
- The name of the pod identity exception.
- namespace
str
- The namespace of the pod identity exception.
- pod_labels
Mapping[str, str]
- The pod labels to match.
- name
String
- The name of the pod identity exception.
- namespace
String
- The namespace of the pod identity exception.
- podLabels
Map<String>
- The pod labels to match.
ManagedClusterPodIdentityExceptionResponse, ManagedClusterPodIdentityExceptionResponseArgs
A pod identity exception, which allows pods with certain labels to access the Azure Instance Metadata Service (IMDS) endpoint without being intercepted by the node-managed identity (NMI) server. See disable AAD Pod Identity for a specific Pod/Application for more details.- Name
string
- The name of the pod identity exception.
- Namespace
string
- The namespace of the pod identity exception.
- PodLabels
Dictionary<string, string>
- The pod labels to match.
- Name
string
- The name of the pod identity exception.
- Namespace
string
- The namespace of the pod identity exception.
- PodLabels
map[string]string
- The pod labels to match.
- name
string
- The name of the pod identity exception.
- namespace
string
- The namespace of the pod identity exception.
- pod_labels
map(string)
- The pod labels to match.
- name
String
- The name of the pod identity exception.
- namespace
String
- The namespace of the pod identity exception.
- podLabels
Map<String,String>
- The pod labels to match.
- name
string
- The name of the pod identity exception.
- namespace
string
- The namespace of the pod identity exception.
- podLabels
{[key: string]: string}
- The pod labels to match.
- name
str
- The name of the pod identity exception.
- namespace
str
- The namespace of the pod identity exception.
- pod_labels
Mapping[str, str]
- The pod labels to match.
- name
String
- The name of the pod identity exception.
- namespace
String
- The namespace of the pod identity exception.
- podLabels
Map<String>
- The pod labels to match.
ManagedClusterPodIdentityProfile, ManagedClusterPodIdentityProfileArgs
The pod identity profile of the Managed Cluster. See use AAD pod identity for more details on pod identity integration.ManagedClusterPodIdentityProfileResponse, ManagedClusterPodIdentityProfileResponseArgs
The pod identity profile of the Managed Cluster. See use AAD pod identity for more details on pod identity integration.ManagedClusterPodIdentityProvisioningErrorBodyResponse, ManagedClusterPodIdentityProvisioningErrorBodyResponseArgs
An error response from the pod identity provisioning.- Code
string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- Details
[]ManagedClusterPodIdentityProvisioningErrorBodyResponse
- A list of additional details about the error.
- Message
string
- A message describing the error, intended to be suitable for display in a user interface.
- Target
string
- The target of the particular error. For example, the name of the property in error.
- code
string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- details
list(object)
- A list of additional details about the error.
- message
string
- A message describing the error, intended to be suitable for display in a user interface.
- target
string
- The target of the particular error. For example, the name of the property in error.
- code
String
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- details
List<ManagedClusterPodIdentityProvisioningErrorBodyResponse>
- A list of additional details about the error.
- message
String
- A message describing the error, intended to be suitable for display in a user interface.
- target
String
- The target of the particular error. For example, the name of the property in error.
- code
string
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- details
ManagedClusterPodIdentityProvisioningErrorBodyResponse[]
- A list of additional details about the error.
- message
string
- A message describing the error, intended to be suitable for display in a user interface.
- target
string
- The target of the particular error. For example, the name of the property in error.
- code
String
- An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
- details
List<Property Map>
- A list of additional details about the error.
- message
String
- A message describing the error, intended to be suitable for display in a user interface.
- target
String
- The target of the particular error. For example, the name of the property in error.
ManagedClusterPodIdentityProvisioningErrorResponse, ManagedClusterPodIdentityProvisioningErrorResponseArgs
An error response from the pod identity provisioning.ManagedClusterPodIdentityResponse, ManagedClusterPodIdentityResponseArgs
Details about the pod identity assigned to the Managed Cluster.ManagedClusterPodIdentityResponseProvisioningInfo, ManagedClusterPodIdentityResponseProvisioningInfoArgs
ManagedClusterPropertiesAutoScalerProfile, ManagedClusterPropertiesAutoScalerProfileArgs
Parameters to be applied to the cluster-autoscaler when enabled- BalanceSimilarNodeGroups
string
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- DaemonsetEvictionForEmptyNodes
bool
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- DaemonsetEvictionForOccupiedNodes
bool
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- Expander
string | Pulumi.AzureNative.ContainerService.Expander
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- IgnoreDaemonsetsUtilization
bool
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- MaxEmptyBulkDelete
string
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- MaxGracefulTerminationSec
string
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- MaxNodeProvisionTime
string
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- MaxTotalUnreadyPercentage
string
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- NewPodScaleUpDelay
string
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- OkTotalUnreadyCount
string
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- ScaleDownDelayAfterAdd
string
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownDelayAfterDelete
string
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownDelayAfterFailure
string
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUnneededTime
string
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUnreadyTime
string
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUtilizationThreshold
string
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- ScanInterval
string
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- SkipNodesWithLocalStorage
string
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- SkipNodesWithSystemPods
string
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- BalanceSimilarNodeGroups
string
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- DaemonsetEvictionForEmptyNodes
bool
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- DaemonsetEvictionForOccupiedNodes
bool
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- Expander
string | Expander
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- IgnoreDaemonsetsUtilization
bool
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- MaxEmptyBulkDelete
string
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- MaxGracefulTerminationSec
string
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- MaxNodeProvisionTime
string
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- MaxTotalUnreadyPercentage
string
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- NewPodScaleUpDelay
string
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- OkTotalUnreadyCount
string
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- ScaleDownDelayAfterAdd
string
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownDelayAfterDelete
string
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownDelayAfterFailure
string
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUnneededTime
string
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUnreadyTime
string
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUtilizationThreshold
string
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- ScanInterval
string
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- SkipNodesWithLocalStorage
string
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- SkipNodesWithSystemPods
string
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balance_similar_node_groups
string
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonset_eviction_for_empty_nodes
bool
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonset_eviction_for_occupied_nodes
bool
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
string | "least-waste" | "most-pods" | "priority" | "random"
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignore_daemonsets_utilization
bool
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- max_empty_bulk_delete
string
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- max_graceful_termination_sec
string
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- max_node_provision_time
string
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- max_total_unready_percentage
string
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- new_pod_scale_up_delay
string
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- ok_total_unready_count
string
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scale_down_delay_after_add
string
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_delay_after_delete
string
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_delay_after_failure
string
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_unneeded_time
string
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_unready_time
string
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_utilization_threshold
string
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scan_interval
string
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skip_nodes_with_local_storage
string
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skip_nodes_with_system_pods
string
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balanceSimilarNodeGroups
String
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonsetEvictionForEmptyNodes
Boolean
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonsetEvictionForOccupiedNodes
Boolean
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
String | Expander
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignoreDaemonsetsUtilization
Boolean
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- maxEmptyBulkDelete
String
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- maxGracefulTerminationSec
String
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- maxNodeProvisionTime
String
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- maxTotalUnreadyPercentage
String
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- newPodScaleUpDelay
String
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- okTotalUnreadyCount
String
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scaleDownDelayAfterAdd
String
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterDelete
String
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterFailure
String
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnneededTime
String
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnreadyTime
String
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUtilizationThreshold
String
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scanInterval
String
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skipNodesWithLocalStorage
String
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skipNodesWithSystemPods
String
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balanceSimilarNodeGroups
string
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonsetEvictionForEmptyNodes
boolean
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonsetEvictionForOccupiedNodes
boolean
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
string | Expander
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignoreDaemonsetsUtilization
boolean
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- maxEmptyBulkDelete
string
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- maxGracefulTerminationSec
string
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- maxNodeProvisionTime
string
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- maxTotalUnreadyPercentage
string
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- newPodScaleUpDelay
string
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- okTotalUnreadyCount
string
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scaleDownDelayAfterAdd
string
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterDelete
string
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterFailure
string
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnneededTime
string
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnreadyTime
string
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUtilizationThreshold
string
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scanInterval
string
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skipNodesWithLocalStorage
string
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skipNodesWithSystemPods
string
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balance_similar_node_groups
str
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonset_eviction_for_empty_nodes
bool
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonset_eviction_for_occupied_nodes
bool
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
str | Expander
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignore_daemonsets_utilization
bool
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- max_empty_bulk_delete
str
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- max_graceful_termination_sec
str
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- max_node_provision_time
str
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- max_total_unready_percentage
str
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- new_pod_scale_up_delay
str
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- ok_total_unready_count
str
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scale_down_delay_after_add
str
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_delay_after_delete
str
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_delay_after_failure
str
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_unneeded_time
str
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_unready_time
str
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_utilization_threshold
str
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scan_interval
str
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skip_nodes_with_local_storage
str
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skip_nodes_with_system_pods
str
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balanceSimilarNodeGroups
String
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonsetEvictionForEmptyNodes
Boolean
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonsetEvictionForOccupiedNodes
Boolean
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
String | "least-waste" | "most-pods" | "priority" | "random"
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignoreDaemonsetsUtilization
Boolean
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- maxEmptyBulkDelete
String
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- maxGracefulTerminationSec
String
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- maxNodeProvisionTime
String
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- maxTotalUnreadyPercentage
String
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- newPodScaleUpDelay
String
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- okTotalUnreadyCount
String
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scaleDownDelayAfterAdd
String
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterDelete
String
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterFailure
String
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnneededTime
String
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnreadyTime
String
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUtilizationThreshold
String
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scanInterval
String
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skipNodesWithLocalStorage
String
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skipNodesWithSystemPods
String
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
ManagedClusterPropertiesResponseAutoScalerProfile, ManagedClusterPropertiesResponseAutoScalerProfileArgs
Parameters to be applied to the cluster-autoscaler when enabled- BalanceSimilarNodeGroups
string
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- DaemonsetEvictionForEmptyNodes
bool
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- DaemonsetEvictionForOccupiedNodes
bool
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- Expander
string
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- IgnoreDaemonsetsUtilization
bool
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- MaxEmptyBulkDelete
string
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- MaxGracefulTerminationSec
string
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- MaxNodeProvisionTime
string
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- MaxTotalUnreadyPercentage
string
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- NewPodScaleUpDelay
string
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- OkTotalUnreadyCount
string
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- ScaleDownDelayAfterAdd
string
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownDelayAfterDelete
string
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownDelayAfterFailure
string
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUnneededTime
string
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUnreadyTime
string
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUtilizationThreshold
string
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- ScanInterval
string
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- SkipNodesWithLocalStorage
string
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- SkipNodesWithSystemPods
string
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- BalanceSimilarNodeGroups
string
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- DaemonsetEvictionForEmptyNodes
bool
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- DaemonsetEvictionForOccupiedNodes
bool
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- Expander
string
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- IgnoreDaemonsetsUtilization
bool
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- MaxEmptyBulkDelete
string
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- MaxGracefulTerminationSec
string
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- MaxNodeProvisionTime
string
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- MaxTotalUnreadyPercentage
string
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- NewPodScaleUpDelay
string
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- OkTotalUnreadyCount
string
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- ScaleDownDelayAfterAdd
string
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownDelayAfterDelete
string
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownDelayAfterFailure
string
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUnneededTime
string
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUnreadyTime
string
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- ScaleDownUtilizationThreshold
string
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- ScanInterval
string
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- SkipNodesWithLocalStorage
string
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- SkipNodesWithSystemPods
string
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balance_similar_node_groups
string
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonset_eviction_for_empty_nodes
bool
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonset_eviction_for_occupied_nodes
bool
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
string
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignore_daemonsets_utilization
bool
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- max_empty_bulk_delete
string
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- max_graceful_termination_sec
string
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- max_node_provision_time
string
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- max_total_unready_percentage
string
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- new_pod_scale_up_delay
string
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- ok_total_unready_count
string
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scale_down_delay_after_add
string
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_delay_after_delete
string
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_delay_after_failure
string
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_unneeded_time
string
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_unready_time
string
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_utilization_threshold
string
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scan_interval
string
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skip_nodes_with_local_storage
string
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skip_nodes_with_system_pods
string
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balanceSimilarNodeGroups
String
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonsetEvictionForEmptyNodes
Boolean
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonsetEvictionForOccupiedNodes
Boolean
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
String
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignoreDaemonsetsUtilization
Boolean
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- maxEmptyBulkDelete
String
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- maxGracefulTerminationSec
String
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- maxNodeProvisionTime
String
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- maxTotalUnreadyPercentage
String
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- newPodScaleUpDelay
String
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- okTotalUnreadyCount
String
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scaleDownDelayAfterAdd
String
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterDelete
String
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterFailure
String
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnneededTime
String
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnreadyTime
String
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUtilizationThreshold
String
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scanInterval
String
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skipNodesWithLocalStorage
String
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skipNodesWithSystemPods
String
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balanceSimilarNodeGroups
string
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonsetEvictionForEmptyNodes
boolean
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonsetEvictionForOccupiedNodes
boolean
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
string
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignoreDaemonsetsUtilization
boolean
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- maxEmptyBulkDelete
string
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- maxGracefulTerminationSec
string
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- maxNodeProvisionTime
string
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- maxTotalUnreadyPercentage
string
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- newPodScaleUpDelay
string
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- okTotalUnreadyCount
string
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scaleDownDelayAfterAdd
string
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterDelete
string
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterFailure
string
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnneededTime
string
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnreadyTime
string
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUtilizationThreshold
string
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scanInterval
string
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skipNodesWithLocalStorage
string
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skipNodesWithSystemPods
string
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balance_similar_node_groups
str
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonset_eviction_for_empty_nodes
bool
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonset_eviction_for_occupied_nodes
bool
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
str
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignore_daemonsets_utilization
bool
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- max_empty_bulk_delete
str
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- max_graceful_termination_sec
str
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- max_node_provision_time
str
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- max_total_unready_percentage
str
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- new_pod_scale_up_delay
str
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- ok_total_unready_count
str
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scale_down_delay_after_add
str
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_delay_after_delete
str
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_delay_after_failure
str
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_unneeded_time
str
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_unready_time
str
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scale_down_utilization_threshold
str
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scan_interval
str
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skip_nodes_with_local_storage
str
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skip_nodes_with_system_pods
str
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
- balanceSimilarNodeGroups
String
- Detects similar node pools and balances the number of nodes between them. Valid values are 'true' and 'false'
- daemonsetEvictionForEmptyNodes
Boolean
- DaemonSet pods will be gracefully terminated from empty nodes. If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- daemonsetEvictionForOccupiedNodes
Boolean
- DaemonSet pods will be gracefully terminated from non-empty nodes. If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted.
- expander
String
- The expander to use when scaling up. If not specified, the default is 'random'. See expanders for more information.
- ignoreDaemonsetsUtilization
Boolean
- Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. If set to true, the resources used by daemonset will be taken into account when making scaling down decisions.
- maxEmptyBulkDelete
String
- The maximum number of empty nodes that can be deleted at the same time. This must be a positive integer. The default is 10.
- maxGracefulTerminationSec
String
- The maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node. The default is 600.
- maxNodeProvisionTime
String
- The maximum time the autoscaler waits for a node to be provisioned. The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- maxTotalUnreadyPercentage
String
- The maximum percentage of unready nodes in the cluster. After this percentage is exceeded, cluster autoscaler halts operations. The default is 45. The maximum is 100 and the minimum is 0.
- newPodScaleUpDelay
String
- Ignore unscheduled pods before they're a certain age. For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
- okTotalUnreadyCount
String
- The number of allowed unready nodes, irrespective of max-total-unready-percentage. This must be an integer. The default is 3.
- scaleDownDelayAfterAdd
String
- How long after scale up that scale down evaluation resumes. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterDelete
String
- How long after node deletion that scale down evaluation resumes. The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownDelayAfterFailure
String
- How long after scale down failure that scale down evaluation resumes. The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnneededTime
String
- How long a node should be unneeded before it is eligible for scale down. The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUnreadyTime
String
- How long an unready node should be unneeded before it is eligible for scale down. The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than minutes (m) is supported.
- scaleDownUtilizationThreshold
String
- Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. The default is '0.5'.
- scanInterval
String
- How often cluster is reevaluated for scale up or down. The default is '10'. Values must be an integer number of seconds.
- skipNodesWithLocalStorage
String
- If cluster autoscaler will skip deleting nodes with pods with local storage, for example, EmptyDir or HostPath. The default is true.
- skipNodesWithSystemPods
String
- If cluster autoscaler will skip deleting nodes with pods from kube-system (except for DaemonSet or mirror pods). The default is true.
ManagedClusterSKU, ManagedClusterSKUArgs
The SKU of a Managed Cluster.ManagedClusterSKUName, ManagedClusterSKUNameArgs
The name of a managed cluster SKU.| Name | Value | Description |
|---|
| Base | Base | Base option for the AKS control plane. |
| Automatic | Automatic | Automatic clusters are optimized to run most production workloads with configuration that follows AKS best practices and recommendations for cluster and workload setup, scalability, and security. For more details about Automatic clusters see aka.ms/aks/automatic. |
| Name | Value | Description |
|---|
| ManagedClusterSKUNameBase | Base | Base option for the AKS control plane. |
| ManagedClusterSKUNameAutomatic | Automatic | Automatic clusters are optimized to run most production workloads with configuration that follows AKS best practices and recommendations for cluster and workload setup, scalability, and security. For more details about Automatic clusters see aka.ms/aks/automatic. |
| Value | Description |
|---|
Base | Base option for the AKS control plane. |
Automatic | Automatic clusters are optimized to run most production workloads with configuration that follows AKS best practices and recommendations for cluster and workload setup, scalability, and security. For more details about Automatic clusters see aka.ms/aks/automatic. |
| Name | Value | Description |
|---|
| Base | Base | Base option for the AKS control plane. |
| Automatic | Automatic | Automatic clusters are optimized to run most production workloads with configuration that follows AKS best practices and recommendations for cluster and workload setup, scalability, and security. For more details about Automatic clusters see aka.ms/aks/automatic. |
| Name | Value | Description |
|---|
| Base | Base | Base option for the AKS control plane. |
| Automatic | Automatic | Automatic clusters are optimized to run most production workloads with configuration that follows AKS best practices and recommendations for cluster and workload setup, scalability, and security. For more details about Automatic clusters see aka.ms/aks/automatic. |
| Name | Value | Description |
|---|
| BASE | Base | Base option for the AKS control plane. |
| AUTOMATIC | Automatic | Automatic clusters are optimized to run most production workloads with configuration that follows AKS best practices and recommendations for cluster and workload setup, scalability, and security. For more details about Automatic clusters see aka.ms/aks/automatic. |
| Value | Description |
|---|
Base | Base option for the AKS control plane. |
Automatic | Automatic clusters are optimized to run most production workloads with configuration that follows AKS best practices and recommendations for cluster and workload setup, scalability, and security. For more details about Automatic clusters see aka.ms/aks/automatic. |
ManagedClusterSKUResponse, ManagedClusterSKUResponseArgs
The SKU of a Managed Cluster.- Name
string
- The name of a managed cluster SKU.
- Tier
string
- If not specified, the default is 'Free'. See AKS Pricing Tier for more details.
- Name
string
- The name of a managed cluster SKU.
- Tier
string
- If not specified, the default is 'Free'. See AKS Pricing Tier for more details.
- name
string
- The name of a managed cluster SKU.
- tier
string
- If not specified, the default is 'Free'. See AKS Pricing Tier for more details.
- name
String
- The name of a managed cluster SKU.
- tier
String
- If not specified, the default is 'Free'. See AKS Pricing Tier for more details.
- name
string
- The name of a managed cluster SKU.
- tier
string
- If not specified, the default is 'Free'. See AKS Pricing Tier for more details.
- name
str
- The name of a managed cluster SKU.
- tier
str
- If not specified, the default is 'Free'. See AKS Pricing Tier for more details.
- name
String
- The name of a managed cluster SKU.
- tier
String
- If not specified, the default is 'Free'. See AKS Pricing Tier for more details.
ManagedClusterSKUTier, ManagedClusterSKUTierArgs
The tier of a managed cluster SKU. If not specified, the default is 'Free'. See AKS Pricing Tier for more details.| Name | Value | Description |
|---|
| Premium | Premium | Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. |
| Standard | Standard | Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. |
| Free | Free | The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. |
| Name | Value | Description |
|---|
| ManagedClusterSKUTierPremium | Premium | Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. |
| ManagedClusterSKUTierStandard | Standard | Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. |
| ManagedClusterSKUTierFree | Free | The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. |
| Value | Description |
|---|
Premium | Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. |
Standard | Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. |
Free | The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. |
| Name | Value | Description |
|---|
| Premium | Premium | Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. |
| Standard | Standard | Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. |
| Free | Free | The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. |
| Name | Value | Description |
|---|
| Premium | Premium | Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. |
| Standard | Standard | Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. |
| Free | Free | The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. |
| Name | Value | Description |
|---|
| PREMIUM | Premium | Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. |
| STANDARD | Standard | Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. |
| FREE | Free | The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. |
| Value | Description |
|---|
Premium | Cluster has premium capabilities in addition to all of the capabilities included in 'Standard'. Premium enables selection of LongTermSupport (aka.ms/aks/lts) for certain Kubernetes versions. |
Standard | Recommended for mission-critical and production workloads. Includes Kubernetes control plane autoscaling, workload-intensive testing, and up to 5,000 nodes per cluster. Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones. |
Free | The cluster management is free, but charged for VM, storage, and networking usage. Best for experimenting, learning, simple testing, or workloads with fewer than 10 nodes. Not recommended for production use cases. |
ManagedClusterSecurityProfile, ManagedClusterSecurityProfileArgs
Security profile for the container service cluster.ManagedClusterSecurityProfileDefender, ManagedClusterSecurityProfileDefenderArgs
Microsoft Defender settings for the security profile.- log_analytics_workspace_resource_id
string
- Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty.
- security_monitoring
object
- Microsoft Defender threat detection for Cloud settings for the security profile.
- logAnalyticsWorkspaceResourceId
String
- Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty.
- securityMonitoring
Property Map
- Microsoft Defender threat detection for Cloud settings for the security profile.
ManagedClusterSecurityProfileDefenderResponse, ManagedClusterSecurityProfileDefenderResponseArgs
Microsoft Defender settings for the security profile.- log_analytics_workspace_resource_id
string
- Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty.
- security_monitoring
object
- Microsoft Defender threat detection for Cloud settings for the security profile.
- logAnalyticsWorkspaceResourceId
String
- Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty.
- securityMonitoring
Property Map
- Microsoft Defender threat detection for Cloud settings for the security profile.
ManagedClusterSecurityProfileDefenderSecurityMonitoring, ManagedClusterSecurityProfileDefenderSecurityMonitoringArgs
Microsoft Defender settings for the security profile threat detection.- Enabled
bool
- Whether to enable Defender threat detection
- Enabled
bool
- Whether to enable Defender threat detection
- enabled
bool
- Whether to enable Defender threat detection
- enabled
Boolean
- Whether to enable Defender threat detection
- enabled
boolean
- Whether to enable Defender threat detection
- enabled
bool
- Whether to enable Defender threat detection
- enabled
Boolean
- Whether to enable Defender threat detection
ManagedClusterSecurityProfileDefenderSecurityMonitoringResponse, ManagedClusterSecurityProfileDefenderSecurityMonitoringResponseArgs
Microsoft Defender settings for the security profile threat detection.- Enabled
bool
- Whether to enable Defender threat detection
- Enabled
bool
- Whether to enable Defender threat detection
- enabled
bool
- Whether to enable Defender threat detection
- enabled
Boolean
- Whether to enable Defender threat detection
- enabled
boolean
- Whether to enable Defender threat detection
- enabled
bool
- Whether to enable Defender threat detection
- enabled
Boolean
- Whether to enable Defender threat detection
ManagedClusterSecurityProfileImageCleaner, ManagedClusterSecurityProfileImageCleanerArgs
Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile.- Enabled
bool
- Whether to enable Image Cleaner on AKS cluster.
- IntervalHours
int
- Image Cleaner scanning interval in hours.
- Enabled
bool
- Whether to enable Image Cleaner on AKS cluster.
- IntervalHours
int
- Image Cleaner scanning interval in hours.
- enabled
bool
- Whether to enable Image Cleaner on AKS cluster.
- interval_hours
number
- Image Cleaner scanning interval in hours.
- enabled
Boolean
- Whether to enable Image Cleaner on AKS cluster.
- intervalHours
Integer
- Image Cleaner scanning interval in hours.
- enabled
boolean
- Whether to enable Image Cleaner on AKS cluster.
- intervalHours
number
- Image Cleaner scanning interval in hours.
- enabled
bool
- Whether to enable Image Cleaner on AKS cluster.
- interval_hours
int
- Image Cleaner scanning interval in hours.
- enabled
Boolean
- Whether to enable Image Cleaner on AKS cluster.
- intervalHours
Number
- Image Cleaner scanning interval in hours.
ManagedClusterSecurityProfileImageCleanerResponse, ManagedClusterSecurityProfileImageCleanerResponseArgs
Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile.- Enabled
bool
- Whether to enable Image Cleaner on AKS cluster.
- IntervalHours
int
- Image Cleaner scanning interval in hours.
- Enabled
bool
- Whether to enable Image Cleaner on AKS cluster.
- IntervalHours
int
- Image Cleaner scanning interval in hours.
- enabled
bool
- Whether to enable Image Cleaner on AKS cluster.
- interval_hours
number
- Image Cleaner scanning interval in hours.
- enabled
Boolean
- Whether to enable Image Cleaner on AKS cluster.
- intervalHours
Integer
- Image Cleaner scanning interval in hours.
- enabled
boolean
- Whether to enable Image Cleaner on AKS cluster.
- intervalHours
number
- Image Cleaner scanning interval in hours.
- enabled
bool
- Whether to enable Image Cleaner on AKS cluster.
- interval_hours
int
- Image Cleaner scanning interval in hours.
- enabled
Boolean
- Whether to enable Image Cleaner on AKS cluster.
- intervalHours
Number
- Image Cleaner scanning interval in hours.
ManagedClusterSecurityProfileResponse, ManagedClusterSecurityProfileResponseArgs
Security profile for the container service cluster.ManagedClusterSecurityProfileWorkloadIdentity, ManagedClusterSecurityProfileWorkloadIdentityArgs
Workload identity settings for the security profile.- Enabled
bool
- Whether to enable workload identity.
- Enabled
bool
- Whether to enable workload identity.
- enabled
bool
- Whether to enable workload identity.
- enabled
Boolean
- Whether to enable workload identity.
- enabled
boolean
- Whether to enable workload identity.
- enabled
bool
- Whether to enable workload identity.
- enabled
Boolean
- Whether to enable workload identity.
ManagedClusterSecurityProfileWorkloadIdentityResponse, ManagedClusterSecurityProfileWorkloadIdentityResponseArgs
Workload identity settings for the security profile.- Enabled
bool
- Whether to enable workload identity.
- Enabled
bool
- Whether to enable workload identity.
- enabled
bool
- Whether to enable workload identity.
- enabled
Boolean
- Whether to enable workload identity.
- enabled
boolean
- Whether to enable workload identity.
- enabled
bool
- Whether to enable workload identity.
- enabled
Boolean
- Whether to enable workload identity.
ManagedClusterServicePrincipalProfile, ManagedClusterServicePrincipalProfileArgs
Information about a service principal identity for the cluster to use for manipulating Azure APIs.- ClientId
string
- The ID for the service principal.
- Secret
string
- The secret password associated with the service principal in plain text.
- ClientId
string
- The ID for the service principal.
- Secret
string
- The secret password associated with the service principal in plain text.
- client_id
string
- The ID for the service principal.
- secret
string
- The secret password associated with the service principal in plain text.
- clientId
String
- The ID for the service principal.
- secret
String
- The secret password associated with the service principal in plain text.
- clientId
string
- The ID for the service principal.
- secret
string
- The secret password associated with the service principal in plain text.
- client_id
str
- The ID for the service principal.
- secret
str
- The secret password associated with the service principal in plain text.
- clientId
String
- The ID for the service principal.
- secret
String
- The secret password associated with the service principal in plain text.
ManagedClusterServicePrincipalProfileResponse, ManagedClusterServicePrincipalProfileResponseArgs
Information about a service principal identity for the cluster to use for manipulating Azure APIs.- ClientId
string
- The ID for the service principal.
- Secret
string
- The secret password associated with the service principal in plain text.
- ClientId
string
- The ID for the service principal.
- Secret
string
- The secret password associated with the service principal in plain text.
- client_id
string
- The ID for the service principal.
- secret
string
- The secret password associated with the service principal in plain text.
- clientId
String
- The ID for the service principal.
- secret
String
- The secret password associated with the service principal in plain text.
- clientId
string
- The ID for the service principal.
- secret
string
- The secret password associated with the service principal in plain text.
- client_id
str
- The ID for the service principal.
- secret
str
- The secret password associated with the service principal in plain text.
- clientId
String
- The ID for the service principal.
- secret
String
- The secret password associated with the service principal in plain text.
ManagedClusterStaticEgressGatewayProfile, ManagedClusterStaticEgressGatewayProfileArgs
The Static Egress Gateway addon configuration for the cluster.- Enabled
bool
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- Enabled
bool
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
bool
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
Boolean
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
boolean
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
bool
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
Boolean
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
ManagedClusterStaticEgressGatewayProfileResponse, ManagedClusterStaticEgressGatewayProfileResponseArgs
The Static Egress Gateway addon configuration for the cluster.- Enabled
bool
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- Enabled
bool
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
bool
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
Boolean
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
boolean
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
bool
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
- enabled
Boolean
- Enable Static Egress Gateway addon. Indicates if Static Egress Gateway addon is enabled or not.
ManagedClusterStatusResponse, ManagedClusterStatusResponseArgs
Contains read-only information about the Managed Cluster.- provisioning_error
object
- The error details information of the managed cluster. Preserves the detailed info of failure. If there was no error, this field is omitted.
- provisioningError
Property Map
- The error details information of the managed cluster. Preserves the detailed info of failure. If there was no error, this field is omitted.
ManagedClusterStorageProfile, ManagedClusterStorageProfileArgs
Storage profile for the container service cluster.ManagedClusterStorageProfileBlobCSIDriver, ManagedClusterStorageProfileBlobCSIDriverArgs
AzureBlob CSI Driver settings for the storage profile.- Enabled
bool
- Whether to enable AzureBlob CSI Driver. The default value is false.
- Enabled
bool
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
bool
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
Boolean
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
boolean
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
bool
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
Boolean
- Whether to enable AzureBlob CSI Driver. The default value is false.
ManagedClusterStorageProfileBlobCSIDriverResponse, ManagedClusterStorageProfileBlobCSIDriverResponseArgs
AzureBlob CSI Driver settings for the storage profile.- Enabled
bool
- Whether to enable AzureBlob CSI Driver. The default value is false.
- Enabled
bool
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
bool
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
Boolean
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
boolean
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
bool
- Whether to enable AzureBlob CSI Driver. The default value is false.
- enabled
Boolean
- Whether to enable AzureBlob CSI Driver. The default value is false.
ManagedClusterStorageProfileDiskCSIDriver, ManagedClusterStorageProfileDiskCSIDriverArgs
AzureDisk CSI Driver settings for the storage profile.- Enabled
bool
- Whether to enable AzureDisk CSI Driver. The default value is true.
- Enabled
bool
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
bool
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
Boolean
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
boolean
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
bool
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
Boolean
- Whether to enable AzureDisk CSI Driver. The default value is true.
ManagedClusterStorageProfileDiskCSIDriverResponse, ManagedClusterStorageProfileDiskCSIDriverResponseArgs
AzureDisk CSI Driver settings for the storage profile.- Enabled
bool
- Whether to enable AzureDisk CSI Driver. The default value is true.
- Enabled
bool
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
bool
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
Boolean
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
boolean
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
bool
- Whether to enable AzureDisk CSI Driver. The default value is true.
- enabled
Boolean
- Whether to enable AzureDisk CSI Driver. The default value is true.
ManagedClusterStorageProfileFileCSIDriver, ManagedClusterStorageProfileFileCSIDriverArgs
AzureFile CSI Driver settings for the storage profile.- Enabled
bool
- Whether to enable AzureFile CSI Driver. The default value is true.
- Enabled
bool
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
bool
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
Boolean
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
boolean
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
bool
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
Boolean
- Whether to enable AzureFile CSI Driver. The default value is true.
ManagedClusterStorageProfileFileCSIDriverResponse, ManagedClusterStorageProfileFileCSIDriverResponseArgs
AzureFile CSI Driver settings for the storage profile.- Enabled
bool
- Whether to enable AzureFile CSI Driver. The default value is true.
- Enabled
bool
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
bool
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
Boolean
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
boolean
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
bool
- Whether to enable AzureFile CSI Driver. The default value is true.
- enabled
Boolean
- Whether to enable AzureFile CSI Driver. The default value is true.
ManagedClusterStorageProfileResponse, ManagedClusterStorageProfileResponseArgs
Storage profile for the container service cluster.ManagedClusterStorageProfileSnapshotController, ManagedClusterStorageProfileSnapshotControllerArgs
Snapshot Controller settings for the storage profile.- Enabled
bool
- Whether to enable Snapshot Controller. The default value is true.
- Enabled
bool
- Whether to enable Snapshot Controller. The default value is true.
- enabled
bool
- Whether to enable Snapshot Controller. The default value is true.
- enabled
Boolean
- Whether to enable Snapshot Controller. The default value is true.
- enabled
boolean
- Whether to enable Snapshot Controller. The default value is true.
- enabled
bool
- Whether to enable Snapshot Controller. The default value is true.
- enabled
Boolean
- Whether to enable Snapshot Controller. The default value is true.
ManagedClusterStorageProfileSnapshotControllerResponse, ManagedClusterStorageProfileSnapshotControllerResponseArgs
Snapshot Controller settings for the storage profile.- Enabled
bool
- Whether to enable Snapshot Controller. The default value is true.
- Enabled
bool
- Whether to enable Snapshot Controller. The default value is true.
- enabled
bool
- Whether to enable Snapshot Controller. The default value is true.
- enabled
Boolean
- Whether to enable Snapshot Controller. The default value is true.
- enabled
boolean
- Whether to enable Snapshot Controller. The default value is true.
- enabled
bool
- Whether to enable Snapshot Controller. The default value is true.
- enabled
Boolean
- Whether to enable Snapshot Controller. The default value is true.
ManagedClusterWindowsProfile, ManagedClusterWindowsProfileArgs
Profile for Windows VMs in the managed cluster.- AdminUsername
string
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- AdminPassword
string
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- EnableCSIProxy
bool
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- GmsaProfile
Pulumi.AzureNative.ContainerService.Inputs.WindowsGmsaProfile
- The Windows gMSA Profile in the Managed Cluster.
- LicenseType
string | Pulumi.AzureNative.ContainerService.LicenseType
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- AdminUsername
string
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- AdminPassword
string
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- EnableCSIProxy
bool
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- GmsaProfile
WindowsGmsaProfile
- The Windows gMSA Profile in the Managed Cluster.
- LicenseType
string | LicenseType
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- admin_username
string
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- admin_password
string
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enable_csi_proxy
bool
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsa_profile
object
- The Windows gMSA Profile in the Managed Cluster.
- license_type
string | "None" | "Windows_Server"
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- adminUsername
String
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- adminPassword
String
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enableCSIProxy
Boolean
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsaProfile
WindowsGmsaProfile
- The Windows gMSA Profile in the Managed Cluster.
- licenseType
String | LicenseType
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- adminUsername
string
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- adminPassword
string
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enableCSIProxy
boolean
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsaProfile
WindowsGmsaProfile
- The Windows gMSA Profile in the Managed Cluster.
- licenseType
string | LicenseType
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- admin_username
str
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- admin_password
str
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enable_csi_proxy
bool
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsa_profile
WindowsGmsaProfile
- The Windows gMSA Profile in the Managed Cluster.
- license_type
str | LicenseType
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- adminUsername
String
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- adminPassword
String
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enableCSIProxy
Boolean
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsaProfile
Property Map
- The Windows gMSA Profile in the Managed Cluster.
- licenseType
String | "None" | "Windows_Server"
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
ManagedClusterWindowsProfileResponse, ManagedClusterWindowsProfileResponseArgs
Profile for Windows VMs in the managed cluster.- AdminUsername
string
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- AdminPassword
string
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- EnableCSIProxy
bool
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- GmsaProfile
Pulumi.AzureNative.ContainerService.Inputs.WindowsGmsaProfileResponse
- The Windows gMSA Profile in the Managed Cluster.
- LicenseType
string
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- AdminUsername
string
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- AdminPassword
string
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- EnableCSIProxy
bool
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- GmsaProfile
WindowsGmsaProfileResponse
- The Windows gMSA Profile in the Managed Cluster.
- LicenseType
string
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- admin_username
string
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- admin_password
string
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enable_csi_proxy
bool
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsa_profile
object
- The Windows gMSA Profile in the Managed Cluster.
- license_type
string
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- adminUsername
String
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- adminPassword
String
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enableCSIProxy
Boolean
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsaProfile
WindowsGmsaProfileResponse
- The Windows gMSA Profile in the Managed Cluster.
- licenseType
String
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- adminUsername
string
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- adminPassword
string
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enableCSIProxy
boolean
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsaProfile
WindowsGmsaProfileResponse
- The Windows gMSA Profile in the Managed Cluster.
- licenseType
string
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- admin_username
str
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- admin_password
str
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enable_csi_proxy
bool
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsa_profile
WindowsGmsaProfileResponse
- The Windows gMSA Profile in the Managed Cluster.
- license_type
str
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
- adminUsername
String
- Specifies the name of the administrator account. Restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length: 1 character Max-length: 20 characters
- adminPassword
String
- Specifies the password of the administrator account. Minimum-length: 8 characters Max-length: 123 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!"
- enableCSIProxy
Boolean
- Whether to enable CSI proxy. For more details on CSI proxy, see the CSI proxy GitHub repo.
- gmsaProfile
Property Map
- The Windows gMSA Profile in the Managed Cluster.
- licenseType
String
- The license type to use for Windows VMs. See Azure Hybrid User Benefits for more details.
ManagedClusterWorkloadAutoScalerProfile, ManagedClusterWorkloadAutoScalerProfileArgs
Workload Auto-scaler profile for the managed cluster.- keda
object
- KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
- vertical_pod_autoscaler
object
- VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.
ManagedClusterWorkloadAutoScalerProfileKeda, ManagedClusterWorkloadAutoScalerProfileKedaArgs
KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.- Enabled
bool
- Whether to enable KEDA.
- Enabled
bool
- Whether to enable KEDA.
- enabled
bool
- Whether to enable KEDA.
- enabled
Boolean
- Whether to enable KEDA.
- enabled
boolean
- Whether to enable KEDA.
- enabled
bool
- Whether to enable KEDA.
- enabled
Boolean
- Whether to enable KEDA.
ManagedClusterWorkloadAutoScalerProfileKedaResponse, ManagedClusterWorkloadAutoScalerProfileKedaResponseArgs
KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.- Enabled
bool
- Whether to enable KEDA.
- Enabled
bool
- Whether to enable KEDA.
- enabled
bool
- Whether to enable KEDA.
- enabled
Boolean
- Whether to enable KEDA.
- enabled
boolean
- Whether to enable KEDA.
- enabled
bool
- Whether to enable KEDA.
- enabled
Boolean
- Whether to enable KEDA.
ManagedClusterWorkloadAutoScalerProfileResponse, ManagedClusterWorkloadAutoScalerProfileResponseArgs
Workload Auto-scaler profile for the managed cluster.- keda
object
- KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
- vertical_pod_autoscaler
object
- VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler, ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerArgs
VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.- Enabled
bool
- Whether to enable VPA. Default value is false.
- Enabled
bool
- Whether to enable VPA. Default value is false.
- enabled
bool
- Whether to enable VPA. Default value is false.
- enabled
Boolean
- Whether to enable VPA. Default value is false.
- enabled
boolean
- Whether to enable VPA. Default value is false.
- enabled
bool
- Whether to enable VPA. Default value is false.
- enabled
Boolean
- Whether to enable VPA. Default value is false.
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponse, ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscalerResponseArgs
VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.- Enabled
bool
- Whether to enable VPA. Default value is false.
- Enabled
bool
- Whether to enable VPA. Default value is false.
- enabled
bool
- Whether to enable VPA. Default value is false.
- enabled
Boolean
- Whether to enable VPA. Default value is false.
- enabled
boolean
- Whether to enable VPA. Default value is false.
- enabled
bool
- Whether to enable VPA. Default value is false.
- enabled
Boolean
- Whether to enable VPA. Default value is false.
ManualScaleProfile, ManualScaleProfileArgs
Specifications on number of machines.- Count
int
- Number of nodes.
- Size
string
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- Count
int
- Number of nodes.
- Size
string
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
number
- Number of nodes.
- size
string
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
Integer
- Number of nodes.
- size
String
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
number
- Number of nodes.
- size
string
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
int
- Number of nodes.
- size
str
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
Number
- Number of nodes.
- size
String
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
ManualScaleProfileResponse, ManualScaleProfileResponseArgs
Specifications on number of machines.- Count
int
- Number of nodes.
- Size
string
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- Count
int
- Number of nodes.
- Size
string
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
number
- Number of nodes.
- size
string
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
Integer
- Number of nodes.
- size
String
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
number
- Number of nodes.
- size
string
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
int
- Number of nodes.
- size
str
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
- count
Number
- Number of nodes.
- size
String
- VM size that AKS will use when creating and scaling e.g. 'Standard_E4s_v3', 'Standard_E16s_v3' or 'Standard_D16s_v5'.
NetworkDataplane, NetworkDataplaneArgs
Network dataplane used in the Kubernetes cluster.| Name | Value | Description |
|---|
| Azure | azure | Use Azure network dataplane. |
| Cilium | cilium | Use Cilium network dataplane. See Azure CNI Powered by Cilium for more information. |
| Name | Value | Description |
|---|
| NetworkDataplaneAzure | azure | Use Azure network dataplane. |
| NetworkDataplaneCilium | cilium | Use Cilium network dataplane. See Azure CNI Powered by Cilium for more information. |
| Value | Description |
|---|
azure | Use Azure network dataplane. |
cilium | Use Cilium network dataplane. See Azure CNI Powered by Cilium for more information. |
| Name | Value | Description |
|---|
| Azure | azure | Use Azure network dataplane. |
| Cilium | cilium | Use Cilium network dataplane. See Azure CNI Powered by Cilium for more information. |
| Name | Value | Description |
|---|
| Azure | azure | Use Azure network dataplane. |
| Cilium | cilium | Use Cilium network dataplane. See Azure CNI Powered by Cilium for more information. |
| Name | Value | Description |
|---|
| AZURE | azure | Use Azure network dataplane. |
| CILIUM | cilium | Use Cilium network dataplane. See Azure CNI Powered by Cilium for more information. |
| Value | Description |
|---|
azure | Use Azure network dataplane. |
cilium | Use Cilium network dataplane. See Azure CNI Powered by Cilium for more information. |
NetworkMode, NetworkModeArgs
The network mode Azure CNI is configured with. This cannot be specified if networkPlugin is anything other than 'azure'.| Name | Value | Description |
|---|
| Transparent | transparent | No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See Transparent Mode for more information. |
| Bridge | bridge | This is no longer supported |
| Name | Value | Description |
|---|
| NetworkModeTransparent | transparent | No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See Transparent Mode for more information. |
| NetworkModeBridge | bridge | This is no longer supported |
| Value | Description |
|---|
transparent | No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See Transparent Mode for more information. |
bridge | This is no longer supported |
| Name | Value | Description |
|---|
| Transparent | transparent | No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See Transparent Mode for more information. |
| Bridge | bridge | This is no longer supported |
| Name | Value | Description |
|---|
| Transparent | transparent | No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See Transparent Mode for more information. |
| Bridge | bridge | This is no longer supported |
| Name | Value | Description |
|---|
| TRANSPARENT | transparent | No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See Transparent Mode for more information. |
| BRIDGE | bridge | This is no longer supported |
| Value | Description |
|---|
transparent | No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See Transparent Mode for more information. |
bridge | This is no longer supported |
NetworkPlugin, NetworkPluginArgs
Network plugin used for building the Kubernetes network.| Name | Value | Description |
|---|
| NetworkPluginAzure | azure | Use the Azure CNI network plugin. See Azure CNI (advanced) networking for more information. |
| NetworkPluginKubenet | kubenet | Use the Kubenet network plugin. See Kubenet (basic) networking for more information. |
| NetworkPluginNone | none | No CNI plugin is pre-installed. See BYO CNI for more information. |
NetworkPluginMode, NetworkPluginModeArgs
The mode the network plugin should use.| Name | Value | Description |
|---|
| Overlay | overlay | Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. |
| Name | Value | Description |
|---|
| NetworkPluginModeOverlay | overlay | Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. |
| Value | Description |
|---|
overlay | Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. |
| Name | Value | Description |
|---|
| Overlay | overlay | Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. |
| Name | Value | Description |
|---|
| Overlay | overlay | Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. |
| Name | Value | Description |
|---|
| OVERLAY | overlay | Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. |
| Value | Description |
|---|
overlay | Used with networkPlugin=azure, pods are given IPs from the PodCIDR address space but use Azure Routing Domains rather than Kubenet's method of route tables. For more information visit https://aka.ms/aks/azure-cni-overlay. |
NetworkPolicy, NetworkPolicyArgs
Network policy used for building the Kubernetes network.| Name | Value | Description |
|---|
| NetworkPolicyNone | none | Network policies will not be enforced. This is the default value when NetworkPolicy is not specified. |
| NetworkPolicyCalico | calico | Use Calico network policies. See differences between Azure and Calico policies for more information. |
| NetworkPolicyAzure | azure | Use Azure network policies. See differences between Azure and Calico policies for more information. |
| NetworkPolicyCilium | cilium | Use Cilium to enforce network policies. This requires networkDataplane to be 'cilium'. |
NginxIngressControllerType, NginxIngressControllerTypeArgs
Ingress type for the default NginxIngressController custom resource| Name | Value | Description |
|---|
| AnnotationControlled | AnnotationControlled | The default NginxIngressController will be created. Users can edit the default NginxIngressController Custom Resource to configure load balancer annotations. |
| External | External | The default NginxIngressController will be created and the operator will provision an external loadbalancer with it. Any annotation to make the default loadbalancer internal will be overwritten. |
| Internal | Internal | The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it. Any annotation to make the default loadbalancer external will be overwritten. |
| None | None | The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired. |
| Name | Value | Description |
|---|
| NginxIngressControllerTypeAnnotationControlled | AnnotationControlled | The default NginxIngressController will be created. Users can edit the default NginxIngressController Custom Resource to configure load balancer annotations. |
| NginxIngressControllerTypeExternal | External | The default NginxIngressController will be created and the operator will provision an external loadbalancer with it. Any annotation to make the default loadbalancer internal will be overwritten. |
| NginxIngressControllerTypeInternal | Internal | The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it. Any annotation to make the default loadbalancer external will be overwritten. |
| NginxIngressControllerTypeNone | None | The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired. |
| Value | Description |
|---|
AnnotationControlled | The default NginxIngressController will be created. Users can edit the default NginxIngressController Custom Resource to configure load balancer annotations. |
External | The default NginxIngressController will be created and the operator will provision an external loadbalancer with it. Any annotation to make the default loadbalancer internal will be overwritten. |
Internal | The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it. Any annotation to make the default loadbalancer external will be overwritten. |
None | The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired. |
| Name | Value | Description |
|---|
| AnnotationControlled | AnnotationControlled | The default NginxIngressController will be created. Users can edit the default NginxIngressController Custom Resource to configure load balancer annotations. |
| External | External | The default NginxIngressController will be created and the operator will provision an external loadbalancer with it. Any annotation to make the default loadbalancer internal will be overwritten. |
| Internal | Internal | The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it. Any annotation to make the default loadbalancer external will be overwritten. |
| None | None | The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired. |
| Name | Value | Description |
|---|
| AnnotationControlled | AnnotationControlled | The default NginxIngressController will be created. Users can edit the default NginxIngressController Custom Resource to configure load balancer annotations. |
| External | External | The default NginxIngressController will be created and the operator will provision an external loadbalancer with it. Any annotation to make the default loadbalancer internal will be overwritten. |
| Internal | Internal | The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it. Any annotation to make the default loadbalancer external will be overwritten. |
| None | None | The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired. |
| Name | Value | Description |
|---|
| ANNOTATION_CONTROLLED | AnnotationControlled | The default NginxIngressController will be created. Users can edit the default NginxIngressController Custom Resource to configure load balancer annotations. |
| EXTERNAL | External | The default NginxIngressController will be created and the operator will provision an external loadbalancer with it. Any annotation to make the default loadbalancer internal will be overwritten. |
| INTERNAL | Internal | The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it. Any annotation to make the default loadbalancer external will be overwritten. |
| NONE | None | The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired. |
| Value | Description |
|---|
AnnotationControlled | The default NginxIngressController will be created. Users can edit the default NginxIngressController Custom Resource to configure load balancer annotations. |
External | The default NginxIngressController will be created and the operator will provision an external loadbalancer with it. Any annotation to make the default loadbalancer internal will be overwritten. |
Internal | The default NginxIngressController will be created and the operator will provision an internal loadbalancer with it. Any annotation to make the default loadbalancer external will be overwritten. |
None | The default Ingress Controller will not be created. It will not be deleted by the system if it exists. Users should delete the default NginxIngressController Custom Resource manually if desired. |
NodeOSUpgradeChannel, NodeOSUpgradeChannelArgs
Node OS Upgrade Channel. Manner in which the OS on your nodes is updated. The default is NodeImage.| Name | Value | Description |
|---|
| None | None | No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates |
| Unmanaged | Unmanaged | OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice |
| NodeImage | NodeImage | AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. |
| SecurityPatch | SecurityPatch | AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. |
| Name | Value | Description |
|---|
| NodeOSUpgradeChannelNone | None | No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates |
| NodeOSUpgradeChannelUnmanaged | Unmanaged | OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice |
| NodeOSUpgradeChannelNodeImage | NodeImage | AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. |
| NodeOSUpgradeChannelSecurityPatch | SecurityPatch | AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. |
| Value | Description |
|---|
None | No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates |
Unmanaged | OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice |
NodeImage | AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. |
SecurityPatch | AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. |
| Name | Value | Description |
|---|
| None | None | No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates |
| Unmanaged | Unmanaged | OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice |
| NodeImage | NodeImage | AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. |
| SecurityPatch | SecurityPatch | AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. |
| Name | Value | Description |
|---|
| None | None | No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates |
| Unmanaged | Unmanaged | OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice |
| NodeImage | NodeImage | AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. |
| SecurityPatch | SecurityPatch | AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. |
| Name | Value | Description |
|---|
| NONE | None | No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates |
| UNMANAGED | Unmanaged | OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice |
| NODE_IMAGE | NodeImage | AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. |
| SECURITY_PATCH | SecurityPatch | AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. |
| Value | Description |
|---|
None | No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates |
Unmanaged | OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice |
NodeImage | AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. |
SecurityPatch | AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. |
NodeProvisioningDefaultNodePools, NodeProvisioningDefaultNodePoolsArgs
The set of default Karpenter NodePools (CRDs) configured for node provisioning. This field has no effect unless mode is 'Auto'. Warning: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. If not specified, the default is Auto. For more information see aka.ms/aks/nap#node-pools.| Name | Value | Description |
|---|
| None | None | No Karpenter NodePools are provisioned automatically. Automatic scaling will not happen unless the user creates one or more NodePool CRD instances. |
| Auto | Auto | A standard set of Karpenter NodePools are provisioned |
| Name | Value | Description |
|---|
| NodeProvisioningDefaultNodePoolsNone | None | No Karpenter NodePools are provisioned automatically. Automatic scaling will not happen unless the user creates one or more NodePool CRD instances. |
| NodeProvisioningDefaultNodePoolsAuto | Auto | A standard set of Karpenter NodePools are provisioned |
| Value | Description |
|---|
None | No Karpenter NodePools are provisioned automatically. Automatic scaling will not happen unless the user creates one or more NodePool CRD instances. |
Auto | A standard set of Karpenter NodePools are provisioned |
| Name | Value | Description |
|---|
| None | None | No Karpenter NodePools are provisioned automatically. Automatic scaling will not happen unless the user creates one or more NodePool CRD instances. |
| Auto | Auto | A standard set of Karpenter NodePools are provisioned |
| Name | Value | Description |
|---|
| None | None | No Karpenter NodePools are provisioned automatically. Automatic scaling will not happen unless the user creates one or more NodePool CRD instances. |
| Auto | Auto | A standard set of Karpenter NodePools are provisioned |
| Name | Value | Description |
|---|
| NONE | None | No Karpenter NodePools are provisioned automatically. Automatic scaling will not happen unless the user creates one or more NodePool CRD instances. |
| AUTO | Auto | A standard set of Karpenter NodePools are provisioned |
| Value | Description |
|---|
None | No Karpenter NodePools are provisioned automatically. Automatic scaling will not happen unless the user creates one or more NodePool CRD instances. |
Auto | A standard set of Karpenter NodePools are provisioned |
NodeProvisioningMode, NodeProvisioningModeArgs
The node provisioning mode. If not specified, the default is Manual.| Name | Value | Description |
|---|
| Manual | Manual | Nodes are provisioned manually by the user |
| Auto | Auto | Nodes are provisioned automatically by AKS using Karpenter (See aka.ms/aks/nap for more details). Fixed size Node Pools can still be created, but autoscaling Node Pools cannot be. (See aka.ms/aks/nap for more details). |
| Name | Value | Description |
|---|
| NodeProvisioningModeManual | Manual | Nodes are provisioned manually by the user |
| NodeProvisioningModeAuto | Auto | Nodes are provisioned automatically by AKS using Karpenter (See aka.ms/aks/nap for more details). Fixed size Node Pools can still be created, but autoscaling Node Pools cannot be. (See aka.ms/aks/nap for more details). |
| Value | Description |
|---|
Manual | Nodes are provisioned manually by the user |
Auto | Nodes are provisioned automatically by AKS using Karpenter (See aka.ms/aks/nap for more details). Fixed size Node Pools can still be created, but autoscaling Node Pools cannot be. (See aka.ms/aks/nap for more details). |
| Name | Value | Description |
|---|
| Manual | Manual | Nodes are provisioned manually by the user |
| Auto | Auto | Nodes are provisioned automatically by AKS using Karpenter (See aka.ms/aks/nap for more details). Fixed size Node Pools can still be created, but autoscaling Node Pools cannot be. (See aka.ms/aks/nap for more details). |
| Name | Value | Description |
|---|
| Manual | Manual | Nodes are provisioned manually by the user |
| Auto | Auto | Nodes are provisioned automatically by AKS using Karpenter (See aka.ms/aks/nap for more details). Fixed size Node Pools can still be created, but autoscaling Node Pools cannot be. (See aka.ms/aks/nap for more details). |
| Name | Value | Description |
|---|
| MANUAL | Manual | Nodes are provisioned manually by the user |
| AUTO | Auto | Nodes are provisioned automatically by AKS using Karpenter (See aka.ms/aks/nap for more details). Fixed size Node Pools can still be created, but autoscaling Node Pools cannot be. (See aka.ms/aks/nap for more details). |
| Value | Description |
|---|
Manual | Nodes are provisioned manually by the user |
Auto | Nodes are provisioned automatically by AKS using Karpenter (See aka.ms/aks/nap for more details). Fixed size Node Pools can still be created, but autoscaling Node Pools cannot be. (See aka.ms/aks/nap for more details). |
OSDiskType, OSDiskTypeArgs
The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.| Name | Value | Description |
|---|
| Managed | Managed | Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. |
| Ephemeral | Ephemeral | Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. |
| Name | Value | Description |
|---|
| OSDiskTypeManaged | Managed | Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. |
| OSDiskTypeEphemeral | Ephemeral | Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. |
| Value | Description |
|---|
Managed | Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. |
Ephemeral | Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. |
| Name | Value | Description |
|---|
| Managed | Managed | Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. |
| Ephemeral | Ephemeral | Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. |
| Name | Value | Description |
|---|
| Managed | Managed | Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. |
| Ephemeral | Ephemeral | Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. |
| Name | Value | Description |
|---|
| MANAGED | Managed | Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. |
| EPHEMERAL | Ephemeral | Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. |
| Value | Description |
|---|
Managed | Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. |
Ephemeral | Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. |
OSSKU, OSSKUArgs
Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.| Name | Value | Description |
|---|
| Ubuntu | Ubuntu | Use Ubuntu as the OS for node images. |
| AzureLinux | AzureLinux | Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. |
| AzureLinux3 | AzureLinux3 | Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. |
| CBLMariner | CBLMariner | Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. |
| Windows2019 | Windows2019 | Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. |
| Windows2022 | Windows2022 | Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. |
| Ubuntu2204 | Ubuntu2204 | Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions |
| Name | Value | Description |
|---|
| OSSKUUbuntu | Ubuntu | Use Ubuntu as the OS for node images. |
| OSSKUAzureLinux | AzureLinux | Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. |
| OSSKUAzureLinux3 | AzureLinux3 | Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. |
| OSSKUCBLMariner | CBLMariner | Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. |
| OSSKUWindows2019 | Windows2019 | Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. |
| OSSKUWindows2022 | Windows2022 | Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. |
| OSSKUUbuntu2204 | Ubuntu2204 | Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions |
| Value | Description |
|---|
Ubuntu | Use Ubuntu as the OS for node images. |
AzureLinux | Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. |
AzureLinux3 | Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. |
CBLMariner | Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. |
Windows2019 | Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. |
Windows2022 | Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. |
Ubuntu2204 | Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions |
| Name | Value | Description |
|---|
| Ubuntu | Ubuntu | Use Ubuntu as the OS for node images. |
| AzureLinux | AzureLinux | Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. |
| AzureLinux3 | AzureLinux3 | Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. |
| CBLMariner | CBLMariner | Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. |
| Windows2019 | Windows2019 | Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. |
| Windows2022 | Windows2022 | Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. |
| Ubuntu2204 | Ubuntu2204 | Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions |
| Name | Value | Description |
|---|
| Ubuntu | Ubuntu | Use Ubuntu as the OS for node images. |
| AzureLinux | AzureLinux | Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. |
| AzureLinux3 | AzureLinux3 | Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. |
| CBLMariner | CBLMariner | Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. |
| Windows2019 | Windows2019 | Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. |
| Windows2022 | Windows2022 | Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. |
| Ubuntu2204 | Ubuntu2204 | Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions |
| Name | Value | Description |
|---|
| UBUNTU | Ubuntu | Use Ubuntu as the OS for node images. |
| AZURE_LINUX | AzureLinux | Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. |
| AZURE_LINUX3 | AzureLinux3 | Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. |
| CBL_MARINER | CBLMariner | Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. |
| WINDOWS2019 | Windows2019 | Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. |
| WINDOWS2022 | Windows2022 | Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. |
| UBUNTU2204 | Ubuntu2204 | Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions |
| Value | Description |
|---|
Ubuntu | Use Ubuntu as the OS for node images. |
AzureLinux | Use AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. |
AzureLinux3 | Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version. |
CBLMariner | Deprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead. |
Windows2019 | Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa. |
Windows2022 | Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa. |
Ubuntu2204 | Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions |
OSType, OSTypeArgs
The operating system type. The default is Linux.| Name | Value | Description |
|---|
| Linux | Linux | Use Linux. |
| Windows | Windows | Use Windows. |
| Name | Value | Description |
|---|
| OSTypeLinux | Linux | Use Linux. |
| OSTypeWindows | Windows | Use Windows. |
| Value | Description |
|---|
Linux | Use Linux. |
Windows | Use Windows. |
| Name | Value | Description |
|---|
| Linux | Linux | Use Linux. |
| Windows | Windows | Use Windows. |
| Name | Value | Description |
|---|
| Linux | Linux | Use Linux. |
| Windows | Windows | Use Windows. |
| Name | Value | Description |
|---|
| LINUX | Linux | Use Linux. |
| WINDOWS | Windows | Use Windows. |
| Value | Description |
|---|
Linux | Use Linux. |
Windows | Use Windows. |
OutboundType, OutboundTypeArgs
The outbound (egress) routing method. This can only be set at cluster creation time and cannot be changed later. For more information see egress outbound type.| Name | Value | Description |
|---|
| LoadBalancer | loadBalancer | The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see outbound type loadbalancer. |
| UserDefinedRouting | userDefinedRouting | Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see outbound type userDefinedRouting. |
| ManagedNATGateway | managedNATGateway | The AKS-managed NAT gateway is used for egress. |
| UserAssignedNATGateway | userAssignedNATGateway | The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. |
| None | none | The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ |
| Name | Value | Description |
|---|
| OutboundTypeLoadBalancer | loadBalancer | The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see outbound type loadbalancer. |
| OutboundTypeUserDefinedRouting | userDefinedRouting | Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see outbound type userDefinedRouting. |
| OutboundTypeManagedNATGateway | managedNATGateway | The AKS-managed NAT gateway is used for egress. |
| OutboundTypeUserAssignedNATGateway | userAssignedNATGateway | The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. |
| OutboundTypeNone | none | The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ |
| Value | Description |
|---|
loadBalancer | The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see outbound type loadbalancer. |
userDefinedRouting | Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see outbound type userDefinedRouting. |
managedNATGateway | The AKS-managed NAT gateway is used for egress. |
userAssignedNATGateway | The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. |
none | The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ |
| Name | Value | Description |
|---|
| LoadBalancer | loadBalancer | The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see outbound type loadbalancer. |
| UserDefinedRouting | userDefinedRouting | Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see outbound type userDefinedRouting. |
| ManagedNATGateway | managedNATGateway | The AKS-managed NAT gateway is used for egress. |
| UserAssignedNATGateway | userAssignedNATGateway | The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. |
| None | none | The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ |
| Name | Value | Description |
|---|
| LoadBalancer | loadBalancer | The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see outbound type loadbalancer. |
| UserDefinedRouting | userDefinedRouting | Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see outbound type userDefinedRouting. |
| ManagedNATGateway | managedNATGateway | The AKS-managed NAT gateway is used for egress. |
| UserAssignedNATGateway | userAssignedNATGateway | The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. |
| None | none | The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ |
| Name | Value | Description |
|---|
| LOAD_BALANCER | loadBalancer | The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see outbound type loadbalancer. |
| USER_DEFINED_ROUTING | userDefinedRouting | Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see outbound type userDefinedRouting. |
| MANAGED_NAT_GATEWAY | managedNATGateway | The AKS-managed NAT gateway is used for egress. |
| USER_ASSIGNED_NAT_GATEWAY | userAssignedNATGateway | The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. |
| NONE | none | The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ |
| Value | Description |
|---|
loadBalancer | The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see outbound type loadbalancer. |
userDefinedRouting | Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see outbound type userDefinedRouting. |
managedNATGateway | The AKS-managed NAT gateway is used for egress. |
userAssignedNATGateway | The user-assigned NAT gateway associated to the cluster subnet is used for egress. This is an advanced scenario and requires proper network configuration. |
none | The AKS cluster is not set with any outbound-type. All AKS nodes follows Azure VM default outbound behavior. Please refer to https://azure.microsoft.com/en-us/updates/default-outbound-access-for-vms-in-azure-will-be-retired-transition-to-a-new-method-of-internet-access/ |
PodIPAllocationMode, PodIPAllocationModeArgs
Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.| Name | Value | Description |
|---|
| DynamicIndividual | DynamicIndividual | Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode |
| StaticBlock | StaticBlock | Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger |
| Name | Value | Description |
|---|
| PodIPAllocationModeDynamicIndividual | DynamicIndividual | Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode |
| PodIPAllocationModeStaticBlock | StaticBlock | Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger |
| Value | Description |
|---|
DynamicIndividual | Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode |
StaticBlock | Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger |
| Name | Value | Description |
|---|
| DynamicIndividual | DynamicIndividual | Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode |
| StaticBlock | StaticBlock | Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger |
| Name | Value | Description |
|---|
| DynamicIndividual | DynamicIndividual | Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode |
| StaticBlock | StaticBlock | Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger |
| Name | Value | Description |
|---|
| DYNAMIC_INDIVIDUAL | DynamicIndividual | Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode |
| STATIC_BLOCK | StaticBlock | Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger |
| Value | Description |
|---|
DynamicIndividual | Each node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode |
StaticBlock | Each node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger |
PortRange, PortRangeArgs
The port range.- PortEnd
int
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- PortStart
int
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- Protocol
string | Pulumi.AzureNative.ContainerService.Protocol
- The network protocol of the port.
- PortEnd
int
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- PortStart
int
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- Protocol
string | Protocol
- The network protocol of the port.
- port_end
number
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port_start
number
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
string | "TCP" | "UDP"
- The network protocol of the port.
- portEnd
Integer
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- portStart
Integer
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
String | Protocol
- The network protocol of the port.
- portEnd
number
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- portStart
number
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
string | Protocol
- The network protocol of the port.
- port_end
int
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port_start
int
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
str | Protocol
- The network protocol of the port.
- portEnd
Number
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- portStart
Number
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
String | "TCP" | "UDP"
- The network protocol of the port.
PortRangeResponse, PortRangeResponseArgs
The port range.- PortEnd
int
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- PortStart
int
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- Protocol
string
- The network protocol of the port.
- PortEnd
int
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- PortStart
int
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- Protocol
string
- The network protocol of the port.
- port_end
number
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port_start
number
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
string
- The network protocol of the port.
- portEnd
Integer
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- portStart
Integer
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
String
- The network protocol of the port.
- portEnd
number
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- portStart
number
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
string
- The network protocol of the port.
- port_end
int
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port_start
int
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
str
- The network protocol of the port.
- portEnd
Number
- The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- portStart
Number
- The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol
String
- The network protocol of the port.
PowerState, PowerStateArgs
Describes the Power State of the cluster- Code
string | Code
- Tells whether the cluster is Running or Stopped
- code
String | Code
- Tells whether the cluster is Running or Stopped
- code
string | Code
- Tells whether the cluster is Running or Stopped
- code
str | Code
- Tells whether the cluster is Running or Stopped
PowerStateResponse, PowerStateResponseArgs
Describes the Power State of the cluster- Code
string
- Tells whether the cluster is Running or Stopped
- Code
string
- Tells whether the cluster is Running or Stopped
- code
string
- Tells whether the cluster is Running or Stopped
- code
String
- Tells whether the cluster is Running or Stopped
- code
string
- Tells whether the cluster is Running or Stopped
- code
str
- Tells whether the cluster is Running or Stopped
- code
String
- Tells whether the cluster is Running or Stopped
PrivateLinkResource, PrivateLinkResourceArgs
A private link resource- GroupId
string
- The group ID of the resource.
- Id
string
- The ID of the private link resource.
- Name
string
- The name of the private link resource.
- RequiredMembers
List<string>
- The RequiredMembers of the resource
- Type
string
- The resource type.
- GroupId
string
- The group ID of the resource.
- Id
string
- The ID of the private link resource.
- Name
string
- The name of the private link resource.
- RequiredMembers
[]string
- The RequiredMembers of the resource
- Type
string
- The resource type.
- group_id
string
- The group ID of the resource.
- id
string
- The ID of the private link resource.
- name
string
- The name of the private link resource.
- required_members
list(string)
- The RequiredMembers of the resource
- type
string
- The resource type.
- groupId
String
- The group ID of the resource.
- id
String
- The ID of the private link resource.
- name
String
- The name of the private link resource.
- requiredMembers
List<String>
- The RequiredMembers of the resource
- type
String
- The resource type.
- groupId
string
- The group ID of the resource.
- id
string
- The ID of the private link resource.
- name
string
- The name of the private link resource.
- requiredMembers
string[]
- The RequiredMembers of the resource
- type
string
- The resource type.
- group_id
str
- The group ID of the resource.
- id
str
- The ID of the private link resource.
- name
str
- The name of the private link resource.
- required_members
Sequence[str]
- The RequiredMembers of the resource
- type
str
- The resource type.
- groupId
String
- The group ID of the resource.
- id
String
- The ID of the private link resource.
- name
String
- The name of the private link resource.
- requiredMembers
List<String>
- The RequiredMembers of the resource
- type
String
- The resource type.
PrivateLinkResourceResponse, PrivateLinkResourceResponseArgs
A private link resource- PrivateLinkServiceID
string
- The private link service ID of the resource, this field is exposed only to NRP internally.
- GroupId
string
- The group ID of the resource.
- Id
string
- The ID of the private link resource.
- Name
string
- The name of the private link resource.
- RequiredMembers
List<string>
- The RequiredMembers of the resource
- Type
string
- The resource type.
- PrivateLinkServiceID
string
- The private link service ID of the resource, this field is exposed only to NRP internally.
- GroupId
string
- The group ID of the resource.
- Id
string
- The ID of the private link resource.
- Name
string
- The name of the private link resource.
- RequiredMembers
[]string
- The RequiredMembers of the resource
- Type
string
- The resource type.
- private_link_service_id
string
- The private link service ID of the resource, this field is exposed only to NRP internally.
- group_id
string
- The group ID of the resource.
- id
string
- The ID of the private link resource.
- name
string
- The name of the private link resource.
- required_members
list(string)
- The RequiredMembers of the resource
- type
string
- The resource type.
- privateLinkServiceID
String
- The private link service ID of the resource, this field is exposed only to NRP internally.
- groupId
String
- The group ID of the resource.
- id
String
- The ID of the private link resource.
- name
String
- The name of the private link resource.
- requiredMembers
List<String>
- The RequiredMembers of the resource
- type
String
- The resource type.
- privateLinkServiceID
string
- The private link service ID of the resource, this field is exposed only to NRP internally.
- groupId
string
- The group ID of the resource.
- id
string
- The ID of the private link resource.
- name
string
- The name of the private link resource.
- requiredMembers
string[]
- The RequiredMembers of the resource
- type
string
- The resource type.
- private_link_service_id
str
- The private link service ID of the resource, this field is exposed only to NRP internally.
- group_id
str
- The group ID of the resource.
- id
str
- The ID of the private link resource.
- name
str
- The name of the private link resource.
- required_members
Sequence[str]
- The RequiredMembers of the resource
- type
str
- The resource type.
- privateLinkServiceID
String
- The private link service ID of the resource, this field is exposed only to NRP internally.
- groupId
String
- The group ID of the resource.
- id
String
- The ID of the private link resource.
- name
String
- The name of the private link resource.
- requiredMembers
List<String>
- The RequiredMembers of the resource
- type
String
- The resource type.
Protocol, ProtocolArgs
The network protocol of the port.| Name | Value | Description |
|---|
| TCP | TCP | TCP protocol. |
| UDP | UDP | UDP protocol. |
| Name | Value | Description |
|---|
| ProtocolTCP | TCP | TCP protocol. |
| ProtocolUDP | UDP | UDP protocol. |
| Value | Description |
|---|
TCP | TCP protocol. |
UDP | UDP protocol. |
| Name | Value | Description |
|---|
| TCP | TCP | TCP protocol. |
| UDP | UDP | UDP protocol. |
| Name | Value | Description |
|---|
| TCP | TCP | TCP protocol. |
| UDP | UDP | UDP protocol. |
| Name | Value | Description |
|---|
| TCP | TCP | TCP protocol. |
| UDP | UDP | UDP protocol. |
| Value | Description |
|---|
TCP | TCP protocol. |
UDP | UDP protocol. |
PublicNetworkAccess, PublicNetworkAccessArgs
PublicNetworkAccess of the managedCluster. Allow or deny public network access for AKS| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| PublicNetworkAccessEnabled | Enabled |
| PublicNetworkAccessDisabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| ENABLED | Enabled |
| DISABLED | Disabled |
ResourceIdentityType, ResourceIdentityTypeArgs
The type of identity used for the managed cluster. For more information see use managed identities in AKS.| Name | Value | Description |
|---|
| SystemAssigned | SystemAssigned | Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. |
| UserAssigned | UserAssigned | Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. |
| None | None | Do not use a managed identity for the Managed Cluster, service principal will be used instead. |
| Name | Value | Description |
|---|
| ResourceIdentityTypeSystemAssigned | SystemAssigned | Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. |
| ResourceIdentityTypeUserAssigned | UserAssigned | Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. |
| ResourceIdentityTypeNone | None | Do not use a managed identity for the Managed Cluster, service principal will be used instead. |
| Value | Description |
|---|
SystemAssigned | Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. |
UserAssigned | Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. |
None | Do not use a managed identity for the Managed Cluster, service principal will be used instead. |
| Name | Value | Description |
|---|
| SystemAssigned | SystemAssigned | Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. |
| UserAssigned | UserAssigned | Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. |
| None | None | Do not use a managed identity for the Managed Cluster, service principal will be used instead. |
| Name | Value | Description |
|---|
| SystemAssigned | SystemAssigned | Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. |
| UserAssigned | UserAssigned | Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. |
| None | None | Do not use a managed identity for the Managed Cluster, service principal will be used instead. |
| Name | Value | Description |
|---|
| SYSTEM_ASSIGNED | SystemAssigned | Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. |
| USER_ASSIGNED | UserAssigned | Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. |
| NONE | None | Do not use a managed identity for the Managed Cluster, service principal will be used instead. |
| Value | Description |
|---|
SystemAssigned | Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources. |
UserAssigned | Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources. |
None | Do not use a managed identity for the Managed Cluster, service principal will be used instead. |
ResourceReference, ResourceReferenceArgs
A reference to an Azure resource.- Id
string
- The fully qualified Azure resource id.
- Id
string
- The fully qualified Azure resource id.
- id
string
- The fully qualified Azure resource id.
- id
String
- The fully qualified Azure resource id.
- id
string
- The fully qualified Azure resource id.
- id
str
- The fully qualified Azure resource id.
- id
String
- The fully qualified Azure resource id.
ResourceReferenceResponse, ResourceReferenceResponseArgs
A reference to an Azure resource.- Id
string
- The fully qualified Azure resource id.
- Id
string
- The fully qualified Azure resource id.
- id
string
- The fully qualified Azure resource id.
- id
String
- The fully qualified Azure resource id.
- id
string
- The fully qualified Azure resource id.
- id
str
- The fully qualified Azure resource id.
- id
String
- The fully qualified Azure resource id.
RestrictionLevel, RestrictionLevelArgs
The restriction level applied to the cluster's node resource group. If not specified, the default is 'Unrestricted'| Name | Value | Description |
|---|
| Unrestricted | Unrestricted | All RBAC permissions are allowed on the managed node resource group |
| ReadOnly | ReadOnly | Only */read RBAC permissions allowed on the managed node resource group |
| Name | Value | Description |
|---|
| RestrictionLevelUnrestricted | Unrestricted | All RBAC permissions are allowed on the managed node resource group |
| RestrictionLevelReadOnly | ReadOnly | Only */read RBAC permissions allowed on the managed node resource group |
| Value | Description |
|---|
Unrestricted | All RBAC permissions are allowed on the managed node resource group |
ReadOnly | Only */read RBAC permissions allowed on the managed node resource group |
| Name | Value | Description |
|---|
| Unrestricted | Unrestricted | All RBAC permissions are allowed on the managed node resource group |
| ReadOnly | ReadOnly | Only */read RBAC permissions allowed on the managed node resource group |
| Name | Value | Description |
|---|
| Unrestricted | Unrestricted | All RBAC permissions are allowed on the managed node resource group |
| ReadOnly | ReadOnly | Only */read RBAC permissions allowed on the managed node resource group |
| Name | Value | Description |
|---|
| UNRESTRICTED | Unrestricted | All RBAC permissions are allowed on the managed node resource group |
| READ_ONLY | ReadOnly | Only */read RBAC permissions allowed on the managed node resource group |
| Value | Description |
|---|
Unrestricted | All RBAC permissions are allowed on the managed node resource group |
ReadOnly | Only */read RBAC permissions allowed on the managed node resource group |
ScaleDownMode, ScaleDownModeArgs
The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.| Name | Value | Description |
|---|
| Delete | Delete | Create new instances during scale up and remove instances during scale down. |
| Deallocate | Deallocate | Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. |
| Name | Value | Description |
|---|
| ScaleDownModeDelete | Delete | Create new instances during scale up and remove instances during scale down. |
| ScaleDownModeDeallocate | Deallocate | Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. |
| Value | Description |
|---|
Delete | Create new instances during scale up and remove instances during scale down. |
Deallocate | Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. |
| Name | Value | Description |
|---|
| Delete | Delete | Create new instances during scale up and remove instances during scale down. |
| Deallocate | Deallocate | Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. |
| Name | Value | Description |
|---|
| Delete | Delete | Create new instances during scale up and remove instances during scale down. |
| Deallocate | Deallocate | Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. |
| Name | Value | Description |
|---|
| DELETE | Delete | Create new instances during scale up and remove instances during scale down. |
| DEALLOCATE | Deallocate | Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. |
| Value | Description |
|---|
Delete | Create new instances during scale up and remove instances during scale down. |
Deallocate | Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down. |
ScaleProfile, ScaleProfileArgs
Specifications on how to scale a VirtualMachines agent pool.- manual
list(object)
- Specifications on how to scale the VirtualMachines agent pool to a fixed size.
ScaleProfileResponse, ScaleProfileResponseArgs
Specifications on how to scale a VirtualMachines agent pool.- manual
list(object)
- Specifications on how to scale the VirtualMachines agent pool to a fixed size.
ScaleSetEvictionPolicy, ScaleSetEvictionPolicyArgs
The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.| Name | Value | Description |
|---|
| Delete | Delete | Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. |
| Deallocate | Deallocate | Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. |
| Name | Value | Description |
|---|
| ScaleSetEvictionPolicyDelete | Delete | Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. |
| ScaleSetEvictionPolicyDeallocate | Deallocate | Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. |
| Value | Description |
|---|
Delete | Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. |
Deallocate | Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. |
| Name | Value | Description |
|---|
| Delete | Delete | Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. |
| Deallocate | Deallocate | Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. |
| Name | Value | Description |
|---|
| Delete | Delete | Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. |
| Deallocate | Deallocate | Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. |
| Name | Value | Description |
|---|
| DELETE | Delete | Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. |
| DEALLOCATE | Deallocate | Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. |
| Value | Description |
|---|
Delete | Nodes in the underlying Scale Set of the node pool are deleted when they're evicted. |
Deallocate | Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading. |
ScaleSetPriority, ScaleSetPriorityArgs
The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.| Name | Value | Description |
|---|
| Spot | Spot | Spot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information. |
| Regular | Regular | Regular VMs will be used. |
| Name | Value | Description |
|---|
| ScaleSetPrioritySpot | Spot | Spot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information. |
| ScaleSetPriorityRegular | Regular | Regular VMs will be used. |
| Value | Description |
|---|
Spot | Spot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information. |
Regular | Regular VMs will be used. |
| Name | Value | Description |
|---|
| Spot | Spot | Spot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information. |
| Regular | Regular | Regular VMs will be used. |
| Name | Value | Description |
|---|
| Spot | Spot | Spot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information. |
| Regular | Regular | Regular VMs will be used. |
| Name | Value | Description |
|---|
| SPOT | Spot | Spot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information. |
| REGULAR | Regular | Regular VMs will be used. |
| Value | Description |
|---|
Spot | Spot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information. |
Regular | Regular VMs will be used. |
ServiceMeshMode, ServiceMeshModeArgs
Mode of the service mesh.| Name | Value | Description |
|---|
| Istio | Istio | Istio deployed as an AKS addon. |
| Disabled | Disabled | Mesh is disabled. |
| Name | Value | Description |
|---|
| ServiceMeshModeIstio | Istio | Istio deployed as an AKS addon. |
| ServiceMeshModeDisabled | Disabled | Mesh is disabled. |
| Value | Description |
|---|
Istio | Istio deployed as an AKS addon. |
Disabled | Mesh is disabled. |
| Name | Value | Description |
|---|
| Istio | Istio | Istio deployed as an AKS addon. |
| Disabled | Disabled | Mesh is disabled. |
| Name | Value | Description |
|---|
| Istio | Istio | Istio deployed as an AKS addon. |
| Disabled | Disabled | Mesh is disabled. |
| Name | Value | Description |
|---|
| ISTIO | Istio | Istio deployed as an AKS addon. |
| DISABLED | Disabled | Mesh is disabled. |
| Value | Description |
|---|
Istio | Istio deployed as an AKS addon. |
Disabled | Mesh is disabled. |
ServiceMeshProfile, ServiceMeshProfileArgs
Service mesh profile for a managed cluster.ServiceMeshProfileResponse, ServiceMeshProfileResponseArgs
Service mesh profile for a managed cluster.- mode
string
- Mode of the service mesh.
- istio
object
- Istio service mesh configuration.
SysctlConfig, SysctlConfigArgs
Sysctl settings for Linux agent nodes.SysctlConfigResponse, SysctlConfigResponseArgs
Sysctl settings for Linux agent nodes.