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

120 lines (119 loc) 4.73 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * The operation to get the extension. * * Uses Azure REST API version 2024-11-01. * * Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native compute [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getVirtualMachineScaleSetExtension(args: GetVirtualMachineScaleSetExtensionArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineScaleSetExtensionResult>; export interface GetVirtualMachineScaleSetExtensionArgs { /** * The expand expression to apply on the operation. */ expand?: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the VM scale set. */ vmScaleSetName: string; /** * The name of the VM scale set extension. */ vmssExtensionName: string; } /** * Describes a Virtual Machine Scale Set Extension. */ export interface GetVirtualMachineScaleSetExtensionResult { /** * 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?: boolean; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. */ readonly enableAutomaticUpgrade?: boolean; /** * If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. */ readonly forceUpdateTag?: string; /** * Resource Id */ readonly id: string; /** * Resource name */ readonly name?: string; /** * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */ readonly protectedSettings?: any; /** * The extensions protected settings that are passed by reference, and consumed from key vault */ readonly protectedSettingsFromKeyVault?: outputs.compute.KeyVaultSecretReferenceResponse; /** * Collection of extension names after which this extension needs to be provisioned. */ readonly provisionAfterExtensions?: string[]; /** * The provisioning state, which only appears in the response. */ readonly provisioningState: string; /** * The name of the extension handler publisher. */ readonly publisher?: string; /** * Json formatted public settings for the extension. */ readonly settings?: any; /** * Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. */ readonly suppressFailures?: boolean; /** * Resource type */ readonly type: string; /** * Specifies the version of the script handler. */ readonly typeHandlerVersion?: string; } /** * The operation to get the extension. * * Uses Azure REST API version 2024-11-01. * * Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native compute [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getVirtualMachineScaleSetExtensionOutput(args: GetVirtualMachineScaleSetExtensionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualMachineScaleSetExtensionResult>; export interface GetVirtualMachineScaleSetExtensionOutputArgs { /** * The expand expression to apply on the operation. */ expand?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the VM scale set. */ vmScaleSetName: pulumi.Input<string>; /** * The name of the VM scale set extension. */ vmssExtensionName: pulumi.Input<string>; }