Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.1 published on Wednesday, May 18, 2022 by Pulumi

getExtension

The Extension Instance object. API Version: 2020-07-01-preview.

Using getExtension

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getExtension(args: GetExtensionArgs, opts?: InvokeOptions): Promise<GetExtensionResult>
function getExtensionOutput(args: GetExtensionOutputArgs, opts?: InvokeOptions): Output<GetExtensionResult>
def get_extension(cluster_name: Optional[str] = None,
                  cluster_resource_name: Optional[str] = None,
                  cluster_rp: Optional[str] = None,
                  extension_instance_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetExtensionResult
def get_extension_output(cluster_name: Optional[pulumi.Input[str]] = None,
                  cluster_resource_name: Optional[pulumi.Input[str]] = None,
                  cluster_rp: Optional[pulumi.Input[str]] = None,
                  extension_instance_name: Optional[pulumi.Input[str]] = None,
                  resource_group_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetExtensionResult]
func LookupExtension(ctx *Context, args *LookupExtensionArgs, opts ...InvokeOption) (*LookupExtensionResult, error)
func LookupExtensionOutput(ctx *Context, args *LookupExtensionOutputArgs, opts ...InvokeOption) LookupExtensionResultOutput

> Note: This function is named LookupExtension in the Go SDK.

public static class GetExtension 
{
    public static Task<GetExtensionResult> InvokeAsync(GetExtensionArgs args, InvokeOptions? opts = null)
    public static Output<GetExtensionResult> Invoke(GetExtensionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExtensionResult> getExtension(GetExtensionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:kubernetesconfiguration:getExtension
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ClusterName string

The name of the kubernetes cluster.

ClusterResourceName string

The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).

ClusterRp string

The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).

ExtensionInstanceName string

Name of an instance of the Extension.

ResourceGroupName string

The name of the resource group.

ClusterName string

The name of the kubernetes cluster.

ClusterResourceName string

The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).

ClusterRp string

The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).

ExtensionInstanceName string

Name of an instance of the Extension.

ResourceGroupName string

The name of the resource group.

clusterName String

The name of the kubernetes cluster.

clusterResourceName String

The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).

clusterRp String

The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).

extensionInstanceName String

Name of an instance of the Extension.

resourceGroupName String

The name of the resource group.

clusterName string

The name of the kubernetes cluster.

clusterResourceName string

The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).

clusterRp string

The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).

extensionInstanceName string

Name of an instance of the Extension.

resourceGroupName string

The name of the resource group.

cluster_name str

The name of the kubernetes cluster.

cluster_resource_name str

The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).

cluster_rp str

The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).

extension_instance_name str

Name of an instance of the Extension.

resource_group_name str

The name of the resource group.

clusterName String

The name of the kubernetes cluster.

clusterResourceName String

The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).

clusterRp String

The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).

extensionInstanceName String

Name of an instance of the Extension.

resourceGroupName String

The name of the resource group.

getExtension Result

The following output properties are available:

CreationTime string

DateLiteral (per ISO8601) noting the time the resource was created by the client (user).

ErrorInfo Pulumi.AzureNative.KubernetesConfiguration.Outputs.ErrorDefinitionResponse

Error information from the Agent - e.g. errors during installation.

Id string

Resource Id

InstallState string

Status of installation of this instance of the extension.

LastModifiedTime string

DateLiteral (per ISO8601) noting the time the resource was modified by the client (user).

LastStatusTime string

DateLiteral (per ISO8601) noting the time of last status from the agent.

Name string

Resource name

Type string

Resource type

AutoUpgradeMinorVersion bool

Flag to note if this instance participates in auto upgrade of minor version, or not.

ConfigurationProtectedSettings Dictionary<string, string>

Configuration settings that are sensitive, as name-value pairs for configuring this instance of the extension.

ConfigurationSettings Dictionary<string, string>

Configuration settings, as name-value pairs for configuring this instance of the extension.

ExtensionType string

Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.

Identity Pulumi.AzureNative.KubernetesConfiguration.Outputs.ConfigurationIdentityResponse

The identity of the configuration.

ReleaseTrain string

ReleaseTrain this extension instance participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.

Scope Pulumi.AzureNative.KubernetesConfiguration.Outputs.ScopeResponse

Scope at which the extension instance is installed.

Statuses List<Pulumi.AzureNative.KubernetesConfiguration.Outputs.ExtensionStatusResponse>

