We recommend using Azure Native.
azure.arckubernetes.Cluster
Explore with Pulumi AI
Manages an Arc Kubernetes Cluster.
Note: Installing and configuring the Azure Arc Agent on your Kubernetes Cluster to establish connectivity is outside the scope of this document. For more details refer to Deploy agents to your cluster and Connect an existing Kubernetes Cluster. If you encounter issues connecting your Kubernetes Cluster to Azure Arc, we’d recommend opening a ticket with Microsoft Support.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as std from "@pulumi/std";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleCluster = new azure.arckubernetes.Cluster("example", {
name: "example-akcc",
resourceGroupName: example.name,
location: "West Europe",
agentPublicKeyCertificate: std.filebase64({
input: "testdata/public.cer",
}).then(invoke => invoke.result),
identity: {
type: "SystemAssigned",
},
tags: {
ENV: "Test",
},
});
import pulumi
import pulumi_azure as azure
import pulumi_std as std
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_cluster = azure.arckubernetes.Cluster("example",
name="example-akcc",
resource_group_name=example.name,
location="West Europe",
agent_public_key_certificate=std.filebase64(input="testdata/public.cer").result,
identity=azure.arckubernetes.ClusterIdentityArgs(
type="SystemAssigned",
),
tags={
"ENV": "Test",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/arckubernetes"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{
Input: "testdata/public.cer",
}, nil)
if err != nil {
return err
}
_, err = arckubernetes.NewCluster(ctx, "example", &arckubernetes.ClusterArgs{
Name: pulumi.String("example-akcc"),
ResourceGroupName: example.Name,
Location: pulumi.String("West Europe"),
AgentPublicKeyCertificate: invokeFilebase64.Result,
Identity: &arckubernetes.ClusterIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
Tags: pulumi.StringMap{
"ENV": pulumi.String("Test"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleCluster = new Azure.ArcKubernetes.Cluster("example", new()
{
Name = "example-akcc",
ResourceGroupName = example.Name,
Location = "West Europe",
AgentPublicKeyCertificate = Std.Filebase64.Invoke(new()
{
Input = "testdata/public.cer",
}).Apply(invoke => invoke.Result),
Identity = new Azure.ArcKubernetes.Inputs.ClusterIdentityArgs
{
Type = "SystemAssigned",
},
Tags =
{
{ "ENV", "Test" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.arckubernetes.Cluster;
import com.pulumi.azure.arckubernetes.ClusterArgs;
import com.pulumi.azure.arckubernetes.inputs.ClusterIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
.name("example-akcc")
.resourceGroupName(example.name())
.location("West Europe")
.agentPublicKeyCertificate(StdFunctions.filebase64(Filebase64Args.builder()
.input("testdata/public.cer")
.build()).result())
.identity(ClusterIdentityArgs.builder()
.type("SystemAssigned")
.build())
.tags(Map.of("ENV", "Test"))
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleCluster:
type: azure:arckubernetes:Cluster
name: example
properties:
name: example-akcc
resourceGroupName: ${example.name}
location: West Europe
agentPublicKeyCertificate:
fn::invoke:
Function: std:filebase64
Arguments:
input: testdata/public.cer
Return: result
identity:
type: SystemAssigned
tags:
ENV: Test
Note: An extensive example on connecting the
azure.arckubernetes.Cluster
to an external kubernetes cluster can be found in the./examples/arckubernetes
directory within the GitHub Repository.
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
args: ClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_public_key_certificate: Optional[str] = None,
identity: Optional[ClusterIdentityArgs] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: azure:arckubernetes:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterArgs
- 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 ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- 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 clusterResource = new Azure.ArcKubernetes.Cluster("clusterResource", new()
{
AgentPublicKeyCertificate = "string",
Identity = new Azure.ArcKubernetes.Inputs.ClusterIdentityArgs
{
Type = "string",
PrincipalId = "string",
TenantId = "string",
},
ResourceGroupName = "string",
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := arckubernetes.NewCluster(ctx, "clusterResource", &arckubernetes.ClusterArgs{
AgentPublicKeyCertificate: pulumi.String("string"),
Identity: &arckubernetes.ClusterIdentityArgs{
Type: pulumi.String("string"),
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var clusterResource = new Cluster("clusterResource", ClusterArgs.builder()
.agentPublicKeyCertificate("string")
.identity(ClusterIdentityArgs.builder()
.type("string")
.principalId("string")
.tenantId("string")
.build())
.resourceGroupName("string")
.location("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
cluster_resource = azure.arckubernetes.Cluster("clusterResource",
agent_public_key_certificate="string",
identity=azure.arckubernetes.ClusterIdentityArgs(
type="string",
principal_id="string",
tenant_id="string",
),
resource_group_name="string",
location="string",
name="string",
tags={
"string": "string",
})
const clusterResource = new azure.arckubernetes.Cluster("clusterResource", {
agentPublicKeyCertificate: "string",
identity: {
type: "string",
principalId: "string",
tenantId: "string",
},
resourceGroupName: "string",
location: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure:arckubernetes:Cluster
properties:
agentPublicKeyCertificate: string
identity:
principalId: string
tenantId: string
type: string
location: string
name: string
resourceGroupName: string
tags:
string: string
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Cluster resource accepts the following input properties:
- Agent
Public stringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- Identity
Cluster
Identity - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - Resource
Group stringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Location string
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Name string
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- Agent
Public stringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- Identity
Cluster
Identity Args - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - Resource
Group stringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Location string
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Name string
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- map[string]string
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- agent
Public StringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- identity
Cluster
Identity - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - resource
Group StringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- location String
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- name String
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- agent
Public stringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- identity
Cluster
Identity - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - resource
Group stringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- location string
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- name string
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- agent_
public_ strkey_ certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- identity
Cluster
Identity Args - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - resource_
group_ strname - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- location str
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- name str
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- agent
Public StringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- identity Property Map
- An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - resource
Group StringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- location String
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- name String
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- Map<String>
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Agent
Version string - Version of the agent running on the cluster resource.
- Distribution string
- The distribution running on this Arc Kubernetes Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Infrastructure string
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- Kubernetes
Version string - The Kubernetes version of the cluster resource.
- Offering string
- The cluster offering.
- Total
Core intCount - Number of CPU cores present in the cluster resource.
- Total
Node intCount - Number of nodes present in the cluster resource.
- Agent
Version string - Version of the agent running on the cluster resource.
- Distribution string
- The distribution running on this Arc Kubernetes Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Infrastructure string
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- Kubernetes
Version string - The Kubernetes version of the cluster resource.
- Offering string
- The cluster offering.
- Total
Core intCount - Number of CPU cores present in the cluster resource.
- Total
Node intCount - Number of nodes present in the cluster resource.
- agent
Version String - Version of the agent running on the cluster resource.
- distribution String
- The distribution running on this Arc Kubernetes Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- infrastructure String
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- kubernetes
Version String - The Kubernetes version of the cluster resource.
- offering String
- The cluster offering.
- total
Core IntegerCount - Number of CPU cores present in the cluster resource.
- total
Node IntegerCount - Number of nodes present in the cluster resource.
- agent
Version string - Version of the agent running on the cluster resource.
- distribution string
- The distribution running on this Arc Kubernetes Cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- infrastructure string
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- kubernetes
Version string - The Kubernetes version of the cluster resource.
- offering string
- The cluster offering.
- total
Core numberCount - Number of CPU cores present in the cluster resource.
- total
Node numberCount - Number of nodes present in the cluster resource.
- agent_
version str - Version of the agent running on the cluster resource.
- distribution str
- The distribution running on this Arc Kubernetes Cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- infrastructure str
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- kubernetes_
version str - The Kubernetes version of the cluster resource.
- offering str
- The cluster offering.
- total_
core_ intcount - Number of CPU cores present in the cluster resource.
- total_
node_ intcount - Number of nodes present in the cluster resource.
- agent
Version String - Version of the agent running on the cluster resource.
- distribution String
- The distribution running on this Arc Kubernetes Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- infrastructure String
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- kubernetes
Version String - The Kubernetes version of the cluster resource.
- offering String
- The cluster offering.
- total
Core NumberCount - Number of CPU cores present in the cluster resource.
- total
Node NumberCount - Number of nodes present in the cluster resource.
Look up Existing Cluster Resource
Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_public_key_certificate: Optional[str] = None,
agent_version: Optional[str] = None,
distribution: Optional[str] = None,
identity: Optional[ClusterIdentityArgs] = None,
infrastructure: Optional[str] = None,
kubernetes_version: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
offering: Optional[str] = None,
resource_group_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
total_core_count: Optional[int] = None,
total_node_count: Optional[int] = None) -> Cluster
func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Agent
Public stringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- Agent
Version string - Version of the agent running on the cluster resource.
- Distribution string
- The distribution running on this Arc Kubernetes Cluster.
- Identity
Cluster
Identity - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - Infrastructure string
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- Kubernetes
Version string - The Kubernetes version of the cluster resource.
- Location string
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Name string
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- Offering string
- The cluster offering.
- Resource
Group stringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- Total
Core intCount - Number of CPU cores present in the cluster resource.
- Total
Node intCount - Number of nodes present in the cluster resource.
- Agent
Public stringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- Agent
Version string - Version of the agent running on the cluster resource.
- Distribution string
- The distribution running on this Arc Kubernetes Cluster.
- Identity
Cluster
Identity Args - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - Infrastructure string
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- Kubernetes
Version string - The Kubernetes version of the cluster resource.
- Location string
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Name string
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- Offering string
- The cluster offering.
- Resource
Group stringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- map[string]string
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- Total
Core intCount - Number of CPU cores present in the cluster resource.
- Total
Node intCount - Number of nodes present in the cluster resource.
- agent
Public StringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- agent
Version String - Version of the agent running on the cluster resource.
- distribution String
- The distribution running on this Arc Kubernetes Cluster.
- identity
Cluster
Identity - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - infrastructure String
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- kubernetes
Version String - The Kubernetes version of the cluster resource.
- location String
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- name String
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- offering String
- The cluster offering.
- resource
Group StringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- total
Core IntegerCount - Number of CPU cores present in the cluster resource.
- total
Node IntegerCount - Number of nodes present in the cluster resource.
- agent
Public stringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- agent
Version string - Version of the agent running on the cluster resource.
- distribution string
- The distribution running on this Arc Kubernetes Cluster.
- identity
Cluster
Identity - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - infrastructure string
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- kubernetes
Version string - The Kubernetes version of the cluster resource.
- location string
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- name string
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- offering string
- The cluster offering.
- resource
Group stringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- total
Core numberCount - Number of CPU cores present in the cluster resource.
- total
Node numberCount - Number of nodes present in the cluster resource.
- agent_
public_ strkey_ certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- agent_
version str - Version of the agent running on the cluster resource.
- distribution str
- The distribution running on this Arc Kubernetes Cluster.
- identity
Cluster
Identity Args - An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - infrastructure str
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- kubernetes_
version str - The Kubernetes version of the cluster resource.
- location str
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- name str
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- offering str
- The cluster offering.
- resource_
group_ strname - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- total_
core_ intcount - Number of CPU cores present in the cluster resource.
- total_
node_ intcount - Number of nodes present in the cluster resource.
- agent
Public StringKey Certificate - Specifies the base64-encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. Changing this forces a new Arc Kubernetes Cluster to be created.
- agent
Version String - Version of the agent running on the cluster resource.
- distribution String
- The distribution running on this Arc Kubernetes Cluster.
- identity Property Map
- An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster to be created. - infrastructure String
- The infrastructure on which the Arc Kubernetes Cluster is running on.
- kubernetes
Version String - The Kubernetes version of the cluster resource.
- location String
- Specifies the Azure Region where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- name String
- Specifies the name which should be used for this Arc Kubernetes Cluster. Changing this forces a new Arc Kubernetes Cluster to be created.
- offering String
- The cluster offering.
- resource
Group StringName - Specifies the name of the Resource Group where the Arc Kubernetes Cluster should exist. Changing this forces a new Arc Kubernetes Cluster to be created.
- Map<String>
- A mapping of tags which should be assigned to the Arc Kubernetes Cluster.
- total
Core NumberCount - Number of CPU cores present in the cluster resource.
- total
Node NumberCount - Number of nodes present in the cluster resource.
Supporting Types
ClusterIdentity, ClusterIdentityArgs
- Type string
- Specifies the type of Managed Service Identity assigned to this Arc Kubernetes Cluster. At this time the only possible value is
SystemAssigned
. Changing this forces a new resource to be created. - Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- Type string
- Specifies the type of Managed Service Identity assigned to this Arc Kubernetes Cluster. At this time the only possible value is
SystemAssigned
. Changing this forces a new resource to be created. - Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity assigned to this Arc Kubernetes Cluster. At this time the only possible value is
SystemAssigned
. Changing this forces a new resource to be created. - principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
- type string
- Specifies the type of Managed Service Identity assigned to this Arc Kubernetes Cluster. At this time the only possible value is
SystemAssigned
. Changing this forces a new resource to be created. - principal
Id string - The Principal ID associated with this Managed Service Identity.
- tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- type str
- Specifies the type of Managed Service Identity assigned to this Arc Kubernetes Cluster. At this time the only possible value is
SystemAssigned
. Changing this forces a new resource to be created. - principal_
id str - The Principal ID associated with this Managed Service Identity.
- tenant_
id str - The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity assigned to this Arc Kubernetes Cluster. At this time the only possible value is
SystemAssigned
. Changing this forces a new resource to be created. - principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
Import
Arc Kubernetes Cluster can be imported using the resource id
, e.g.
$ pulumi import azure:arckubernetes/cluster:Cluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Kubernetes/connectedClusters/cluster1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.