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

147 lines (146 loc) 6.24 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Details of a particular extension in HCI Cluster. * * Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01. * * Other available API versions: 2022-12-15-preview, 2023-02-01, 2023-03-01, 2023-06-01, 2023-08-01, 2023-08-01-preview, 2023-11-01-preview, 2024-01-01, 2024-02-15-preview, 2024-09-01-preview, 2024-12-01-preview, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestackhci [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; /** * Aggregate state of Arc Extensions across the nodes in this HCI cluster. */ readonly aggregateState: pulumi.Output<string>; /** * Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */ readonly autoUpgradeMinorVersion: pulumi.Output<boolean | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. */ readonly enableAutomaticUpgrade: pulumi.Output<boolean | undefined>; /** * How the extension handler should be forced to update even if the extension configuration has not changed. */ readonly forceUpdateTag: pulumi.Output<string | undefined>; /** * Indicates if the extension is managed by azure or the user. */ readonly managedBy: pulumi.Output<string>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * State of Arc Extension in each of the nodes. */ readonly perNodeExtensionDetails: pulumi.Output<outputs.azurestackhci.PerNodeExtensionStateResponse[]>; /** * Protected settings (may contain secrets). */ readonly protectedSettings: pulumi.Output<any | undefined>; /** * Provisioning state of the Extension proxy resource. */ readonly provisioningState: pulumi.Output<string>; /** * The name of the extension handler publisher. */ readonly publisher: pulumi.Output<string | undefined>; /** * Json formatted public settings for the extension. */ readonly settings: pulumi.Output<any | undefined>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.azurestackhci.SystemDataResponse>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Specifies the version of the script handler. Latest version would be used if not specified. */ readonly typeHandlerVersion: 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 { /** * The name of the proxy resource holding details of HCI ArcSetting information. */ arcSettingName: pulumi.Input<string>; /** * Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */ autoUpgradeMinorVersion?: pulumi.Input<boolean>; /** * The name of the cluster. */ clusterName: pulumi.Input<string>; /** * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. */ enableAutomaticUpgrade?: pulumi.Input<boolean>; /** * The name of the machine extension. */ extensionName?: pulumi.Input<string>; /** * How the extension handler should be forced to update even if the extension configuration has not changed. */ forceUpdateTag?: pulumi.Input<string>; /** * Protected settings (may contain secrets). */ protectedSettings?: any; /** * The name of the extension handler publisher. */ publisher?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Json formatted public settings for the extension. */ settings?: any; /** * Specifies the type of the extension; an example is "CustomScriptExtension". */ type?: pulumi.Input<string>; /** * Specifies the version of the script handler. Latest version would be used if not specified. */ typeHandlerVersion?: pulumi.Input<string>; }