1. Packages
  2. Azure Native
  3. API Docs
  4. azurestackhci
  5. GalleryImage
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.GalleryImage

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 gallery images 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

    PutGalleryImage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var galleryImage = new AzureNative.AzureStackHCI.GalleryImage("galleryImage", new()
        {
            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,
            },
            GalleryImageName = "test-gallery-image",
            ImagePath = "C:\\test.vhdx",
            Location = "West US2",
            OsType = AzureNative.AzureStackHCI.OperatingSystemTypes.Linux,
            ResourceGroupName = "test-rg",
        });
    
    });
    
    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.NewGalleryImage(ctx, "galleryImage", &azurestackhci.GalleryImageArgs{
    			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),
    			},
    			GalleryImageName:  pulumi.String("test-gallery-image"),
    			ImagePath:         pulumi.String("C:\\test.vhdx"),
    			Location:          pulumi.String("West US2"),
    			OsType:            pulumi.String(azurestackhci.OperatingSystemTypesLinux),
    			ResourceGroupName: pulumi.String("test-rg"),
    		})
    		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.GalleryImage;
    import com.pulumi.azurenative.azurestackhci.GalleryImageArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
    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 galleryImage = new GalleryImage("galleryImage", GalleryImageArgs.builder()
                .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())
                .galleryImageName("test-gallery-image")
                .imagePath("C:\\test.vhdx")
                .location("West US2")
                .osType("Linux")
                .resourceGroupName("test-rg")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const galleryImage = new azure_native.azurestackhci.GalleryImage("galleryImage", {
        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,
        },
        galleryImageName: "test-gallery-image",
        imagePath: "C:\\test.vhdx",
        location: "West US2",
        osType: azure_native.azurestackhci.OperatingSystemTypes.Linux,
        resourceGroupName: "test-rg",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    gallery_image = azure_native.azurestackhci.GalleryImage("galleryImage",
        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,
        },
        gallery_image_name="test-gallery-image",
        image_path="C:\\test.vhdx",
        location="West US2",
        os_type=azure_native.azurestackhci.OperatingSystemTypes.LINUX,
        resource_group_name="test-rg")
    
    resources:
      galleryImage:
        type: azure-native:azurestackhci:GalleryImage
        properties:
          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
          galleryImageName: test-gallery-image
          imagePath: C:\test.vhdx
          location: West US2
          osType: Linux
          resourceGroupName: test-rg
    

    Create GalleryImage Resource

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

    Constructor syntax

    new GalleryImage(name: string, args: GalleryImageArgs, opts?: CustomResourceOptions);
    @overload
    def GalleryImage(resource_name: str,
                     args: GalleryImageArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def GalleryImage(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     os_type: Optional[Union[str, OperatingSystemTypes]] = None,
                     resource_group_name: Optional[str] = None,
                     gallery_image_name: Optional[str] = None,
                     cloud_init_data_source: Optional[Union[str, CloudInitDataSource]] = None,
                     hyper_v_generation: Optional[Union[str, HyperVGeneration]] = None,
                     identifier: Optional[GalleryImageIdentifierArgs] = None,
                     image_path: Optional[str] = None,
                     location: Optional[str] = None,
                     extended_location: Optional[ExtendedLocationArgs] = None,
                     container_id: Optional[str] = None,
                     source_virtual_machine_id: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     version: Optional[GalleryImageVersionArgs] = None,
                     vm_image_repository_credentials: Optional[VmImageRepositoryCredentialsArgs] = None)
    func NewGalleryImage(ctx *Context, name string, args GalleryImageArgs, opts ...ResourceOption) (*GalleryImage, error)
    public GalleryImage(string name, GalleryImageArgs args, CustomResourceOptions? opts = null)
    public GalleryImage(String name, GalleryImageArgs args)
    public GalleryImage(String name, GalleryImageArgs args, CustomResourceOptions options)
    
    type: azure-native:azurestackhci:GalleryImage
    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 GalleryImageArgs
    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 GalleryImageArgs
    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 GalleryImageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GalleryImageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GalleryImageArgs
    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 galleryImageResource = new AzureNative.AzureStackHCI.GalleryImage("galleryImageResource", new()
    {
        OsType = "string",
        ResourceGroupName = "string",
        GalleryImageName = "string",
        CloudInitDataSource = "string",
        HyperVGeneration = "string",
        Identifier = new AzureNative.AzureStackHCI.Inputs.GalleryImageIdentifierArgs
        {
            Offer = "string",
            Publisher = "string",
            Sku = "string",
        },
        ImagePath = "string",
        Location = "string",
        ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        ContainerId = "string",
        SourceVirtualMachineId = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Version = new AzureNative.AzureStackHCI.Inputs.GalleryImageVersionArgs
        {
            Name = "string",
        },
        VmImageRepositoryCredentials = new AzureNative.AzureStackHCI.Inputs.VmImageRepositoryCredentialsArgs
        {
            Password = "string",
            Username = "string",
        },
    });
    
    example, err := azurestackhci.NewGalleryImage(ctx, "galleryImageResource", &azurestackhci.GalleryImageArgs{
    	OsType:              pulumi.String("string"),
    	ResourceGroupName:   pulumi.String("string"),
    	GalleryImageName:    pulumi.String("string"),
    	CloudInitDataSource: pulumi.String("string"),
    	HyperVGeneration:    pulumi.String("string"),
    	Identifier: &azurestackhci.GalleryImageIdentifierArgs{
    		Offer:     pulumi.String("string"),
    		Publisher: pulumi.String("string"),
    		Sku:       pulumi.String("string"),
    	},
    	ImagePath: pulumi.String("string"),
    	Location:  pulumi.String("string"),
    	ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	ContainerId:            pulumi.String("string"),
    	SourceVirtualMachineId: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Version: &azurestackhci.GalleryImageVersionArgs{
    		Name: pulumi.String("string"),
    	},
    	VmImageRepositoryCredentials: &azurestackhci.VmImageRepositoryCredentialsArgs{
    		Password: pulumi.String("string"),
    		Username: pulumi.String("string"),
    	},
    })
    
    var galleryImageResource = new com.pulumi.azurenative.azurestackhci.GalleryImage("galleryImageResource", com.pulumi.azurenative.azurestackhci.GalleryImageArgs.builder()
        .osType("string")
        .resourceGroupName("string")
        .galleryImageName("string")
        .cloudInitDataSource("string")
        .hyperVGeneration("string")
        .identifier(GalleryImageIdentifierArgs.builder()
            .offer("string")
            .publisher("string")
            .sku("string")
            .build())
        .imagePath("string")
        .location("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .containerId("string")
        .sourceVirtualMachineId("string")
        .tags(Map.of("string", "string"))
        .version(GalleryImageVersionArgs.builder()
            .name("string")
            .build())
        .vmImageRepositoryCredentials(VmImageRepositoryCredentialsArgs.builder()
            .password("string")
            .username("string")
            .build())
        .build());
    
    gallery_image_resource = azure_native.azurestackhci.GalleryImage("galleryImageResource",
        os_type="string",
        resource_group_name="string",
        gallery_image_name="string",
        cloud_init_data_source="string",
        hyper_v_generation="string",
        identifier={
            "offer": "string",
            "publisher": "string",
            "sku": "string",
        },
        image_path="string",
        location="string",
        extended_location={
            "name": "string",
            "type": "string",
        },
        container_id="string",
        source_virtual_machine_id="string",
        tags={
            "string": "string",
        },
        version={
            "name": "string",
        },
        vm_image_repository_credentials={
            "password": "string",
            "username": "string",
        })
    
    const galleryImageResource = new azure_native.azurestackhci.GalleryImage("galleryImageResource", {
        osType: "string",
        resourceGroupName: "string",
        galleryImageName: "string",
        cloudInitDataSource: "string",
        hyperVGeneration: "string",
        identifier: {
            offer: "string",
            publisher: "string",
            sku: "string",
        },
        imagePath: "string",
        location: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        containerId: "string",
        sourceVirtualMachineId: "string",
        tags: {
            string: "string",
        },
        version: {
            name: "string",
        },
        vmImageRepositoryCredentials: {
            password: "string",
            username: "string",
        },
    });
    
    type: azure-native:azurestackhci:GalleryImage
    properties:
        cloudInitDataSource: string
        containerId: string
        extendedLocation:
            name: string
            type: string
        galleryImageName: string
        hyperVGeneration: string
        identifier:
            offer: string
            publisher: string
            sku: string
        imagePath: string
        location: string
        osType: string
        resourceGroupName: string
        sourceVirtualMachineId: string
        tags:
            string: string
        version:
            name: string
        vmImageRepositoryCredentials:
            password: string
            username: string
    

    GalleryImage 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 GalleryImage 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 gallery image
    ExtendedLocation Pulumi.AzureNative.AzureStackHCI.Inputs.ExtendedLocation
    The extendedLocation of the resource.
    GalleryImageName string
    Name of the gallery image
    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.
    ImagePath string
    location of the image the gallery image should be created from
    Location string
    The geo-location where the resource lives
    SourceVirtualMachineId string
    Resource ID of the source virtual machine from whose OS disk the gallery image is created.
    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.
    VmImageRepositoryCredentials Pulumi.AzureNative.AzureStackHCI.Inputs.VmImageRepositoryCredentials
    The credentials used to login to the image repository that has access to the specified image
    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 gallery image
    ExtendedLocation ExtendedLocationArgs
    The extendedLocation of the resource.
    GalleryImageName string
    Name of the gallery image
    HyperVGeneration string | HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    Identifier GalleryImageIdentifierArgs
    This is the gallery image definition identifier.
    ImagePath string
    location of the image the gallery image should be created from
    Location string
    The geo-location where the resource lives
    SourceVirtualMachineId string
    Resource ID of the source virtual machine from whose OS disk the gallery image is created.
    Tags map[string]string
    Resource tags.
    Version GalleryImageVersionArgs
    Specifies information about the gallery image version that you want to create or update.
    VmImageRepositoryCredentials VmImageRepositoryCredentialsArgs
    The credentials used to login to the image repository that has access to the specified image
    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 gallery image
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    galleryImageName String
    Name of the gallery image
    hyperVGeneration String | HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    identifier GalleryImageIdentifier
    This is the gallery image definition identifier.
    imagePath String
    location of the image the gallery image should be created from
    location String
    The geo-location where the resource lives
    sourceVirtualMachineId String
    Resource ID of the source virtual machine from whose OS disk the gallery image is created.
    tags Map<String,String>
    Resource tags.
    version GalleryImageVersion
    Specifies information about the gallery image version that you want to create or update.
    vmImageRepositoryCredentials VmImageRepositoryCredentials
    The credentials used to login to the image repository that has access to the specified image
    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 gallery image
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    galleryImageName string
    Name of the gallery image
    hyperVGeneration string | HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    identifier GalleryImageIdentifier
    This is the gallery image definition identifier.
    imagePath string
    location of the image the gallery image should be created from
    location string
    The geo-location where the resource lives
    sourceVirtualMachineId string
    Resource ID of the source virtual machine from whose OS disk the gallery image is created.
    tags {[key: string]: string}
    Resource tags.
    version GalleryImageVersion
    Specifies information about the gallery image version that you want to create or update.
    vmImageRepositoryCredentials VmImageRepositoryCredentials
    The credentials used to login to the image repository that has access to the specified image
    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 gallery image
    extended_location ExtendedLocationArgs
    The extendedLocation of the resource.
    gallery_image_name str
    Name of the gallery image
    hyper_v_generation str | HyperVGeneration
    The hypervisor generation of the Virtual Machine [V1, V2]
    identifier GalleryImageIdentifierArgs
    This is the gallery image definition identifier.
    image_path str
    location of the image the gallery image should be created from
    location str
    The geo-location where the resource lives
    source_virtual_machine_id str
    Resource ID of the source virtual machine from whose OS disk the gallery image is created.
    tags Mapping[str, str]
    Resource tags.
    version GalleryImageVersionArgs
    Specifies information about the gallery image version that you want to create or update.
    vm_image_repository_credentials VmImageRepositoryCredentialsArgs
    The credentials used to login to the image repository that has access to the specified image
    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 gallery image
    extendedLocation Property Map
    The extendedLocation of the resource.
    galleryImageName String
    Name of the gallery image
    hyperVGeneration String | "V1" | "V2"
    The hypervisor generation of the Virtual Machine [V1, V2]
    identifier Property Map
    This is the gallery image definition identifier.
    imagePath String
    location of the image the gallery image should be created from
    location String
    The geo-location where the resource lives
    sourceVirtualMachineId String
    Resource ID of the source virtual machine from whose OS disk the gallery image is created.
    tags Map<String>
    Resource tags.
    version Property Map
    Specifies information about the gallery image version that you want to create or update.
    vmImageRepositoryCredentials Property Map
    The credentials used to login to the image repository that has access to the specified image

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GalleryImage 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 gallery image.
    Status Pulumi.AzureNative.AzureStackHCI.Outputs.GalleryImageStatusResponse
    The observed state of 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 gallery image.
    Status GalleryImageStatusResponse
    The observed state of 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 gallery image.
    status GalleryImageStatusResponse
    The observed state of 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 gallery image.
    status GalleryImageStatusResponse
    The observed state of 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 gallery image.
    status GalleryImageStatusResponse
    The observed state of 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 gallery image.
    status Property Map
    The observed state of 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.

    GalleryImageStatusDownloadStatusResponse, GalleryImageStatusDownloadStatusResponseArgs

    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

    GalleryImageStatusProvisioningStatusResponse, GalleryImageStatusProvisioningStatusResponseArgs

    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

    GalleryImageStatusResponse, GalleryImageStatusResponseArgs

    DownloadStatus Pulumi.AzureNative.AzureStackHCI.Inputs.GalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    ErrorCode string
    GalleryImage provisioning error code
    ErrorMessage string
    Descriptive error message
    ProgressPercentage double
    The progress of the operation in percentage
    ProvisioningStatus Pulumi.AzureNative.AzureStackHCI.Inputs.GalleryImageStatusProvisioningStatusResponse
    provisioning status of the gallery image
    DownloadStatus GalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    ErrorCode string
    GalleryImage provisioning error code
    ErrorMessage string
    Descriptive error message
    ProgressPercentage float64
    The progress of the operation in percentage
    ProvisioningStatus GalleryImageStatusProvisioningStatusResponse
    provisioning status of the gallery image
    downloadStatus GalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    errorCode String
    GalleryImage provisioning error code
    errorMessage String
    Descriptive error message
    progressPercentage Double
    The progress of the operation in percentage
    provisioningStatus GalleryImageStatusProvisioningStatusResponse
    provisioning status of the gallery image
    downloadStatus GalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    errorCode string
    GalleryImage provisioning error code
    errorMessage string
    Descriptive error message
    progressPercentage number
    The progress of the operation in percentage
    provisioningStatus GalleryImageStatusProvisioningStatusResponse
    provisioning status of the gallery image
    download_status GalleryImageStatusDownloadStatusResponse
    The download status of the gallery image
    error_code str
    GalleryImage provisioning error code
    error_message str
    Descriptive error message
    progress_percentage float
    The progress of the operation in percentage
    provisioning_status GalleryImageStatusProvisioningStatusResponse
    provisioning status of the gallery image
    downloadStatus Property Map
    The download status of the gallery image
    errorCode String
    GalleryImage provisioning error code
    errorMessage String
    Descriptive error message
    progressPercentage Number
    The progress of the operation in percentage
    provisioningStatus Property Map
    provisioning status of the gallery image

    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

    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.

    VmImageRepositoryCredentials, VmImageRepositoryCredentialsArgs

    Password string
    Password for accessing image repository
    Username string
    Username for accessing image repository
    Password string
    Password for accessing image repository
    Username string
    Username for accessing image repository
    password String
    Password for accessing image repository
    username String
    Username for accessing image repository
    password string
    Password for accessing image repository
    username string
    Username for accessing image repository
    password str
    Password for accessing image repository
    username str
    Username for accessing image repository
    password String
    Password for accessing image repository
    username String
    Username for accessing image repository

    VmImageRepositoryCredentialsResponse, VmImageRepositoryCredentialsResponseArgs

    Password string
    Password for accessing image repository
    Username string
    Username for accessing image repository
    Password string
    Password for accessing image repository
    Username string
    Username for accessing image repository
    password String
    Password for accessing image repository
    username String
    Username for accessing image repository
    password string
    Password for accessing image repository
    username string
    Username for accessing image repository
    password str
    Password for accessing image repository
    username str
    Username for accessing image repository
    password String
    Password for accessing image repository
    username String
    Username for accessing image repository

    Import

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

    $ pulumi import azure-native:azurestackhci:GalleryImage test-gallery-image /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName} 
    

    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