Status from this instance of the extension.

SystemData Pulumi.AzureNative.KubernetesConfiguration.Outputs.SystemDataResponse

Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources

Version string

Version of the extension for this extension instance, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.

CreationTime string

DateLiteral (per ISO8601) noting the time the resource was created by the client (user).

ErrorInfo ErrorDefinitionResponse

Error information from the Agent - e.g. errors during installation.

Id string

Resource Id

InstallState string

Status of installation of this instance of the extension.

LastModifiedTime string

DateLiteral (per ISO8601) noting the time the resource was modified by the client (user).

LastStatusTime string

DateLiteral (per ISO8601) noting the time of last status from the agent.

Name string

Resource name

Type string

Resource type

AutoUpgradeMinorVersion bool

Flag to note if this instance participates in auto upgrade of minor version, or not.

ConfigurationProtectedSettings map[string]string

Configuration settings that are sensitive, as name-value pairs for configuring this instance of the extension.

ConfigurationSettings map[string]string

Configuration settings, as name-value pairs for configuring this instance of the extension.

ExtensionType string

Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.

Identity ConfigurationIdentityResponse

The identity of the configuration.

ReleaseTrain string

ReleaseTrain this extension instance participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.

Scope ScopeResponse

Scope at which the extension instance is installed.

Statuses []ExtensionStatusResponse

Status from this instance of the extension.

SystemData SystemDataResponse

Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources

Version string

Version of the extension for this extension instance, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.

creationTime String

DateLiteral (per ISO8601) noting the time the resource was created by the client (user).

errorInfo ErrorDefinitionResponse

Error information from the Agent - e.g. errors during installation.

id String

Resource Id

installState String

Status of installation of this instance of the extension.

lastModifiedTime String

DateLiteral (per ISO8601) noting the time the resource was modified by the client (user).

lastStatusTime String

DateLiteral (per ISO8601) noting the time of last status from the agent.

name String

Resource name

type String

Resource type

autoUpgradeMinorVersion Boolean

Flag to note if this instance participates in auto upgrade of minor version, or not.

configurationProtectedSettings Map

Configuration settings that are sensitive, as name-value pairs for configuring this instance of the extension.

configurationSettings Map

Configuration settings, as name-value pairs for configuring this instance of the extension.

extensionType String

Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.

identity ConfigurationIdentityResponse

The identity of the configuration.

releaseTrain String

ReleaseTrain this extension instance participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.

scope ScopeResponse

Scope at which the extension instance is installed.

statuses ListStatusResponse>

Status from this instance of the extension.

systemData SystemDataResponse

Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources

version String

Version of the extension for this extension instance, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.

creationTime string

DateLiteral (per ISO8601) noting the time the resource was created by the client (user).

errorInfo ErrorDefinitionResponse

Error information from the Agent - e.g. errors during installation.

id string

Resource Id

installState string

Status of installation of this instance of the extension.

lastModifiedTime string

DateLiteral (per ISO8601) noting the time the resource was modified by the client (user).

lastStatusTime string

DateLiteral (per ISO8601) noting the time of last status from the agent.

name string

Resource name

type string

Resource type

autoUpgradeMinorVersion boolean

Flag to note if this instance participates in auto upgrade of minor version, or not.

configurationProtectedSettings {[key: string]: string}

Configuration settings that are sensitive, as name-value pairs for configuring this instance of the extension.

configurationSettings {[key: string]: string}

Configuration settings, as name-value pairs for configuring this instance of the extension.

extensionType string

Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.

identity ConfigurationIdentityResponse

The identity of the configuration.

releaseTrain string

ReleaseTrain this extension instance participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.

scope ScopeResponse

Scope at which the extension instance is installed.

statuses ExtensionStatusResponse[]

Status from this instance of the extension.

systemData SystemDataResponse

Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources

version string

Version of the extension for this extension instance, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.

creation_time str

DateLiteral (per ISO8601) noting the time the resource was created by the client (user).

error_info ErrorDefinitionResponse

Error information from the Agent - e.g. errors during installation.

id str

Resource Id

install_state str

Status of installation of this instance of the extension.

last_modified_time str

DateLiteral (per ISO8601) noting the time the resource was modified by the client (user).

last_status_time str

DateLiteral (per ISO8601) noting the time of last status from the agent.

name str

Resource name

