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

138 lines (137 loc) 5.37 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 getVirtualMachineExtension(args: GetVirtualMachineExtensionArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineExtensionResult>; export interface GetVirtualMachineExtensionArgs { /** * 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 virtual machine extension. */ vmExtensionName: string; /** * The name of the virtual machine. */ vmName: string; } /** * Describes a Virtual Machine Extension. */ export interface GetVirtualMachineExtensionResult { /** * 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; /** * How the extension handler should be forced to update even if the extension configuration has not changed. */ readonly forceUpdateTag?: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The virtual machine extension instance view. */ readonly instanceView?: outputs.compute.VirtualMachineExtensionInstanceViewResponse; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ 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; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.compute.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ 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 getVirtualMachineExtensionOutput(args: GetVirtualMachineExtensionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualMachineExtensionResult>; export interface GetVirtualMachineExtensionOutputArgs { /** * 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 virtual machine extension. */ vmExtensionName: pulumi.Input<string>; /** * The name of the virtual machine. */ vmName: pulumi.Input<string>; }