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.compute.getGalleryImageVersion
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
Retrieves information about a gallery image version. API Version: 2020-09-30.
Using getGalleryImageVersion
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 getGalleryImageVersion(args: GetGalleryImageVersionArgs, opts?: InvokeOptions): Promise<GetGalleryImageVersionResult>
function getGalleryImageVersionOutput(args: GetGalleryImageVersionOutputArgs, opts?: InvokeOptions): Output<GetGalleryImageVersionResult>
def get_gallery_image_version(expand: Optional[str] = None,
gallery_image_name: Optional[str] = None,
gallery_image_version_name: Optional[str] = None,
gallery_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGalleryImageVersionResult
def get_gallery_image_version_output(expand: Optional[pulumi.Input[str]] = None,
gallery_image_name: Optional[pulumi.Input[str]] = None,
gallery_image_version_name: Optional[pulumi.Input[str]] = None,
gallery_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGalleryImageVersionResult]
func LookupGalleryImageVersion(ctx *Context, args *LookupGalleryImageVersionArgs, opts ...InvokeOption) (*LookupGalleryImageVersionResult, error)
func LookupGalleryImageVersionOutput(ctx *Context, args *LookupGalleryImageVersionOutputArgs, opts ...InvokeOption) LookupGalleryImageVersionResultOutput
> Note: This function is named LookupGalleryImageVersion
in the Go SDK.
public static class GetGalleryImageVersion
{
public static Task<GetGalleryImageVersionResult> InvokeAsync(GetGalleryImageVersionArgs args, InvokeOptions? opts = null)
public static Output<GetGalleryImageVersionResult> Invoke(GetGalleryImageVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGalleryImageVersionResult> getGalleryImageVersion(GetGalleryImageVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:compute:getGalleryImageVersion
arguments:
# arguments dictionary
The following arguments are supported:
- Gallery
Image stringName - The name of the gallery image definition in which the Image Version resides.
- Gallery
Image stringVersion Name - The name of the gallery image version to be retrieved.
- Gallery
Name string - The name of the Shared Image Gallery in which the Image Definition resides.
- Resource
Group stringName - The name of the resource group.
- Expand string
- The expand expression to apply on the operation.
- Gallery
Image stringName - The name of the gallery image definition in which the Image Version resides.
- Gallery
Image stringVersion Name - The name of the gallery image version to be retrieved.
- Gallery
Name string - The name of the Shared Image Gallery in which the Image Definition resides.
- Resource
Group stringName - The name of the resource group.
- Expand string
- The expand expression to apply on the operation.
- gallery
Image StringName - The name of the gallery image definition in which the Image Version resides.
- gallery
Image StringVersion Name - The name of the gallery image version to be retrieved.
- gallery
Name String - The name of the Shared Image Gallery in which the Image Definition resides.
- resource
Group StringName - The name of the resource group.
- expand String
- The expand expression to apply on the operation.
- gallery
Image stringName - The name of the gallery image definition in which the Image Version resides.
- gallery
Image stringVersion Name - The name of the gallery image version to be retrieved.
- gallery
Name string - The name of the Shared Image Gallery in which the Image Definition resides.
- resource
Group stringName - The name of the resource group.
- expand string
- The expand expression to apply on the operation.
- gallery_
image_ strname - The name of the gallery image definition in which the Image Version resides.
- gallery_
image_ strversion_ name - The name of the gallery image version to be retrieved.
- gallery_
name str - The name of the Shared Image Gallery in which the Image Definition resides.
- resource_
group_ strname - The name of the resource group.
- expand str
- The expand expression to apply on the operation.
- gallery
Image StringName - The name of the gallery image definition in which the Image Version resides.
- gallery
Image StringVersion Name - The name of the gallery image version to be retrieved.
- gallery
Name String - The name of the Shared Image Gallery in which the Image Definition resides.
- resource
Group StringName - The name of the resource group.
- expand String
- The expand expression to apply on the operation.
getGalleryImageVersion Result
The following output properties are available:
- Id string
- Resource Id
- Location string
- Resource location
- Name string
- Resource name
- Provisioning
State string - The provisioning state, which only appears in the response.
- Replication
Status Pulumi.Azure Native. Compute. Outputs. Replication Status Response - This is the replication status of the gallery image version.
- Storage
Profile Pulumi.Azure Native. Compute. Outputs. Gallery Image Version Storage Profile Response - This is the storage profile of a Gallery Image Version.
- Type string
- Resource type
- Publishing
Profile Pulumi.Azure Native. Compute. Outputs. Gallery Image Version Publishing Profile Response - The publishing profile of a gallery image Version.
- Dictionary<string, string>
- Resource tags
- Id string
- Resource Id
- Location string
- Resource location
- Name string
- Resource name
- Provisioning
State string - The provisioning state, which only appears in the response.
- Replication
Status ReplicationStatus Response - This is the replication status of the gallery image version.
- Storage
Profile GalleryImage Version Storage Profile Response - This is the storage profile of a Gallery Image Version.
- Type string
- Resource type
- Publishing
Profile GalleryImage Version Publishing Profile Response - The publishing profile of a gallery image Version.
- map[string]string
- Resource tags
- id String
- Resource Id
- location String
- Resource location
- name String
- Resource name
- provisioning
State String - The provisioning state, which only appears in the response.
- replication
Status ReplicationStatus Response - This is the replication status of the gallery image version.
- storage
Profile GalleryImage Version Storage Profile Response - This is the storage profile of a Gallery Image Version.
- type String
- Resource type
- publishing
Profile GalleryImage Version Publishing Profile Response - The publishing profile of a gallery image Version.
- Map<String,String>
- Resource tags
- id string
- Resource Id
- location string
- Resource location
- name string
- Resource name
- provisioning
State string - The provisioning state, which only appears in the response.
- replication
Status ReplicationStatus Response - This is the replication status of the gallery image version.
- storage
Profile GalleryImage Version Storage Profile Response - This is the storage profile of a Gallery Image Version.
- type string
- Resource type
- publishing
Profile GalleryImage Version Publishing Profile Response - The publishing profile of a gallery image Version.
- {[key: string]: string}
- Resource tags
- id str
- Resource Id
- location str
- Resource location
- name str
- Resource name
- provisioning_
state str - The provisioning state, which only appears in the response.
- replication_
status ReplicationStatus Response - This is the replication status of the gallery image version.
- storage_
profile GalleryImage Version Storage Profile Response - This is the storage profile of a Gallery Image Version.
- type str
- Resource type
- publishing_
profile GalleryImage Version Publishing Profile Response - The publishing profile of a gallery image Version.
- Mapping[str, str]
- Resource tags
- id String
- Resource Id
- location String
- Resource location
- name String
- Resource name
- provisioning
State String - The provisioning state, which only appears in the response.
- replication
Status Property Map - This is the replication status of the gallery image version.
- storage
Profile Property Map - This is the storage profile of a Gallery Image Version.
- type String
- Resource type
- publishing
Profile Property Map - The publishing profile of a gallery image Version.
- Map<String>
- Resource tags
Supporting Types
DataDiskImageEncryptionResponse
- Lun int
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- Disk
Encryption stringSet Id - A relative URI containing the resource ID of the disk encryption set.
- Lun int
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- Disk
Encryption stringSet Id - A relative URI containing the resource ID of the disk encryption set.
- lun Integer
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- disk
Encryption StringSet Id - A relative URI containing the resource ID of the disk encryption set.
- lun number
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- disk
Encryption stringSet Id - A relative URI containing the resource ID of the disk encryption set.
- lun int
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- disk_
encryption_ strset_ id - A relative URI containing the resource ID of the disk encryption set.
- lun Number
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- disk
Encryption StringSet Id - A relative URI containing the resource ID of the disk encryption set.
EncryptionImagesResponse
- Data
Disk List<Pulumi.Images Azure Native. Compute. Inputs. Data Disk Image Encryption Response> - A list of encryption specifications for data disk images.
- Os
Disk Pulumi.Image Azure Native. Compute. Inputs. OSDisk Image Encryption Response - Contains encryption settings for an OS disk image.
- Data
Disk []DataImages Disk Image Encryption Response - A list of encryption specifications for data disk images.
- Os
Disk OSDiskImage Image Encryption Response - Contains encryption settings for an OS disk image.
- data
Disk List<DataImages Disk Image Encryption Response> - A list of encryption specifications for data disk images.
- os
Disk OSDiskImage Image Encryption Response - Contains encryption settings for an OS disk image.
- data
Disk DataImages Disk Image Encryption Response[] - A list of encryption specifications for data disk images.
- os
Disk OSDiskImage Image Encryption Response - Contains encryption settings for an OS disk image.
- data_
disk_ Sequence[Dataimages Disk Image Encryption Response] - A list of encryption specifications for data disk images.
- os_
disk_ OSDiskimage Image Encryption Response - Contains encryption settings for an OS disk image.
- data
Disk List<Property Map>Images - A list of encryption specifications for data disk images.
- os
Disk Property MapImage - Contains encryption settings for an OS disk image.
GalleryArtifactVersionSourceResponse
GalleryDataDiskImageResponse
- Lun int
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- Size
In intGB - This property indicates the size of the VHD to be created.
- Host
Caching string - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- Source
Pulumi.
Azure Native. Compute. Inputs. Gallery Artifact Version Source Response - The gallery artifact version source.
- Lun int
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- Size
In intGB - This property indicates the size of the VHD to be created.
- Host
Caching string - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- Source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- lun Integer
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- size
In IntegerGB - This property indicates the size of the VHD to be created.
- host
Caching String - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- lun number
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- size
In numberGB - This property indicates the size of the VHD to be created.
- host
Caching string - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- lun int
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- size_
in_ intgb - This property indicates the size of the VHD to be created.
- host_
caching str - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- lun Number
- This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
- size
In NumberGB - This property indicates the size of the VHD to be created.
- host
Caching String - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- source Property Map
- The gallery artifact version source.
GalleryImageVersionPublishingProfileResponse
- Published
Date string - The timestamp for when the gallery image version is published.
- End
Of stringLife Date - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
- Exclude
From boolLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
- Replica
Count int - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
- Storage
Account stringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- Target
Regions List<Pulumi.Azure Native. Compute. Inputs. Target Region Response> - The target regions where the Image Version is going to be replicated to. This property is updatable.
- Published
Date string - The timestamp for when the gallery image version is published.
- End
Of stringLife Date - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
- Exclude
From boolLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
- Replica
Count int - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
- Storage
Account stringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- Target
Regions []TargetRegion Response - The target regions where the Image Version is going to be replicated to. This property is updatable.
- published
Date String - The timestamp for when the gallery image version is published.
- end
Of StringLife Date - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
- exclude
From BooleanLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
- replica
Count Integer - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
- storage
Account StringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- target
Regions List<TargetRegion Response> - The target regions where the Image Version is going to be replicated to. This property is updatable.
- published
Date string - The timestamp for when the gallery image version is published.
- end
Of stringLife Date - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
- exclude
From booleanLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
- replica
Count number - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
- storage
Account stringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- target
Regions TargetRegion Response[] - The target regions where the Image Version is going to be replicated to. This property is updatable.
- published_
date str - The timestamp for when the gallery image version is published.
- end_
of_ strlife_ date - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
- exclude_
from_ boollatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
- replica_
count int - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
- storage_
account_ strtype - Specifies the storage account type to be used to store the image. This property is not updatable.
- target_
regions Sequence[TargetRegion Response] - The target regions where the Image Version is going to be replicated to. This property is updatable.
- published
Date String - The timestamp for when the gallery image version is published.
- end
Of StringLife Date - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
- exclude
From BooleanLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
- replica
Count Number - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
- storage
Account StringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- target
Regions List<Property Map> - The target regions where the Image Version is going to be replicated to. This property is updatable.
GalleryImageVersionStorageProfileResponse
- Data
Disk List<Pulumi.Images Azure Native. Compute. Inputs. Gallery Data Disk Image Response> - A list of data disk images.
- Os
Disk Pulumi.Image Azure Native. Compute. Inputs. Gallery OSDisk Image Response - This is the OS disk image.
- Source
Pulumi.
Azure Native. Compute. Inputs. Gallery Artifact Version Source Response - The gallery artifact version source.
- Data
Disk []GalleryImages Data Disk Image Response - A list of data disk images.
- Os
Disk GalleryImage OSDisk Image Response - This is the OS disk image.
- Source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- data
Disk List<GalleryImages Data Disk Image Response> - A list of data disk images.
- os
Disk GalleryImage OSDisk Image Response - This is the OS disk image.
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- data
Disk GalleryImages Data Disk Image Response[] - A list of data disk images.
- os
Disk GalleryImage OSDisk Image Response - This is the OS disk image.
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- data_
disk_ Sequence[Galleryimages Data Disk Image Response] - A list of data disk images.
- os_
disk_ Galleryimage OSDisk Image Response - This is the OS disk image.
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- data
Disk List<Property Map>Images - A list of data disk images.
- os
Disk Property MapImage - This is the OS disk image.
- source Property Map
- The gallery artifact version source.
GalleryOSDiskImageResponse
- Size
In intGB - This property indicates the size of the VHD to be created.
- Host
Caching string - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- Source
Pulumi.
Azure Native. Compute. Inputs. Gallery Artifact Version Source Response - The gallery artifact version source.
- Size
In intGB - This property indicates the size of the VHD to be created.
- Host
Caching string - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- Source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- size
In IntegerGB - This property indicates the size of the VHD to be created.
- host
Caching String - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- size
In numberGB - This property indicates the size of the VHD to be created.
- host
Caching string - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- size_
in_ intgb - This property indicates the size of the VHD to be created.
- host_
caching str - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- source
Gallery
Artifact Version Source Response - The gallery artifact version source.
- size
In NumberGB - This property indicates the size of the VHD to be created.
- host
Caching String - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
- source Property Map
- The gallery artifact version source.
OSDiskImageEncryptionResponse
- Disk
Encryption stringSet Id - A relative URI containing the resource ID of the disk encryption set.
- Disk
Encryption stringSet Id - A relative URI containing the resource ID of the disk encryption set.
- disk
Encryption StringSet Id - A relative URI containing the resource ID of the disk encryption set.
- disk
Encryption stringSet Id - A relative URI containing the resource ID of the disk encryption set.
- disk_
encryption_ strset_ id - A relative URI containing the resource ID of the disk encryption set.
- disk
Encryption StringSet Id - A relative URI containing the resource ID of the disk encryption set.
RegionalReplicationStatusResponse
ReplicationStatusResponse
- Aggregated
State string - This is the aggregated replication status based on all the regional replication status flags.
- Summary
List<Pulumi.
Azure Native. Compute. Inputs. Regional Replication Status Response> - This is a summary of replication status for each region.
- Aggregated
State string - This is the aggregated replication status based on all the regional replication status flags.
- Summary
[]Regional
Replication Status Response - This is a summary of replication status for each region.
- aggregated
State String - This is the aggregated replication status based on all the regional replication status flags.
- summary
List<Regional
Replication Status Response> - This is a summary of replication status for each region.
- aggregated
State string - This is the aggregated replication status based on all the regional replication status flags.
- summary
Regional
Replication Status Response[] - This is a summary of replication status for each region.
- aggregated_
state str - This is the aggregated replication status based on all the regional replication status flags.
- summary
Sequence[Regional
Replication Status Response] - This is a summary of replication status for each region.
- aggregated
State String - This is the aggregated replication status based on all the regional replication status flags.
- summary List<Property Map>
- This is a summary of replication status for each region.
TargetRegionResponse
- Name string
- The name of the region.
- Encryption
Pulumi.
Azure Native. Compute. Inputs. Encryption Images Response - Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
- Regional
Replica intCount - The number of replicas of the Image Version to be created per region. This property is updatable.
- Storage
Account stringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- Name string
- The name of the region.
- Encryption
Encryption
Images Response - Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
- Regional
Replica intCount - The number of replicas of the Image Version to be created per region. This property is updatable.
- Storage
Account stringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- name String
- The name of the region.
- encryption
Encryption
Images Response - Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
- regional
Replica IntegerCount - The number of replicas of the Image Version to be created per region. This property is updatable.
- storage
Account StringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- name string
- The name of the region.
- encryption
Encryption
Images Response - Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
- regional
Replica numberCount - The number of replicas of the Image Version to be created per region. This property is updatable.
- storage
Account stringType - Specifies the storage account type to be used to store the image. This property is not updatable.
- name str
- The name of the region.
- encryption
Encryption
Images Response - Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
- regional_
replica_ intcount - The number of replicas of the Image Version to be created per region. This property is updatable.
- storage_
account_ strtype - Specifies the storage account type to be used to store the image. This property is not updatable.
- name String
- The name of the region.
- encryption Property Map
- Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
- regional
Replica NumberCount - The number of replicas of the Image Version to be created per region. This property is updatable.
- storage
Account StringType - Specifies the storage account type to be used to store the image. This property is not updatable.
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