Represents a connected cluster.
Uses Azure REST API version 2024-02-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-05-01-preview.
Other available API versions: 2021-04-01-preview, 2021-10-01, 2022-05-01-preview, 2022-10-01-preview, 2023-11-01-preview, 2024-01-01, 2024-06-01-preview, 2024-07-01-preview, 2024-07-15-preview, 2024-12-01-preview, 2025-08-01-preview, 2025-12-01-preview, 2026-02-01-preview, 2026-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native kubernetes [ApiVersion]. See the version guide for details.
Example Usage
CreateClusterExample
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var connectedCluster = new AzureNative.Kubernetes.ConnectedCluster("connectedCluster", new()
{
AgentPublicKeyCertificate = "MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
AzureHybridBenefit = AzureNative.Kubernetes.AzureHybridBenefit.NotApplicable,
ClusterName = "testCluster",
Distribution = "AKS",
DistributionVersion = "1.0",
Identity = new AzureNative.Kubernetes.Inputs.ConnectedClusterIdentityArgs
{
Type = AzureNative.Kubernetes.ResourceIdentityType.SystemAssigned,
},
Location = "East US",
ResourceGroupName = "k8sc-rg",
Tags = new() { },
});
});
package main
import (
kubernetes "github.com/pulumi/pulumi-azure-native-sdk/kubernetes/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kubernetes.NewConnectedCluster(ctx, "connectedCluster", &kubernetes.ConnectedClusterArgs{
AgentPublicKeyCertificate: pulumi.String("MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO"),
AzureHybridBenefit: pulumi.String(kubernetes.AzureHybridBenefitNotApplicable),
ClusterName: pulumi.String("testCluster"),
Distribution: pulumi.String("AKS"),
DistributionVersion: pulumi.String("1.0"),
Identity: &kubernetes.ConnectedClusterIdentityArgs{
Type: kubernetes.ResourceIdentityTypeSystemAssigned,
},
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("k8sc-rg"),
Tags: pulumi.StringMap{},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_kubernetes_connected_cluster" "connectedCluster" {
lifecycle {
create_before_destroy = true
}
agent_public_key_certificate = "MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO"
azure_hybrid_benefit = "NotApplicable"
cluster_name = "testCluster"
distribution = "AKS"
distribution_version = "1.0"
identity = {
type = "SystemAssigned"
}
location = "East US"
resource_group_name = "k8sc-rg"
tags = {}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.kubernetes.ConnectedCluster;
import com.pulumi.azurenative.kubernetes.ConnectedClusterArgs;
import com.pulumi.azurenative.kubernetes.inputs.ConnectedClusterIdentityArgs;
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 connectedCluster = new ConnectedCluster("connectedCluster", ConnectedClusterArgs.builder()
.agentPublicKeyCertificate("MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO")
.azureHybridBenefit("NotApplicable")
.clusterName("testCluster")
.distribution("AKS")
.distributionVersion("1.0")
.identity(ConnectedClusterIdentityArgs.builder()
.type("SystemAssigned")
.build())
.location("East US")
.resourceGroupName("k8sc-rg")
.tags(Map.ofEntries(
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const connectedCluster = new azure_native.kubernetes.ConnectedCluster("connectedCluster", {
agentPublicKeyCertificate: "MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
azureHybridBenefit: azure_native.kubernetes.AzureHybridBenefit.NotApplicable,
clusterName: "testCluster",
distribution: "AKS",
distributionVersion: "1.0",
identity: {
type: azure_native.kubernetes.ResourceIdentityType.SystemAssigned,
},
location: "East US",
resourceGroupName: "k8sc-rg",
tags: {},
});
import pulumi
import pulumi_azure_native as azure_native
connected_cluster = azure_native.kubernetes.ConnectedCluster("connectedCluster",
agent_public_key_certificate="MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
azure_hybrid_benefit=azure_native.kubernetes.AzureHybridBenefit.NOT_APPLICABLE,
cluster_name="testCluster",
distribution="AKS",
distribution_version="1.0",
identity={
"type": azure_native.kubernetes.ResourceIdentityType.SYSTEM_ASSIGNED,
},
location="East US",
resource_group_name="k8sc-rg",
tags={})
resources:
connectedCluster:
type: azure-native:kubernetes:ConnectedCluster
properties:
agentPublicKeyCertificate: MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO
azureHybridBenefit: NotApplicable
clusterName: testCluster
distribution: AKS
distributionVersion: '1.0'
identity:
type: SystemAssigned
location: East US
resourceGroupName: k8sc-rg
tags: {}
CreateClusterPrivateLinkExample
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var connectedCluster = new AzureNative.Kubernetes.ConnectedCluster("connectedCluster", new()
{
AgentPublicKeyCertificate = "MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
AzureHybridBenefit = AzureNative.Kubernetes.AzureHybridBenefit.NotApplicable,
ClusterName = "testCluster",
Distribution = "AKS",
DistributionVersion = "1.0",
Identity = new AzureNative.Kubernetes.Inputs.ConnectedClusterIdentityArgs
{
Type = AzureNative.Kubernetes.ResourceIdentityType.SystemAssigned,
},
Location = "East US",
PrivateLinkScopeResourceId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName",
PrivateLinkState = AzureNative.Kubernetes.PrivateLinkState.Enabled,
ResourceGroupName = "k8sc-rg",
Tags = new() { },
});
});
package main
import (
kubernetes "github.com/pulumi/pulumi-azure-native-sdk/kubernetes/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kubernetes.NewConnectedCluster(ctx, "connectedCluster", &kubernetes.ConnectedClusterArgs{
AgentPublicKeyCertificate: pulumi.String("MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO"),
AzureHybridBenefit: pulumi.String(kubernetes.AzureHybridBenefitNotApplicable),
ClusterName: pulumi.String("testCluster"),
Distribution: pulumi.String("AKS"),
DistributionVersion: pulumi.String("1.0"),
Identity: &kubernetes.ConnectedClusterIdentityArgs{
Type: kubernetes.ResourceIdentityTypeSystemAssigned,
},
Location: pulumi.String("East US"),
PrivateLinkScopeResourceId: pulumi.String("/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"),
PrivateLinkState: pulumi.String(kubernetes.PrivateLinkStateEnabled),
ResourceGroupName: pulumi.String("k8sc-rg"),
Tags: pulumi.StringMap{},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_kubernetes_connected_cluster" "connectedCluster" {
lifecycle {
create_before_destroy = true
}
agent_public_key_certificate = "MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO"
azure_hybrid_benefit = "NotApplicable"
cluster_name = "testCluster"
distribution = "AKS"
distribution_version = "1.0"
identity = {
type = "SystemAssigned"
}
location = "East US"
private_link_scope_resource_id = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName"
private_link_state = "Enabled"
resource_group_name = "k8sc-rg"
tags = {}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.kubernetes.ConnectedCluster;
import com.pulumi.azurenative.kubernetes.ConnectedClusterArgs;
import com.pulumi.azurenative.kubernetes.inputs.ConnectedClusterIdentityArgs;
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 connectedCluster = new ConnectedCluster("connectedCluster", ConnectedClusterArgs.builder()
.agentPublicKeyCertificate("MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO")
.azureHybridBenefit("NotApplicable")
.clusterName("testCluster")
.distribution("AKS")
.distributionVersion("1.0")
.identity(ConnectedClusterIdentityArgs.builder()
.type("SystemAssigned")
.build())
.location("East US")
.privateLinkScopeResourceId("/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName")
.privateLinkState("Enabled")
.resourceGroupName("k8sc-rg")
.tags(Map.ofEntries(
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const connectedCluster = new azure_native.kubernetes.ConnectedCluster("connectedCluster", {
agentPublicKeyCertificate: "MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
azureHybridBenefit: azure_native.kubernetes.AzureHybridBenefit.NotApplicable,
clusterName: "testCluster",
distribution: "AKS",
distributionVersion: "1.0",
identity: {
type: azure_native.kubernetes.ResourceIdentityType.SystemAssigned,
},
location: "East US",
privateLinkScopeResourceId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName",
privateLinkState: azure_native.kubernetes.PrivateLinkState.Enabled,
resourceGroupName: "k8sc-rg",
tags: {},
});
import pulumi
import pulumi_azure_native as azure_native
connected_cluster = azure_native.kubernetes.ConnectedCluster("connectedCluster",
agent_public_key_certificate="MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO",
azure_hybrid_benefit=azure_native.kubernetes.AzureHybridBenefit.NOT_APPLICABLE,
cluster_name="testCluster",
distribution="AKS",
distribution_version="1.0",
identity={
"type": azure_native.kubernetes.ResourceIdentityType.SYSTEM_ASSIGNED,
},
location="East US",
private_link_scope_resource_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName",
private_link_state=azure_native.kubernetes.PrivateLinkState.ENABLED,
resource_group_name="k8sc-rg",
tags={})
resources:
connectedCluster:
type: azure-native:kubernetes:ConnectedCluster
properties:
agentPublicKeyCertificate: MIICYzCCAcygAwIBAgIBADANBgkqhkiG9w0BAQUFADAuMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMREwDwYDVQQLEwhMb2NhbCBDQTAeFw05OTEyMjIwNTAwMDBaFw0wMDEyMjMwNDU5NTlaMC4xCzAJBgNVBAYTAlVTMQwwCgYDVQQKEwNJQk0xETAPBgNVBAsTCExvY2FsIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD2bZEo7xGaX2/0GHkrNFZvlxBou9v1Jmt/PDiTMPve8r9FeJAQ0QdvFST/0JPQYD20rH0bimdDLgNdNynmyRoS2S/IInfpmf69iyc2G0TPyRvmHIiOZbdCd+YBHQi1adkj17NDcWj6S14tVurFX73zx0sNoMS79q3tuXKrDsxeuwIDAQABo4GQMIGNMEsGCVUdDwGG+EIBDQQ+EzxHZW5lcmF0ZWQgYnkgdGhlIFNlY3VyZVdheSBTZWN1cml0eSBTZXJ2ZXIgZm9yIE9TLzM5MCAoUkFDRikwDgYDVR0PAQH/BAQDAgAGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFJ3+ocRyCTJw067dLSwr/nalx6YMMA0GCSqGSIb3DQEBBQUAA4GBAMaQzt+zaj1GU77yzlr8iiMBXgdQrwsZZWJo5exnAucJAEYQZmOfyLiM D6oYq+ZnfvM0n8G/Y79q8nhwvuxpYOnRSAXFp6xSkrIOeZtJMY1h00LKp/JX3Ng1svZ2agE126JHsQ0bhzN5TKsYfbwfTwfjdWAGy6Vf1nYi/rO+ryMO
azureHybridBenefit: NotApplicable
clusterName: testCluster
distribution: AKS
distributionVersion: '1.0'
identity:
type: SystemAssigned
location: East US
privateLinkScopeResourceId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName
privateLinkState: Enabled
resourceGroupName: k8sc-rg
tags: {}
CreateCluster_KindExample
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var connectedCluster = new AzureNative.Kubernetes.ConnectedCluster("connectedCluster", new()
{
AadProfile = new AzureNative.Kubernetes.Inputs.AadProfileArgs
{
AdminGroupObjectIDs = new[]
{
"56f988bf-86f1-41af-91ab-2d7cd011db47",
},
EnableAzureRBAC = true,
TenantID = "82f988bf-86f1-41af-91ab-2d7cd011db47",
},
AgentPublicKeyCertificate = "",
ArcAgentProfile = new AzureNative.Kubernetes.Inputs.ArcAgentProfileArgs
{
AgentAutoUpgrade = AzureNative.Kubernetes.AutoUpgradeOptions.Enabled,
DesiredAgentVersion = "0.1.0",
SystemComponents = new[]
{
new AzureNative.Kubernetes.Inputs.SystemComponentArgs
{
MajorVersion = 0,
Type = "Strato",
UserSpecifiedVersion = "0.1.1",
},
},
},
AzureHybridBenefit = AzureNative.Kubernetes.AzureHybridBenefit.NotApplicable,
ClusterName = "testCluster",
Distribution = "AKS",
DistributionVersion = "1.0",
Identity = new AzureNative.Kubernetes.Inputs.ConnectedClusterIdentityArgs
{
Type = AzureNative.Kubernetes.ResourceIdentityType.SystemAssigned,
},
Kind = AzureNative.Kubernetes.ConnectedClusterKind.ProvisionedCluster,
Location = "East US",
ResourceGroupName = "k8sc-rg",
Tags = new() { },
});
});
package main
import (
kubernetes "github.com/pulumi/pulumi-azure-native-sdk/kubernetes/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kubernetes.NewConnectedCluster(ctx, "connectedCluster", &kubernetes.ConnectedClusterArgs{
AadProfile: &kubernetes.AadProfileArgs{
AdminGroupObjectIDs: pulumi.StringArray{
pulumi.String("56f988bf-86f1-41af-91ab-2d7cd011db47"),
},
EnableAzureRBAC: pulumi.Bool(true),
TenantID: pulumi.String("82f988bf-86f1-41af-91ab-2d7cd011db47"),
},
AgentPublicKeyCertificate: pulumi.String(""),
ArcAgentProfile: &kubernetes.ArcAgentProfileArgs{
AgentAutoUpgrade: pulumi.String(kubernetes.AutoUpgradeOptionsEnabled),
DesiredAgentVersion: pulumi.String("0.1.0"),
SystemComponents: kubernetes.SystemComponentArray{
&kubernetes.SystemComponentArgs{
MajorVersion: pulumi.Int(0),
Type: pulumi.String("Strato"),
UserSpecifiedVersion: pulumi.String("0.1.1"),
},
},
},
AzureHybridBenefit: pulumi.String(kubernetes.AzureHybridBenefitNotApplicable),
ClusterName: pulumi.String("testCluster"),
Distribution: pulumi.String("AKS"),
DistributionVersion: pulumi.String("1.0"),
Identity: &kubernetes.ConnectedClusterIdentityArgs{
Type: kubernetes.ResourceIdentityTypeSystemAssigned,
},
Kind: pulumi.String(kubernetes.ConnectedClusterKindProvisionedCluster),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("k8sc-rg"),
Tags: pulumi.StringMap{},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_kubernetes_connected_cluster" "connectedCluster" {
lifecycle {
create_before_destroy = true
}
aad_profile = {
admin_group_object_i_ds = ["56f988bf-86f1-41af-91ab-2d7cd011db47"]
enable_azure_rbac = true
tenant_id = "82f988bf-86f1-41af-91ab-2d7cd011db47"
}
agent_public_key_certificate = ""
arc_agent_profile = {
agent_auto_upgrade = "Enabled"
desired_agent_version = "0.1.0"
system_components = [{
major_version = 0
type = "Strato"
user_specified_version = "0.1.1"
}]
}
azure_hybrid_benefit = "NotApplicable"
cluster_name = "testCluster"
distribution = "AKS"
distribution_version = "1.0"
identity = {
type = "SystemAssigned"
}
kind = "ProvisionedCluster"
location = "East US"
resource_group_name = "k8sc-rg"
tags = {}
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.kubernetes.ConnectedCluster;
import com.pulumi.azurenative.kubernetes.ConnectedClusterArgs;
import com.pulumi.azurenative.kubernetes.inputs.AadProfileArgs;
import com.pulumi.azurenative.kubernetes.inputs.ArcAgentProfileArgs;
import com.pulumi.azurenative.kubernetes.inputs.SystemComponentArgs;
import com.pulumi.azurenative.kubernetes.inputs.ConnectedClusterIdentityArgs;
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 connectedCluster = new ConnectedCluster("connectedCluster", ConnectedClusterArgs.builder()
.aadProfile(AadProfileArgs.builder()
.adminGroupObjectIDs("56f988bf-86f1-41af-91ab-2d7cd011db47")
.enableAzureRBAC(true)
.tenantID("82f988bf-86f1-41af-91ab-2d7cd011db47")
.build())
.agentPublicKeyCertificate("")
.arcAgentProfile(ArcAgentProfileArgs.builder()
.agentAutoUpgrade("Enabled")
.desiredAgentVersion("0.1.0")
.systemComponents(SystemComponentArgs.builder()
.majorVersion(0)
.type("Strato")
.userSpecifiedVersion("0.1.1")
.build())
.build())
.azureHybridBenefit("NotApplicable")
.clusterName("testCluster")
.distribution("AKS")
.distributionVersion("1.0")
.identity(ConnectedClusterIdentityArgs.builder()
.type("SystemAssigned")
.build())
.kind("ProvisionedCluster")
.location("East US")
.resourceGroupName("k8sc-rg")
.tags(Map.ofEntries(
))
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const connectedCluster = new azure_native.kubernetes.ConnectedCluster("connectedCluster", {
aadProfile: {
adminGroupObjectIDs: ["56f988bf-86f1-41af-91ab-2d7cd011db47"],
enableAzureRBAC: true,
tenantID: "82f988bf-86f1-41af-91ab-2d7cd011db47",
},
agentPublicKeyCertificate: "",
arcAgentProfile: {
agentAutoUpgrade: azure_native.kubernetes.AutoUpgradeOptions.Enabled,
desiredAgentVersion: "0.1.0",
systemComponents: [{
majorVersion: 0,
type: "Strato",
userSpecifiedVersion: "0.1.1",
}],
},
azureHybridBenefit: azure_native.kubernetes.AzureHybridBenefit.NotApplicable,
clusterName: "testCluster",
distribution: "AKS",
distributionVersion: "1.0",
identity: {
type: azure_native.kubernetes.ResourceIdentityType.SystemAssigned,
},
kind: azure_native.kubernetes.ConnectedClusterKind.ProvisionedCluster,
location: "East US",
resourceGroupName: "k8sc-rg",
tags: {},
});
import pulumi
import pulumi_azure_native as azure_native
connected_cluster = azure_native.kubernetes.ConnectedCluster("connectedCluster",
aad_profile={
"admin_group_object_ids": ["56f988bf-86f1-41af-91ab-2d7cd011db47"],
"enable_azure_rbac": True,
"tenant_id": "82f988bf-86f1-41af-91ab-2d7cd011db47",
},
agent_public_key_certificate="",
arc_agent_profile={
"agent_auto_upgrade": azure_native.kubernetes.AutoUpgradeOptions.ENABLED,
"desired_agent_version": "0.1.0",
"system_components": [{
"major_version": 0,
"type": "Strato",
"user_specified_version": "0.1.1",
}],
},
azure_hybrid_benefit=azure_native.kubernetes.AzureHybridBenefit.NOT_APPLICABLE,
cluster_name="testCluster",
distribution="AKS",
distribution_version="1.0",
identity={
"type": azure_native.kubernetes.ResourceIdentityType.SYSTEM_ASSIGNED,
},
kind=azure_native.kubernetes.ConnectedClusterKind.PROVISIONED_CLUSTER,
location="East US",
resource_group_name="k8sc-rg",
tags={})
resources:
connectedCluster:
type: azure-native:kubernetes:ConnectedCluster
properties:
aadProfile:
adminGroupObjectIDs:
- 56f988bf-86f1-41af-91ab-2d7cd011db47
enableAzureRBAC: true
tenantID: 82f988bf-86f1-41af-91ab-2d7cd011db47
agentPublicKeyCertificate: ""
arcAgentProfile:
agentAutoUpgrade: Enabled
desiredAgentVersion: 0.1.0
systemComponents:
- majorVersion: 0
type: Strato
userSpecifiedVersion: 0.1.1
azureHybridBenefit: NotApplicable
clusterName: testCluster
distribution: AKS
distributionVersion: '1.0'
identity:
type: SystemAssigned
kind: ProvisionedCluster
location: East US
resourceGroupName: k8sc-rg
tags: {}
Create ConnectedCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def ConnectedCluster(resource_name: str,
args: ConnectedClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectedCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
identity: Optional[ConnectedClusterIdentityArgs] = None,
agent_public_key_certificate: Optional[str] = None,
resource_group_name: Optional[str] = None,
infrastructure: Optional[str] = None,
cluster_name: Optional[str] = None,
distribution: Optional[str] = None,
distribution_version: Optional[str] = None,
azure_hybrid_benefit: Optional[Union[str, AzureHybridBenefit]] = None,
aad_profile: Optional[AadProfileArgs] = None,
kind: Optional[Union[str, ConnectedClusterKind]] = None,
location: Optional[str] = None,
private_link_scope_resource_id: Optional[str] = None,
private_link_state: Optional[Union[str, PrivateLinkState]] = None,
provisioning_state: Optional[Union[str, ProvisioningState]] = None,
arc_agent_profile: Optional[ArcAgentProfileArgs] = None,
tags: Optional[Mapping[str, str]] = None)
type: azure-native:kubernetes:ConnectedCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_kubernetes_connected_cluster" "name" {
# resource properties
}
Parameters
- resource_name
str
- The unique name of the resource.
- args
ConnectedClusterArgs
- 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
ConnectedClusterArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
ConnectedClusterArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var connectedClusterResource = new AzureNative.Kubernetes.ConnectedCluster("connectedClusterResource", new()
{
Identity = new AzureNative.Kubernetes.Inputs.ConnectedClusterIdentityArgs
{
Type = AzureNative.Kubernetes.ResourceIdentityType.None,
},
AgentPublicKeyCertificate = "string",
ResourceGroupName = "string",
Infrastructure = "string",
ClusterName = "string",
Distribution = "string",
DistributionVersion = "string",
AzureHybridBenefit = "string",
AadProfile = new AzureNative.Kubernetes.Inputs.AadProfileArgs
{
AdminGroupObjectIDs = new[]
{
"string",
},
EnableAzureRBAC = false,
TenantID = "string",
},
Kind = "string",
Location = "string",
PrivateLinkScopeResourceId = "string",
PrivateLinkState = "string",
ProvisioningState = "string",
ArcAgentProfile = new AzureNative.Kubernetes.Inputs.ArcAgentProfileArgs
{
AgentAutoUpgrade = "string",
DesiredAgentVersion = "string",
SystemComponents = new[]
{
new AzureNative.Kubernetes.Inputs.SystemComponentArgs
{
MajorVersion = 0,
Type = "string",
UserSpecifiedVersion = "string",
},
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := kubernetes.NewConnectedCluster(ctx, "connectedClusterResource", &kubernetes.ConnectedClusterArgs{
Identity: &kubernetes.ConnectedClusterIdentityArgs{
Type: kubernetes.ResourceIdentityTypeNone,
},
AgentPublicKeyCertificate: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Infrastructure: pulumi.String("string"),
ClusterName: pulumi.String("string"),
Distribution: pulumi.String("string"),
DistributionVersion: pulumi.String("string"),
AzureHybridBenefit: pulumi.String("string"),
AadProfile: &kubernetes.AadProfileArgs{
AdminGroupObjectIDs: pulumi.StringArray{
pulumi.String("string"),
},
EnableAzureRBAC: pulumi.Bool(false),
TenantID: pulumi.String("string"),
},
Kind: pulumi.String("string"),
Location: pulumi.String("string"),
PrivateLinkScopeResourceId: pulumi.String("string"),
PrivateLinkState: pulumi.String("string"),
ProvisioningState: pulumi.String("string"),
ArcAgentProfile: &kubernetes.ArcAgentProfileArgs{
AgentAutoUpgrade: pulumi.String("string"),
DesiredAgentVersion: pulumi.String("string"),
SystemComponents: kubernetes.SystemComponentArray{
&kubernetes.SystemComponentArgs{
MajorVersion: pulumi.Int(0),
Type: pulumi.String("string"),
UserSpecifiedVersion: pulumi.String("string"),
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "azure-native_kubernetes_connected_cluster" "connectedClusterResource" {
lifecycle {
create_before_destroy = true
}
identity = {
type = "None"
}
agent_public_key_certificate = "string"
resource_group_name = "string"
infrastructure = "string"
cluster_name = "string"
distribution = "string"
distribution_version = "string"
azure_hybrid_benefit = "string"
aad_profile = {
admin_group_object_i_ds = ["string"]
enable_azure_rbac = false
tenant_id = "string"
}
kind = "string"
location = "string"
private_link_scope_resource_id = "string"
private_link_state = "string"
provisioning_state = "string"
arc_agent_profile = {
agent_auto_upgrade = "string"
desired_agent_version = "string"
system_components = [{
major_version = 0
type = "string"
user_specified_version = "string"
}]
}
tags = {
"string" = "string"
}
}
var connectedClusterResource = new ConnectedCluster("connectedClusterResource", ConnectedClusterArgs.builder()
.identity(ConnectedClusterIdentityArgs.builder()
.type(com.pulumi.azurenative.kubernetes.enums.ResourceIdentityType.None)
.build())
.agentPublicKeyCertificate("string")
.resourceGroupName("string")
.infrastructure("string")
.clusterName("string")
.distribution("string")
.distributionVersion("string")
.azureHybridBenefit("string")
.aadProfile(AadProfileArgs.builder()
.adminGroupObjectIDs("string")
.enableAzureRBAC(false)
.tenantID("string")
.build())
.kind("string")
.location("string")
.privateLinkScopeResourceId("string")
.privateLinkState("string")
.provisioningState("string")
.arcAgentProfile(ArcAgentProfileArgs.builder()
.agentAutoUpgrade("string")
.desiredAgentVersion("string")
.systemComponents(SystemComponentArgs.builder()
.majorVersion(0)
.type("string")
.userSpecifiedVersion("string")
.build())
.build())
.tags(Map.of("string", "string"))
.build());
connected_cluster_resource = azure_native.kubernetes.ConnectedCluster("connectedClusterResource",
identity={
"type": azure_native.kubernetes.ResourceIdentityType.NONE,
},
agent_public_key_certificate="string",
resource_group_name="string",
infrastructure="string",
cluster_name="string",
distribution="string",
distribution_version="string",
azure_hybrid_benefit="string",
aad_profile={
"admin_group_object_ids": ["string"],
"enable_azure_rbac": False,
"tenant_id": "string",
},
kind="string",
location="string",
private_link_scope_resource_id="string",
private_link_state="string",
provisioning_state="string",
arc_agent_profile={
"agent_auto_upgrade": "string",
"desired_agent_version": "string",
"system_components": [{
"major_version": 0,
"type": "string",
"user_specified_version": "string",
}],
},
tags={
"string": "string",
})
const connectedClusterResource = new azure_native.kubernetes.ConnectedCluster("connectedClusterResource", {
identity: {
type: azure_native.kubernetes.ResourceIdentityType.None,
},
agentPublicKeyCertificate: "string",
resourceGroupName: "string",
infrastructure: "string",
clusterName: "string",
distribution: "string",
distributionVersion: "string",
azureHybridBenefit: "string",
aadProfile: {
adminGroupObjectIDs: ["string"],
enableAzureRBAC: false,
tenantID: "string",
},
kind: "string",
location: "string",
privateLinkScopeResourceId: "string",
privateLinkState: "string",
provisioningState: "string",
arcAgentProfile: {
agentAutoUpgrade: "string",
desiredAgentVersion: "string",
systemComponents: [{
majorVersion: 0,
type: "string",
userSpecifiedVersion: "string",
}],
},
tags: {
string: "string",
},
});
type: azure-native:kubernetes:ConnectedCluster
properties:
aadProfile:
adminGroupObjectIDs:
- string
enableAzureRBAC: false
tenantID: string
agentPublicKeyCertificate: string
arcAgentProfile:
agentAutoUpgrade: string
desiredAgentVersion: string
systemComponents:
- majorVersion: 0
type: string
userSpecifiedVersion: string
azureHybridBenefit: string
clusterName: string
distribution: string
distributionVersion: string
identity:
type: None
infrastructure: string
kind: string
location: string
privateLinkScopeResourceId: string
privateLinkState: string
provisioningState: string
resourceGroupName: string
tags:
string: string
ConnectedCluster 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 ConnectedCluster resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectedCluster resource produces the following output properties:
- AgentVersion
string
- Version of the agent running on the connected cluster resource
- AzureApiVersion
string
- The Azure API version of the resource.
- ConnectivityStatus
string
- Represents the connectivity status of the connected cluster.
- Id
string
- The provider-assigned unique ID for this managed resource.
- KubernetesVersion
string
- The Kubernetes version of the connected cluster resource
- LastConnectivityTime
string
- Time representing the last instance when heart beat was received from the cluster
- ManagedIdentityCertificateExpirationTime
string
- Expiration time of the managed identity certificate
- MiscellaneousProperties
map[string]string
- More properties related to the Connected Cluster
- Name
string
- The name of the resource
- Offering
string
- Connected cluster offering
- SystemData
SystemDataResponse
- Metadata pertaining to creation and last modification of the resource
- TotalCoreCount
int
- Number of CPU cores present in the connected cluster resource
- TotalNodeCount
int
- Number of nodes present in the connected cluster resource
- Type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- agentVersion
String
- Version of the agent running on the connected cluster resource
- azureApiVersion
String
- The Azure API version of the resource.
- connectivityStatus
String
- Represents the connectivity status of the connected cluster.
- id
String
- The provider-assigned unique ID for this managed resource.
- kubernetesVersion
String
- The Kubernetes version of the connected cluster resource
- lastConnectivityTime
String
- Time representing the last instance when heart beat was received from the cluster
- managedIdentityCertificateExpirationTime
String
- Expiration time of the managed identity certificate
- miscellaneousProperties
Map<String,String>
- More properties related to the Connected Cluster
- name
String
- The name of the resource
- offering
String
- Connected cluster offering
- systemData
SystemDataResponse
- Metadata pertaining to creation and last modification of the resource
- totalCoreCount
Integer
- Number of CPU cores present in the connected cluster resource
- totalNodeCount
Integer
- Number of nodes present in the connected cluster resource
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- agentVersion
string
- Version of the agent running on the connected cluster resource
- azureApiVersion
string
- The Azure API version of the resource.
- connectivityStatus
string
- Represents the connectivity status of the connected cluster.
- id
string
- The provider-assigned unique ID for this managed resource.
- kubernetesVersion
string
- The Kubernetes version of the connected cluster resource
- lastConnectivityTime
string
- Time representing the last instance when heart beat was received from the cluster
- managedIdentityCertificateExpirationTime
string
- Expiration time of the managed identity certificate
- miscellaneousProperties
{[key: string]: string}
- More properties related to the Connected Cluster
- name
string
- The name of the resource
- offering
string
- Connected cluster offering
- systemData
SystemDataResponse
- Metadata pertaining to creation and last modification of the resource
- totalCoreCount
number
- Number of CPU cores present in the connected cluster resource
- totalNodeCount
number
- Number of nodes present in the connected cluster resource
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- agentVersion
String
- Version of the agent running on the connected cluster resource
- azureApiVersion
String
- The Azure API version of the resource.
- connectivityStatus
String
- Represents the connectivity status of the connected cluster.
- id
String
- The provider-assigned unique ID for this managed resource.
- kubernetesVersion
String
- The Kubernetes version of the connected cluster resource
- lastConnectivityTime
String
- Time representing the last instance when heart beat was received from the cluster
- managedIdentityCertificateExpirationTime
String
- Expiration time of the managed identity certificate
- miscellaneousProperties
Map<String>
- More properties related to the Connected Cluster
- name
String
- The name of the resource
- offering
String
- Connected cluster offering
- systemData
Property Map
- Metadata pertaining to creation and last modification of the resource
- totalCoreCount
Number
- Number of CPU cores present in the connected cluster resource
- totalNodeCount
Number
- Number of nodes present in the connected cluster resource
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Look up Existing ConnectedCluster Resource
Get an existing ConnectedCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
func GetConnectedCluster(ctx *Context, name string, id IDInput, state *ConnectedClusterState, opts ...ResourceOption) (*ConnectedCluster, error)
public static ConnectedCluster get(String name, Output<String> id, CustomResourceOptions options)
resources: existingConnectedCluster: type: azure-native:kubernetes:ConnectedCluster get: id: ${id}
import {
to = azure-native_kubernetes_connected_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
ConnectedClusterState
- 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
AadProfile, AadProfileArgs
AAD Profile specifies attributes for Azure Active Directory integration.
- AdminGroupObjectIDs
List<string>
- The list of AAD group object IDs that will have admin role of the cluster.
- EnableAzureRBAC
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- EnableAzureRBAC
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enable_azure_rbac
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enableAzureRBAC
Boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enableAzureRBAC
boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enable_azure_rbac
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enableAzureRBAC
Boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- tenantID
String
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
AadProfileResponse
AAD Profile specifies attributes for Azure Active Directory integration.
- AdminGroupObjectIDs
List<string>
- The list of AAD group object IDs that will have admin role of the cluster.
- EnableAzureRBAC
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- EnableAzureRBAC
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enable_azure_rbac
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enableAzureRBAC
Boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enableAzureRBAC
boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enable_azure_rbac
bool
- Whether to enable Azure RBAC for Kubernetes authorization.
- 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.
- enableAzureRBAC
Boolean
- Whether to enable Azure RBAC for Kubernetes authorization.
- tenantID
String
- The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription.
AgentErrorResponse
Agent Errors if any during agent or system component upgrade.
- Component
string
- Agent component where error message occured.
- Message
string
- Agent error message.
- Severity
string
- Severity of the error message.
- Time
string
- The timestamp of error occured (UTC).
- Component
string
- Agent component where error message occured.
- Message
string
- Agent error message.
- Severity
string
- Severity of the error message.
- Time
string
- The timestamp of error occured (UTC).
- component
string
- Agent component where error message occured.
- message
string
- Agent error message.
- severity
string
- Severity of the error message.
- time
string
- The timestamp of error occured (UTC).
- component
String
- Agent component where error message occured.
- message
String
- Agent error message.
- severity
String
- Severity of the error message.
- time
String
- The timestamp of error occured (UTC).
- component
string
- Agent component where error message occured.
- message
string
- Agent error message.
- severity
string
- Severity of the error message.
- time
string
- The timestamp of error occured (UTC).
- component
str
- Agent component where error message occured.
- message
str
- Agent error message.
- severity
str
- Severity of the error message.
- time
str
- The timestamp of error occured (UTC).
- component
String
- Agent component where error message occured.
- message
String
- Agent error message.
- severity
String
- Severity of the error message.
- time
String
- The timestamp of error occured (UTC).
ArcAgentProfile, ArcAgentProfileArgs
Defines the Arc Agent properties for the clusters.
ArcAgentProfileResponse
Defines the Arc Agent properties for the clusters.
AutoUpgradeOptions
Indicates whether the Arc agents on the be upgraded automatically to the latest version. Defaults to Enabled.
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| AutoUpgradeOptionsEnabled | Enabled |
| AutoUpgradeOptionsDisabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| ENABLED | Enabled |
| DISABLED | Disabled |
AzureHybridBenefit
Indicates whether Azure Hybrid Benefit is opted in
| Name | Value |
|---|
| True | True |
| False | False |
| NotApplicable | NotApplicable |
| Name | Value |
|---|
| AzureHybridBenefitTrue | True |
| AzureHybridBenefitFalse | False |
| AzureHybridBenefitNotApplicable | NotApplicable |
| Value |
|---|
True |
False |
NotApplicable |
| Name | Value |
|---|
| True | True |
| False | False |
| NotApplicable | NotApplicable |
| Name | Value |
|---|
| True | True |
| False | False |
| NotApplicable | NotApplicable |
| Name | Value |
|---|
| TRUE | True |
| FALSE | False |
| NOT_APPLICABLE | NotApplicable |
| Value |
|---|
True |
False |
NotApplicable |
ConnectedClusterIdentity, ConnectedClusterIdentityArgs
Identity for the connected cluster.
- Type
ResourceIdentityType
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- type
"None" | "SystemAssigned"
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- type
ResourceIdentityType
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- type
ResourceIdentityType
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- type
ResourceIdentityType
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- type
"None" | "SystemAssigned"
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
ConnectedClusterIdentityResponse
Identity for the connected cluster.
- PrincipalId
string
- The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
- TenantId
string
- The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
- Type
string
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- PrincipalId
string
- The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
- TenantId
string
- The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
- Type
string
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- principal_id
string
- The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
- tenant_id
string
- The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
- type
string
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- principalId
String
- The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
- tenantId
String
- The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
- type
String
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- principalId
string
- The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
- tenantId
string
- The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
- type
string
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- principal_id
str
- The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
- tenant_id
str
- The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
- type
str
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
- principalId
String
- The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
- tenantId
String
- The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
- type
String
- The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
ConnectedClusterKind
The kind of connected cluster.
| Name | Value |
|---|
| ProvisionedCluster | ProvisionedCluster |
| Name | Value |
|---|
| ConnectedClusterKindProvisionedCluster | ProvisionedCluster |
| Name | Value |
|---|
| ProvisionedCluster | ProvisionedCluster |
| Name | Value |
|---|
| ProvisionedCluster | ProvisionedCluster |
| Name | Value |
|---|
| PROVISIONED_CLUSTER | ProvisionedCluster |
PrivateLinkState
Property which describes the state of private link on a connected cluster resource.
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| PrivateLinkStateEnabled | Enabled |
| PrivateLinkStateDisabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| Enabled | Enabled |
| Disabled | Disabled |
| Name | Value |
|---|
| ENABLED | Enabled |
| DISABLED | Disabled |
ProvisioningState
Provisioning state of the connected cluster resource.
| Name | Value |
|---|
| Succeeded | Succeeded |
| Failed | Failed |
| Canceled | Canceled |
| Provisioning | Provisioning |
| Updating | Updating |
| Deleting | Deleting |
| Accepted | Accepted |
| Name | Value |
|---|
| ProvisioningStateSucceeded | Succeeded |
| ProvisioningStateFailed | Failed |
| ProvisioningStateCanceled | Canceled |
| ProvisioningStateProvisioning | Provisioning |
| ProvisioningStateUpdating | Updating |
| ProvisioningStateDeleting | Deleting |
| ProvisioningStateAccepted | Accepted |
| Value |
|---|
Succeeded |
Failed |
Canceled |
Provisioning |
Updating |
Deleting |
Accepted |
| Name | Value |
|---|
| Succeeded | Succeeded |
| Failed | Failed |
| Canceled | Canceled |
| Provisioning | Provisioning |
| Updating | Updating |
| Deleting | Deleting |
| Accepted | Accepted |
| Name | Value |
|---|
| Succeeded | Succeeded |
| Failed | Failed |
| Canceled | Canceled |
| Provisioning | Provisioning |
| Updating | Updating |
| Deleting | Deleting |
| Accepted | Accepted |
| Name | Value |
|---|
| SUCCEEDED | Succeeded |
| FAILED | Failed |
| CANCELED | Canceled |
| PROVISIONING | Provisioning |
| UPDATING | Updating |
| DELETING | Deleting |
| ACCEPTED | Accepted |
| Value |
|---|
Succeeded |
Failed |
Canceled |
Provisioning |
Updating |
Deleting |
Accepted |
ResourceIdentityType
The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster.
| Name | Value |
|---|
| None | None |
| SystemAssigned | SystemAssigned |
| Name | Value |
|---|
| ResourceIdentityTypeNone | None |
| ResourceIdentityTypeSystemAssigned | SystemAssigned |
| Name | Value |
|---|
| None | None |
| SystemAssigned | SystemAssigned |
| Name | Value |
|---|
| None | None |
| SystemAssigned | SystemAssigned |
| Name | Value |
|---|
| NONE | None |
| SYSTEM_ASSIGNED | SystemAssigned |
SystemComponent, SystemComponentArgs
System Extension and its desired versions to be installed on the cluster resource.
- MajorVersion
int
- Major Version of the system extension to be installed on the cluster resource.
- Type
string
- Type of the system extension
- UserSpecifiedVersion
string
- Version of the system extension to be installed on the cluster resource.
- MajorVersion
int
- Major Version of the system extension to be installed on the cluster resource.
- Type
string
- Type of the system extension
- UserSpecifiedVersion
string
- Version of the system extension to be installed on the cluster resource.
- major_version
number
- Major Version of the system extension to be installed on the cluster resource.
- type
string
- Type of the system extension
- user_specified_version
string
- Version of the system extension to be installed on the cluster resource.
- majorVersion
Integer
- Major Version of the system extension to be installed on the cluster resource.
- type
String
- Type of the system extension
- userSpecifiedVersion
String
- Version of the system extension to be installed on the cluster resource.
- majorVersion
number
- Major Version of the system extension to be installed on the cluster resource.
- type
string
- Type of the system extension
- userSpecifiedVersion
string
- Version of the system extension to be installed on the cluster resource.
- major_version
int
- Major Version of the system extension to be installed on the cluster resource.
- type
str
- Type of the system extension
- user_specified_version
str
- Version of the system extension to be installed on the cluster resource.
- majorVersion
Number
- Major Version of the system extension to be installed on the cluster resource.
- type
String
- Type of the system extension
- userSpecifiedVersion
String
- Version of the system extension to be installed on the cluster resource.
SystemComponentResponse
System Extension and its desired versions to be installed on the cluster resource.
- CurrentVersion
string
- Version of the system extension is currently installed on the cluster resource.
- MajorVersion
int
- Major Version of the system extension to be installed on the cluster resource.
- Type
string
- Type of the system extension
- UserSpecifiedVersion
string
- Version of the system extension to be installed on the cluster resource.
- CurrentVersion
string
- Version of the system extension is currently installed on the cluster resource.
- MajorVersion
int
- Major Version of the system extension to be installed on the cluster resource.
- Type
string
- Type of the system extension
- UserSpecifiedVersion
string
- Version of the system extension to be installed on the cluster resource.
- current_version
string
- Version of the system extension is currently installed on the cluster resource.
- major_version
number
- Major Version of the system extension to be installed on the cluster resource.
- type
string
- Type of the system extension
- user_specified_version
string
- Version of the system extension to be installed on the cluster resource.
- currentVersion
String
- Version of the system extension is currently installed on the cluster resource.
- majorVersion
Integer
- Major Version of the system extension to be installed on the cluster resource.
- type
String
- Type of the system extension
- userSpecifiedVersion
String
- Version of the system extension to be installed on the cluster resource.
- currentVersion
string
- Version of the system extension is currently installed on the cluster resource.
- majorVersion
number
- Major Version of the system extension to be installed on the cluster resource.
- type
string
- Type of the system extension
- userSpecifiedVersion
string
- Version of the system extension to be installed on the cluster resource.
- current_version
str
- Version of the system extension is currently installed on the cluster resource.
- major_version
int
- Major Version of the system extension to be installed on the cluster resource.
- type
str
- Type of the system extension
- user_specified_version
str
- Version of the system extension to be installed on the cluster resource.
- currentVersion
String
- Version of the system extension is currently installed on the cluster resource.
- majorVersion
Number
- Major Version of the system extension to be installed on the cluster resource.
- type
String
- Type of the system extension
- userSpecifiedVersion
String
- Version of the system extension to be installed on the cluster resource.
SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource modification (UTC).
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource modification (UTC).
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource modification (UTC).
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
- createdAt
string
- The timestamp of resource creation (UTC).
- createdBy
string
- The identity that created the resource.
- createdByType
string
- The type of identity that created the resource.
- lastModifiedAt
string
- The timestamp of resource modification (UTC).
- lastModifiedBy
string
- The identity that last modified the resource.
- lastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource modification (UTC).
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:kubernetes:ConnectedCluster connectedCluster1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0