1. Packages
  2. Azure Native
  3. API Docs
  4. azurestackhci
  5. MarketplaceGalleryImage
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.azurestackhci.MarketplaceGalleryImage

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    The marketplace gallery image resource definition.

    Uses Azure REST API version 2025-02-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-12-15-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.

    Example Usage

    PutMarketplaceGalleryImage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var marketplaceGalleryImage = new AzureNative.AzureStackHCI.MarketplaceGalleryImage("marketplaceGalleryImage", new()
        {
            CloudInitDataSource = AzureNative.AzureStackHCI.CloudInitDataSource.Azure,
            ContainerId = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container",
            ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
                Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
            },
            HyperVGeneration = AzureNative.AzureStackHCI.HyperVGeneration.V1,
            Identifier = new AzureNative.AzureStackHCI.Inputs.GalleryImageIdentifierArgs
            {
                Offer = "myOfferName",
                Publisher = "myPublisherName",
                Sku = "mySkuName",
            },
            Location = "West US2",
            MarketplaceGalleryImageName = "test-marketplace-gallery-image",
            OsType = AzureNative.AzureStackHCI.OperatingSystemTypes.Windows,
            ResourceGroupName = "test-rg",
            Version = new AzureNative.AzureStackHCI.Inputs.GalleryImageVersionArgs
            {
                Name = "1.0.0",
            },
        });
    
    });
    
    package main
    
    import (
    	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurestackhci.NewMarketplaceGalleryImage(ctx, "marketplaceGalleryImage", &azurestackhci.MarketplaceGalleryImageArgs{
    			CloudInitDataSource: pulumi.String(azurestackhci.CloudInitDataSourceAzure),
    			ContainerId:         pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container"),
    			ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
    				Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
    			},
    			HyperVGeneration: pulumi.String(azurestackhci.HyperVGenerationV1),
    			Identifier: &azurestackhci.GalleryImageIdentifierArgs{
    				Offer:     pulumi.String("myOfferName"),
    				Publisher: pulumi.String("myPublisherName"),
    				Sku:       pulumi.String("mySkuName"),
    			},
    			Location:                    pulumi.String("West US2"),
    			MarketplaceGalleryImageName: pulumi.String("test-marketplace-gallery-image"),
    			OsType:                      pulumi.String(azurestackhci.OperatingSystemTypesWindows),
    			ResourceGroupName:           pulumi.String("test-rg"),
    			Version: &azurestackhci.GalleryImageVersionArgs{
    				Name: pulumi.String("1.0.0"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.azurestackhci.MarketplaceGalleryImage;
    import com.pulumi.azurenative.azurestackhci.MarketplaceGalleryImageArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.GalleryImageIdentifierArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.GalleryImageVersionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var marketplaceGalleryImage = new MarketplaceGalleryImage("marketplaceGalleryImage", MarketplaceGalleryImageArgs.builder()
                .cloudInitDataSource("Azure")
                .containerId("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container")
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
                    .type("CustomLocation")
                    .build())
                .hyperVGeneration("V1")
                .identifier(GalleryImageIdentifierArgs.builder()
                    .offer("myOfferName")
                    .publisher("myPublisherName")
                    .sku("mySkuName")
                    .build())
                .location("West US2")
                .marketplaceGalleryImageName("test-marketplace-gallery-image")
                .osType("Windows")
                .resourceGroupName("test-rg")
                .version(GalleryImageVersionArgs.builder()
                    .name("1.0.0")
                    .build())
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const marketplaceGalleryImage = new azure_native.azurestackhci.MarketplaceGalleryImage("marketplaceGalleryImage", {
        cloudInitDataSource: azure_native.azurestackhci.CloudInitDataSource.Azure,
        containerId: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container",
        extendedLocation: {
            name: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
        },
        hyperVGeneration: azure_native.azurestackhci.HyperVGeneration.V1,
        identifier: {
            offer: "myOfferName",
            publisher: "myPublisherName",
            sku: "mySkuName",
        },
        location: "West US2",
        marketplaceGalleryImageName: "test-marketplace-gallery-image",
        osType: azure_native.azurestackhci.OperatingSystemTypes.Windows,
        resourceGroupName: "test-rg",
        version: {
            name: "1.0.0",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    marketplace_gallery_image = azure_native.azurestackhci.MarketplaceGalleryImage("marketplaceGalleryImage",
        cloud_init_data_source=azure_native.azurestackhci.CloudInitDataSource.AZURE,
        container_id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container",
        extended_location={
            "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            "type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
        },
        hyper_v_generation=azure_native.azurestackhci.HyperVGeneration.V1,
        identifier={
            "offer": "myOfferName",
            "publisher": "myPublisherName",
            "sku": "mySkuName",
        },
        location="West US2",
        marketplace_gallery_image_name="test-marketplace-gallery-image",
        os_type=azure_native.azurestackhci.OperatingSystemTypes.WINDOWS,
        resource_group_name="test-rg",
        version={
            "name": "1.0.0",
        })
    
    resources:
      marketplaceGalleryImage:
        type: azure-native:azurestackhci:MarketplaceGalleryImage
        properties:
          cloudInitDataSource: Azure
          containerId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container
          extendedLocation:
            name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
            type: CustomLocation
          hyperVGeneration: V1
          identifier:
            offer: myOfferName
            publisher: myPublisherName
            sku: mySkuName
          location: West US2
          marketplaceGalleryImageName: test-marketplace-gallery-image
          osType: Windows
          resourceGroupName: test-rg
          version:
            name: 1.0.0
    

    Create MarketplaceGalleryImage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MarketplaceGalleryImage(name: string, args: MarketplaceGalleryImageArgs, opts?: CustomResourceOptions);
    @overload
    def MarketplaceGalleryImage(resource_name: str,
                                args: MarketplaceGalleryImageArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def MarketplaceGalleryImage(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                os_type: Optional[Union[str, OperatingSystemTypes]] = None,
                                resource_group_name: Optional[str] = None,
                                cloud_init_data_source: Optional[Union[str, CloudInitDataSource]] = None,
                                container_id: Optional[str] = None,
                                extended_location: Optional[ExtendedLocationArgs] = None,
                                hyper_v_generation: Optional[Union[str, HyperVGeneration]] = None,
                                identifier: Optional[GalleryImageIdentifierArgs] = None,
                                location: Optional[str] = None,
                                marketplace_gallery_image_name: Optional[str] = None,
                                tags: Optional[Mapping[str, str]] = None,
                                version: Optional[GalleryImageVersionArgs] = None)
    func NewMarketplaceGalleryImage(ctx *Context, name string, args MarketplaceGalleryImageArgs, opts ...ResourceOption) (*MarketplaceGalleryImage, error)
    public MarketplaceGalleryImage(string name, MarketplaceGalleryImageArgs args, CustomResourceOptions? opts = null)
    public MarketplaceGalleryImage(String name, MarketplaceGalleryImageArgs args)
    public MarketplaceGalleryImage(String name, MarketplaceGalleryImageArgs args, CustomResourceOptions options)
    
    type: azure-native:azurestackhci:MarketplaceGalleryImage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MarketplaceGalleryImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MarketplaceGalleryImageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MarketplaceGalleryImageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MarketplaceGalleryImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MarketplaceGalleryImageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var marketplaceGalleryImageResource = new AzureNative.AzureStackHCI.MarketplaceGalleryImage("marketplaceGalleryImageResource", new()
    {
        OsType = "string",
        ResourceGroupName = "string",
        CloudInitDataSource = "string",
        ContainerId = "string",
        ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        HyperVGeneration = "string",
        Identifier = new AzureNative.AzureStackHCI.Inputs.GalleryImageIdentifierArgs
        {
            Offer = "string",
            Publisher = "string",
            Sku = "string",
        },
        Location = "string",
        MarketplaceGalleryImageName = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Version = new AzureNative.AzureStackHCI.Inputs.GalleryImageVersionArgs
        {
            Name = "string",
        },
    });
    
    example, err := azurestackhci.NewMarketplaceGalleryImage(ctx, "marketplaceGalleryImageResource", &azurestackhci.MarketplaceGalleryImageArgs{
    	OsType:              pulumi.String("string"),
    	ResourceGroupName:   pulumi.String("string"),
    	CloudInitDataSource: pulumi.String("string"),
    	ContainerId:         pulumi.String("string"),
    	ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	HyperVGeneration: pulumi.String("string"),
    	Identifier: &azurestackhci.GalleryImageIdentifierArgs{
    		Offer:     pulumi.String("string"),
    		Publisher: pulumi.String("string"),
    		Sku:       pulumi.String("string"),
    	},
    	Location:                    pulumi.String("string"),
    	MarketplaceGalleryImageName: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Version: &azurestackhci.GalleryImageVersionArgs{
    		Name: pulumi.String("string"),
    	},
    })
    
    var marketplaceGalleryImageResource = new MarketplaceGalleryImage("marketplaceGalleryImageResource", MarketplaceGalleryImageArgs.builder()
        .osType("string")
        .resourceGroupName("string")
        .cloudInitDataSource("string")
        .containerId("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .hyperVGeneration("string")
        .identifier(GalleryImageIdentifierArgs.builder()
            .offer("string")
            .publisher("string")
            .sku("string")
            .build())
        .location("string")
        .marketplaceGalleryImageName("string")
        .tags(Map.of("string", "string"))
        .version(GalleryImageVersionArgs.builder()
            .name("string")
            .build())
        .build());
    
    marketplace_gallery_image_resource = azure_native.azurestackhci.MarketplaceGalleryImage("marketplaceGalleryImageResource",
        os_type="string",
        resource_group_name="string",
        cloud_init_data_source="string",
        container_id="string",
        extended_location={
            "name": "string",
            "type": "string",
        },
        hyper_v_generation="string",
        identifier={
            "offer": "string",
            "publisher": "string",
            "sku": "string",
        },
        location="string",
        marketplace_gallery_image_name="string",
        tags={
            "string": "string",
        },
        version={
            "name": "string",
        })
    
    const marketplaceGalleryImageResource = new azure_native.azurestackhci.MarketplaceGalleryImage("marketplaceGalleryImageResource", {
        osType: "string",
        resourceGroupName: "string",
        cloudInitDataSource: "string",
        containerId: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        hyperVGeneration: "string",
        identifier: {
            offer: "string",
            publisher: "string",
            sku: "string",
        },
        location: "string",
        marketplaceGalleryImageName: "string",
        tags: {
            string: "string",
        },
        version: {
            name: "string",
        },
    });
    
    type: azure-native:azurestackhci:MarketplaceGalleryImage
    properties:
        cloudInitDataSource: string
        containerId: string
        extendedLocation:
            name: string
            type: string
        hyperVGeneration: string
        identifier:
            offer: string
            publisher: string
            sku: string
        location: string
        marketplaceGalleryImageName: string
        osType: string
        resourceGroupName: string
        tags:
            string: string
        version:
            name: string
    

    MarketplaceGalleryImage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MarketplaceGalleryImage resource accepts the following input properties:

    OsType string | Pulumi.AzureNative.AzureStackHCI.OperatingSystemTypes
    Operating system type that the gallery image uses [Windows, Linux]
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    CloudInitDataSource string | Pulumi.AzureNative.AzureStackHCI.CloudInitDataSource
    Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
    ContainerId string
    Storage ContainerID of the storage container to be used for marketplace gallery image
    ExtendedLocation Pulumi.AzureNative.AzureStackHCI.Inputs.ExtendedLocation
    The extendedLocation of the resource.
    HyperVGeneration string | Pulumi.AzureNative.AzureStackHCI.HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    Identifier Pulumi.AzureNative.AzureStackHCI.Inputs.GalleryImageIdentifier
    This is the gallery image definition identifier.
    Location string
    The geo-location where the resource lives
    MarketplaceGalleryImageName string
    Name of the marketplace gallery image
    Tags Dictionary<string, string>
    Resource tags.
    Version Pulumi.AzureNative.AzureStackHCI.Inputs.GalleryImageVersion
    Specifies information about the gallery image version that you want to create or update.
    OsType string | OperatingSystemTypes
    Operating system type that the gallery image uses [Windows, Linux]
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    CloudInitDataSource string | CloudInitDataSource
    Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
    ContainerId string
    Storage ContainerID of the storage container to be used for marketplace gallery image
    ExtendedLocation ExtendedLocationArgs
    The extendedLocation of the resource.
    HyperVGeneration string | HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    Identifier GalleryImageIdentifierArgs
    This is the gallery image definition identifier.
    Location string
    The geo-location where the resource lives
    MarketplaceGalleryImageName string
    Name of the marketplace gallery image
    Tags map[string]string
    Resource tags.
    Version GalleryImageVersionArgs
    Specifies information about the gallery image version that you want to create or update.
    osType String | OperatingSystemTypes
    Operating system type that the gallery image uses [Windows, Linux]
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    cloudInitDataSource String | CloudInitDataSource
    Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
    containerId String
    Storage ContainerID of the storage container to be used for marketplace gallery image
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    hyperVGeneration String | HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    identifier GalleryImageIdentifier
    This is the gallery image definition identifier.
    location String
    The geo-location where the resource lives
    marketplaceGalleryImageName String
    Name of the marketplace gallery image
    tags Map<String,String>
    Resource tags.
    version GalleryImageVersion
    Specifies information about the gallery image version that you want to create or update.
    osType string | OperatingSystemTypes
    Operating system type that the gallery image uses [Windows, Linux]
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    cloudInitDataSource string | CloudInitDataSource
    Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
    containerId string
    Storage ContainerID of the storage container to be used for marketplace gallery image
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    hyperVGeneration string | HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    identifier GalleryImageIdentifier
    This is the gallery image definition identifier.
    location string
    The geo-location where the resource lives
    marketplaceGalleryImageName string
    Name of the marketplace gallery image
    tags {[key: string]: string}
    Resource tags.
    version GalleryImageVersion
    Specifies information about the gallery image version that you want to create or update.
    os_type str | OperatingSystemTypes
    Operating system type that the gallery image uses [Windows, Linux]
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    cloud_init_data_source str | CloudInitDataSource
    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 ExtendedLocationArgs
    The extendedLocation of the resource.
    hyper_v_generation str | HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    identifier GalleryImageIdentifierArgs
    This is the gallery image definition identifier.
    location str
    The geo-location where the resource lives
    marketplace_gallery_image_name str
    Name of the marketplace gallery image
    tags Mapping[str, str]
    Resource tags.
    version GalleryImageVersionArgs
    Specifies information about the gallery image version that you want to create or update.
    osType String | "Windows" | "Linux"
    Operating system type that the gallery image uses [Windows, Linux]
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    cloudInitDataSource String | "NoCloud" | "Azure"
    Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]
    containerId String
    Storage ContainerID of the storage container to be used for marketplace gallery image
    extendedLocation Property Map
    The extendedLocation of the resource.
    hyperVGeneration String | "V1" | "V2"
    The hypervisor generation of the Virtual Machine [V1, V2]
    identifier Property Map
    This is the gallery image definition identifier.
    location String
    The geo-location where the resource lives
    marketplaceGalleryImageName String
    Name of the marketplace gallery image
    tags Map<String>
    Resource tags.
    version Property Map
    Specifies information about the gallery image version that you want to create or update.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MarketplaceGalleryImage resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the marketplace gallery image.
    Status Pulumi.AzureNative.AzureStackHCI.Outputs.MarketplaceGalleryImageStatusResponse
    The observed state of marketplace gallery images
    SystemData Pulumi.AzureNative.AzureStackHCI.Outputs.SystemDataResponse
    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"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the marketplace gallery image.
    Status MarketplaceGalleryImageStatusResponse
    The observed state of marketplace gallery images
    SystemData SystemDataResponse
    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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the marketplace gallery image.
    status MarketplaceGalleryImageStatusResponse
    The observed state of marketplace gallery images
    systemData SystemDataResponse
    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"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Provisioning state of the marketplace gallery image.
    status MarketplaceGalleryImageStatusResponse
    The observed state of marketplace gallery images
    systemData SystemDataResponse
    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"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Provisioning state of the marketplace gallery image.
    status MarketplaceGalleryImageStatusResponse
    The observed state of marketplace gallery images
    system_data SystemDataResponse
    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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the marketplace gallery image.
    status Property Map
    The observed state of marketplace gallery images
    systemData 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"

    Supporting Types

    CloudInitDataSource, CloudInitDataSourceArgs

    NoCloud
    NoCloudNoCloud is used as the datasource
    Azure
    AzureAzure is used as the datasource
    CloudInitDataSourceNoCloud
    NoCloudNoCloud is used as the datasource
    CloudInitDataSourceAzure
    AzureAzure is used as the datasource
    NoCloud
    NoCloudNoCloud is used as the datasource
    Azure
    AzureAzure is used as the datasource
    NoCloud
    NoCloudNoCloud is used as the datasource
    Azure
    AzureAzure is used as the datasource
    NO_CLOUD
    NoCloudNoCloud is used as the datasource
    AZURE
    AzureAzure is used as the datasource
    "NoCloud"
    NoCloudNoCloud is used as the datasource
    "Azure"
    AzureAzure is used as the datasource

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The name of the extended location.
    Type string | Pulumi.AzureNative.AzureStackHCI.ExtendedLocationTypes
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | ExtendedLocationTypes
    The type of the extended location.
    name string
    The name of the extended location.
    type string | ExtendedLocationTypes
    The type of the extended location.
    name str
    The name of the extended location.
    type str | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    CustomLocation
    CustomLocation
    ExtendedLocationTypesCustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CUSTOM_LOCATION
    CustomLocation
    "CustomLocation"
    CustomLocation

    GalleryImageIdentifier, GalleryImageIdentifierArgs

    Offer string
    The name of the gallery image definition offer.
    Publisher string
    The name of the gallery image definition publisher.
    Sku string
    The name of the gallery image definition SKU.
    Offer string
    The name of the gallery image definition offer.
    Publisher string
    The name of the gallery image definition publisher.
    Sku string
    The name of the gallery image definition SKU.
    offer String
    The name of the gallery image definition offer.
    publisher String
    The name of the gallery image definition publisher.
    sku String
    The name of the gallery image definition SKU.
    offer string
    The name of the gallery image definition offer.
    publisher string
    The name of the gallery image definition publisher.
    sku string
    The name of the gallery image definition SKU.
    offer str
    The name of the gallery image definition offer.
    publisher str
    The name of the gallery image definition publisher.
    sku str
    The name of the gallery image definition SKU.
    offer String
    The name of the gallery image definition offer.
    publisher String
    The name of the gallery image definition publisher.
    sku String
    The name of the gallery image definition SKU.

    GalleryImageIdentifierResponse, GalleryImageIdentifierResponseArgs

    Offer string
    The name of the gallery image definition offer.
    Publisher string
    The name of the gallery image definition publisher.
    Sku string
    The name of the gallery image definition SKU.
    Offer string
    The name of the gallery image definition offer.
    Publisher string
    The name of the gallery image definition publisher.
    Sku string
    The name of the gallery image definition SKU.
    offer String
    The name of the gallery image definition offer.
    publisher String
    The name of the gallery image definition publisher.
    sku String
    The name of the gallery image definition SKU.
    offer string
    The name of the gallery image definition offer.
    publisher string
    The name of the gallery image definition publisher.
    sku string
    The name of the gallery image definition SKU.
    offer str
    The name of the gallery image definition offer.
    publisher str
    The name of the gallery image definition publisher.
    sku str
    The name of the gallery image definition SKU.
    offer String
    The name of the gallery image definition offer.
    publisher String
    The name of the gallery image definition publisher.
    sku String
    The name of the gallery image definition SKU.

    GalleryImageVersion, GalleryImageVersionArgs

    Name string
    This is the version of the gallery image.
    Name string
    This is the version of the gallery image.
    name String
    This is the version of the gallery image.
    name string
    This is the version of the gallery image.
    name str
    This is the version of the gallery image.
    name String
    This is the version of the gallery image.

    GalleryImageVersionResponse, GalleryImageVersionResponseArgs

    StorageProfile Pulumi.AzureNative.AzureStackHCI.Inputs.GalleryImageVersionStorageProfileResponse
    This is the storage profile of a Gallery Image Version.
    Name string
    This is the version of the gallery image.
    StorageProfile GalleryImageVersionStorageProfileResponse
    This is the storage profile of a Gallery Image Version.
    Name string
    This is the version of the gallery image.
    storageProfile GalleryImageVersionStorageProfileResponse
    This is the storage profile of a Gallery Image Version.
    name String
    This is the version of the gallery image.
    storageProfile GalleryImageVersionStorageProfileResponse
    This is the storage profile of a Gallery Image Version.
    name string
    This is the version of the gallery image.
    storage_profile GalleryImageVersionStorageProfileResponse
    This is the storage profile of a Gallery Image Version.
    name str
    This is the version of the gallery image.
    storageProfile Property Map
    This is the storage profile of a Gallery Image Version.
    name String
    This is the version of the gallery image.

    GalleryImageVersionStorageProfileResponse, GalleryImageVersionStorageProfileResponseArgs

    OsDiskImage GalleryOSDiskImageResponse
    This is the OS disk image.
    osDiskImage GalleryOSDiskImageResponse
    This is the OS disk image.
    osDiskImage GalleryOSDiskImageResponse
    This is the OS disk image.
    os_disk_image GalleryOSDiskImageResponse
    This is the OS disk image.
    osDiskImage Property Map
    This is the OS disk image.

    GalleryOSDiskImageResponse, GalleryOSDiskImageResponseArgs

    SizeInMB double
    This property indicates the size of the VHD to be created.
    SizeInMB float64
    This property indicates the size of the VHD to be created.
    sizeInMB Double
    This property indicates the size of the VHD to be created.
    sizeInMB number
    This property indicates the size of the VHD to be created.
    size_in_mb float
    This property indicates the size of the VHD to be created.
    sizeInMB Number
    This property indicates the size of the VHD to be created.

    HyperVGeneration, HyperVGenerationArgs

    V1
    V1Generation 1 (V1) hypervisor
    V2
    V2Generation 2 (V2) hypervisor
    HyperVGenerationV1
    V1Generation 1 (V1) hypervisor
    HyperVGenerationV2
    V2Generation 2 (V2) hypervisor
    V1
    V1Generation 1 (V1) hypervisor
    V2
    V2Generation 2 (V2) hypervisor
    V1
    V1Generation 1 (V1) hypervisor
    V2
    V2Generation 2 (V2) hypervisor
    V1
    V1Generation 1 (V1) hypervisor
    V2
    V2Generation 2 (V2) hypervisor
    "V1"
    V1Generation 1 (V1) hypervisor
    "V2"
    V2Generation 2 (V2) hypervisor

    MarketplaceGalleryImageStatusDownloadStatusResponse, MarketplaceGalleryImageStatusDownloadStatusResponseArgs

    DownloadSizeInMB double
    The downloaded sized of the image in MB
    DownloadSizeInMB float64
    The downloaded sized of the image in MB
    downloadSizeInMB Double
    The downloaded sized of the image in MB
    downloadSizeInMB number
    The downloaded sized of the image in MB
    download_size_in_mb float
    The downloaded sized of the image in MB
    downloadSizeInMB Number
    The downloaded sized of the image in MB

    MarketplaceGalleryImageStatusProvisioningStatusResponse, MarketplaceGalleryImageStatusProvisioningStatusResponseArgs

    Status string
    The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]
    OperationId 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]
    OperationId 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]
    operationId 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]
    operationId 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]
    operationId String
    The ID of the operation performed on the gallery image

    MarketplaceGalleryImageStatusResponse, MarketplaceGalleryImageStatusResponseArgs

    DownloadStatus Pulumi.AzureNative.AzureStackHCI.Inputs.MarketplaceGalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    ErrorCode string
    MarketplaceGalleryImage provisioning error code
    ErrorMessage string
    Descriptive error message
    ProgressPercentage double
    The progress of the operation in percentage
    ProvisioningStatus Pulumi.AzureNative.AzureStackHCI.Inputs.MarketplaceGalleryImageStatusProvisioningStatusResponse
    Provisioning status of marketplace gallery image
    DownloadStatus MarketplaceGalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    ErrorCode string
    MarketplaceGalleryImage provisioning error code
    ErrorMessage string
    Descriptive error message
    ProgressPercentage float64
    The progress of the operation in percentage
    ProvisioningStatus MarketplaceGalleryImageStatusProvisioningStatusResponse
    Provisioning status of marketplace gallery image
    downloadStatus MarketplaceGalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    errorCode String
    MarketplaceGalleryImage provisioning error code
    errorMessage String
    Descriptive error message
    progressPercentage Double
    The progress of the operation in percentage
    provisioningStatus MarketplaceGalleryImageStatusProvisioningStatusResponse
    Provisioning status of marketplace gallery image
    downloadStatus MarketplaceGalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    errorCode string
    MarketplaceGalleryImage provisioning error code
    errorMessage string
    Descriptive error message
    progressPercentage number
    The progress of the operation in percentage
    provisioningStatus MarketplaceGalleryImageStatusProvisioningStatusResponse
    Provisioning status of marketplace gallery image
    download_status MarketplaceGalleryImageStatusDownloadStatusResponse
    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 MarketplaceGalleryImageStatusProvisioningStatusResponse
    Provisioning status of marketplace gallery image
    downloadStatus Property Map
    The download status of the gallery image
    errorCode String
    MarketplaceGalleryImage provisioning error code
    errorMessage String
    Descriptive error message
    progressPercentage Number
    The progress of the operation in percentage
    provisioningStatus Property Map
    Provisioning status of marketplace gallery image

    OperatingSystemTypes, OperatingSystemTypesArgs

    Windows
    WindowsWindows operating system
    Linux
    LinuxLinux operating system
    OperatingSystemTypesWindows
    WindowsWindows operating system
    OperatingSystemTypesLinux
    LinuxLinux operating system
    Windows
    WindowsWindows operating system
    Linux
    LinuxLinux operating system
    Windows
    WindowsWindows operating system
    Linux
    LinuxLinux operating system
    WINDOWS
    WindowsWindows operating system
    LINUX
    LinuxLinux operating system
    "Windows"
    WindowsWindows operating system
    "Linux"
    LinuxLinux operating system

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:azurestackhci:MarketplaceGalleryImage test-marketplace-gallery-image /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi