UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

198 lines (197 loc) 8.11 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The Extension object. * * Uses Azure REST API version 2023-05-01. In version 2.x of the Azure Native provider, it used API version 2023-05-01. * * Other available API versions: 2022-04-02-preview, 2022-07-01, 2022-11-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native kubernetesconfiguration [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class Extension extends pulumi.CustomResource { /** * Get an existing Extension resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Extension; /** * Returns true if the given object is an instance of Extension. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Extension; /** * Identity of the Extension resource in an AKS cluster */ readonly aksAssignedIdentity: pulumi.Output<outputs.kubernetesconfiguration.ExtensionResponseAksAssignedIdentity | undefined>; /** * Flag to note if this extension participates in auto upgrade of minor version, or not. */ readonly autoUpgradeMinorVersion: pulumi.Output<boolean | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Configuration settings that are sensitive, as name-value pairs for configuring this extension. */ readonly configurationProtectedSettings: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Configuration settings, as name-value pairs for configuring this extension. */ readonly configurationSettings: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Currently installed version of the extension. */ readonly currentVersion: pulumi.Output<string>; /** * Custom Location settings properties. */ readonly customLocationSettings: pulumi.Output<{ [key: string]: string; }>; /** * Error information from the Agent - e.g. errors during installation. */ readonly errorInfo: pulumi.Output<outputs.kubernetesconfiguration.ErrorDetailResponse>; /** * 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. */ readonly extensionType: pulumi.Output<string | undefined>; /** * Identity of the Extension resource */ readonly identity: pulumi.Output<outputs.kubernetesconfiguration.IdentityResponse | undefined>; /** * Flag to note if this extension is a system extension */ readonly isSystemExtension: pulumi.Output<boolean>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Uri of the Helm package */ readonly packageUri: pulumi.Output<string>; /** * The plan information. */ readonly plan: pulumi.Output<outputs.kubernetesconfiguration.PlanResponse | undefined>; /** * Status of installation of this extension. */ readonly provisioningState: pulumi.Output<string>; /** * ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'. */ readonly releaseTrain: pulumi.Output<string | undefined>; /** * Scope at which the extension is installed. */ readonly scope: pulumi.Output<outputs.kubernetesconfiguration.ScopeResponse | undefined>; /** * Status from this extension. */ readonly statuses: pulumi.Output<outputs.kubernetesconfiguration.ExtensionStatusResponse[] | undefined>; /** * 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 */ readonly systemData: pulumi.Output<outputs.kubernetesconfiguration.SystemDataResponse>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be 'false'. */ readonly version: pulumi.Output<string | undefined>; /** * Create a Extension resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ExtensionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Extension resource. */ export interface ExtensionArgs { /** * Identity of the Extension resource in an AKS cluster */ aksAssignedIdentity?: pulumi.Input<inputs.kubernetesconfiguration.ExtensionAksAssignedIdentityArgs>; /** * Flag to note if this extension participates in auto upgrade of minor version, or not. */ autoUpgradeMinorVersion?: pulumi.Input<boolean>; /** * The name of the kubernetes cluster. */ clusterName: pulumi.Input<string>; /** * The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters. */ clusterResourceName: pulumi.Input<string>; /** * The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService. */ clusterRp: pulumi.Input<string>; /** * Configuration settings that are sensitive, as name-value pairs for configuring this extension. */ configurationProtectedSettings?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * Configuration settings, as name-value pairs for configuring this extension. */ configurationSettings?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * Name of the Extension. */ extensionName?: pulumi.Input<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. */ extensionType?: pulumi.Input<string>; /** * Identity of the Extension resource */ identity?: pulumi.Input<inputs.kubernetesconfiguration.IdentityArgs>; /** * The plan information. */ plan?: pulumi.Input<inputs.kubernetesconfiguration.PlanArgs>; /** * ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'. */ releaseTrain?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Scope at which the extension is installed. */ scope?: pulumi.Input<inputs.kubernetesconfiguration.ScopeArgs>; /** * Status from this extension. */ statuses?: pulumi.Input<pulumi.Input<inputs.kubernetesconfiguration.ExtensionStatusArgs>[]>; /** * User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be 'false'. */ version?: pulumi.Input<string>; }