Azure Classic v5.43.0, May 6 23
Azure Classic v5.43.0, May 6 23
azure.arckubernetes.ClusterExtension
Explore with Pulumi AI
Manages an Arc Kubernetes Cluster Extension.
Example Usage
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
private static string ReadFileBase64(string path) {
return Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(File.ReadAllText(path)));
}
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleCluster = new Azure.ArcKubernetes.Cluster("exampleCluster", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = "West Europe",
AgentPublicKeyCertificate = ReadFileBase64("testdata/public.cer"),
Identity = new Azure.ArcKubernetes.Inputs.ClusterIdentityArgs
{
Type = "SystemAssigned",
},
Tags =
{
{ "ENV", "Test" },
},
});
var exampleClusterExtension = new Azure.ArcKubernetes.ClusterExtension("exampleClusterExtension", new()
{
ClusterId = exampleCluster.Id,
ExtensionType = "microsoft.flux",
});
});
package main
import (
"encoding/base64"
"os"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/arckubernetes"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func filebase64OrPanic(path string) pulumi.StringPtrInput {
if fileData, err := os.ReadFile(path); err == nil {
return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))
} else {
panic(err.Error())
}
}
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleCluster, err := arckubernetes.NewCluster(ctx, "exampleCluster", &arckubernetes.ClusterArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: pulumi.String("West Europe"),
AgentPublicKeyCertificate: filebase64OrPanic("testdata/public.cer"),
Identity: &arckubernetes.ClusterIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
Tags: pulumi.StringMap{
"ENV": pulumi.String("Test"),
},
})
if err != nil {
return err
}
_, err = arckubernetes.NewClusterExtension(ctx, "exampleClusterExtension", &arckubernetes.ClusterExtensionArgs{
ClusterId: exampleCluster.ID(),
ExtensionType: pulumi.String("microsoft.flux"),
})
if err != nil {
return err
}
return nil
})
}
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 com.pulumi.azure.arckubernetes.ClusterExtension;
import com.pulumi.azure.arckubernetes.ClusterExtensionArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location("West Europe")
.agentPublicKeyCertificate(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get("testdata/public.cer"))))
.identity(ClusterIdentityArgs.builder()
.type("SystemAssigned")
.build())
.tags(Map.of("ENV", "Test"))
.build());
var exampleClusterExtension = new ClusterExtension("exampleClusterExtension", ClusterExtensionArgs.builder()
.clusterId(exampleCluster.id())
.extensionType("microsoft.flux")
.build());
}
}
import pulumi
import base64
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_cluster = azure.arckubernetes.Cluster("exampleCluster",
resource_group_name=example_resource_group.name,
location="West Europe",
agent_public_key_certificate=(lambda path: base64.b64encode(open(path).read().encode()).decode())("testdata/public.cer"),
identity=azure.arckubernetes.ClusterIdentityArgs(
type="SystemAssigned",
),
tags={
"ENV": "Test",
})
example_cluster_extension = azure.arckubernetes.ClusterExtension("exampleClusterExtension",
cluster_id=example_cluster.id,
extension_type="microsoft.flux")
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as fs from "fs";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleCluster = new azure.arckubernetes.Cluster("exampleCluster", {
resourceGroupName: exampleResourceGroup.name,
location: "West Europe",
agentPublicKeyCertificate: Buffer.from(fs.readFileSync("testdata/public.cer"), 'binary').toString('base64'),
identity: {
type: "SystemAssigned",
},
tags: {
ENV: "Test",
},
});
const exampleClusterExtension = new azure.arckubernetes.ClusterExtension("exampleClusterExtension", {
clusterId: exampleCluster.id,
extensionType: "microsoft.flux",
});
Coming soon!
Create ClusterExtension Resource
new ClusterExtension(name: string, args: ClusterExtensionArgs, opts?: CustomResourceOptions);
@overload
def ClusterExtension(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
configuration_protected_settings: Optional[Mapping[str, str]] = None,
configuration_settings: Optional[Mapping[str, str]] = None,
extension_type: Optional[str] = None,
identity: Optional[ClusterExtensionIdentityArgs] = None,
name: Optional[str] = None,
release_namespace: Optional[str] = None,
release_train: Optional[str] = None,
target_namespace: Optional[str] = None,
version: Optional[str] = None)
@overload
def ClusterExtension(resource_name: str,
args: ClusterExtensionArgs,
opts: Optional[ResourceOptions] = None)
func NewClusterExtension(ctx *Context, name string, args ClusterExtensionArgs, opts ...ResourceOption) (*ClusterExtension, error)
public ClusterExtension(string name, ClusterExtensionArgs args, CustomResourceOptions? opts = null)
public ClusterExtension(String name, ClusterExtensionArgs args)
public ClusterExtension(String name, ClusterExtensionArgs args, CustomResourceOptions options)
type: azure:arckubernetes:ClusterExtension
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterExtensionArgs
- 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 ClusterExtensionArgs
- 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 ClusterExtensionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterExtensionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterExtensionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ClusterExtension 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 ClusterExtension resource accepts the following input properties:
- Cluster
Id string Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Extension
Type string Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- Configuration
Protected Dictionary<string, string>Settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- Configuration
Settings Dictionary<string, string> Configuration settings, as name-value pairs for configuring this extension.
- Name string
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Release
Namespace string Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Release
Train string The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- Target
Namespace string Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Version string
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Cluster
Id string Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Extension
Type string Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- Configuration
Protected map[string]stringSettings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- Configuration
Settings map[string]string Configuration settings, as name-value pairs for configuring this extension.
- Name string
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Release
Namespace string Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Release
Train string The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- Target
Namespace string Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Version string
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- cluster
Id String Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- extension
Type String Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- configuration
Protected Map<String,String>Settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- configuration
Settings Map<String,String> Configuration settings, as name-value pairs for configuring this extension.
- name String
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Namespace String Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Train String The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- target
Namespace String Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- version String
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- cluster
Id string Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- extension
Type string Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- configuration
Protected {[key: string]: string}Settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- configuration
Settings {[key: string]: string} Configuration settings, as name-value pairs for configuring this extension.
- name string
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Namespace string Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Train string The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- target
Namespace string Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- version string
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- cluster_
id str Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- extension_
type str Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- configuration_
protected_ Mapping[str, str]settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- configuration_
settings Mapping[str, str] Configuration settings, as name-value pairs for configuring this extension.
- name str
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release_
namespace str Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release_
train str The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- target_
namespace str Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- version str
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- cluster
Id String Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- extension
Type String Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- identity Property Map
An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- configuration
Protected Map<String>Settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- configuration
Settings Map<String> Configuration settings, as name-value pairs for configuring this extension.
- name String
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Namespace String Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Train String The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- target
Namespace String Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- version String
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterExtension resource produces the following output properties:
- Current
Version string The current version of the extension.
- Id string
The provider-assigned unique ID for this managed resource.
- Current
Version string The current version of the extension.
- Id string
The provider-assigned unique ID for this managed resource.
- current
Version String The current version of the extension.
- id String
The provider-assigned unique ID for this managed resource.
- current
Version string The current version of the extension.
- id string
The provider-assigned unique ID for this managed resource.
- current_
version str The current version of the extension.
- id str
The provider-assigned unique ID for this managed resource.
- current
Version String The current version of the extension.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing ClusterExtension Resource
Get an existing ClusterExtension 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?: ClusterExtensionState, opts?: CustomResourceOptions): ClusterExtension
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
configuration_protected_settings: Optional[Mapping[str, str]] = None,
configuration_settings: Optional[Mapping[str, str]] = None,
current_version: Optional[str] = None,
extension_type: Optional[str] = None,
identity: Optional[ClusterExtensionIdentityArgs] = None,
name: Optional[str] = None,
release_namespace: Optional[str] = None,
release_train: Optional[str] = None,
target_namespace: Optional[str] = None,
version: Optional[str] = None) -> ClusterExtension
func GetClusterExtension(ctx *Context, name string, id IDInput, state *ClusterExtensionState, opts ...ResourceOption) (*ClusterExtension, error)
public static ClusterExtension Get(string name, Input<string> id, ClusterExtensionState? state, CustomResourceOptions? opts = null)
public static ClusterExtension get(String name, Output<String> id, ClusterExtensionState 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.
- Cluster
Id string Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Configuration
Protected Dictionary<string, string>Settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- Configuration
Settings Dictionary<string, string> Configuration settings, as name-value pairs for configuring this extension.
- Current
Version string The current version of the extension.
- Extension
Type string Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- Name string
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Release
Namespace string Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Release
Train string The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- Target
Namespace string Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Version string
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Cluster
Id string Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Configuration
Protected map[string]stringSettings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- Configuration
Settings map[string]string Configuration settings, as name-value pairs for configuring this extension.
- Current
Version string The current version of the extension.
- Extension
Type string Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- Name string
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Release
Namespace string Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Release
Train string The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- Target
Namespace string Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- Version string
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- cluster
Id String Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- configuration
Protected Map<String,String>Settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- configuration
Settings Map<String,String> Configuration settings, as name-value pairs for configuring this extension.
- current
Version String The current version of the extension.
- extension
Type String Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- name String
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Namespace String Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Train String The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- target
Namespace String Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- version String
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- cluster
Id string Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- configuration
Protected {[key: string]: string}Settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- configuration
Settings {[key: string]: string} Configuration settings, as name-value pairs for configuring this extension.
- current
Version string The current version of the extension.
- extension
Type string Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- name string
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Namespace string Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Train string The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- target
Namespace string Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- version string
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- cluster_
id str Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- configuration_
protected_ Mapping[str, str]settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- configuration_
settings Mapping[str, str] Configuration settings, as name-value pairs for configuring this extension.
- current_
version str The current version of the extension.
- extension_
type str Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- identity
Cluster
Extension Identity Args An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- name str
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release_
namespace str Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release_
train str The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- target_
namespace str Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- version str
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- cluster
Id String Specifies the Cluster ID. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- configuration
Protected Map<String>Settings Configuration settings that are sensitive, as name-value pairs for configuring this extension.
- configuration
Settings Map<String> Configuration settings, as name-value pairs for configuring this extension.
- current
Version String The current version of the extension.
- extension
Type String Specifies the type of extension. It must be one of the extension types registered with Microsoft.KubernetesConfiguration by the Extension publisher. For more information, please refer to Available Extensions for Arc-enabled Kubernetes clusters. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- identity Property Map
An
identity
block as defined below. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- name String
Specifies the name which should be used for this Arc Kubernetes Cluster Extension. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Namespace String Namespace where the extension release must be placed for a cluster scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- release
Train String The release train used by this extension. Possible values include but are not limited to
Stable
,Preview
. Changing this forces a new Arc Kubernetes Cluster Extension to be created.- target
Namespace String Namespace where the extension will be created for a namespace scoped extension. If this namespace does not exist, it will be created. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
- version String
User-specified version that the extension should pin to. If it is not set, Azure will use the latest version and auto upgrade it. Changing this forces a new Arc Kubernetes Cluster Extension to be created.
Supporting Types
ClusterExtensionIdentity
- Type string
Specifies the type of Managed Service Identity. The only possible value is
SystemAssigned
.- 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. The only possible value is
SystemAssigned
.- 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. The only possible value is
SystemAssigned
.- 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. The only possible value is
SystemAssigned
.- 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. The only possible value is
SystemAssigned
.- 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. The only possible value is
SystemAssigned
.- 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 Extension can be imported using the resource id
for different cluster_resource_name
, e.g.
$ pulumi import azure:arckubernetes/clusterExtension:ClusterExtension example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Kubernetes/connectedClusters/cluster1/providers/Microsoft.KubernetesConfiguration/extensions/extension1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.