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 dictionary
The following arguments are supported:
- Image
Template stringName - The name of the image Template
- Resource
Group stringName - The name of the resource group.
- Image
Template stringName - The name of the image Template
- Resource
Group stringName - The name of the resource group.
- image
Template StringName - The name of the image Template
- resource
Group StringName - The name of the resource group.
- image
Template stringName - The name of the image Template
- resource
Group 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.
- image
Template StringName - The name of the image Template
- resource
Group 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.
- Last
Run 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
- Provisioning
Error Pulumi.Azure Native. Virtual Machine Images. Outputs. Provisioning Error Response - Provisioning error, if any
- Provisioning
State 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
- Build
Timeout 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
- Vm
Profile 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
Image
Template 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 string
- Resource location
- Name string
- Resource name
- Provisioning
Error ProvisioningError Response - Provisioning error, if any
- Provisioning
State string - Provisioning state of the resource
- Source
Image
Template | 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
- Build
Timeout 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
- Vm
Profile 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
Image
Template 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 String
- Resource location
- name String
- Resource name
- provisioning
Error ProvisioningError Response - Provisioning error, if any
- provisioning
State String - Provisioning state of the resource
- source
Image
Template | 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
- build
Timeout 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
- vm
Profile ImageTemplate Vm Profile Response - Describes how virtual machine is set up to build images
- distribute
(Image
Template 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
Image
Template 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 string
- Resource location
- name string
- Resource name
- provisioning
Error ProvisioningError Response - Provisioning error, if any
- provisioning
State string - Provisioning state of the resource
- source
Image
Template | 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
- build
Timeout numberIn Minutes - Maximum duration to wait while building the image template. Omit or specify 0 to use the default (4 hours).
- customize
(Image
Template 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
- vm
Profile 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
Image
Template 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
Image
Template | 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.
- last
Run Property MapStatus - State of 'run' that is currently executing or was last executed.
- location String
- Resource location
- name String
- Resource name
- provisioning
Error Property Map - Provisioning error, if any
- provisioning
State 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
- build
Timeout 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
- vm
Profile 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
- Source
Uri 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
- Source
Uri 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
- source
Uri 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
- source
Uri 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
- source
Uri 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.
- User
Assigned 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.
- User
Assigned 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.
- user
Assigned 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.
- user
Assigned {[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.
- user
Assigned 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
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
ImageTemplateLastRunStatusResponse
- End
Time string - End time of the last run (UTC)
- Message string
- Verbose information about the last run state
- Run
State string - State of the last run
- Run
Sub stringState - Sub-state of the last run
- Start
Time string - Start time of the last run (UTC)
- End
Time string - End time of the last run (UTC)
- Message string
- Verbose information about the last run state
- Run
State string - State of the last run
- Run
Sub stringState - Sub-state of the last run
- Start
Time string - Start time of the last run (UTC)
- end
Time String - End time of the last run (UTC)
- message String
- Verbose information about the last run state
- run
State String - State of the last run
- run
Sub StringState - Sub-state of the last run
- start
Time String - Start time of the last run (UTC)
- end
Time string - End time of the last run (UTC)
- message string
- Verbose information about the last run state
- run
State string - State of the last run
- run
Sub stringState - Sub-state of the last run
- start
Time 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)
- end
Time String - End time of the last run (UTC)
- message String
- Verbose information about the last run state
- run
State String - State of the last run
- run
Sub StringState - Sub-state of the last run
- start
Time String - Start time of the last run (UTC)
ImageTemplateManagedImageDistributorResponse
- Image
Id string - Resource Id of the Managed Disk Image
- Location string
- Azure location for the image, should match if image already exists
- Run
Output 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.
- Image
Id string - Resource Id of the Managed Disk Image
- Location string
- Azure location for the image, should match if image already exists
- Run
Output 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.
- image
Id String - Resource Id of the Managed Disk Image
- location String
- Azure location for the image, should match if image already exists
- run
Output 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.
- image
Id string - Resource Id of the Managed Disk Image
- location string
- Azure location for the image, should match if image already exists
- run
Output 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.
- image
Id String - Resource Id of the Managed Disk Image
- location String
- Azure location for the image, should match if image already exists
- run
Output 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
- Image
Id string - ARM resource id of the managed image in customer subscription
- Image
Id string - ARM resource id of the managed image in customer subscription
- image
Id String - ARM resource id of the managed image in customer subscription
- image
Id string - ARM resource id of the managed image in customer subscription
- image_
id str - ARM resource id of the managed image in customer subscription
- image
Id String - ARM resource id of the managed image in customer subscription
ImageTemplatePlatformImageSourceResponse
- Offer string
- Image offer from the Azure Gallery Images.
- Plan
Info 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.
- Plan
Info 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.
- plan
Info 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.
- plan
Info 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.
- plan
Info 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
- 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 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
- Valid
Exit 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
- 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 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
- Valid
Exit []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
- run
As 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.
- run
Elevated Boolean - If specified, the PowerShell script will be run with elevated privileges
- script
Uri 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
- valid
Exit 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
- run
As 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.
- run
Elevated boolean - If specified, the PowerShell script will be run with elevated privileges
- script
Uri 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
- valid
Exit 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
- run
As 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.
- run
Elevated Boolean - If specified, the PowerShell script will be run with elevated privileges
- script
Uri 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
- valid
Exit 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
- Restart
Check stringCommand - Command to check if restart succeeded [Default: '']
- Restart
Command string - Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- Restart
Timeout 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
- Restart
Check stringCommand - Command to check if restart succeeded [Default: '']
- Restart
Command string - Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- Restart
Timeout 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
- restart
Check StringCommand - Command to check if restart succeeded [Default: '']
- restart
Command String - Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- restart
Timeout 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
- restart
Check stringCommand - Command to check if restart succeeded [Default: '']
- restart
Command string - Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- restart
Timeout 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
- restart
Check StringCommand - Command to check if restart succeeded [Default: '']
- restart
Command String - Command to execute the restart [Default: 'shutdown /r /f /t 0 /c "packer restart"']
- restart
Timeout String - Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']
ImageTemplateSharedImageDistributorResponse
- Gallery
Image stringId - Resource Id of the Shared Image Gallery image
- Replication
Regions List<string> - A list of regions that the image will be replicated to
- Run
Output 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.
- Exclude
From boolLatest - Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- Storage
Account stringType - Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
- Gallery
Image stringId - Resource Id of the Shared Image Gallery image
- Replication
Regions []string - A list of regions that the image will be replicated to
- Run
Output 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.
- Exclude
From boolLatest - Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- Storage
Account stringType - Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
- gallery
Image StringId - Resource Id of the Shared Image Gallery image
- replication
Regions List<String> - A list of regions that the image will be replicated to
- run
Output 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.
- exclude
From BooleanLatest - Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- storage
Account StringType - Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
- gallery
Image stringId - Resource Id of the Shared Image Gallery image
- replication
Regions string[] - A list of regions that the image will be replicated to
- run
Output 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.
- exclude
From booleanLatest - Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- storage
Account 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).
- gallery
Image StringId - Resource Id of the Shared Image Gallery image
- replication
Regions List<String> - A list of regions that the image will be replicated to
- run
Output 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.
- exclude
From BooleanLatest - Flag that indicates whether created image version should be excluded from latest. Omit to use the default (false).
- storage
Account StringType - Storage account type to be used to store the shared image. Omit to use the default (Standard_LRS).
ImageTemplateSharedImageVersionSourceResponse
- Image
Version stringId - ARM resource id of the image version in the shared image gallery
- Image
Version stringId - ARM resource id of the image version in the shared image gallery
- image
Version StringId - ARM resource id of the image version in the shared image gallery
- image
Version 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
- image
Version 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
- Script
Uri 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
- Script
Uri 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
- script
Uri 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
- script
Uri 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
- script
Uri 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
- Run
Output 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.
- Run
Output 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.
- run
Output 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.
- run
Output 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.
- run
Output 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
- 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 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).
- Vnet
Config 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.
- 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 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).
- 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.
- os
Disk IntegerSize GB - Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- vm
Size 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).
- 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.
- os
Disk numberSize GB - Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- vm
Size 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).
- 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.
- 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.
- os
Disk NumberSize GB - Size of the OS disk in GB. Omit or specify 0 to use Azure's default OS disk size.
- vm
Size 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).
- vnet
Config 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
- Search
Criteria 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.
- Update
Limit 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
- Search
Criteria 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.
- 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
- search
Criteria 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.
- update
Limit 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
- search
Criteria 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.
- update
Limit 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
- search
Criteria 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.
- update
Limit Number - Maximum number of updates to apply at a time. Omit or specify 0 to use the default (1000)
PlatformImagePurchasePlanResponse
- Plan
Name string - Name of the purchase plan.
- Plan
Product string - Product of the purchase plan.
- Plan
Publisher string - Publisher of the purchase plan.
- Plan
Name string - Name of the purchase plan.
- Plan
Product string - Product of the purchase plan.
- Plan
Publisher string - Publisher of the purchase plan.
- plan
Name String - Name of the purchase plan.
- plan
Product String - Product of the purchase plan.
- plan
Publisher String - Publisher of the purchase plan.
- plan
Name string - Name of the purchase plan.
- plan
Product string - Product of the purchase plan.
- plan
Publisher 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.
- plan
Name String - Name of the purchase plan.
- plan
Product String - Product of the purchase plan.
- plan
Publisher String - Publisher of the purchase plan.
ProvisioningErrorResponse
- Message string
- Verbose error message about the provisioning failure
- Provisioning
Error stringCode - Error code of the provisioning failure
- Message string
- Verbose error message about the provisioning failure
- Provisioning
Error stringCode - Error code of the provisioning failure
- message String
- Verbose error message about the provisioning failure
- provisioning
Error StringCode - Error code of the provisioning failure
- message string
- Verbose error message about the provisioning failure
- provisioning
Error 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
- provisioning
Error StringCode - Error code of the provisioning failure
VirtualNetworkConfigResponse
- Subnet
Id string - Resource id of a pre-existing subnet.
- Subnet
Id string - Resource id of a pre-existing subnet.
- subnet
Id String - Resource id of a pre-existing subnet.
- subnet
Id string - Resource id of a pre-existing subnet.
- subnet_
id str - Resource id of a pre-existing subnet.
- subnet
Id 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