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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.compute.getVirtualMachineExtension
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.47.1 published on Monday, Jun 24, 2024 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.
Using getVirtualMachineExtension
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 getVirtualMachineExtension(args: GetVirtualMachineExtensionArgs, opts?: InvokeOptions): Promise<GetVirtualMachineExtensionResult>
function getVirtualMachineExtensionOutput(args: GetVirtualMachineExtensionOutputArgs, opts?: InvokeOptions): Output<GetVirtualMachineExtensionResult>
def get_virtual_machine_extension(expand: Optional[str] = None,
resource_group_name: Optional[str] = None,
vm_extension_name: Optional[str] = None,
vm_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualMachineExtensionResult
def get_virtual_machine_extension_output(expand: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
vm_extension_name: Optional[pulumi.Input[str]] = None,
vm_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachineExtensionResult]
func LookupVirtualMachineExtension(ctx *Context, args *LookupVirtualMachineExtensionArgs, opts ...InvokeOption) (*LookupVirtualMachineExtensionResult, error)
func LookupVirtualMachineExtensionOutput(ctx *Context, args *LookupVirtualMachineExtensionOutputArgs, opts ...InvokeOption) LookupVirtualMachineExtensionResultOutput
> Note: This function is named LookupVirtualMachineExtension
in the Go SDK.
public static class GetVirtualMachineExtension
{
public static Task<GetVirtualMachineExtensionResult> InvokeAsync(GetVirtualMachineExtensionArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualMachineExtensionResult> Invoke(GetVirtualMachineExtensionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualMachineExtensionResult> getVirtualMachineExtension(GetVirtualMachineExtensionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:compute:getVirtualMachineExtension
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group.
- Vm
Extension stringName - The name of the virtual machine extension.
- Vm
Name string - The name of the virtual machine containing the extension.
- Expand string
- The expand expression to apply on the operation.
- Resource
Group stringName - The name of the resource group.
- Vm
Extension stringName - The name of the virtual machine extension.
- Vm
Name string - The name of the virtual machine containing the extension.
- Expand string
- The expand expression to apply on the operation.
- resource
Group StringName - The name of the resource group.
- vm
Extension StringName - The name of the virtual machine extension.
- vm
Name String - The name of the virtual machine containing the extension.
- expand String
- The expand expression to apply on the operation.
- resource
Group stringName - The name of the resource group.
- vm
Extension stringName - The name of the virtual machine extension.
- vm
Name string - The name of the virtual machine containing the extension.
- expand string
- The expand expression to apply on the operation.
- resource_
group_ strname - The name of the resource group.
- vm_
extension_ strname - The name of the virtual machine extension.
- vm_
name str - The name of the virtual machine containing the extension.
- expand str
- The expand expression to apply on the operation.
- resource
Group StringName - The name of the resource group.
- vm
Extension StringName - The name of the virtual machine extension.
- vm
Name String - The name of the virtual machine containing the extension.
- expand String
- The expand expression to apply on the operation.
getVirtualMachineExtension Result
The following output properties are available:
- Id string
- Resource Id
- Name string
- Resource name
- Provisioning
State string - The provisioning state, which only appears in the response.
- Type string
- 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 stringTag - How the extension handler should be forced to update even if the extension configuration has not changed.
- Instance
View Pulumi.Azure Native. Compute. Outputs. Virtual Machine Extension Instance View Response - The virtual machine extension instance view.
- Location string
- Resource location
- Protected
Settings object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Protected
Settings 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
- Provision
After 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.
- 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.
- Dictionary<string, string>
- Resource tags
- Type
Handler stringVersion - Specifies the version of the script handler.
- Id string
- Resource Id
- Name string
- Resource name
- Provisioning
State string - The provisioning state, which only appears in the response.
- Type string
- 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 stringTag - How the extension handler should be forced to update even if the extension configuration has not changed.
- Instance
View VirtualMachine Extension Instance View Response - The virtual machine extension instance view.
- Location string
- Resource location
- Protected
Settings interface{} - 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 []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.
- 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.
- map[string]string
- Resource tags
- Type
Handler stringVersion - Specifies the version of the script handler.
- id String
- Resource Id
- name String
- Resource name
- provisioning
State String - The provisioning state, which only appears in the response.
- type String
- Resource type
- auto
Upgrade 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update StringTag - How the extension handler should be forced to update even if the extension configuration has not changed.
- instance
View VirtualMachine Extension Instance View Response - The virtual machine extension instance view.
- location String
- Resource location
- protected
Settings Object - 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 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.
- suppress
Failures 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.
- Map<String,String>
- Resource tags
- type
Handler StringVersion - Specifies the version of the script handler.
- id string
- Resource Id
- name string
- Resource name
- provisioning
State string - The provisioning state, which only appears in the response.
- type string
- Resource type
- auto
Upgrade 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.
- enable
Automatic booleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update stringTag - How the extension handler should be forced to update even if the extension configuration has not changed.
- instance
View VirtualMachine Extension Instance View Response - The virtual machine extension instance view.
- location string
- Resource location
- 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 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.
- suppress
Failures 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.
- {[key: string]: string}
- Resource tags
- type
Handler stringVersion - Specifies the version of the script handler.
- id str
- Resource Id
- name str
- Resource name
- 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 - How the extension handler should be forced to update even if the extension configuration has not changed.
- instance_
view VirtualMachine Extension Instance View Response - The virtual machine extension instance view.
- location str
- Resource location
- 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.
- Mapping[str, str]
- Resource tags
- type_
handler_ strversion - Specifies the version of the script handler.
- id String
- Resource Id
- name String
- Resource name
- provisioning
State String - The provisioning state, which only appears in the response.
- type String
- Resource type
- auto
Upgrade 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update StringTag - How the extension handler should be forced to update even if the extension configuration has not changed.
- instance
View Property Map - The virtual machine extension instance view.
- location String
- Resource location
- protected
Settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protected
Settings Property MapFrom Key Vault - The extensions protected settings that are passed by reference, and consumed from key vault
- provision
After 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.
- suppress
Failures 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.
- Map<String>
- Resource tags
- type
Handler StringVersion - Specifies the version of the script handler.
Supporting Types
InstanceViewStatusResponse
- Code string
- The status code.
- Display
Status string - The short localizable label for the status.
- Level string
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- Code string
- The status code.
- Display
Status string - The short localizable label for the status.
- Level string
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- code String
- The status code.
- display
Status String - The short localizable label for the status.
- level String
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
- code string
- The status code.
- display
Status string - The short localizable label for the status.
- level string
- The level code.
- message string
- The detailed status message, including for alerts and error messages.
- time string
- The time of the status.
- code str
- The status code.
- display_
status str - The short localizable label for the status.
- level str
- The level code.
- message str
- The detailed status message, including for alerts and error messages.
- time str
- The time of the status.
- code String
- The status code.
- display
Status String - The short localizable label for the status.
- level String
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
KeyVaultSecretReferenceResponse
- Secret
Url string - The URL referencing a secret in a Key Vault.
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Sub Resource Response - The relative URL of the Key Vault containing the secret.
- Secret
Url string - The URL referencing a secret in a Key Vault.
- Source
Vault SubResource Response - The relative URL of the Key Vault containing the secret.
- secret
Url String - The URL referencing a secret in a Key Vault.
- source
Vault SubResource Response - The relative URL of the Key Vault containing the secret.
- secret
Url string - The URL referencing a secret in a Key Vault.
- source
Vault 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.
- secret
Url String - The URL referencing a secret in a Key Vault.
- source
Vault 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
VirtualMachineExtensionInstanceViewResponse
- Name string
- The virtual machine extension name.
- Statuses
List<Pulumi.
Azure Native. Compute. Inputs. Instance View Status Response> - The resource status information.
- Substatuses
List<Pulumi.
Azure Native. Compute. Inputs. Instance View Status Response> - The resource status information.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- Name string
- The virtual machine extension name.
- Statuses
[]Instance
View Status Response - The resource status information.
- Substatuses
[]Instance
View Status Response - The resource status information.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- name String
- The virtual machine extension name.
- statuses
List<Instance
View Status Response> - The resource status information.
- substatuses
List<Instance
View Status Response> - The resource status information.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
- name string
- The virtual machine extension name.
- statuses
Instance
View Status Response[] - The resource status information.
- substatuses
Instance
View Status Response[] - The resource status information.
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler stringVersion - Specifies the version of the script handler.
- name str
- The virtual machine extension name.
- statuses
Sequence[Instance
View Status Response] - The resource status information.
- substatuses
Sequence[Instance
View Status Response] - The resource status information.
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_
handler_ strversion - Specifies the version of the script handler.
- name String
- The virtual machine extension name.
- statuses List<Property Map>
- The resource status information.
- substatuses List<Property Map>
- The resource status information.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
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.47.1 published on Monday, Jun 24, 2024 by Pulumi