We recommend using Azure Native.
azure.containerservice.KubernetesClusterExtension
Explore with Pulumi AI
Manages a Kubernetes Cluster Extension.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleKubernetesCluster = new azure.containerservice.KubernetesCluster("example", {
name: "example-aks",
location: "West Europe",
resourceGroupName: example.name,
dnsPrefix: "example-aks",
defaultNodePool: {
name: "default",
nodeCount: 1,
vmSize: "Standard_DS2_v2",
},
identity: {
type: "SystemAssigned",
},
});
const exampleKubernetesClusterExtension = new azure.containerservice.KubernetesClusterExtension("example", {
name: "example-ext",
clusterId: exampleKubernetesCluster.id,
extensionType: "microsoft.flux",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_kubernetes_cluster = azure.containerservice.KubernetesCluster("example",
name="example-aks",
location="West Europe",
resource_group_name=example.name,
dns_prefix="example-aks",
default_node_pool={
"name": "default",
"node_count": 1,
"vm_size": "Standard_DS2_v2",
},
identity={
"type": "SystemAssigned",
})
example_kubernetes_cluster_extension = azure.containerservice.KubernetesClusterExtension("example",
name="example-ext",
cluster_id=example_kubernetes_cluster.id,
extension_type="microsoft.flux")
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerservice"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"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
}
exampleKubernetesCluster, err := containerservice.NewKubernetesCluster(ctx, "example", &containerservice.KubernetesClusterArgs{
Name: pulumi.String("example-aks"),
Location: pulumi.String("West Europe"),
ResourceGroupName: example.Name,
DnsPrefix: pulumi.String("example-aks"),
DefaultNodePool: &containerservice.KubernetesClusterDefaultNodePoolArgs{
Name: pulumi.String("default"),
NodeCount: pulumi.Int(1),
VmSize: pulumi.String("Standard_DS2_v2"),
},
Identity: &containerservice.KubernetesClusterIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
_, err = containerservice.NewKubernetesClusterExtension(ctx, "example", &containerservice.KubernetesClusterExtensionArgs{
Name: pulumi.String("example-ext"),
ClusterId: exampleKubernetesCluster.ID(),
ExtensionType: pulumi.String("microsoft.flux"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleKubernetesCluster = new Azure.ContainerService.KubernetesCluster("example", new()
{
Name = "example-aks",
Location = "West Europe",
ResourceGroupName = example.Name,
DnsPrefix = "example-aks",
DefaultNodePool = new Azure.ContainerService.Inputs.KubernetesClusterDefaultNodePoolArgs
{
Name = "default",
NodeCount = 1,
VmSize = "Standard_DS2_v2",
},
Identity = new Azure.ContainerService.Inputs.KubernetesClusterIdentityArgs
{
Type = "SystemAssigned",
},
});
var exampleKubernetesClusterExtension = new Azure.ContainerService.KubernetesClusterExtension("example", new()
{
Name = "example-ext",
ClusterId = exampleKubernetesCluster.Id,
ExtensionType = "microsoft.flux",
});
});
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.containerservice.KubernetesCluster;
import com.pulumi.azure.containerservice.KubernetesClusterArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterDefaultNodePoolArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterIdentityArgs;
import com.pulumi.azure.containerservice.KubernetesClusterExtension;
import com.pulumi.azure.containerservice.KubernetesClusterExtensionArgs;
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 exampleKubernetesCluster = new KubernetesCluster("exampleKubernetesCluster", KubernetesClusterArgs.builder()
.name("example-aks")
.location("West Europe")
.resourceGroupName(example.name())
.dnsPrefix("example-aks")
.defaultNodePool(KubernetesClusterDefaultNodePoolArgs.builder()
.name("default")
.nodeCount(1)
.vmSize("Standard_DS2_v2")
.build())
.identity(KubernetesClusterIdentityArgs.builder()
.type("SystemAssigned")
.build())
.build());
var exampleKubernetesClusterExtension = new KubernetesClusterExtension("exampleKubernetesClusterExtension", KubernetesClusterExtensionArgs.builder()
.name("example-ext")
.clusterId(exampleKubernetesCluster.id())
.extensionType("microsoft.flux")
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleKubernetesCluster:
type: azure:containerservice:KubernetesCluster
name: example
properties:
name: example-aks
location: West Europe
resourceGroupName: ${example.name}
dnsPrefix: example-aks
defaultNodePool:
name: default
nodeCount: 1
vmSize: Standard_DS2_v2
identity:
type: SystemAssigned
exampleKubernetesClusterExtension:
type: azure:containerservice:KubernetesClusterExtension
name: example
properties:
name: example-ext
clusterId: ${exampleKubernetesCluster.id}
extensionType: microsoft.flux
Create KubernetesClusterExtension Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KubernetesClusterExtension(name: string, args: KubernetesClusterExtensionArgs, opts?: CustomResourceOptions);
@overload
def KubernetesClusterExtension(resource_name: str,
args: KubernetesClusterExtensionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KubernetesClusterExtension(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
extension_type: Optional[str] = None,
configuration_protected_settings: Optional[Mapping[str, str]] = None,
configuration_settings: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
plan: Optional[KubernetesClusterExtensionPlanArgs] = None,
release_namespace: Optional[str] = None,
release_train: Optional[str] = None,
target_namespace: Optional[str] = None,
version: Optional[str] = None)
func NewKubernetesClusterExtension(ctx *Context, name string, args KubernetesClusterExtensionArgs, opts ...ResourceOption) (*KubernetesClusterExtension, error)
public KubernetesClusterExtension(string name, KubernetesClusterExtensionArgs args, CustomResourceOptions? opts = null)
public KubernetesClusterExtension(String name, KubernetesClusterExtensionArgs args)
public KubernetesClusterExtension(String name, KubernetesClusterExtensionArgs args, CustomResourceOptions options)
type: azure:containerservice:KubernetesClusterExtension
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 KubernetesClusterExtensionArgs
- 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 KubernetesClusterExtensionArgs
- 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 KubernetesClusterExtensionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesClusterExtensionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesClusterExtensionArgs
- 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 kubernetesClusterExtensionResource = new Azure.ContainerService.KubernetesClusterExtension("kubernetesClusterExtensionResource", new()
{
ClusterId = "string",
ExtensionType = "string",
ConfigurationProtectedSettings =
{
{ "string", "string" },
},
ConfigurationSettings =
{
{ "string", "string" },
},
Name = "string",
Plan = new Azure.ContainerService.Inputs.KubernetesClusterExtensionPlanArgs
{
Name = "string",
Product = "string",
Publisher = "string",
PromotionCode = "string",
Version = "string",
},
ReleaseNamespace = "string",
ReleaseTrain = "string",
TargetNamespace = "string",
Version = "string",
});
example, err := containerservice.NewKubernetesClusterExtension(ctx, "kubernetesClusterExtensionResource", &containerservice.KubernetesClusterExtensionArgs{
ClusterId: pulumi.String("string"),
ExtensionType: pulumi.String("string"),
ConfigurationProtectedSettings: pulumi.StringMap{
"string": pulumi.String("string"),
},
ConfigurationSettings: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Plan: &containerservice.KubernetesClusterExtensionPlanArgs{
Name: pulumi.String("string"),
Product: pulumi.String("string"),
Publisher: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
Version: pulumi.String("string"),
},
ReleaseNamespace: pulumi.String("string"),
ReleaseTrain: pulumi.String("string"),
TargetNamespace: pulumi.String("string"),
Version: pulumi.String("string"),
})
var kubernetesClusterExtensionResource = new KubernetesClusterExtension("kubernetesClusterExtensionResource", KubernetesClusterExtensionArgs.builder()
.clusterId("string")
.extensionType("string")
.configurationProtectedSettings(Map.of("string", "string"))
.configurationSettings(Map.of("string", "string"))
.name("string")
.plan(KubernetesClusterExtensionPlanArgs.builder()
.name("string")
.product("string")
.publisher("string")
.promotionCode("string")
.version("string")
.build())
.releaseNamespace("string")
.releaseTrain("string")
.targetNamespace("string")
.version("string")
.build());
kubernetes_cluster_extension_resource = azure.containerservice.KubernetesClusterExtension("kubernetesClusterExtensionResource",
cluster_id="string",
extension_type="string",
configuration_protected_settings={
"string": "string",
},
configuration_settings={
"string": "string",
},
name="string",
plan={
"name": "string",
"product": "string",
"publisher": "string",
"promotionCode": "string",
"version": "string",
},
release_namespace="string",
release_train="string",
target_namespace="string",
version="string")
const kubernetesClusterExtensionResource = new azure.containerservice.KubernetesClusterExtension("kubernetesClusterExtensionResource", {
clusterId: "string",
extensionType: "string",
configurationProtectedSettings: {
string: "string",
},
configurationSettings: {
string: "string",
},
name: "string",
plan: {
name: "string",
product: "string",
publisher: "string",
promotionCode: "string",
version: "string",
},
releaseNamespace: "string",
releaseTrain: "string",
targetNamespace: "string",
version: "string",
});
type: azure:containerservice:KubernetesClusterExtension
properties:
clusterId: string
configurationProtectedSettings:
string: string
configurationSettings:
string: string
extensionType: string
name: string
plan:
name: string
product: string
promotionCode: string
publisher: string
version: string
releaseNamespace: string
releaseTrain: string
targetNamespace: string
version: string
KubernetesClusterExtension 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 KubernetesClusterExtension resource accepts the following input properties:
- Cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new 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 Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- Plan
Kubernetes
Cluster Extension Plan - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- Cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new 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 Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- Plan
Kubernetes
Cluster Extension Plan Args - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- cluster
Id String - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new 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 Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- plan
Kubernetes
Cluster Extension Plan - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new 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 Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- plan
Kubernetes
Cluster Extension Plan - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- cluster_
id str - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new 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 Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- plan
Kubernetes
Cluster Extension Plan Args - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- cluster
Id String - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new 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 Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- plan Property Map
- A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the KubernetesClusterExtension resource produces the following output properties:
- Aks
Assigned List<KubernetesIdentities Cluster Extension Aks Assigned Identity> - An
aks_assigned_identity
block as defined below. - Current
Version string - The current version of the extension.
- Id string
- The provider-assigned unique ID for this managed resource.
- Aks
Assigned []KubernetesIdentities Cluster Extension Aks Assigned Identity - An
aks_assigned_identity
block as defined below. - Current
Version string - The current version of the extension.
- Id string
- The provider-assigned unique ID for this managed resource.
- aks
Assigned List<KubernetesIdentities Cluster Extension Aks Assigned Identity> - An
aks_assigned_identity
block as defined below. - current
Version String - The current version of the extension.
- id String
- The provider-assigned unique ID for this managed resource.
- aks
Assigned KubernetesIdentities Cluster Extension Aks Assigned Identity[] - An
aks_assigned_identity
block as defined below. - current
Version string - The current version of the extension.
- id string
- The provider-assigned unique ID for this managed resource.
- aks_
assigned_ Sequence[Kubernetesidentities Cluster Extension Aks Assigned Identity] - An
aks_assigned_identity
block as defined below. - current_
version str - The current version of the extension.
- id str
- The provider-assigned unique ID for this managed resource.
- aks
Assigned List<Property Map>Identities - An
aks_assigned_identity
block as defined below. - current
Version String - The current version of the extension.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing KubernetesClusterExtension Resource
Get an existing KubernetesClusterExtension 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?: KubernetesClusterExtensionState, opts?: CustomResourceOptions): KubernetesClusterExtension
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aks_assigned_identities: Optional[Sequence[KubernetesClusterExtensionAksAssignedIdentityArgs]] = 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,
name: Optional[str] = None,
plan: Optional[KubernetesClusterExtensionPlanArgs] = None,
release_namespace: Optional[str] = None,
release_train: Optional[str] = None,
target_namespace: Optional[str] = None,
version: Optional[str] = None) -> KubernetesClusterExtension
func GetKubernetesClusterExtension(ctx *Context, name string, id IDInput, state *KubernetesClusterExtensionState, opts ...ResourceOption) (*KubernetesClusterExtension, error)
public static KubernetesClusterExtension Get(string name, Input<string> id, KubernetesClusterExtensionState? state, CustomResourceOptions? opts = null)
public static KubernetesClusterExtension get(String name, Output<String> id, KubernetesClusterExtensionState 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.
- Aks
Assigned List<KubernetesIdentities Cluster Extension Aks Assigned Identity> - An
aks_assigned_identity
block as defined below. - Cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new Kubernetes Cluster Extension to be created.
- Name string
- Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- Plan
Kubernetes
Cluster Extension Plan - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- Aks
Assigned []KubernetesIdentities Cluster Extension Aks Assigned Identity Args - An
aks_assigned_identity
block as defined below. - Cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new Kubernetes Cluster Extension to be created.
- Name string
- Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- Plan
Kubernetes
Cluster Extension Plan Args - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- aks
Assigned List<KubernetesIdentities Cluster Extension Aks Assigned Identity> - An
aks_assigned_identity
block as defined below. - cluster
Id String - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new Kubernetes Cluster Extension to be created.
- name String
- Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- plan
Kubernetes
Cluster Extension Plan - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- aks
Assigned KubernetesIdentities Cluster Extension Aks Assigned Identity[] - An
aks_assigned_identity
block as defined below. - cluster
Id string - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new Kubernetes Cluster Extension to be created.
- name string
- Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- plan
Kubernetes
Cluster Extension Plan - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- aks_
assigned_ Sequence[Kubernetesidentities Cluster Extension Aks Assigned Identity Args] - An
aks_assigned_identity
block as defined below. - cluster_
id str - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new Kubernetes Cluster Extension to be created.
- name str
- Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- plan
Kubernetes
Cluster Extension Plan Args - A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
- aks
Assigned List<Property Map>Identities - An
aks_assigned_identity
block as defined below. - cluster
Id String - Specifies the Cluster ID. Changing this forces a new 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 AKS. Changing this forces a new Kubernetes Cluster Extension to be created.
- name String
- Specifies the name which should be used for this Kubernetes Cluster Extension. Changing this forces a new Kubernetes Cluster Extension to be created.
- plan Property Map
- A
plan
block as defined below. Changing this forces a new resource 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 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 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 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 Kubernetes Cluster Extension to be created.
Supporting Types
KubernetesClusterExtensionAksAssignedIdentity, KubernetesClusterExtensionAksAssignedIdentityArgs
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
- principal
Id string - The principal ID of resource identity.
- tenant
Id string - The tenant ID of resource.
- type string
- The identity type.
- principal_
id str - The principal ID of resource identity.
- tenant_
id str - The tenant ID of resource.
- type str
- The identity type.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
KubernetesClusterExtensionPlan, KubernetesClusterExtensionPlanArgs
- Name string
- Specifies the name of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- Product string
- Specifies the product of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- Publisher string
- Specifies the publisher of the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- Promotion
Code string - Specifies the promotion code to use with the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- Version string
Specifies the version of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Kubernetes Cluster Extension. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- Name string
- Specifies the name of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- Product string
- Specifies the product of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- Publisher string
- Specifies the publisher of the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- Promotion
Code string - Specifies the promotion code to use with the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- Version string
Specifies the version of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Kubernetes Cluster Extension. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- name String
- Specifies the name of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- product String
- Specifies the product of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- publisher String
- Specifies the publisher of the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- promotion
Code String - Specifies the promotion code to use with the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- version String
Specifies the version of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Kubernetes Cluster Extension. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- name string
- Specifies the name of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- product string
- Specifies the product of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- publisher string
- Specifies the publisher of the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- promotion
Code string - Specifies the promotion code to use with the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- version string
Specifies the version of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Kubernetes Cluster Extension. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- name str
- Specifies the name of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- product str
- Specifies the product of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- publisher str
- Specifies the publisher of the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- promotion_
code str - Specifies the promotion code to use with the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- version str
Specifies the version of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Kubernetes Cluster Extension. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
- name String
- Specifies the name of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- product String
- Specifies the product of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
- publisher String
- Specifies the publisher of the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- promotion
Code String - Specifies the promotion code to use with the plan. Changing this forces a new Kubernetes Cluster Extension to be created.
- version String
Specifies the version of the plan from the marketplace. Changing this forces a new Kubernetes Cluster Extension to be created.
NOTE: When
plan
is specified, legal terms must be accepted for this item on this subscription before creating the Kubernetes Cluster Extension. Theazure.marketplace.Agreement
resource or AZ CLI tool can be used to do this.
Import
Kubernetes Cluster Extension can be imported using the resource id
for different cluster_resource_name
, e.g.
$ pulumi import azure:containerservice/kubernetesClusterExtension:KubernetesClusterExtension example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ContainerService/managedClusters/cluster1/providers/Microsoft.KubernetesConfiguration/extensions/extension1
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.