These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.virtualmachineimages.getVirtualMachineImageTemplate
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Get information about a virtual machine image template API Version: 2020-02-14.
Using getVirtualMachineImageTemplate
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 getVirtualMachineImageTemplate(args: GetVirtualMachineImageTemplateArgs, opts?: InvokeOptions): Promise<GetVirtualMachineImageTemplateResult>
function getVirtualMachineImageTemplateOutput(args: GetVirtualMachineImageTemplateOutputArgs, opts?: InvokeOptions): Output<GetVirtualMachineImageTemplateResult>def get_virtual_machine_image_template(image_template_name: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetVirtualMachineImageTemplateResult
def get_virtual_machine_image_template_output(image_template_name: Optional[pulumi.Input[str]] = None,
                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachineImageTemplateResult]func LookupVirtualMachineImageTemplate(ctx *Context, args *LookupVirtualMachineImageTemplateArgs, opts ...InvokeOption) (*LookupVirtualMachineImageTemplateResult, error)
func LookupVirtualMachineImageTemplateOutput(ctx *Context, args *LookupVirtualMachineImageTemplateOutputArgs, opts ...InvokeOption) LookupVirtualMachineImageTemplateResultOutput> Note: This function is named LookupVirtualMachineImageTemplate in the Go SDK.
public static class GetVirtualMachineImageTemplate 
{
    public static Task<GetVirtualMachineImageTemplateResult> InvokeAsync(GetVirtualMachineImageTemplateArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualMachineImageTemplateResult> Invoke(GetVirtualMachineImageTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualMachineImageTemplateResult> getVirtualMachineImageTemplate(GetVirtualMachineImageTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:virtualmachineimages:getVirtualMachineImageTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ImageTemplate stringName 
- The name of the image Template
- ResourceGroup stringName 
- The name of the resource group.
- ImageTemplate stringName 
- The name of the image Template
- ResourceGroup stringName 
- The name of the resource group.
- imageTemplate StringName 
- The name of the image Template
- resourceGroup StringName 
- The name of the resource group.
- imageTemplate stringName 
- The name of the image Template
- resourceGroup stringName 
- The name of the resource group.
- image_template_ strname 
- The name of the image Template
- resource_group_ strname 
- The name of the resource group.
- imageTemplate StringName 
- The name of the image Template
- resourceGroup StringName 
- The name of the resource group.
getVirtualMachineImageTemplate Result
The following output properties are available:
- Distribute List<object>
- The distribution targets where the image output needs to go to.
- Id string
- Resource Id
- Identity
Pulumi.Azure Native. Virtual Machine Images. Outputs. Image Template Identity Response 
- The identity of the image template, if configured.
- LastRun Pulumi.Status Azure Native. Virtual Machine Images. Outputs. Image Template Last Run Status Response 
- State of 'run' that is currently executing or was last executed.
- Location string
- Resource location
- Name string
- Resource name
- ProvisioningError Pulumi.Azure Native. Virtual Machine Images. Outputs. Provisioning Error Response 
- Provisioning error, if any
- ProvisioningState string
- Provisioning state of the resource
- Source
Pulumi.Azure | Pulumi.Native. Virtual Machine Images. Outputs. Image Template Managed Image Source Response Azure | Pulumi.Native. Virtual Machine Images. Outputs. Image Template Platform Image Source Response Azure Native. Virtual Machine Images. Outputs. Image Template Shared Image Version Source Response 
- Specifies the properties used to describe the source image.
- Type string
- Resource type
- BuildTimeout intIn Minutes 
- Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours).
- Customize List<object>
- Specifies the properties used to describe the customization steps of the image, like Image source etc
- Dictionary<string, string>
- Resource tags
- VmProfile Pulumi.Azure Native. Virtual Machine Images. Outputs. Image Template Vm Profile Response 
- Describes how virtual machine is set up to build images
- Distribute []interface{}
- The distribution targets where the image output needs to go to.
- Id string
- Resource Id
- Identity
ImageTemplate Identity Response 
- The identity of the image template, if configured.
- LastRun ImageStatus Template Last Run Status Response 
- State of 'run' that is currently executing or was last executed.
- Location string
- Resource location
- Name string
- Resource name
- ProvisioningError ProvisioningError Response 
- Provisioning error, if any
- ProvisioningState string
- Provisioning state of the resource
- Source
ImageTemplate | ImageManaged Image Source Response Template | ImagePlatform Image Source Response Template Shared Image Version Source Response 
- Specifies the properties used to describe the source image.
- Type string
- Resource type
- BuildTimeout intIn Minutes 
- Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours).
- Customize []interface{}
- Specifies the properties used to describe the customization steps of the image, like Image source etc
- map[string]string
- Resource tags
- VmProfile ImageTemplate Vm Profile Response 
- Describes how virtual machine is set up to build images
- distribute List<Object>
- The distribution targets where the image output needs to go to.
- id String
- Resource Id
- identity
ImageTemplate Identity Response 
- The identity of the image template, if configured.
- lastRun ImageStatus Template Last Run Status Response 
- State of 'run' that is currently executing or was last executed.
- location String
- Resource location
- name String
- Resource name
- provisioningError ProvisioningError Response 
- Provisioning error, if any
- provisioningState String
- Provisioning state of the resource
- source
ImageTemplate | ImageManaged Image Source Response Template | ImagePlatform Image Source Response Template Shared Image Version Source Response 
- Specifies the properties used to describe the source image.
- type String
- Resource type
- buildTimeout IntegerIn Minutes 
- Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours).
- customize List<Object>
- Specifies the properties used to describe the customization steps of the image, like Image source etc
- Map<String,String>
- Resource tags
- vmProfile ImageTemplate Vm Profile Response 
- Describes how virtual machine is set up to build images
- distribute
(ImageTemplate Managed Image Distributor Response | Image Template Shared Image Distributor Response | Image Template Vhd Distributor Response)[] 
- The distribution targets where the image output needs to go to.
- id string
- Resource Id
- identity
ImageTemplate Identity Response 
- The identity of the image template, if configured.
- lastRun ImageStatus Template Last Run Status Response 
- State of 'run' that is currently executing or was last executed.
- location string
- Resource location
- name string
- Resource name
- provisioningError ProvisioningError Response 
- Provisioning error, if any
- provisioningState string
- Provisioning state of the resource
- source
ImageTemplate | ImageManaged Image Source Response Template | ImagePlatform Image Source Response Template Shared Image Version Source Response 
- Specifies the properties used to describe the source image.
- type string
- Resource type
- buildTimeout numberIn Minutes 
- Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours).
- customize
(ImageTemplate File Customizer Response | Image Template Power Shell Customizer Response | Image Template Restart Customizer Response | Image Template Shell Customizer Response | Image Template Windows Update Customizer Response)[] 
- Specifies the properties used to describe the customization steps of the image, like Image source etc
- {[key: string]: string}
- Resource tags
- vmProfile ImageTemplate Vm Profile Response 
- Describes how virtual machine is set up to build images
- distribute Sequence[Any]
- The distribution targets where the image output needs to go to.
- id str
- Resource Id
- identity
ImageTemplate Identity Response 
- The identity of the image template, if configured.
- last_run_ Imagestatus Template Last Run Status Response 
- State of 'run' that is currently executing or was last executed.
- location str
- Resource location
- name str
- Resource name
- provisioning_error ProvisioningError Response 
- Provisioning error, if any
- provisioning_state str
- Provisioning state of the resource
- source
ImageTemplate | ImageManaged Image Source Response Template | ImagePlatform Image Source Response Template Shared Image Version Source Response 
- Specifies the properties used to describe the source image.
- type str
- Resource type
- build_timeout_ intin_ minutes 
- Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours).
- customize Sequence[Any]
- Specifies the properties used to describe the customization steps of the image, like Image source etc
- Mapping[str, str]
- Resource tags
- vm_profile ImageTemplate Vm Profile Response 
- Describes how virtual machine is set up to build images
- distribute List<Property Map | Property Map | Property Map>
- The distribution targets where the image output needs to go to.
- id String
- Resource Id
- identity Property Map
- The identity of the image template, if configured.
- lastRun Property MapStatus 
- State of 'run' that is currently executing or was last executed.
- location String
- Resource location
- name String
- Resource name
- provisioningError Property Map
- Provisioning error, if any
- provisioningState String
- Provisioning state of the resource
- source Property Map | Property Map | Property Map
- Specifies the properties used to describe the source image.
- type String
- Resource type
- buildTimeout NumberIn Minutes 
- Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours).
- customize List<Property Map | Property Map | Property Map | Property Map | Property Map>
- Specifies the properties used to describe the customization steps of the image, like Image source etc
- Map<String>
- Resource tags
- vmProfile Property Map
- Describes how virtual machine is set up to build images
Supporting Types
ImageTemplateFileCustomizerResponse    
- Destination string
- The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
- Name string
- Friendly Name to provide context on what this customization step does
- Sha256Checksum string
- SHA256 checksum of the file provided in the sourceUri field above
- SourceUri string
- The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
- Destination string
- The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
- Name string
- Friendly Name to provide context on what this customization step does
- Sha256Checksum string
- SHA256 checksum of the file provided in the sourceUri field above
- SourceUri string
- The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
- destination String
- The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
- name String
- Friendly Name to provide context on what this customization step does
- sha256Checksum String
- SHA256 checksum of the file provided in the sourceUri field above
- sourceUri String
- The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
- destination string
- The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
- name string
- Friendly Name to provide context on what this customization step does
- sha256Checksum string
- SHA256 checksum of the file provided in the sourceUri field above
- sourceUri string
- The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
- destination str
- The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
- name str
- Friendly Name to provide context on what this customization step does
- sha256_checksum str
- SHA256 checksum of the file provided in the sourceUri field above
- source_uri str
- The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
- destination String
- The absolute path to a file (with nested directory structures already created) where the file (from sourceUri) will be uploaded to in the VM
- name String
- Friendly Name to provide context on what this customization step does
- sha256Checksum String
- SHA256 checksum of the file provided in the sourceUri field above
- sourceUri String
- The URI of the file to be uploaded for customizing the VM. It can be a github link, SAS URI for Azure Storage, etc
ImageTemplateIdentityResponse   
- Type string
- The type of identity used for the image template. The type 'None' will remove any identities from the image template.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Virtual Machine Images. Inputs. Image Template Identity Response User Assigned Identities> 
- The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Type string
- The type of identity used for the image template. The type 'None' will remove any identities from the image template.
- UserAssigned map[string]ImageIdentities Template Identity Response User Assigned Identities 
- The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type String
- The type of identity used for the image template. The type 'None' will remove any identities from the image template.
- userAssigned Map<String,ImageIdentities Template Identity Response User Assigned Identities> 
- The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type string
- The type of identity used for the image template. The type 'None' will remove any identities from the image template.
- userAssigned {[key: string]: ImageIdentities Template Identity Response User Assigned Identities} 
- The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type str
- The type of identity used for the image template. The type 'None' will remove any identities from the image template.
- user_assigned_ Mapping[str, Imageidentities Template Identity Response User Assigned Identities] 
- The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type String
- The type of identity used for the image template. The type 'None' will remove any identities from the image template.
- userAssigned Map<Property Map>Identities 
- The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
ImageTemplateIdentityResponseUserAssignedIdentities      
- ClientId string
- The client id of user assigned identity.
- PrincipalId string
- The principal id of user assigned identity.
- ClientId string
- The client id of user assigned identity.
- PrincipalId string
- The principal id of user assigned identity.
- clientId String
- The client id of user assigned identity.
- principalId String
- The principal id of user assigned identity.
- clientId string
- The client id of user assigned identity.
- principalId string
- The principal id of user assigned identity.
- client_id str
- The client id of user assigned identity.
- principal_id str
- The principal id of user assigned identity.
- clientId String
- The client id of user assigned identity.
- principalId String
- The principal id of user assigned identity.
ImageTemplateLastRunStatusResponse     
- EndTime string
- End time of the last run (UTC)
- Message string
- Verbose information about the last run state
- RunState string
- State of the last run
- RunSub stringState 
- Sub-state of the last run
- StartTime string
- Start time of the last run (UTC)
- EndTime string
- End time of the last run (UTC)
- Message string
- Verbose information about the last run state
- RunState string
- State of the last run
- RunSub stringState 
- Sub-state of the last run
- StartTime string
- Start time of the last run (UTC)
- endTime String
- End time of the last run (UTC)
- message String
- Verbose information about the last run state
- runState String
- State of the last run
- runSub StringState 
- Sub-state of the last run
- startTime String
- Start time of the last run (UTC)
- endTime string
- End time of the last run (UTC)
- message string
- Verbose information about the last run state
- runState string
- State of the last run
- runSub stringState 
- Sub-state of the last run
- startTime string
- Start time of the last run (UTC)
- end_time str
- End time of the last run (UTC)
- message str
- Verbose information about the last run state
- run_state str
- State of the last run
- run_sub_ strstate 
- Sub-state of the last run
- start_time str
- Start time of the last run (UTC)
- endTime String
- End time of the last run (UTC)
- message String
- Verbose information about the last run state
- runState String
- State of the last run
- runSub StringState 
- Sub-state of the last run
- startTime String
- Start time of the last run (UTC)
ImageTemplateManagedImageDistributorResponse     
- ImageId string
- Resource Id of the Managed Disk Image
- Location string
- Azure location for the image, should match if image already exists
- RunOutput stringName 
- The name to be used for the associated RunOutput.
- Dictionary<string, string>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- ImageId string
- Resource Id of the Managed Disk Image
- Location string
- Azure location for the image, should match if image already exists
- RunOutput stringName 
- The name to be used for the associated RunOutput.
- map[string]string
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- imageId String
- Resource Id of the Managed Disk Image
- location String
- Azure location for the image, should match if image already exists
- runOutput StringName 
- The name to be used for the associated RunOutput.
- Map<String,String>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- imageId string
- Resource Id of the Managed Disk Image
- location string
- Azure location for the image, should match if image already exists
- runOutput stringName 
- The name to be used for the associated RunOutput.
- {[key: string]: string}
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- image_id str
- Resource Id of the Managed Disk Image
- location str
- Azure location for the image, should match if image already exists
- run_output_ strname 
- The name to be used for the associated RunOutput.
- Mapping[str, str]
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- imageId String
- Resource Id of the Managed Disk Image
- location String
- Azure location for the image, should match if image already exists
- runOutput StringName 
- The name to be used for the associated RunOutput.
- Map<String>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
ImageTemplateManagedImageSourceResponse     
- ImageId string
- ARM resource id of the managed image in customer subscription
- ImageId string
- ARM resource id of the managed image in customer subscription
- imageId String
- ARM resource id of the managed image in customer subscription
- imageId string
- ARM resource id of the managed image in customer subscription
- image_id str
- ARM resource id of the managed image in customer subscription
- imageId String
- ARM resource id of the managed image in customer subscription
ImageTemplatePlatformImageSourceResponse     
- Offer string
- Image offer from the Azure Gallery Images.
- PlanInfo Pulumi.Azure Native. Virtual Machine Images. Inputs. Platform Image Purchase Plan Response 
- Optional configuration of purchase plan for platform image.
- Publisher string
- Image Publisher in Azure Gallery Images.
- Sku string
- Image sku from the Azure Gallery Images.
- Version string
- Image version from the Azure Gallery Images. If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. Specifying 'latest' could cause ROUNDTRIP_INCONSISTENT_PROPERTY issue which will be fixed.
- Offer string
- Image offer from the Azure Gallery Images.
- PlanInfo PlatformImage Purchase Plan Response 
- Optional configuration of purchase plan for platform image.
- Publisher string
- Image Publisher in Azure Gallery Images.
- Sku string
- Image sku from the Azure Gallery Images.
- Version string
- Image version from the Azure Gallery Images. If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. Specifying 'latest' could cause ROUNDTRIP_INCONSISTENT_PROPERTY issue which will be fixed.
- offer String
- Image offer from the Azure Gallery Images.
- planInfo PlatformImage Purchase Plan Response 
- Optional configuration of purchase plan for platform image.
- publisher String
- Image Publisher in Azure Gallery Images.
- sku String
- Image sku from the Azure Gallery Images.
- version String
- Image version from the Azure Gallery Images. If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. Specifying 'latest' could cause ROUNDTRIP_INCONSISTENT_PROPERTY issue which will be fixed.
- offer string
- Image offer from the Azure Gallery Images.
- planInfo PlatformImage Purchase Plan Response 
- Optional configuration of purchase plan for platform image.
- publisher string
- Image Publisher in Azure Gallery Images.
- sku string
- Image sku from the Azure Gallery Images.
- version string
- Image version from the Azure Gallery Images. If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. Specifying 'latest' could cause ROUNDTRIP_INCONSISTENT_PROPERTY issue which will be fixed.
- offer str
- Image offer from the Azure Gallery Images.
- plan_info PlatformImage Purchase Plan Response 
- Optional configuration of purchase plan for platform image.
- publisher str
- Image Publisher in Azure Gallery Images.
- sku str
- Image sku from the Azure Gallery Images.
- version str
- Image version from the Azure Gallery Images. If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. Specifying 'latest' could cause ROUNDTRIP_INCONSISTENT_PROPERTY issue which will be fixed.
- offer String
- Image offer from the Azure Gallery Images.
- planInfo Property Map
- Optional configuration of purchase plan for platform image.
- publisher String
- Image Publisher in Azure Gallery Images.
- sku String
- Image sku from the Azure Gallery Images.
- version String
- Image version from the Azure Gallery Images. If 'latest' is specified here, the version is evaluated when the image build takes place, not when the template is submitted. Specifying 'latest' could cause ROUNDTRIP_INCONSISTENT_PROPERTY issue which will be fixed.
ImageTemplatePowerShellCustomizerResponse     
- Inline List<string>
- Array of PowerShell commands to execute
- Name string
- Friendly Name to provide context on what this customization step does
- RunAs boolSystem 
- If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
- RunElevated bool
- If specified, the PowerShell script will be run with elevated privileges
- ScriptUri string
- URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- Sha256Checksum string
- SHA256 checksum of the power shell script provided in the scriptUri field above
- ValidExit List<int>Codes 
- Valid exit codes for the PowerShell script. [Default: 0]
- Inline []string
- Array of PowerShell commands to execute
- Name string
- Friendly Name to provide context on what this customization step does
- RunAs boolSystem 
- If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
- RunElevated bool
- If specified, the PowerShell script will be run with elevated privileges
- ScriptUri string
- URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- Sha256Checksum string
- SHA256 checksum of the power shell script provided in the scriptUri field above
- ValidExit []intCodes 
- Valid exit codes for the PowerShell script. [Default: 0]
- inline List<String>
- Array of PowerShell commands to execute
- name String
- Friendly Name to provide context on what this customization step does
- runAs BooleanSystem 
- If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
- runElevated Boolean
- If specified, the PowerShell script will be run with elevated privileges
- scriptUri String
- URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- sha256Checksum String
- SHA256 checksum of the power shell script provided in the scriptUri field above
- validExit List<Integer>Codes 
- Valid exit codes for the PowerShell script. [Default: 0]
- inline string[]
- Array of PowerShell commands to execute
- name string
- Friendly Name to provide context on what this customization step does
- runAs booleanSystem 
- If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
- runElevated boolean
- If specified, the PowerShell script will be run with elevated privileges
- scriptUri string
- URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- sha256Checksum string
- SHA256 checksum of the power shell script provided in the scriptUri field above
- validExit number[]Codes 
- Valid exit codes for the PowerShell script. [Default: 0]
- inline Sequence[str]
- Array of PowerShell commands to execute
- name str
- Friendly Name to provide context on what this customization step does
- run_as_ boolsystem 
- If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
- run_elevated bool
- If specified, the PowerShell script will be run with elevated privileges
- script_uri str
- URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- sha256_checksum str
- SHA256 checksum of the power shell script provided in the scriptUri field above
- valid_exit_ Sequence[int]codes 
- Valid exit codes for the PowerShell script. [Default: 0]
- inline List<String>
- Array of PowerShell commands to execute
- name String
- Friendly Name to provide context on what this customization step does
- runAs BooleanSystem 
- If specified, the PowerShell script will be run with elevated privileges using the Local System user. Can only be true when the runElevated field above is set to true.
- runElevated Boolean
- If specified, the PowerShell script will be run with elevated privileges
- scriptUri String
- URI of the PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- sha256Checksum String
- SHA256 checksum of the power shell script provided in the scriptUri field above
- validExit List<Number>Codes 
- Valid exit codes for the PowerShell script. [Default: 0]
ImageTemplateRestartCustomizerResponse    
- Name string
- Friendly Name to provide context on what this customization step does
- RestartCheck stringCommand 
- Command to check if restart succeeded [Default: '']
- RestartCommand string
- Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- RestartTimeout string
- Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
- Name string
- Friendly Name to provide context on what this customization step does
- RestartCheck stringCommand 
- Command to check if restart succeeded [Default: '']
- RestartCommand string
- Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- RestartTimeout string
- Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
- name String
- Friendly Name to provide context on what this customization step does
- restartCheck StringCommand 
- Command to check if restart succeeded [Default: '']
- restartCommand String
- Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- restartTimeout String
- Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
- name string
- Friendly Name to provide context on what this customization step does
- restartCheck stringCommand 
- Command to check if restart succeeded [Default: '']
- restartCommand string
- Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- restartTimeout string
- Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
- name str
- Friendly Name to provide context on what this customization step does
- restart_check_ strcommand 
- Command to check if restart succeeded [Default: '']
- restart_command str
- Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- restart_timeout str
- Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
- name String
- Friendly Name to provide context on what this customization step does
- restartCheck StringCommand 
- Command to check if restart succeeded [Default: '']
- restartCommand String
- Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- restartTimeout String
- Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
ImageTemplateSharedImageDistributorResponse     
- GalleryImage stringId 
- Resource Id of the Shared Image Gallery image
- ReplicationRegions List<string>
- A list of regions that the image will be replicated to
- RunOutput stringName 
- The name to be used for the associated RunOutput.
- Dictionary<string, string>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- ExcludeFrom boolLatest 
- Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- StorageAccount stringType 
- Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
- GalleryImage stringId 
- Resource Id of the Shared Image Gallery image
- ReplicationRegions []string
- A list of regions that the image will be replicated to
- RunOutput stringName 
- The name to be used for the associated RunOutput.
- map[string]string
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- ExcludeFrom boolLatest 
- Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- StorageAccount stringType 
- Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
- galleryImage StringId 
- Resource Id of the Shared Image Gallery image
- replicationRegions List<String>
- A list of regions that the image will be replicated to
- runOutput StringName 
- The name to be used for the associated RunOutput.
- Map<String,String>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- excludeFrom BooleanLatest 
- Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- storageAccount StringType 
- Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
- galleryImage stringId 
- Resource Id of the Shared Image Gallery image
- replicationRegions string[]
- A list of regions that the image will be replicated to
- runOutput stringName 
- The name to be used for the associated RunOutput.
- {[key: string]: string}
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- excludeFrom booleanLatest 
- Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- storageAccount stringType 
- Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
- gallery_image_ strid 
- Resource Id of the Shared Image Gallery image
- replication_regions Sequence[str]
- A list of regions that the image will be replicated to
- run_output_ strname 
- The name to be used for the associated RunOutput.
- Mapping[str, str]
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- exclude_from_ boollatest 
- Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- storage_account_ strtype 
- Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
- galleryImage StringId 
- Resource Id of the Shared Image Gallery image
- replicationRegions List<String>
- A list of regions that the image will be replicated to
- runOutput StringName 
- The name to be used for the associated RunOutput.
- Map<String>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- excludeFrom BooleanLatest 
- Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- storageAccount StringType 
- Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
ImageTemplateSharedImageVersionSourceResponse      
- ImageVersion stringId 
- ARM resource id of the image version in the shared image gallery
- ImageVersion stringId 
- ARM resource id of the image version in the shared image gallery
- imageVersion StringId 
- ARM resource id of the image version in the shared image gallery
- imageVersion stringId 
- ARM resource id of the image version in the shared image gallery
- image_version_ strid 
- ARM resource id of the image version in the shared image gallery
- imageVersion StringId 
- ARM resource id of the image version in the shared image gallery
ImageTemplateShellCustomizerResponse    
- Inline List<string>
- Array of shell commands to execute
- Name string
- Friendly Name to provide context on what this customization step does
- ScriptUri string
- URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- Sha256Checksum string
- SHA256 checksum of the shell script provided in the scriptUri field
- Inline []string
- Array of shell commands to execute
- Name string
- Friendly Name to provide context on what this customization step does
- ScriptUri string
- URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- Sha256Checksum string
- SHA256 checksum of the shell script provided in the scriptUri field
- inline List<String>
- Array of shell commands to execute
- name String
- Friendly Name to provide context on what this customization step does
- scriptUri String
- URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- sha256Checksum String
- SHA256 checksum of the shell script provided in the scriptUri field
- inline string[]
- Array of shell commands to execute
- name string
- Friendly Name to provide context on what this customization step does
- scriptUri string
- URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- sha256Checksum string
- SHA256 checksum of the shell script provided in the scriptUri field
- inline Sequence[str]
- Array of shell commands to execute
- name str
- Friendly Name to provide context on what this customization step does
- script_uri str
- URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- sha256_checksum str
- SHA256 checksum of the shell script provided in the scriptUri field
- inline List<String>
- Array of shell commands to execute
- name String
- Friendly Name to provide context on what this customization step does
- scriptUri String
- URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc
- sha256Checksum String
- SHA256 checksum of the shell script provided in the scriptUri field
ImageTemplateVhdDistributorResponse    
- RunOutput stringName 
- The name to be used for the associated RunOutput.
- Dictionary<string, string>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- RunOutput stringName 
- The name to be used for the associated RunOutput.
- map[string]string
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- runOutput StringName 
- The name to be used for the associated RunOutput.
- Map<String,String>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- runOutput stringName 
- The name to be used for the associated RunOutput.
- {[key: string]: string}
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- run_output_ strname 
- The name to be used for the associated RunOutput.
- Mapping[str, str]
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
- runOutput StringName 
- The name to be used for the associated RunOutput.
- Map<String>
- Tags that will be applied to the artifact once it has been created/updated by the distributor.
ImageTemplateVmProfileResponse    
- OsDisk intSize GB 
- Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- VmSize string
- Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
- VnetConfig Pulumi.Azure Native. Virtual Machine Images. Inputs. Virtual Network Config Response 
- Optional configuration of the virtual network to use to deploy the build virtual machine in. Omit if no specific virtual network needs to be used.
- OsDisk intSize GB 
- Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- VmSize string
- Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
- VnetConfig VirtualNetwork Config Response 
- Optional configuration of the virtual network to use to deploy the build virtual machine in. Omit if no specific virtual network needs to be used.
- osDisk IntegerSize GB 
- Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- vmSize String
- Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
- vnetConfig VirtualNetwork Config Response 
- Optional configuration of the virtual network to use to deploy the build virtual machine in. Omit if no specific virtual network needs to be used.
- osDisk numberSize GB 
- Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- vmSize string
- Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
- vnetConfig VirtualNetwork Config Response 
- Optional configuration of the virtual network to use to deploy the build virtual machine in. Omit if no specific virtual network needs to be used.
- os_disk_ intsize_ gb 
- Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- vm_size str
- Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
- vnet_config VirtualNetwork Config Response 
- Optional configuration of the virtual network to use to deploy the build virtual machine in. Omit if no specific virtual network needs to be used.
- osDisk NumberSize GB 
- Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- vmSize String
- Size of the virtual machine used to build, customize and capture images. Omit or specify empty string to use the default (Standard_D1_v2 for Gen1 images and Standard_D2ds_v4 for Gen2 images).
- vnetConfig Property Map
- Optional configuration of the virtual network to use to deploy the build virtual machine in. Omit if no specific virtual network needs to be used.
ImageTemplateWindowsUpdateCustomizerResponse     
- Filters List<string>
- Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
- Name string
- Friendly Name to provide context on what this customization step does
- SearchCriteria string
- Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
- UpdateLimit int
- Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
- Filters []string
- Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
- Name string
- Friendly Name to provide context on what this customization step does
- SearchCriteria string
- Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
- UpdateLimit int
- Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
- filters List<String>
- Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
- name String
- Friendly Name to provide context on what this customization step does
- searchCriteria String
- Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
- updateLimit Integer
- Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
- filters string[]
- Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
- name string
- Friendly Name to provide context on what this customization step does
- searchCriteria string
- Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
- updateLimit number
- Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
- filters Sequence[str]
- Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
- name str
- Friendly Name to provide context on what this customization step does
- search_criteria str
- Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
- update_limit int
- Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
- filters List<String>
- Array of filters to select updates to apply. Omit or specify empty array to use the default (no filter). Refer to above link for examples and detailed description of this field.
- name String
- Friendly Name to provide context on what this customization step does
- searchCriteria String
- Criteria to search updates. Omit or specify empty string to use the default (search all). Refer to above link for examples and detailed description of this field.
- updateLimit Number
- Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
PlatformImagePurchasePlanResponse    
- PlanName string
- Name of the purchase plan.
- PlanProduct string
- Product of the purchase plan.
- PlanPublisher string
- Publisher of the purchase plan.
- PlanName string
- Name of the purchase plan.
- PlanProduct string
- Product of the purchase plan.
- PlanPublisher string
- Publisher of the purchase plan.
- planName String
- Name of the purchase plan.
- planProduct String
- Product of the purchase plan.
- planPublisher String
- Publisher of the purchase plan.
- planName string
- Name of the purchase plan.
- planProduct string
- Product of the purchase plan.
- planPublisher string
- Publisher of the purchase plan.
- plan_name str
- Name of the purchase plan.
- plan_product str
- Product of the purchase plan.
- plan_publisher str
- Publisher of the purchase plan.
- planName String
- Name of the purchase plan.
- planProduct String
- Product of the purchase plan.
- planPublisher String
- Publisher of the purchase plan.
ProvisioningErrorResponse  
- Message string
- Verbose error message about the provisioning failure
- ProvisioningError stringCode 
- Error code of the provisioning failure
- Message string
- Verbose error message about the provisioning failure
- ProvisioningError stringCode 
- Error code of the provisioning failure
- message String
- Verbose error message about the provisioning failure
- provisioningError StringCode 
- Error code of the provisioning failure
- message string
- Verbose error message about the provisioning failure
- provisioningError stringCode 
- Error code of the provisioning failure
- message str
- Verbose error message about the provisioning failure
- provisioning_error_ strcode 
- Error code of the provisioning failure
- message String
- Verbose error message about the provisioning failure
- provisioningError StringCode 
- Error code of the provisioning failure
VirtualNetworkConfigResponse   
- SubnetId string
- Resource id of a pre-existing subnet.
- SubnetId string
- Resource id of a pre-existing subnet.
- subnetId String
- Resource id of a pre-existing subnet.
- subnetId string
- Resource id of a pre-existing subnet.
- subnet_id str
- Resource id of a pre-existing subnet.
- subnetId String
- Resource id of a pre-existing subnet.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi