@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.12 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The operation to get the VMSS VM 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 getVirtualMachineScaleSetVMExtension(args: GetVirtualMachineScaleSetVMExtensionArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualMachineScaleSetVMExtensionResult>;
export interface GetVirtualMachineScaleSetVMExtensionArgs {
/**
* The expand expression to apply on the operation.
*/
expand?: string;
/**
* The instance ID of the virtual machine.
*/
instanceId: 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 VM scale set.
*/
vmScaleSetName: string;
}
/**
* Describes a VMSS VM Extension.
*/
export interface GetVirtualMachineScaleSetVMExtensionResult {
/**
* 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;
/**
* Resource Id
*/
readonly id: string;
/**
* The virtual machine extension instance view.
*/
readonly instanceView?: outputs.compute.VirtualMachineExtensionInstanceViewResponse;
/**
* The location of the extension.
*/
readonly location?: 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 VMSS VM 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 getVirtualMachineScaleSetVMExtensionOutput(args: GetVirtualMachineScaleSetVMExtensionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualMachineScaleSetVMExtensionResult>;
export interface GetVirtualMachineScaleSetVMExtensionOutputArgs {
/**
* The expand expression to apply on the operation.
*/
expand?: pulumi.Input<string>;
/**
* The instance ID of the virtual machine.
*/
instanceId: 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 VM scale set.
*/
vmScaleSetName: pulumi.Input<string>;
}