1. Packages
  2. Azure Native v2
  3. API Docs
  4. kubernetes
  5. ConnectedCluster
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.kubernetes.ConnectedCluster

Explore with Pulumi AI

Represents a connected cluster. Azure REST API version: 2022-05-01-preview. Prior API version in Azure Native 1.x: 2021-03-01.

Other available API versions: 2022-10-01-preview, 2023-11-01-preview, 2024-01-01, 2024-02-01-preview, 2024-06-01-preview, 2024-07-01-preview, 2024-07-15-preview, 2024-12-01-preview.

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",
        ClusterName = "testCluster",
        Identity = new AzureNative.Kubernetes.Inputs.ConnectedClusterIdentityArgs
        {
            Type = AzureNative.Kubernetes.ResourceIdentityType.SystemAssigned,
        },
        Location = "East US",
        ResourceGroupName = "k8sc-rg",
        Tags = null,
    });

});
Copy
package main

import (
	kubernetes "github.com/pulumi/pulumi-azure-native-sdk/kubernetes/v2"
	"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"),
			ClusterName:               pulumi.String("testCluster"),
			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
	})
}
Copy
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.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var 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")
            .clusterName("testCluster")
            .identity(ConnectedClusterIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .location("East US")
            .resourceGroupName("k8sc-rg")
            .tags()
            .build());

    }
}
Copy
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",
    clusterName: "testCluster",
    identity: {
        type: azure_native.kubernetes.ResourceIdentityType.SystemAssigned,
    },
    location: "East US",
    resourceGroupName: "k8sc-rg",
    tags: {},
});
Copy
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",
    cluster_name="testCluster",
    identity={
        "type": azure_native.kubernetes.ResourceIdentityType.SYSTEM_ASSIGNED,
    },
    location="East US",
    resource_group_name="k8sc-rg",
    tags={})
Copy
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
      clusterName: testCluster
      identity:
        type: SystemAssigned
      location: East US
      resourceGroupName: k8sc-rg
      tags: {}
Copy

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",
        ClusterName = "testClusterPvtLink",
        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 = null,
    });

});
Copy
package main

import (
	kubernetes "github.com/pulumi/pulumi-azure-native-sdk/kubernetes/v2"
	"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"),
			ClusterName:               pulumi.String("testClusterPvtLink"),
			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
	})
}
Copy
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.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var 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")
            .clusterName("testClusterPvtLink")
            .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()
            .build());

    }
}
Copy
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",
    clusterName: "testClusterPvtLink",
    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: {},
});
Copy
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",
    cluster_name="testClusterPvtLink",
    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={})
Copy
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
      clusterName: testClusterPvtLink
      identity:
        type: SystemAssigned
      location: East US
      privateLinkScopeResourceId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName
      privateLinkState: Enabled
      resourceGroupName: k8sc-rg
      tags: {}
Copy

