This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.compute.getVirtualMachineScaleSetExtension
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
The operation to get the extension. Azure REST API version: 2023-03-01.
Other available API versions: 2021-11-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01.
Using getVirtualMachineScaleSetExtension
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualMachineScaleSetExtension(args: GetVirtualMachineScaleSetExtensionArgs, opts?: InvokeOptions): Promise<GetVirtualMachineScaleSetExtensionResult>
function getVirtualMachineScaleSetExtensionOutput(args: GetVirtualMachineScaleSetExtensionOutputArgs, opts?: InvokeOptions): Output<GetVirtualMachineScaleSetExtensionResult>def get_virtual_machine_scale_set_extension(expand: Optional[str] = None,
                                            resource_group_name: Optional[str] = None,
                                            vm_scale_set_name: Optional[str] = None,
                                            vmss_extension_name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetVirtualMachineScaleSetExtensionResult
def get_virtual_machine_scale_set_extension_output(expand: Optional[pulumi.Input[str]] = None,
                                            resource_group_name: Optional[pulumi.Input[str]] = None,
                                            vm_scale_set_name: Optional[pulumi.Input[str]] = None,
                                            vmss_extension_name: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachineScaleSetExtensionResult]func LookupVirtualMachineScaleSetExtension(ctx *Context, args *LookupVirtualMachineScaleSetExtensionArgs, opts ...InvokeOption) (*LookupVirtualMachineScaleSetExtensionResult, error)
func LookupVirtualMachineScaleSetExtensionOutput(ctx *Context, args *LookupVirtualMachineScaleSetExtensionOutputArgs, opts ...InvokeOption) LookupVirtualMachineScaleSetExtensionResultOutput> Note: This function is named LookupVirtualMachineScaleSetExtension in the Go SDK.
public static class GetVirtualMachineScaleSetExtension 
{
    public static Task<GetVirtualMachineScaleSetExtensionResult> InvokeAsync(GetVirtualMachineScaleSetExtensionArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualMachineScaleSetExtensionResult> Invoke(GetVirtualMachineScaleSetExtensionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualMachineScaleSetExtensionResult> getVirtualMachineScaleSetExtension(GetVirtualMachineScaleSetExtensionArgs args, InvokeOptions options)
public static Output<GetVirtualMachineScaleSetExtensionResult> getVirtualMachineScaleSetExtension(GetVirtualMachineScaleSetExtensionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:compute:getVirtualMachineScaleSetExtension
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group.
- VmScale stringSet Name 
- The name of the VM scale set containing the extension.
- VmssExtension stringName 
- The name of the VM scale set extension.
- Expand string
- The expand expression to apply on the operation.
- ResourceGroup stringName 
- The name of the resource group.
- VmScale stringSet Name 
- The name of the VM scale set containing the extension.
- VmssExtension stringName 
- The name of the VM scale set extension.
- Expand string
- The expand expression to apply on the operation.
- resourceGroup StringName 
- The name of the resource group.
- vmScale StringSet Name 
- The name of the VM scale set containing the extension.
- vmssExtension StringName 
- The name of the VM scale set extension.
- expand String
- The expand expression to apply on the operation.
- resourceGroup stringName 
- The name of the resource group.
- vmScale stringSet Name 
- The name of the VM scale set containing the extension.
- vmssExtension stringName 
- The name of the VM scale set extension.
- expand string
- The expand expression to apply on the operation.
- resource_group_ strname 
- The name of the resource group.
- vm_scale_ strset_ name 
- The name of the VM scale set containing the extension.
- vmss_extension_ strname 
- The name of the VM scale set extension.
- expand str
- The expand expression to apply on the operation.
- resourceGroup StringName 
- The name of the resource group.
- vmScale StringSet Name 
- The name of the VM scale set containing the extension.
- vmssExtension StringName 
- The name of the VM scale set extension.
- expand String
- The expand expression to apply on the operation.
getVirtualMachineScaleSetExtension Result
The following output properties are available:
- Id string
- Resource Id
- ProvisioningState string
- The provisioning state, which only appears in the response.
- Type string
- Resource type
- AutoUpgrade boolMinor Version 
- 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.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- 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.
- Name string
- The name of the extension.
- ProtectedSettings object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings Pulumi.From Key Vault Azure Native. Compute. Outputs. Key Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter List<string>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings object
- Json formatted public settings for the extension.
- SuppressFailures bool
- 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.
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- Id string
- Resource Id
- ProvisioningState string
- The provisioning state, which only appears in the response.
- Type string
- Resource type
- AutoUpgrade boolMinor Version 
- 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.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- 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.
- Name string
- The name of the extension.
- ProtectedSettings interface{}
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter []stringExtensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings interface{}
- Json formatted public settings for the extension.
- SuppressFailures bool
- 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.
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- id String
- Resource Id
- provisioningState String
- The provisioning state, which only appears in the response.
- type String
- Resource type
- autoUpgrade BooleanMinor Version 
- 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.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- 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.
- name String
- The name of the extension.
- protectedSettings Object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Object
- Json formatted public settings for the extension.
- suppressFailures Boolean
- 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.
- typeHandler StringVersion 
- Specifies the version of the script handler.
- id string
- Resource Id
- provisioningState string
- The provisioning state, which only appears in the response.
- type string
- Resource type
- autoUpgrade booleanMinor Version 
- 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.
- enableAutomatic booleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate stringTag 
- 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.
- name string
- The name of the extension.
- protectedSettings any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter string[]Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher string
- The name of the extension handler publisher.
- settings any
- Json formatted public settings for the extension.
- suppressFailures boolean
- 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.
- typeHandler stringVersion 
- Specifies the version of the script handler.
- id str
- Resource Id
- provisioning_state str
- The provisioning state, which only appears in the response.
- type str
- Resource type
- auto_upgrade_ boolminor_ version 
- 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.
- enable_automatic_ boolupgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force_update_ strtag 
- 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.
- name str
- The name of the extension.
- protected_settings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protected_settings_ Keyfrom_ key_ vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provision_after_ Sequence[str]extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher str
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppress_failures bool
- 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.
- type_handler_ strversion 
- Specifies the version of the script handler.
- id String
- Resource Id
- provisioningState String
- The provisioning state, which only appears in the response.
- type String
- Resource type
- autoUpgrade BooleanMinor Version 
- 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.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- 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.
- name String
- The name of the extension.
- protectedSettings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings Property MapFrom Key Vault 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppressFailures Boolean
- 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.
- typeHandler StringVersion 
- Specifies the version of the script handler.
Supporting Types
KeyVaultSecretReferenceResponse    
- SecretUrl string
- The URL referencing a secret in a Key Vault.
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource Response 
- The relative URL of the Key Vault containing the secret.
- SecretUrl string
- The URL referencing a secret in a Key Vault.
- SourceVault SubResource Response 
- The relative URL of the Key Vault containing the secret.
- secretUrl String
- The URL referencing a secret in a Key Vault.
- sourceVault SubResource Response 
- The relative URL of the Key Vault containing the secret.
- secretUrl string
- The URL referencing a secret in a Key Vault.
- sourceVault SubResource Response 
- The relative URL of the Key Vault containing the secret.
- secret_url str
- The URL referencing a secret in a Key Vault.
- source_vault SubResource Response 
- The relative URL of the Key Vault containing the secret.
- secretUrl String
- The URL referencing a secret in a Key Vault.
- sourceVault Property Map
- The relative URL of the Key Vault containing the secret.
SubResourceResponse  
- Id string
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi