azure-native.azurestackhci.getMarketplaceGalleryImage
Explore with Pulumi AI
Gets a marketplace gallery image
Uses Azure REST API version 2025-02-01-preview.
Other available API versions: 2022-12-15-preview, 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurestackhci [ApiVersion]. See the version guide for details.
Using getMarketplaceGalleryImage
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 getMarketplaceGalleryImage(args: GetMarketplaceGalleryImageArgs, opts?: InvokeOptions): Promise<GetMarketplaceGalleryImageResult>
function getMarketplaceGalleryImageOutput(args: GetMarketplaceGalleryImageOutputArgs, opts?: InvokeOptions): Output<GetMarketplaceGalleryImageResult>def get_marketplace_gallery_image(marketplace_gallery_image_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetMarketplaceGalleryImageResult
def get_marketplace_gallery_image_output(marketplace_gallery_image_name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetMarketplaceGalleryImageResult]func LookupMarketplaceGalleryImage(ctx *Context, args *LookupMarketplaceGalleryImageArgs, opts ...InvokeOption) (*LookupMarketplaceGalleryImageResult, error)
func LookupMarketplaceGalleryImageOutput(ctx *Context, args *LookupMarketplaceGalleryImageOutputArgs, opts ...InvokeOption) LookupMarketplaceGalleryImageResultOutput> Note: This function is named LookupMarketplaceGalleryImage in the Go SDK.
public static class GetMarketplaceGalleryImage 
{
    public static Task<GetMarketplaceGalleryImageResult> InvokeAsync(GetMarketplaceGalleryImageArgs args, InvokeOptions? opts = null)
    public static Output<GetMarketplaceGalleryImageResult> Invoke(GetMarketplaceGalleryImageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMarketplaceGalleryImageResult> getMarketplaceGalleryImage(GetMarketplaceGalleryImageArgs args, InvokeOptions options)
public static Output<GetMarketplaceGalleryImageResult> getMarketplaceGalleryImage(GetMarketplaceGalleryImageArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:azurestackhci:getMarketplaceGalleryImage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Marketplace
Gallery stringImage Name  - Name of the marketplace gallery image
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Marketplace
Gallery stringImage Name  - Name of the marketplace gallery image
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- marketplace
Gallery StringImage Name  - Name of the marketplace gallery image
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- marketplace
Gallery stringImage Name  - Name of the marketplace gallery image
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- marketplace_
gallery_ strimage_ name  - Name of the marketplace gallery image
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- marketplace
Gallery StringImage Name  - Name of the marketplace gallery image
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
getMarketplaceGalleryImage Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - Location string
 - The geo-location where the resource lives
 - Name string
 - The name of the resource
 - Os
Type string - Operating system type that the gallery image uses [Windows, Linux]
 - Provisioning
State string - Provisioning state of the marketplace gallery image.
 - Status
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Marketplace Gallery Image Status Response  - The observed state of marketplace gallery images
 - System
Data Pulumi.Azure Native. Azure Stack HCI. Outputs. System Data Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Cloud
Init stringData Source  - Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
 - Container
Id string - Storage ContainerID of the storage container to be used for marketplace gallery image
 - Extended
Location Pulumi.Azure Native. Azure Stack HCI. Outputs. Extended Location Response  - The extendedLocation of the resource.
 - Hyper
VGeneration string - The hypervisor generation of the Virtual Machine [V1, V2]
 - Identifier
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Gallery Image Identifier Response  - This is the gallery image definition identifier.
 - Dictionary<string, string>
 - Resource tags.
 - Version
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Gallery Image Version Response  - Specifies information about the gallery image version that you want to create or update.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - Location string
 - The geo-location where the resource lives
 - Name string
 - The name of the resource
 - Os
Type string - Operating system type that the gallery image uses [Windows, Linux]
 - Provisioning
State string - Provisioning state of the marketplace gallery image.
 - Status
Marketplace
Gallery Image Status Response  - The observed state of marketplace gallery images
 - System
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - Cloud
Init stringData Source  - Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
 - Container
Id string - Storage ContainerID of the storage container to be used for marketplace gallery image
 - Extended
Location ExtendedLocation Response  - The extendedLocation of the resource.
 - Hyper
VGeneration string - The hypervisor generation of the Virtual Machine [V1, V2]
 - Identifier
Gallery
Image Identifier Response  - This is the gallery image definition identifier.
 - map[string]string
 - Resource tags.
 - Version
Gallery
Image Version Response  - Specifies information about the gallery image version that you want to create or update.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - location String
 - The geo-location where the resource lives
 - name String
 - The name of the resource
 - os
Type String - Operating system type that the gallery image uses [Windows, Linux]
 - provisioning
State String - Provisioning state of the marketplace gallery image.
 - status
Marketplace
Gallery Image Status Response  - The observed state of marketplace gallery images
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - cloud
Init StringData Source  - Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
 - container
Id String - Storage ContainerID of the storage container to be used for marketplace gallery image
 - extended
Location ExtendedLocation Response  - The extendedLocation of the resource.
 - hyper
VGeneration String - The hypervisor generation of the Virtual Machine [V1, V2]
 - identifier
Gallery
Image Identifier Response  - This is the gallery image definition identifier.
 - Map<String,String>
 - Resource tags.
 - version
Gallery
Image Version Response  - Specifies information about the gallery image version that you want to create or update.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - location string
 - The geo-location where the resource lives
 - name string
 - The name of the resource
 - os
Type string - Operating system type that the gallery image uses [Windows, Linux]
 - provisioning
State string - Provisioning state of the marketplace gallery image.
 - status
Marketplace
Gallery Image Status Response  - The observed state of marketplace gallery images
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type string
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - cloud
Init stringData Source  - Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
 - container
Id string - Storage ContainerID of the storage container to be used for marketplace gallery image
 - extended
Location ExtendedLocation Response  - The extendedLocation of the resource.
 - hyper
VGeneration string - The hypervisor generation of the Virtual Machine [V1, V2]
 - identifier
Gallery
Image Identifier Response  - This is the gallery image definition identifier.
 - {[key: string]: string}
 - Resource tags.
 - version
Gallery
Image Version Response  - Specifies information about the gallery image version that you want to create or update.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - location str
 - The geo-location where the resource lives
 - name str
 - The name of the resource
 - os_
type str - Operating system type that the gallery image uses [Windows, Linux]
 - provisioning_
state str - Provisioning state of the marketplace gallery image.
 - status
Marketplace
Gallery Image Status Response  - The observed state of marketplace gallery images
 - system_
data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type str
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - cloud_
init_ strdata_ source  - Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
 - container_
id str - Storage ContainerID of the storage container to be used for marketplace gallery image
 - extended_
location ExtendedLocation Response  - The extendedLocation of the resource.
 - hyper_
v_ strgeneration  - The hypervisor generation of the Virtual Machine [V1, V2]
 - identifier
Gallery
Image Identifier Response  - This is the gallery image definition identifier.
 - Mapping[str, str]
 - Resource tags.
 - version
Gallery
Image Version Response  - Specifies information about the gallery image version that you want to create or update.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
 - location String
 - The geo-location where the resource lives
 - name String
 - The name of the resource
 - os
Type String - Operating system type that the gallery image uses [Windows, Linux]
 - provisioning
State String - Provisioning state of the marketplace gallery image.
 - status Property Map
 - The observed state of marketplace gallery images
 - system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
 - cloud
Init StringData Source  - Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
 - container
Id String - Storage ContainerID of the storage container to be used for marketplace gallery image
 - extended
Location Property Map - The extendedLocation of the resource.
 - hyper
VGeneration String - The hypervisor generation of the Virtual Machine [V1, V2]
 - identifier Property Map
 - This is the gallery image definition identifier.
 - Map<String>
 - Resource tags.
 - version Property Map
 - Specifies information about the gallery image version that you want to create or update.
 
Supporting Types
ExtendedLocationResponse  
GalleryImageIdentifierResponse   
GalleryImageVersionResponse   
- Storage
Profile Pulumi.Azure Native. Azure Stack HCI. Inputs. Gallery Image Version Storage Profile Response  - This is the storage profile of a Gallery Image Version.
 - Name string
 - This is the version of the gallery image.
 
- Storage
Profile GalleryImage Version Storage Profile Response  - This is the storage profile of a Gallery Image Version.
 - Name string
 - This is the version of the gallery image.
 
- storage
Profile GalleryImage Version Storage Profile Response  - This is the storage profile of a Gallery Image Version.
 - name String
 - This is the version of the gallery image.
 
- storage
Profile GalleryImage Version Storage Profile Response  - This is the storage profile of a Gallery Image Version.
 - name string
 - This is the version of the gallery image.
 
- storage_
profile GalleryImage Version Storage Profile Response  - This is the storage profile of a Gallery Image Version.
 - name str
 - This is the version of the gallery image.
 
- storage
Profile Property Map - This is the storage profile of a Gallery Image Version.
 - name String
 - This is the version of the gallery image.
 
GalleryImageVersionStorageProfileResponse     
- Os
Disk Pulumi.Image Azure Native. Azure Stack HCI. Inputs. Gallery OSDisk Image Response  - This is the OS disk image.
 
- Os
Disk GalleryImage OSDisk Image Response  - This is the OS disk image.
 
- os
Disk GalleryImage OSDisk Image Response  - This is the OS disk image.
 
- os
Disk GalleryImage OSDisk Image Response  - This is the OS disk image.
 
- os_
disk_ Galleryimage OSDisk Image Response  - This is the OS disk image.
 
- os
Disk Property MapImage  - This is the OS disk image.
 
GalleryOSDiskImageResponse   
- Size
In doubleMB  - This property indicates the size of the VHD to be created.
 
- Size
In float64MB  - This property indicates the size of the VHD to be created.
 
- size
In DoubleMB  - This property indicates the size of the VHD to be created.
 
- size
In numberMB  - This property indicates the size of the VHD to be created.
 
- size_
in_ floatmb  - This property indicates the size of the VHD to be created.
 
- size
In NumberMB  - This property indicates the size of the VHD to be created.
 
MarketplaceGalleryImageStatusDownloadStatusResponse      
- Download
Size doubleIn MB  - The downloaded sized of the image in MB
 
- Download
Size float64In MB  - The downloaded sized of the image in MB
 
- download
Size DoubleIn MB  - The downloaded sized of the image in MB
 
- download
Size numberIn MB  - The downloaded sized of the image in MB
 
- download_
size_ floatin_ mb  - The downloaded sized of the image in MB
 
- download
Size NumberIn MB  - The downloaded sized of the image in MB
 
MarketplaceGalleryImageStatusProvisioningStatusResponse      
- Status string
 - The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]
 - Operation
Id string - The ID of the operation performed on the gallery image
 
- Status string
 - The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]
 - Operation
Id string - The ID of the operation performed on the gallery image
 
- status String
 - The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]
 - operation
Id String - The ID of the operation performed on the gallery image
 
- status string
 - The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]
 - operation
Id string - The ID of the operation performed on the gallery image
 
- status str
 - The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]
 - operation_
id str - The ID of the operation performed on the gallery image
 
- status String
 - The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]
 - operation
Id String - The ID of the operation performed on the gallery image
 
MarketplaceGalleryImageStatusResponse    
- Download
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Marketplace Gallery Image Status Download Status Response  - The download status of the gallery image
 - Error
Code string - MarketplaceGalleryImage provisioning error code
 - Error
Message string - Descriptive error message
 - Progress
Percentage double - The progress of the operation in percentage
 - Provisioning
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Marketplace Gallery Image Status Provisioning Status Response  - Provisioning status of marketplace gallery image
 
- Download
Status MarketplaceGallery Image Status Download Status Response  - The download status of the gallery image
 - Error
Code string - MarketplaceGalleryImage provisioning error code
 - Error
Message string - Descriptive error message
 - Progress
Percentage float64 - The progress of the operation in percentage
 - Provisioning
Status MarketplaceGallery Image Status Provisioning Status Response  - Provisioning status of marketplace gallery image
 
- download
Status MarketplaceGallery Image Status Download Status Response  - The download status of the gallery image
 - error
Code String - MarketplaceGalleryImage provisioning error code
 - error
Message String - Descriptive error message
 - progress
Percentage Double - The progress of the operation in percentage
 - provisioning
Status MarketplaceGallery Image Status Provisioning Status Response  - Provisioning status of marketplace gallery image
 
- download
Status MarketplaceGallery Image Status Download Status Response  - The download status of the gallery image
 - error
Code string - MarketplaceGalleryImage provisioning error code
 - error
Message string - Descriptive error message
 - progress
Percentage number - The progress of the operation in percentage
 - provisioning
Status MarketplaceGallery Image Status Provisioning Status Response  - Provisioning status of marketplace gallery image
 
- download_
status MarketplaceGallery Image Status Download Status Response  - The download status of the gallery image
 - error_
code str - MarketplaceGalleryImage provisioning error code
 - error_
message str - Descriptive error message
 - progress_
percentage float - The progress of the operation in percentage
 - provisioning_
status MarketplaceGallery Image Status Provisioning Status Response  - Provisioning status of marketplace gallery image
 
- download
Status Property Map - The download status of the gallery image
 - error
Code String - MarketplaceGalleryImage provisioning error code
 - error
Message String - Descriptive error message
 - progress
Percentage Number - The progress of the operation in percentage
 - provisioning
Status Property Map - Provisioning status of marketplace gallery image
 
SystemDataResponse  
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
- created
At string - The timestamp of resource creation (UTC).
 - created
By string - The identity that created the resource.
 - created
By stringType  - The type of identity that created the resource.
 - last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - last
Modified stringBy  - The identity that last modified the resource.
 - last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created_
at str - The timestamp of resource creation (UTC).
 - created_
by str - The identity that created the resource.
 - created_
by_ strtype  - The type of identity that created the resource.
 - last_
modified_ strat  - The timestamp of resource last modification (UTC)
 - last_
modified_ strby  - The identity that last modified the resource.
 - last_
modified_ strby_ type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0