Create ConnectedCluster Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ConnectedCluster(name: string, args: ConnectedClusterArgs, opts?: CustomResourceOptions);
@overload
def ConnectedCluster(resource_name: str,
                     args: ConnectedClusterArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def ConnectedCluster(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     agent_public_key_certificate: Optional[str] = None,
                     identity: Optional[ConnectedClusterIdentityArgs] = None,
                     resource_group_name: Optional[str] = None,
                     cluster_name: Optional[str] = None,
                     distribution: Optional[str] = None,
                     infrastructure: Optional[str] = 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,
                     tags: Optional[Mapping[str, str]] = None)
func NewConnectedCluster(ctx *Context, name string, args ConnectedClusterArgs, opts ...ResourceOption) (*ConnectedCluster, error)
public ConnectedCluster(string name, ConnectedClusterArgs args, CustomResourceOptions? opts = null)
public ConnectedCluster(String name, ConnectedClusterArgs args)
public ConnectedCluster(String name, ConnectedClusterArgs args, CustomResourceOptions options)
type: azure-native:kubernetes:ConnectedCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ConnectedClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ConnectedClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConnectedClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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()
{
    AgentPublicKeyCertificate = "string",
    Identity = 
    {
        { "type", "None" },
    },
    ResourceGroupName = "string",
    ClusterName = "string",
    Distribution = "string",
    Infrastructure = "string",
    Location = "string",
    PrivateLinkScopeResourceId = "string",
    PrivateLinkState = "string",
    ProvisioningState = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := kubernetes.NewConnectedCluster(ctx, "connectedClusterResource", &kubernetes.ConnectedClusterArgs{
	AgentPublicKeyCertificate: "string",
	Identity: map[string]interface{}{
		"type": "None",
	},
	ResourceGroupName:          "string",
	ClusterName:                "string",
	Distribution:               "string",
	Infrastructure:             "string",
	Location:                   "string",
	PrivateLinkScopeResourceId: "string",
	PrivateLinkState:           "string",
	ProvisioningState:          "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var connectedClusterResource = new ConnectedCluster("connectedClusterResource", ConnectedClusterArgs.builder()
    .agentPublicKeyCertificate("string")
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .clusterName("string")
    .distribution("string")
    .infrastructure("string")
    .location("string")
    .privateLinkScopeResourceId("string")
    .privateLinkState("string")
    .provisioningState("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
connected_cluster_resource = azure_native.kubernetes.ConnectedCluster("connectedClusterResource",
    agent_public_key_certificate=string,
    identity={
        type: None,
    },
    resource_group_name=string,
    cluster_name=string,
    distribution=string,
    infrastructure=string,
    location=string,
    private_link_scope_resource_id=string,
    private_link_state=string,
    provisioning_state=string,
    tags={
        string: string,
    })
Copy
const connectedClusterResource = new azure_native.kubernetes.ConnectedCluster("connectedClusterResource", {
    agentPublicKeyCertificate: "string",
    identity: {
        type: "None",
    },
    resourceGroupName: "string",
    clusterName: "string",
    distribution: "string",
    infrastructure: "string",
    location: "string",
    privateLinkScopeResourceId: "string",
    privateLinkState: "string",
    provisioningState: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:kubernetes:ConnectedCluster
properties:
    agentPublicKeyCertificate: string
    clusterName: string
    distribution: string
    identity:
        type: None
    infrastructure: string
    location: string
    privateLinkScopeResourceId: string
    privateLinkState: string
    provisioningState: string
    resourceGroupName: string
    tags:
        string: string
Copy

ConnectedCluster Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

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:

AgentPublicKeyCertificate This property is required. string
Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
Identity This property is required. Pulumi.AzureNative.Kubernetes.Inputs.ConnectedClusterIdentity
The identity of the connected cluster.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ClusterName Changes to this property will trigger replacement. string
The name of the Kubernetes cluster on which get is called.
Distribution string
The Kubernetes distribution running on this connected cluster.
Infrastructure string
The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
PrivateLinkScopeResourceId string
The resource id of the private link scope this connected cluster is assigned to, if any.
PrivateLinkState string | Pulumi.AzureNative.Kubernetes.PrivateLinkState
Property which describes the state of private link on a connected cluster resource.
ProvisioningState string | Pulumi.AzureNative.Kubernetes.ProvisioningState
Provisioning state of the connected cluster resource.
Tags Dictionary<string, string>
Resource tags.
AgentPublicKeyCertificate This property is required. string
Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
Identity This property is required. ConnectedClusterIdentityArgs
The identity of the connected cluster.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ClusterName Changes to this property will trigger replacement. string
The name of the Kubernetes cluster on which get is called.
Distribution string
The Kubernetes distribution running on this connected cluster.
Infrastructure string
The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
PrivateLinkScopeResourceId string
The resource id of the private link scope this connected cluster is assigned to, if any.
PrivateLinkState string | PrivateLinkState
Property which describes the state of private link on a connected cluster resource.
ProvisioningState string | ProvisioningState
Provisioning state of the connected cluster resource.
Tags map[string]string
Resource tags.
agentPublicKeyCertificate This property is required. String
Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
identity This property is required. ConnectedClusterIdentity
The identity of the connected cluster.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
clusterName Changes to this property will trigger replacement. String
The name of the Kubernetes cluster on which get is called.
distribution String
The Kubernetes distribution running on this connected cluster.
infrastructure String
The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
privateLinkScopeResourceId String
The resource id of the private link scope this connected cluster is assigned to, if any.
privateLinkState String | PrivateLinkState
Property which describes the state of private link on a connected cluster resource.
provisioningState String | ProvisioningState
Provisioning state of the connected cluster resource.
tags Map<String,String>
Resource tags.
agentPublicKeyCertificate This property is required. string
Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
identity This property is required. ConnectedClusterIdentity
The identity of the connected cluster.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
clusterName Changes to this property will trigger replacement. string
The name of the Kubernetes cluster on which get is called.
distribution string
The Kubernetes distribution running on this connected cluster.
infrastructure string
The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
privateLinkScopeResourceId string
The resource id of the private link scope this connected cluster is assigned to, if any.
privateLinkState string | PrivateLinkState
Property which describes the state of private link on a connected cluster resource.
provisioningState string | ProvisioningState
Provisioning state of the connected cluster resource.
tags {[key: string]: string}
Resource tags.
agent_public_key_certificate This property is required. str
Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
identity This property is required. ConnectedClusterIdentityArgs
The identity of the connected cluster.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
cluster_name Changes to this property will trigger replacement. str
The name of the Kubernetes cluster on which get is called.
distribution str
The Kubernetes distribution running on this connected cluster.
infrastructure str
The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
private_link_scope_resource_id str
The resource id of the private link scope this connected cluster is assigned to, if any.
private_link_state str | PrivateLinkState
Property which describes the state of private link on a connected cluster resource.
provisioning_state str | ProvisioningState
Provisioning state of the connected cluster resource.
tags Mapping[str, str]
Resource tags.
agentPublicKeyCertificate This property is required. String
Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.
identity This property is required. Property Map
The identity of the connected cluster.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
clusterName Changes to this property will trigger replacement. String
The name of the Kubernetes cluster on which get is called.
distribution String
The Kubernetes distribution running on this connected cluster.
infrastructure String
The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
privateLinkScopeResourceId String
The resource id of the private link scope this connected cluster is assigned to, if any.
privateLinkState String | "Enabled" | "Disabled"
Property which describes the state of private link on a connected cluster resource.
provisioningState String | "Succeeded" | "Failed" | "Canceled" | "Provisioning" | "Updating" | "Deleting" | "Accepted"
Provisioning state of the connected cluster resource.
tags Map<String>
Resource tags.

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
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
Name string
The name of the resource
Offering string
Connected cluster offering
SystemData Pulumi.AzureNative.Kubernetes.Outputs.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
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
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
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
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
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
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"
agent_version str
Version of the agent running on the connected cluster resource
connectivity_status str
Represents the connectivity status of the connected cluster.
id str
The provider-assigned unique ID for this managed resource.
kubernetes_version str
The Kubernetes version of the connected cluster resource
last_connectivity_time str
Time representing the last instance when heart beat was received from the cluster
managed_identity_certificate_expiration_time str
Expiration time of the managed identity certificate
name str
The name of the resource
offering str
Connected cluster offering
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource
total_core_count int
Number of CPU cores present in the connected cluster resource
total_node_count int
Number of nodes present in the connected cluster resource
type str
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
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
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"

Supporting Types

ConnectedClusterIdentity
, ConnectedClusterIdentityArgs

Type This property is required. Pulumi.AzureNative.Kubernetes.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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. "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
, ConnectedClusterIdentityResponseArgs

PrincipalId This property is required. string
The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
Type This property is required. 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 This property is required. string
The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
Type This property is required. 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 This property is required. String
The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
type This property is required. 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 This property is required. string
The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
tenantId This property is required. string
The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
type This property is required. 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 This property is required. str
The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
tenant_id This property is required. str
The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
type This property is required. 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 This property is required. String
The principal id of connected cluster identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity.
type This property is required. 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.

PrivateLinkState
, PrivateLinkStateArgs

Enabled
Enabled
Disabled
Disabled
PrivateLinkStateEnabled
Enabled
PrivateLinkStateDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

ProvisioningState
, ProvisioningStateArgs

Succeeded
Succeeded
Failed
Failed
Canceled
Canceled
Provisioning
Provisioning
Updating
Updating
Deleting
Deleting
Accepted
Accepted
ProvisioningStateSucceeded
Succeeded
ProvisioningStateFailed
Failed
ProvisioningStateCanceled
Canceled
ProvisioningStateProvisioning
Provisioning
ProvisioningStateUpdating
Updating
ProvisioningStateDeleting
Deleting
ProvisioningStateAccepted
Accepted
Succeeded
Succeeded
Failed
Failed
Canceled
Canceled
Provisioning
Provisioning
Updating
Updating
Deleting
Deleting
Accepted
Accepted
Succeeded
Succeeded
Failed
Failed
Canceled
Canceled
Provisioning
Provisioning
Updating
Updating
Deleting
Deleting
Accepted
Accepted
SUCCEEDED
Succeeded
FAILED
Failed
CANCELED
Canceled
PROVISIONING
Provisioning
UPDATING
Updating
DELETING
Deleting
ACCEPTED
Accepted
"Succeeded"
Succeeded
"Failed"
Failed
"Canceled"
Canceled
"Provisioning"
Provisioning
"Updating"
Updating
"Deleting"
Deleting
"Accepted"
Accepted

ResourceIdentityType
, ResourceIdentityTypeArgs

None
None
SystemAssigned
SystemAssigned
ResourceIdentityTypeNone
None
ResourceIdentityTypeSystemAssigned
SystemAssigned
None
None
SystemAssigned
SystemAssigned
None
None
SystemAssigned
SystemAssigned
NONE
None
SYSTEM_ASSIGNED
SystemAssigned
"None"
None
"SystemAssigned"
SystemAssigned

SystemDataResponse
, SystemDataResponseArgs

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.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource modification (UTC).
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0