type str

Resource type

auto_upgrade_minor_version bool

Flag to note if this instance participates in auto upgrade of minor version, or not.

configuration_protected_settings Mapping[str, str]

Configuration settings that are sensitive, as name-value pairs for configuring this instance of the extension.

configuration_settings Mapping[str, str]

Configuration settings, as name-value pairs for configuring this instance of the extension.

extension_type str

Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.

identity ConfigurationIdentityResponse

The identity of the configuration.

release_train str

ReleaseTrain this extension instance participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.

scope ScopeResponse

Scope at which the extension instance is installed.

statuses Sequence[ExtensionStatusResponse]

Status from this instance of the extension.

system_data SystemDataResponse

Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources

version str

Version of the extension for this extension instance, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.

creationTime String

DateLiteral (per ISO8601) noting the time the resource was created by the client (user).

errorInfo Property Map

Error information from the Agent - e.g. errors during installation.

id String

Resource Id

installState String

Status of installation of this instance of the extension.

lastModifiedTime String

DateLiteral (per ISO8601) noting the time the resource was modified by the client (user).

lastStatusTime String

DateLiteral (per ISO8601) noting the time of last status from the agent.

name String

Resource name

type String

Resource type

autoUpgradeMinorVersion Boolean

Flag to note if this instance participates in auto upgrade of minor version, or not.

configurationProtectedSettings Map

Configuration settings that are sensitive, as name-value pairs for configuring this instance of the extension.

configurationSettings Map

Configuration settings, as name-value pairs for configuring this instance of the extension.

extensionType String

Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.

identity Property Map

The identity of the configuration.

releaseTrain String

ReleaseTrain this extension instance participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.

scope Property Map

Scope at which the extension instance is installed.

statuses List

Status from this instance of the extension.

systemData Property Map

Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources

version String

Version of the extension for this extension instance, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'.

Supporting Types

ConfigurationIdentityResponse

PrincipalId string

The principal id of the system assigned identity which is used by the configuration.

TenantId string

The tenant id of the system assigned identity which is used by the configuration.

Type string

The type of identity used for the configuration. Type 'SystemAssigned' will use an implicitly created identity. Type 'None' will not use Managed Identity for the configuration.

PrincipalId string

The principal id of the system assigned identity which is used by the configuration.

TenantId string

The tenant id of the system assigned identity which is used by the configuration.

Type string

The type of identity used for the configuration. Type 'SystemAssigned' will use an implicitly created identity. Type 'None' will not use Managed Identity for the configuration.

principalId String

The principal id of the system assigned identity which is used by the configuration.

tenantId String

The tenant id of the system assigned identity which is used by the configuration.

type String

The type of identity used for the configuration. Type 'SystemAssigned' will use an implicitly created identity. Type 'None' will not use Managed Identity for the configuration.

principalId string

The principal id of the system assigned identity which is used by the configuration.

tenantId string

The tenant id of the system assigned identity which is used by the configuration.

type string

The type of identity used for the configuration. Type 'SystemAssigned' will use an implicitly created identity. Type 'None' will not use Managed Identity for the configuration.

principal_id str

The principal id of the system assigned identity which is used by the configuration.

tenant_id str

The tenant id of the system assigned identity which is used by the configuration.

type str

The type of identity used for the configuration. Type 'SystemAssigned' will use an implicitly created identity. Type 'None' will not use Managed Identity for the configuration.

principalId String

The principal id of the system assigned identity which is used by the configuration.

tenantId String

The tenant id of the system assigned identity which is used by the configuration.

type String

The type of identity used for the configuration. Type 'SystemAssigned' will use an implicitly created identity. Type 'None' will not use Managed Identity for the configuration.

ErrorDefinitionResponse

Code string

Service specific error code which serves as the substatus for the HTTP error code.

Message string

Description of the error.

Code string

Service specific error code which serves as the substatus for the HTTP error code.

Message string

Description of the error.

code String

Service specific error code which serves as the substatus for the HTTP error code.

message String

Description of the error.

code string

Service specific error code which serves as the substatus for the HTTP error code.

message string

Description of the error.

code str

Service specific error code which serves as the substatus for the HTTP error code.

message str

Description of the error.

code String

Service specific error code which serves as the substatus for the HTTP error code.

message String

Description of the error.

ExtensionStatusResponse

Code string

Status code provided by the Extension

DisplayStatus string

Short description of status of this instance of the extension.

Level string

Level of the status.

Message string

Detailed message of the status from the Extension instance.

Time string

DateLiteral (per ISO8601) noting the time of installation status.

Code string

Status code provided by the Extension

DisplayStatus string

Short description of status of this instance of the extension.

Level string

Level of the status.

Message string

Detailed message of the status from the Extension instance.

Time string

DateLiteral (per ISO8601) noting the time of installation status.

code String

Status code provided by the Extension

displayStatus String

Short description of status of this instance of the extension.

level String

Level of the status.

message String

Detailed message of the status from the Extension instance.

time String

DateLiteral (per ISO8601) noting the time of installation status.

code string

Status code provided by the Extension

displayStatus string

Short description of status of this instance of the extension.

level string

Level of the status.

message string

Detailed message of the status from the Extension instance.

time string

DateLiteral (per ISO8601) noting the time of installation status.

code str

Status code provided by the Extension

display_status str

Short description of status of this instance of the extension.

level str

Level of the status.

message str

Detailed message of the status from the Extension instance.

time str

DateLiteral (per ISO8601) noting the time of installation status.

code String

Status code provided by the Extension

displayStatus String

Short description of status of this instance of the extension.

level String

Level of the status.

message String

Detailed message of the status from the Extension instance.

time String

DateLiteral (per ISO8601) noting the time of installation status.

ScopeClusterResponse

ReleaseNamespace string

Namespace where the extension Release must be placed, for a Cluster scoped extensionInstance. If this namespace does not exist, it will be created

ReleaseNamespace string

Namespace where the extension Release must be placed, for a Cluster scoped extensionInstance. If this namespace does not exist, it will be created

releaseNamespace String

Namespace where the extension Release must be placed, for a Cluster scoped extensionInstance. If this namespace does not exist, it will be created

releaseNamespace string

Namespace where the extension Release must be placed, for a Cluster scoped extensionInstance. If this namespace does not exist, it will be created

release_namespace str

Namespace where the extension Release must be placed, for a Cluster scoped extensionInstance. If this namespace does not exist, it will be created

releaseNamespace String

Namespace where the extension Release must be placed, for a Cluster scoped extensionInstance. If this namespace does not exist, it will be created

ScopeNamespaceResponse

TargetNamespace string

Namespace where the extensionInstance will be created for an Namespace scoped extensionInstance. If this namespace does not exist, it will be created

TargetNamespace string

Namespace where the extensionInstance will be created for an Namespace scoped extensionInstance. If this namespace does not exist, it will be created

targetNamespace String

Namespace where the extensionInstance will be created for an Namespace scoped extensionInstance. If this namespace does not exist, it will be created

targetNamespace string

Namespace where the extensionInstance will be created for an Namespace scoped extensionInstance. If this namespace does not exist, it will be created

target_namespace str

Namespace where the extensionInstance will be created for an Namespace scoped extensionInstance. If this namespace does not exist, it will be created

targetNamespace String

Namespace where the extensionInstance will be created for an Namespace scoped extensionInstance. If this namespace does not exist, it will be created

ScopeResponse

Cluster Pulumi.AzureNative.KubernetesConfiguration.Inputs.ScopeClusterResponse

Specifies that the scope of the extensionInstance is Cluster

Namespace Pulumi.AzureNative.KubernetesConfiguration.Inputs.ScopeNamespaceResponse

Specifies that the scope of the extensionInstance is Namespace

Cluster ScopeClusterResponse

Specifies that the scope of the extensionInstance is Cluster

Namespace ScopeNamespaceResponse

Specifies that the scope of the extensionInstance is Namespace

cluster ScopeClusterResponse

Specifies that the scope of the extensionInstance is Cluster

namespace ScopeNamespaceResponse

Specifies that the scope of the extensionInstance is Namespace

cluster ScopeClusterResponse

Specifies that the scope of the extensionInstance is Cluster

namespace ScopeNamespaceResponse

Specifies that the scope of the extensionInstance is Namespace

cluster ScopeClusterResponse

Specifies that the scope of the extensionInstance is Cluster

namespace ScopeNamespaceResponse

Specifies that the scope of the extensionInstance is Namespace

cluster Property Map

Specifies that the scope of the extensionInstance is Cluster

namespace Property Map

Specifies that the scope of the extensionInstance is Namespace

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0