Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

GalleryImageVersion

Specifies information about the gallery image version that you want to create or update. API Version: 2020-09-30.

Example Usage

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var galleryImageVersion = new AzureNative.Compute.GalleryImageVersion("galleryImageVersion", new()
    {
        GalleryImageName = "myGalleryImageName",
        GalleryImageVersionName = "1.0.0",
        GalleryName = "myGalleryName",
        Location = "West US",
        PublishingProfile = new AzureNative.Compute.Inputs.GalleryImageVersionPublishingProfileArgs
        {
            TargetRegions = new[]
            {
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                                Lun = 0,
                            },
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                        },
                    },
                    Name = "West US",
                    RegionalReplicaCount = 1,
                },
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                                Lun = 0,
                            },
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                        },
                    },
                    Name = "East US",
                    RegionalReplicaCount = 2,
                    StorageAccountType = "Standard_ZRS",
                },
            },
        },
        ResourceGroupName = "myResourceGroup",
        StorageProfile = new AzureNative.Compute.Inputs.GalleryImageVersionStorageProfileArgs
        {
            Source = new AzureNative.Compute.Inputs.GalleryArtifactVersionSourceArgs
            {
                Id = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}",
            },
        },
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.GalleryImageVersion;
import com.pulumi.azurenative.compute.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 galleryImageVersion = new GalleryImageVersion("galleryImageVersion", GalleryImageVersionArgs.builder()        
            .galleryImageName("myGalleryImageName")
            .galleryImageVersionName("1.0.0")
            .galleryName("myGalleryName")
            .location("West US")
            .publishingProfile(Map.of("targetRegions",             
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages",                         
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet"),
                                Map.entry("lun", 0)
                            ),
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet"),
                                Map.entry("lun", 1)
                            )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet"))
                    )),
                    Map.entry("name", "West US"),
                    Map.entry("regionalReplicaCount", 1)
                ),
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages",                         
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet"),
                                Map.entry("lun", 0)
                            ),
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet"),
                                Map.entry("lun", 1)
                            )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet"))
                    )),
                    Map.entry("name", "East US"),
                    Map.entry("regionalReplicaCount", 2),
                    Map.entry("storageAccountType", "Standard_ZRS")
                )))
            .resourceGroupName("myResourceGroup")
            .storageProfile(Map.of("source", Map.of("id", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}")))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

gallery_image_version = azure_native.compute.GalleryImageVersion("galleryImageVersion",
    gallery_image_name="myGalleryImageName",
    gallery_image_version_name="1.0.0",
    gallery_name="myGalleryName",
    location="West US",
    publishing_profile=azure_native.compute.GalleryImageVersionPublishingProfileResponseArgs(
        target_regions=[
            {
                "encryption": {
                    "dataDiskImages": [
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                            lun=0,
                        ),
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                            lun=1,
                        ),
                    ],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                    ),
                },
                "name": "West US",
                "regionalReplicaCount": 1,
            },
            {
                "encryption": {
                    "dataDiskImages": [
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                            lun=0,
                        ),
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                            lun=1,
                        ),
                    ],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                    ),
                },
                "name": "East US",
                "regionalReplicaCount": 2,
                "storageAccountType": "Standard_ZRS",
            },
        ],
    ),
    resource_group_name="myResourceGroup",
    storage_profile=azure_native.compute.GalleryImageVersionStorageProfileResponseArgs(
        source=azure_native.compute.GalleryArtifactVersionSourceArgs(
            id="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}",
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const galleryImageVersion = new azure_native.compute.GalleryImageVersion("galleryImageVersion", {
    galleryImageName: "myGalleryImageName",
    galleryImageVersionName: "1.0.0",
    galleryName: "myGalleryName",
    location: "West US",
    publishingProfile: {
        targetRegions: [
            {
                encryption: {
                    dataDiskImages: [
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                            lun: 0,
                        },
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                            lun: 1,
                        },
                    ],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                    },
                },
                name: "West US",
                regionalReplicaCount: 1,
            },
            {
                encryption: {
                    dataDiskImages: [
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                            lun: 0,
                        },
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                            lun: 1,
                        },
                    ],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                    },
                },
                name: "East US",
                regionalReplicaCount: 2,
                storageAccountType: "Standard_ZRS",
            },
        ],
    },
    resourceGroupName: "myResourceGroup",
    storageProfile: {
        source: {
            id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}",
        },
    },
});
resources:
  galleryImageVersion:
    type: azure-native:compute:GalleryImageVersion
    properties:
      galleryImageName: myGalleryImageName
      galleryImageVersionName: 1.0.0
      galleryName: myGalleryName
      location: West US
      publishingProfile:
        targetRegions:
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet
                  lun: 0
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet
            name: West US
            regionalReplicaCount: 1
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet
                  lun: 0
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet
            name: East US
            regionalReplicaCount: 2
            storageAccountType: Standard_ZRS
      resourceGroupName: myResourceGroup
      storageProfile:
        source:
          id: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var galleryImageVersion = new AzureNative.Compute.GalleryImageVersion("galleryImageVersion", new()
    {
        GalleryImageName = "myGalleryImageName",
        GalleryImageVersionName = "1.0.0",
        GalleryName = "myGalleryName",
        Location = "West US",
        PublishingProfile = new AzureNative.Compute.Inputs.GalleryImageVersionPublishingProfileArgs
        {
            TargetRegions = new[]
            {
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                                Lun = 0,
                            },
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                        },
                    },
                    Name = "West US",
                    RegionalReplicaCount = 1,
                },
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                                Lun = 0,
                            },
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                        },
                    },
                    Name = "East US",
                    RegionalReplicaCount = 2,
                    StorageAccountType = "Standard_ZRS",
                },
            },
        },
        ResourceGroupName = "myResourceGroup",
        StorageProfile = new AzureNative.Compute.Inputs.GalleryImageVersionStorageProfileArgs
        {
            Source = new AzureNative.Compute.Inputs.GalleryArtifactVersionSourceArgs
            {
                Id = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}",
            },
        },
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.GalleryImageVersion;
import com.pulumi.azurenative.compute.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 galleryImageVersion = new GalleryImageVersion("galleryImageVersion", GalleryImageVersionArgs.builder()        
            .galleryImageName("myGalleryImageName")
            .galleryImageVersionName("1.0.0")
            .galleryName("myGalleryName")
            .location("West US")
            .publishingProfile(Map.of("targetRegions",             
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages",                         
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet"),
                                Map.entry("lun", 0)
                            ),
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet"),
                                Map.entry("lun", 1)
                            )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet"))
                    )),
                    Map.entry("name", "West US"),
                    Map.entry("regionalReplicaCount", 1)
                ),
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages",                         
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet"),
                                Map.entry("lun", 0)
                            ),
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet"),
                                Map.entry("lun", 1)
                            )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet"))
                    )),
                    Map.entry("name", "East US"),
                    Map.entry("regionalReplicaCount", 2),
                    Map.entry("storageAccountType", "Standard_ZRS")
                )))
            .resourceGroupName("myResourceGroup")
            .storageProfile(Map.of("source", Map.of("id", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}")))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

gallery_image_version = azure_native.compute.GalleryImageVersion("galleryImageVersion",
    gallery_image_name="myGalleryImageName",
    gallery_image_version_name="1.0.0",
    gallery_name="myGalleryName",
    location="West US",
    publishing_profile=azure_native.compute.GalleryImageVersionPublishingProfileResponseArgs(
        target_regions=[
            {
                "encryption": {
                    "dataDiskImages": [
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                            lun=0,
                        ),
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                            lun=1,
                        ),
                    ],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                    ),
                },
                "name": "West US",
                "regionalReplicaCount": 1,
            },
            {
                "encryption": {
                    "dataDiskImages": [
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                            lun=0,
                        ),
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                            lun=1,
                        ),
                    ],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                    ),
                },
                "name": "East US",
                "regionalReplicaCount": 2,
                "storageAccountType": "Standard_ZRS",
            },
        ],
    ),
    resource_group_name="myResourceGroup",
    storage_profile=azure_native.compute.GalleryImageVersionStorageProfileResponseArgs(
        source=azure_native.compute.GalleryArtifactVersionSourceArgs(
            id="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}",
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const galleryImageVersion = new azure_native.compute.GalleryImageVersion("galleryImageVersion", {
    galleryImageName: "myGalleryImageName",
    galleryImageVersionName: "1.0.0",
    galleryName: "myGalleryName",
    location: "West US",
    publishingProfile: {
        targetRegions: [
            {
                encryption: {
                    dataDiskImages: [
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                            lun: 0,
                        },
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                            lun: 1,
                        },
                    ],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                    },
                },
                name: "West US",
                regionalReplicaCount: 1,
            },
            {
                encryption: {
                    dataDiskImages: [
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                            lun: 0,
                        },
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                            lun: 1,
                        },
                    ],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                    },
                },
                name: "East US",
                regionalReplicaCount: 2,
                storageAccountType: "Standard_ZRS",
            },
        ],
    },
    resourceGroupName: "myResourceGroup",
    storageProfile: {
        source: {
            id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}",
        },
    },
});
resources:
  galleryImageVersion:
    type: azure-native:compute:GalleryImageVersion
    properties:
      galleryImageName: myGalleryImageName
      galleryImageVersionName: 1.0.0
      galleryName: myGalleryName
      location: West US
      publishingProfile:
        targetRegions:
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet
                  lun: 0
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet
            name: West US
            regionalReplicaCount: 1
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet
                  lun: 0
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet
            name: East US
            regionalReplicaCount: 2
            storageAccountType: Standard_ZRS
      resourceGroupName: myResourceGroup
      storageProfile:
        source:
          id: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var galleryImageVersion = new AzureNative.Compute.GalleryImageVersion("galleryImageVersion", new()
    {
        GalleryImageName = "myGalleryImageName",
        GalleryImageVersionName = "1.0.0",
        GalleryName = "myGalleryName",
        Location = "West US",
        PublishingProfile = new AzureNative.Compute.Inputs.GalleryImageVersionPublishingProfileArgs
        {
            TargetRegions = new[]
            {
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                        },
                    },
                    Name = "West US",
                    RegionalReplicaCount = 1,
                },
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                        },
                    },
                    Name = "East US",
                    RegionalReplicaCount = 2,
                    StorageAccountType = "Standard_ZRS",
                },
            },
        },
        ResourceGroupName = "myResourceGroup",
        StorageProfile = new AzureNative.Compute.Inputs.GalleryImageVersionStorageProfileArgs
        {
            DataDiskImages = new[]
            {
                new AzureNative.Compute.Inputs.GalleryDataDiskImageArgs
                {
                    HostCaching = AzureNative.Compute.HostCaching.None,
                    Lun = 1,
                    Source = new AzureNative.Compute.Inputs.GalleryArtifactVersionSourceArgs
                    {
                        Id = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}",
                    },
                },
            },
            OsDiskImage = new AzureNative.Compute.Inputs.GalleryOSDiskImageArgs
            {
                HostCaching = AzureNative.Compute.HostCaching.ReadOnly,
                Source = new AzureNative.Compute.Inputs.GalleryArtifactVersionSourceArgs
                {
                    Id = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}",
                },
            },
        },
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.GalleryImageVersion;
import com.pulumi.azurenative.compute.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 galleryImageVersion = new GalleryImageVersion("galleryImageVersion", GalleryImageVersionArgs.builder()        
            .galleryImageName("myGalleryImageName")
            .galleryImageVersionName("1.0.0")
            .galleryName("myGalleryName")
            .location("West US")
            .publishingProfile(Map.of("targetRegions",             
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages", Map.ofEntries(
                            Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet"),
                            Map.entry("lun", 1)
                        )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet"))
                    )),
                    Map.entry("name", "West US"),
                    Map.entry("regionalReplicaCount", 1)
                ),
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages", Map.ofEntries(
                            Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet"),
                            Map.entry("lun", 1)
                        )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet"))
                    )),
                    Map.entry("name", "East US"),
                    Map.entry("regionalReplicaCount", 2),
                    Map.entry("storageAccountType", "Standard_ZRS")
                )))
            .resourceGroupName("myResourceGroup")
            .storageProfile(Map.ofEntries(
                Map.entry("dataDiskImages", Map.ofEntries(
                    Map.entry("hostCaching", "None"),
                    Map.entry("lun", 1),
                    Map.entry("source", Map.of("id", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}"))
                )),
                Map.entry("osDiskImage", Map.ofEntries(
                    Map.entry("hostCaching", "ReadOnly"),
                    Map.entry("source", Map.of("id", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}"))
                ))
            ))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

gallery_image_version = azure_native.compute.GalleryImageVersion("galleryImageVersion",
    gallery_image_name="myGalleryImageName",
    gallery_image_version_name="1.0.0",
    gallery_name="myGalleryName",
    location="West US",
    publishing_profile=azure_native.compute.GalleryImageVersionPublishingProfileResponseArgs(
        target_regions=[
            {
                "encryption": {
                    "dataDiskImages": [azure_native.compute.DataDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                        lun=1,
                    )],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                    ),
                },
                "name": "West US",
                "regionalReplicaCount": 1,
            },
            {
                "encryption": {
                    "dataDiskImages": [azure_native.compute.DataDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                        lun=1,
                    )],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                    ),
                },
                "name": "East US",
                "regionalReplicaCount": 2,
                "storageAccountType": "Standard_ZRS",
            },
        ],
    ),
    resource_group_name="myResourceGroup",
    storage_profile=azure_native.compute.GalleryImageVersionStorageProfileResponseArgs(
        data_disk_images=[{
            "hostCaching": azure_native.compute.HostCaching.NONE,
            "lun": 1,
            "source": azure_native.compute.GalleryArtifactVersionSourceArgs(
                id="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}",
            ),
        }],
        os_disk_image={
            "hostCaching": azure_native.compute.HostCaching.READ_ONLY,
            "source": azure_native.compute.GalleryArtifactVersionSourceArgs(
                id="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}",
            ),
        },
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const galleryImageVersion = new azure_native.compute.GalleryImageVersion("galleryImageVersion", {
    galleryImageName: "myGalleryImageName",
    galleryImageVersionName: "1.0.0",
    galleryName: "myGalleryName",
    location: "West US",
    publishingProfile: {
        targetRegions: [
            {
                encryption: {
                    dataDiskImages: [{
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                        lun: 1,
                    }],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                    },
                },
                name: "West US",
                regionalReplicaCount: 1,
            },
            {
                encryption: {
                    dataDiskImages: [{
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                        lun: 1,
                    }],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                    },
                },
                name: "East US",
                regionalReplicaCount: 2,
                storageAccountType: "Standard_ZRS",
            },
        ],
    },
    resourceGroupName: "myResourceGroup",
    storageProfile: {
        dataDiskImages: [{
            hostCaching: azure_native.compute.HostCaching.None,
            lun: 1,
            source: {
                id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}",
            },
        }],
        osDiskImage: {
            hostCaching: azure_native.compute.HostCaching.ReadOnly,
            source: {
                id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}",
            },
        },
    },
});
resources:
  galleryImageVersion:
    type: azure-native:compute:GalleryImageVersion
    properties:
      galleryImageName: myGalleryImageName
      galleryImageVersionName: 1.0.0
      galleryName: myGalleryName
      location: West US
      publishingProfile:
        targetRegions:
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet
            name: West US
            regionalReplicaCount: 1
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet
            name: East US
            regionalReplicaCount: 2
            storageAccountType: Standard_ZRS
      resourceGroupName: myResourceGroup
      storageProfile:
        dataDiskImages:
          - hostCaching: None
            lun: 1
            source:
              id: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{dataDiskName}
        osDiskImage:
          hostCaching: ReadOnly
          source:
            id: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var galleryImageVersion = new AzureNative.Compute.GalleryImageVersion("galleryImageVersion", new()
    {
        GalleryImageName = "myGalleryImageName",
        GalleryImageVersionName = "1.0.0",
        GalleryName = "myGalleryName",
        Location = "West US",
        PublishingProfile = new AzureNative.Compute.Inputs.GalleryImageVersionPublishingProfileArgs
        {
            TargetRegions = new[]
            {
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                                Lun = 0,
                            },
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                        },
                    },
                    Name = "West US",
                    RegionalReplicaCount = 1,
                },
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                                Lun = 0,
                            },
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                        },
                    },
                    Name = "East US",
                    RegionalReplicaCount = 2,
                    StorageAccountType = "Standard_ZRS",
                },
            },
        },
        ResourceGroupName = "myResourceGroup",
        StorageProfile = new AzureNative.Compute.Inputs.GalleryImageVersionStorageProfileArgs
        {
            Source = new AzureNative.Compute.Inputs.GalleryArtifactVersionSourceArgs
            {
                Id = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}",
            },
        },
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.GalleryImageVersion;
import com.pulumi.azurenative.compute.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 galleryImageVersion = new GalleryImageVersion("galleryImageVersion", GalleryImageVersionArgs.builder()        
            .galleryImageName("myGalleryImageName")
            .galleryImageVersionName("1.0.0")
            .galleryName("myGalleryName")
            .location("West US")
            .publishingProfile(Map.of("targetRegions",             
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages",                         
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet"),
                                Map.entry("lun", 0)
                            ),
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet"),
                                Map.entry("lun", 1)
                            )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet"))
                    )),
                    Map.entry("name", "West US"),
                    Map.entry("regionalReplicaCount", 1)
                ),
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages",                         
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet"),
                                Map.entry("lun", 0)
                            ),
                            Map.ofEntries(
                                Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet"),
                                Map.entry("lun", 1)
                            )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet"))
                    )),
                    Map.entry("name", "East US"),
                    Map.entry("regionalReplicaCount", 2),
                    Map.entry("storageAccountType", "Standard_ZRS")
                )))
            .resourceGroupName("myResourceGroup")
            .storageProfile(Map.of("source", Map.of("id", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}")))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

gallery_image_version = azure_native.compute.GalleryImageVersion("galleryImageVersion",
    gallery_image_name="myGalleryImageName",
    gallery_image_version_name="1.0.0",
    gallery_name="myGalleryName",
    location="West US",
    publishing_profile=azure_native.compute.GalleryImageVersionPublishingProfileResponseArgs(
        target_regions=[
            {
                "encryption": {
                    "dataDiskImages": [
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                            lun=0,
                        ),
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                            lun=1,
                        ),
                    ],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                    ),
                },
                "name": "West US",
                "regionalReplicaCount": 1,
            },
            {
                "encryption": {
                    "dataDiskImages": [
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                            lun=0,
                        ),
                        azure_native.compute.DataDiskImageEncryptionArgs(
                            disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                            lun=1,
                        ),
                    ],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                    ),
                },
                "name": "East US",
                "regionalReplicaCount": 2,
                "storageAccountType": "Standard_ZRS",
            },
        ],
    ),
    resource_group_name="myResourceGroup",
    storage_profile=azure_native.compute.GalleryImageVersionStorageProfileResponseArgs(
        source=azure_native.compute.GalleryArtifactVersionSourceArgs(
            id="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}",
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const galleryImageVersion = new azure_native.compute.GalleryImageVersion("galleryImageVersion", {
    galleryImageName: "myGalleryImageName",
    galleryImageVersionName: "1.0.0",
    galleryName: "myGalleryName",
    location: "West US",
    publishingProfile: {
        targetRegions: [
            {
                encryption: {
                    dataDiskImages: [
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet",
                            lun: 0,
                        },
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                            lun: 1,
                        },
                    ],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet",
                    },
                },
                name: "West US",
                regionalReplicaCount: 1,
            },
            {
                encryption: {
                    dataDiskImages: [
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet",
                            lun: 0,
                        },
                        {
                            diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                            lun: 1,
                        },
                    ],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet",
                    },
                },
                name: "East US",
                regionalReplicaCount: 2,
                storageAccountType: "Standard_ZRS",
            },
        ],
    },
    resourceGroupName: "myResourceGroup",
    storageProfile: {
        source: {
            id: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}",
        },
    },
});
resources:
  galleryImageVersion:
    type: azure-native:compute:GalleryImageVersion
    properties:
      galleryImageName: myGalleryImageName
      galleryImageVersionName: 1.0.0
      galleryName: myGalleryName
      location: West US
      publishingProfile:
        targetRegions:
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherWestUSDiskEncryptionSet
                  lun: 0
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myWestUSDiskEncryptionSet
            name: West US
            regionalReplicaCount: 1
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherEastUSDiskEncryptionSet
                  lun: 0
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myEastUSDiskEncryptionSet
            name: East US
            regionalReplicaCount: 2
            storageAccountType: Standard_ZRS
      resourceGroupName: myResourceGroup
      storageProfile:
        source:
          id: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionName}
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var galleryImageVersion = new AzureNative.Compute.GalleryImageVersion("galleryImageVersion", new()
    {
        GalleryImageName = "myGalleryImageName",
        GalleryImageVersionName = "1.0.0",
        GalleryName = "myGalleryName",
        Location = "West US",
        PublishingProfile = new AzureNative.Compute.Inputs.GalleryImageVersionPublishingProfileArgs
        {
            TargetRegions = new[]
            {
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Encryption = new AzureNative.Compute.Inputs.EncryptionImagesArgs
                    {
                        DataDiskImages = new[]
                        {
                            new AzureNative.Compute.Inputs.DataDiskImageEncryptionArgs
                            {
                                DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet",
                                Lun = 1,
                            },
                        },
                        OsDiskImage = new AzureNative.Compute.Inputs.OSDiskImageEncryptionArgs
                        {
                            DiskEncryptionSetId = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
                        },
                    },
                    Name = "West US",
                    RegionalReplicaCount = 1,
                },
                new AzureNative.Compute.Inputs.TargetRegionArgs
                {
                    Name = "East US",
                    RegionalReplicaCount = 2,
                    StorageAccountType = "Standard_ZRS",
                },
            },
        },
        ResourceGroupName = "myResourceGroup",
        StorageProfile = new AzureNative.Compute.Inputs.GalleryImageVersionStorageProfileArgs
        {
            DataDiskImages = new[]
            {
                new AzureNative.Compute.Inputs.GalleryDataDiskImageArgs
                {
                    HostCaching = AzureNative.Compute.HostCaching.None,
                    Lun = 1,
                    Source = new AzureNative.Compute.Inputs.GalleryArtifactVersionSourceArgs
                    {
                        Id = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}",
                        Uri = "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd",
                    },
                },
            },
            OsDiskImage = new AzureNative.Compute.Inputs.GalleryOSDiskImageArgs
            {
                HostCaching = AzureNative.Compute.HostCaching.ReadOnly,
                Source = new AzureNative.Compute.Inputs.GalleryArtifactVersionSourceArgs
                {
                    Id = "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}",
                    Uri = "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd",
                },
            },
        },
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.GalleryImageVersion;
import com.pulumi.azurenative.compute.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 galleryImageVersion = new GalleryImageVersion("galleryImageVersion", GalleryImageVersionArgs.builder()        
            .galleryImageName("myGalleryImageName")
            .galleryImageVersionName("1.0.0")
            .galleryName("myGalleryName")
            .location("West US")
            .publishingProfile(Map.of("targetRegions",             
                Map.ofEntries(
                    Map.entry("encryption", Map.ofEntries(
                        Map.entry("dataDiskImages", Map.ofEntries(
                            Map.entry("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet"),
                            Map.entry("lun", 1)
                        )),
                        Map.entry("osDiskImage", Map.of("diskEncryptionSetId", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet"))
                    )),
                    Map.entry("name", "West US"),
                    Map.entry("regionalReplicaCount", 1)
                ),
                Map.ofEntries(
                    Map.entry("name", "East US"),
                    Map.entry("regionalReplicaCount", 2),
                    Map.entry("storageAccountType", "Standard_ZRS")
                )))
            .resourceGroupName("myResourceGroup")
            .storageProfile(Map.ofEntries(
                Map.entry("dataDiskImages", Map.ofEntries(
                    Map.entry("hostCaching", "None"),
                    Map.entry("lun", 1),
                    Map.entry("source", Map.ofEntries(
                        Map.entry("id", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}"),
                        Map.entry("uri", "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd")
                    ))
                )),
                Map.entry("osDiskImage", Map.ofEntries(
                    Map.entry("hostCaching", "ReadOnly"),
                    Map.entry("source", Map.ofEntries(
                        Map.entry("id", "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}"),
                        Map.entry("uri", "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd")
                    ))
                ))
            ))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

gallery_image_version = azure_native.compute.GalleryImageVersion("galleryImageVersion",
    gallery_image_name="myGalleryImageName",
    gallery_image_version_name="1.0.0",
    gallery_name="myGalleryName",
    location="West US",
    publishing_profile=azure_native.compute.GalleryImageVersionPublishingProfileResponseArgs(
        target_regions=[
            {
                "encryption": {
                    "dataDiskImages": [azure_native.compute.DataDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet",
                        lun=1,
                    )],
                    "osDiskImage": azure_native.compute.OSDiskImageEncryptionArgs(
                        disk_encryption_set_id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
                    ),
                },
                "name": "West US",
                "regionalReplicaCount": 1,
            },
            azure_native.compute.TargetRegionArgs(
                name="East US",
                regional_replica_count=2,
                storage_account_type="Standard_ZRS",
            ),
        ],
    ),
    resource_group_name="myResourceGroup",
    storage_profile=azure_native.compute.GalleryImageVersionStorageProfileResponseArgs(
        data_disk_images=[{
            "hostCaching": azure_native.compute.HostCaching.NONE,
            "lun": 1,
            "source": azure_native.compute.GalleryArtifactVersionSourceArgs(
                id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}",
                uri="https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd",
            ),
        }],
        os_disk_image={
            "hostCaching": azure_native.compute.HostCaching.READ_ONLY,
            "source": azure_native.compute.GalleryArtifactVersionSourceArgs(
                id="/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}",
                uri="https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd",
            ),
        },
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const galleryImageVersion = new azure_native.compute.GalleryImageVersion("galleryImageVersion", {
    galleryImageName: "myGalleryImageName",
    galleryImageVersionName: "1.0.0",
    galleryName: "myGalleryName",
    location: "West US",
    publishingProfile: {
        targetRegions: [
            {
                encryption: {
                    dataDiskImages: [{
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet",
                        lun: 1,
                    }],
                    osDiskImage: {
                        diskEncryptionSetId: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
                    },
                },
                name: "West US",
                regionalReplicaCount: 1,
            },
            {
                name: "East US",
                regionalReplicaCount: 2,
                storageAccountType: "Standard_ZRS",
            },
        ],
    },
    resourceGroupName: "myResourceGroup",
    storageProfile: {
        dataDiskImages: [{
            hostCaching: azure_native.compute.HostCaching.None,
            lun: 1,
            source: {
                id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}",
                uri: "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd",
            },
        }],
        osDiskImage: {
            hostCaching: azure_native.compute.HostCaching.ReadOnly,
            source: {
                id: "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}",
                uri: "https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd",
            },
        },
    },
});
resources:
  galleryImageVersion:
    type: azure-native:compute:GalleryImageVersion
    properties:
      galleryImageName: myGalleryImageName
      galleryImageVersionName: 1.0.0
      galleryName: myGalleryName
      location: West US
      publishingProfile:
        targetRegions:
          - encryption:
              dataDiskImages:
                - diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myOtherDiskEncryptionSet
                  lun: 1
              osDiskImage:
                diskEncryptionSetId: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet
            name: West US
            regionalReplicaCount: 1
          - name: East US
            regionalReplicaCount: 2
            storageAccountType: Standard_ZRS
      resourceGroupName: myResourceGroup
      storageProfile:
        dataDiskImages:
          - hostCaching: None
            lun: 1
            source:
              id: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}
              uri: https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd
        osDiskImage:
          hostCaching: ReadOnly
          source:
            id: /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/{storageAccount}
            uri: https://gallerysourcencus.blob.core.windows.net/myvhds/Windows-Server-2012-R2-20171216-en.us-128GB.vhd

Create GalleryImageVersion Resource

new GalleryImageVersion(name: string, args: GalleryImageVersionArgs, opts?: CustomResourceOptions);
@overload
def GalleryImageVersion(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        gallery_image_name: Optional[str] = None,
                        gallery_image_version_name: Optional[str] = None,
                        gallery_name: Optional[str] = None,
                        location: Optional[str] = None,
                        publishing_profile: Optional[GalleryImageVersionPublishingProfileArgs] = None,
                        resource_group_name: Optional[str] = None,
                        storage_profile: Optional[GalleryImageVersionStorageProfileArgs] = None,
                        tags: Optional[Mapping[str, str]] = None)
@overload
def GalleryImageVersion(resource_name: str,
                        args: GalleryImageVersionArgs,
                        opts: Optional[ResourceOptions] = None)
func NewGalleryImageVersion(ctx *Context, name string, args GalleryImageVersionArgs, opts ...ResourceOption) (*GalleryImageVersion, error)
public GalleryImageVersion(string name, GalleryImageVersionArgs args, CustomResourceOptions? opts = null)
public GalleryImageVersion(String name, GalleryImageVersionArgs args)
public GalleryImageVersion(String name, GalleryImageVersionArgs args, CustomResourceOptions options)
type: azure-native:compute:GalleryImageVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args GalleryImageVersionArgs
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 GalleryImageVersionArgs
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 GalleryImageVersionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GalleryImageVersionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args GalleryImageVersionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

GalleryImageVersion Resource Properties

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

Inputs

The GalleryImageVersion resource accepts the following input properties:

GalleryImageName string

The name of the gallery image definition in which the Image Version is to be created.

GalleryName string

The name of the Shared Image Gallery in which the Image Definition resides.

ResourceGroupName string

The name of the resource group.

StorageProfile Pulumi.AzureNative.Compute.Inputs.GalleryImageVersionStorageProfileArgs

This is the storage profile of a Gallery Image Version.

GalleryImageVersionName string

The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

Location string

Resource location

PublishingProfile Pulumi.AzureNative.Compute.Inputs.GalleryImageVersionPublishingProfileArgs

The publishing profile of a gallery image Version.

Tags Dictionary<string, string>

Resource tags

GalleryImageName string

The name of the gallery image definition in which the Image Version is to be created.

GalleryName string

The name of the Shared Image Gallery in which the Image Definition resides.

ResourceGroupName string

The name of the resource group.

StorageProfile GalleryImageVersionStorageProfileArgs

This is the storage profile of a Gallery Image Version.

GalleryImageVersionName string

The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

Location string

Resource location

PublishingProfile GalleryImageVersionPublishingProfileArgs

The publishing profile of a gallery image Version.

Tags map[string]string

Resource tags

galleryImageName String

The name of the gallery image definition in which the Image Version is to be created.

galleryName String

The name of the Shared Image Gallery in which the Image Definition resides.

resourceGroupName String

The name of the resource group.

storageProfile GalleryImageVersionStorageProfileArgs

This is the storage profile of a Gallery Image Version.

galleryImageVersionName String

The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

location String

Resource location

publishingProfile GalleryImageVersionPublishingProfileArgs

The publishing profile of a gallery image Version.

tags Map<String,String>

Resource tags

galleryImageName string

The name of the gallery image definition in which the Image Version is to be created.

galleryName string

The name of the Shared Image Gallery in which the Image Definition resides.

resourceGroupName string

The name of the resource group.

storageProfile GalleryImageVersionStorageProfileArgs

This is the storage profile of a Gallery Image Version.

galleryImageVersionName string

The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

location string

Resource location

publishingProfile GalleryImageVersionPublishingProfileArgs

The publishing profile of a gallery image Version.

tags {[key: string]: string}

Resource tags

gallery_image_name str

The name of the gallery image definition in which the Image Version is to be created.

gallery_name str

The name of the Shared Image Gallery in which the Image Definition resides.

resource_group_name str

The name of the resource group.

storage_profile GalleryImageVersionStorageProfileArgs

This is the storage profile of a Gallery Image Version.

gallery_image_version_name str

The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

location str

Resource location

publishing_profile GalleryImageVersionPublishingProfileArgs

The publishing profile of a gallery image Version.

tags Mapping[str, str]

Resource tags

galleryImageName String

The name of the gallery image definition in which the Image Version is to be created.

galleryName String

The name of the Shared Image Gallery in which the Image Definition resides.

resourceGroupName String

The name of the resource group.

storageProfile Property Map

This is the storage profile of a Gallery Image Version.

galleryImageVersionName String

The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..

location String

Resource location

publishingProfile Property Map

The publishing profile of a gallery image Version.

tags Map<String>

Resource tags

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name

ProvisioningState string

The provisioning state, which only appears in the response.

ReplicationStatus Pulumi.AzureNative.Compute.Outputs.ReplicationStatusResponse

This is the replication status of the gallery image version.

Type string

Resource type

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name

ProvisioningState string

The provisioning state, which only appears in the response.

ReplicationStatus ReplicationStatusResponse

This is the replication status of the gallery image version.

Type string

Resource type

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name

provisioningState String

The provisioning state, which only appears in the response.

replicationStatus ReplicationStatusResponse

This is the replication status of the gallery image version.

type String

Resource type

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name

provisioningState string

The provisioning state, which only appears in the response.

replicationStatus ReplicationStatusResponse

This is the replication status of the gallery image version.

type string

Resource type

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name

provisioning_state str

The provisioning state, which only appears in the response.

replication_status ReplicationStatusResponse

This is the replication status of the gallery image version.

type str

Resource type

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name

provisioningState String

The provisioning state, which only appears in the response.

replicationStatus Property Map

This is the replication status of the gallery image version.

type String

Resource type

Supporting Types

DataDiskImageEncryption

Lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

DiskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

Lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

DiskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

lun Integer

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

diskEncryptionSetId String

A relative URI containing the resource ID of the disk encryption set.

lun number

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

diskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

disk_encryption_set_id str

A relative URI containing the resource ID of the disk encryption set.

lun Number

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

diskEncryptionSetId String

A relative URI containing the resource ID of the disk encryption set.

DataDiskImageEncryptionResponse

Lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

DiskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

Lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

DiskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

lun Integer

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

diskEncryptionSetId String

A relative URI containing the resource ID of the disk encryption set.

lun number

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

diskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

disk_encryption_set_id str

A relative URI containing the resource ID of the disk encryption set.

lun Number

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

diskEncryptionSetId String

A relative URI containing the resource ID of the disk encryption set.

EncryptionImages

DataDiskImages List<Pulumi.AzureNative.Compute.Inputs.DataDiskImageEncryption>

A list of encryption specifications for data disk images.

OsDiskImage Pulumi.AzureNative.Compute.Inputs.OSDiskImageEncryption

Contains encryption settings for an OS disk image.

DataDiskImages []DataDiskImageEncryption

A list of encryption specifications for data disk images.

OsDiskImage OSDiskImageEncryption

Contains encryption settings for an OS disk image.

dataDiskImages List<DataDiskImageEncryption>

A list of encryption specifications for data disk images.

osDiskImage OSDiskImageEncryption

Contains encryption settings for an OS disk image.

dataDiskImages DataDiskImageEncryption[]

A list of encryption specifications for data disk images.

osDiskImage OSDiskImageEncryption

Contains encryption settings for an OS disk image.

data_disk_images Sequence[DataDiskImageEncryption]

A list of encryption specifications for data disk images.

os_disk_image OSDiskImageEncryption

Contains encryption settings for an OS disk image.

dataDiskImages List<Property Map>

A list of encryption specifications for data disk images.

osDiskImage Property Map

Contains encryption settings for an OS disk image.

EncryptionImagesResponse

DataDiskImages List<Pulumi.AzureNative.Compute.Inputs.DataDiskImageEncryptionResponse>

A list of encryption specifications for data disk images.

OsDiskImage Pulumi.AzureNative.Compute.Inputs.OSDiskImageEncryptionResponse

Contains encryption settings for an OS disk image.

DataDiskImages []DataDiskImageEncryptionResponse

A list of encryption specifications for data disk images.

OsDiskImage OSDiskImageEncryptionResponse

Contains encryption settings for an OS disk image.

dataDiskImages List<DataDiskImageEncryptionResponse>

A list of encryption specifications for data disk images.

osDiskImage OSDiskImageEncryptionResponse

Contains encryption settings for an OS disk image.

dataDiskImages DataDiskImageEncryptionResponse[]

A list of encryption specifications for data disk images.

osDiskImage OSDiskImageEncryptionResponse

Contains encryption settings for an OS disk image.

data_disk_images Sequence[DataDiskImageEncryptionResponse]

A list of encryption specifications for data disk images.

os_disk_image OSDiskImageEncryptionResponse

Contains encryption settings for an OS disk image.

dataDiskImages List<Property Map>

A list of encryption specifications for data disk images.

osDiskImage Property Map

Contains encryption settings for an OS disk image.

GalleryArtifactVersionSource

Id string

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

Uri string

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

Id string

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

Uri string

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

id String

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

uri String

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

id string

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

uri string

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

id str

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

uri str

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

id String

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

uri String

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

GalleryArtifactVersionSourceResponse

Id string

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

Uri string

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

Id string

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

Uri string

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

id String

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

uri String

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

id string

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

uri string

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

id str

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

uri str

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

id String

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

uri String

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

GalleryDataDiskImage

Lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

HostCaching Pulumi.AzureNative.Compute.HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Source Pulumi.AzureNative.Compute.Inputs.GalleryArtifactVersionSource

The gallery artifact version source.

Lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

HostCaching HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Source GalleryArtifactVersionSource

The gallery artifact version source.

lun Integer

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

hostCaching HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSource

The gallery artifact version source.

lun number

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

hostCaching HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSource

The gallery artifact version source.

lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

host_caching HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSource

The gallery artifact version source.

lun Number

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

hostCaching "None" | "ReadOnly" | "ReadWrite"

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source Property Map

The gallery artifact version source.

GalleryDataDiskImageResponse

Lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

SizeInGB int

This property indicates the size of the VHD to be created.

HostCaching string

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Source Pulumi.AzureNative.Compute.Inputs.GalleryArtifactVersionSourceResponse

The gallery artifact version source.

Lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

SizeInGB int

This property indicates the size of the VHD to be created.

HostCaching string

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

lun Integer

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

sizeInGB Integer

This property indicates the size of the VHD to be created.

hostCaching String

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

lun number

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

sizeInGB number

This property indicates the size of the VHD to be created.

hostCaching string

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

lun int

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

size_in_gb int

This property indicates the size of the VHD to be created.

host_caching str

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

lun Number

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

sizeInGB Number

This property indicates the size of the VHD to be created.

hostCaching String

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source Property Map

The gallery artifact version source.

GalleryImageVersionPublishingProfile

EndOfLifeDate string

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

ExcludeFromLatest bool

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

ReplicaCount int

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

StorageAccountType string | Pulumi.AzureNative.Compute.StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

TargetRegions List<Pulumi.AzureNative.Compute.Inputs.TargetRegion>

The target regions where the Image Version is going to be replicated to. This property is updatable.

EndOfLifeDate string

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

ExcludeFromLatest bool

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

ReplicaCount int

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

StorageAccountType string | StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

TargetRegions []TargetRegion

The target regions where the Image Version is going to be replicated to. This property is updatable.

endOfLifeDate String

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

excludeFromLatest Boolean

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

replicaCount Integer

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storageAccountType String | StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

targetRegions List<TargetRegion>

The target regions where the Image Version is going to be replicated to. This property is updatable.

endOfLifeDate string

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

excludeFromLatest boolean

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

replicaCount number

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storageAccountType string | StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

targetRegions TargetRegion[]

The target regions where the Image Version is going to be replicated to. This property is updatable.

end_of_life_date str

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

exclude_from_latest bool

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

replica_count int

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storage_account_type str | StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

target_regions Sequence[TargetRegion]

The target regions where the Image Version is going to be replicated to. This property is updatable.

endOfLifeDate String

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

excludeFromLatest Boolean

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

replicaCount Number

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storageAccountType String | "Standard_LRS" | "Standard_ZRS" | "Premium_LRS"

Specifies the storage account type to be used to store the image. This property is not updatable.

targetRegions List<Property Map>

The target regions where the Image Version is going to be replicated to. This property is updatable.

GalleryImageVersionPublishingProfileResponse

PublishedDate string

The timestamp for when the gallery image version is published.

EndOfLifeDate string

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

ExcludeFromLatest bool

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

ReplicaCount int

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

StorageAccountType string

Specifies the storage account type to be used to store the image. This property is not updatable.

TargetRegions List<Pulumi.AzureNative.Compute.Inputs.TargetRegionResponse>

The target regions where the Image Version is going to be replicated to. This property is updatable.

PublishedDate string

The timestamp for when the gallery image version is published.

EndOfLifeDate string

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

ExcludeFromLatest bool

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

ReplicaCount int

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

StorageAccountType string

Specifies the storage account type to be used to store the image. This property is not updatable.

TargetRegions []TargetRegionResponse

The target regions where the Image Version is going to be replicated to. This property is updatable.

publishedDate String

The timestamp for when the gallery image version is published.

endOfLifeDate String

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

excludeFromLatest Boolean

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

replicaCount Integer

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storageAccountType String

Specifies the storage account type to be used to store the image. This property is not updatable.

targetRegions List<TargetRegionResponse>

The target regions where the Image Version is going to be replicated to. This property is updatable.

publishedDate string

The timestamp for when the gallery image version is published.

endOfLifeDate string

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

excludeFromLatest boolean

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

replicaCount number

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storageAccountType string

Specifies the storage account type to be used to store the image. This property is not updatable.

targetRegions TargetRegionResponse[]

The target regions where the Image Version is going to be replicated to. This property is updatable.

published_date str

The timestamp for when the gallery image version is published.

end_of_life_date str

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

exclude_from_latest bool

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

replica_count int

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storage_account_type str

Specifies the storage account type to be used to store the image. This property is not updatable.

target_regions Sequence[TargetRegionResponse]

The target regions where the Image Version is going to be replicated to. This property is updatable.

publishedDate String

The timestamp for when the gallery image version is published.

endOfLifeDate String

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

excludeFromLatest Boolean

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

replicaCount Number

The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

storageAccountType String

Specifies the storage account type to be used to store the image. This property is not updatable.

targetRegions List<Property Map>

The target regions where the Image Version is going to be replicated to. This property is updatable.

GalleryImageVersionStorageProfile

DataDiskImages []GalleryDataDiskImage

A list of data disk images.

OsDiskImage GalleryOSDiskImage

This is the OS disk image.

Source GalleryArtifactVersionSource

The gallery artifact version source.

dataDiskImages List<GalleryDataDiskImage>

A list of data disk images.

osDiskImage GalleryOSDiskImage

This is the OS disk image.

source GalleryArtifactVersionSource

The gallery artifact version source.

dataDiskImages GalleryDataDiskImage[]

A list of data disk images.

osDiskImage GalleryOSDiskImage

This is the OS disk image.

source GalleryArtifactVersionSource

The gallery artifact version source.

data_disk_images Sequence[GalleryDataDiskImage]

A list of data disk images.

os_disk_image GalleryOSDiskImage

This is the OS disk image.

source GalleryArtifactVersionSource

The gallery artifact version source.

dataDiskImages List<Property Map>

A list of data disk images.

osDiskImage Property Map

This is the OS disk image.

source Property Map

The gallery artifact version source.

GalleryImageVersionStorageProfileResponse

DataDiskImages []GalleryDataDiskImageResponse

A list of data disk images.

OsDiskImage GalleryOSDiskImageResponse

This is the OS disk image.

Source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

dataDiskImages List<GalleryDataDiskImageResponse>

A list of data disk images.

osDiskImage GalleryOSDiskImageResponse

This is the OS disk image.

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

dataDiskImages GalleryDataDiskImageResponse[]

A list of data disk images.

osDiskImage GalleryOSDiskImageResponse

This is the OS disk image.

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

data_disk_images Sequence[GalleryDataDiskImageResponse]

A list of data disk images.

os_disk_image GalleryOSDiskImageResponse

This is the OS disk image.

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

dataDiskImages List<Property Map>

A list of data disk images.

osDiskImage Property Map

This is the OS disk image.

source Property Map

The gallery artifact version source.

GalleryOSDiskImage

HostCaching Pulumi.AzureNative.Compute.HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Source Pulumi.AzureNative.Compute.Inputs.GalleryArtifactVersionSource

The gallery artifact version source.

HostCaching HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Source GalleryArtifactVersionSource

The gallery artifact version source.

hostCaching HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSource

The gallery artifact version source.

hostCaching HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSource

The gallery artifact version source.

host_caching HostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSource

The gallery artifact version source.

hostCaching "None" | "ReadOnly" | "ReadWrite"

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source Property Map

The gallery artifact version source.

GalleryOSDiskImageResponse

SizeInGB int

This property indicates the size of the VHD to be created.

HostCaching string

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Source Pulumi.AzureNative.Compute.Inputs.GalleryArtifactVersionSourceResponse

The gallery artifact version source.

SizeInGB int

This property indicates the size of the VHD to be created.

HostCaching string

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

Source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

sizeInGB Integer

This property indicates the size of the VHD to be created.

hostCaching String

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

sizeInGB number

This property indicates the size of the VHD to be created.

hostCaching string

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

size_in_gb int

This property indicates the size of the VHD to be created.

host_caching str

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source GalleryArtifactVersionSourceResponse

The gallery artifact version source.

sizeInGB Number

This property indicates the size of the VHD to be created.

hostCaching String

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

source Property Map

The gallery artifact version source.

HostCaching

None
None
ReadOnly
ReadOnly
ReadWrite
ReadWrite
HostCachingNone
None
HostCachingReadOnly
ReadOnly
HostCachingReadWrite
ReadWrite
None
None
ReadOnly
ReadOnly
ReadWrite
ReadWrite
None
None
ReadOnly
ReadOnly
ReadWrite
ReadWrite
NONE
None
READ_ONLY
ReadOnly
READ_WRITE
ReadWrite
"None"
None
"ReadOnly"
ReadOnly
"ReadWrite"
ReadWrite

OSDiskImageEncryption

DiskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

DiskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

diskEncryptionSetId String

A relative URI containing the resource ID of the disk encryption set.

diskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

disk_encryption_set_id str

A relative URI containing the resource ID of the disk encryption set.

diskEncryptionSetId String

A relative URI containing the resource ID of the disk encryption set.

OSDiskImageEncryptionResponse

DiskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

DiskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

diskEncryptionSetId String

A relative URI containing the resource ID of the disk encryption set.

diskEncryptionSetId string

A relative URI containing the resource ID of the disk encryption set.

disk_encryption_set_id str

A relative URI containing the resource ID of the disk encryption set.

diskEncryptionSetId String

A relative URI containing the resource ID of the disk encryption set.

RegionalReplicationStatusResponse

Details string

The details of the replication status.

Progress int

It indicates progress of the replication job.

Region string

The region to which the gallery image version is being replicated to.

State string

This is the regional replication state.

Details string

The details of the replication status.

Progress int

It indicates progress of the replication job.

Region string

The region to which the gallery image version is being replicated to.

State string

This is the regional replication state.

details String

The details of the replication status.

progress Integer

It indicates progress of the replication job.

region String

The region to which the gallery image version is being replicated to.

state String

This is the regional replication state.

details string

The details of the replication status.

progress number

It indicates progress of the replication job.

region string

The region to which the gallery image version is being replicated to.

state string

This is the regional replication state.

details str

The details of the replication status.

progress int

It indicates progress of the replication job.

region str

The region to which the gallery image version is being replicated to.

state str

This is the regional replication state.

details String

The details of the replication status.

progress Number

It indicates progress of the replication job.

region String

The region to which the gallery image version is being replicated to.

state String

This is the regional replication state.

ReplicationStatusResponse

AggregatedState string

This is the aggregated replication status based on all the regional replication status flags.

Summary List<Pulumi.AzureNative.Compute.Inputs.RegionalReplicationStatusResponse>

This is a summary of replication status for each region.

AggregatedState string

This is the aggregated replication status based on all the regional replication status flags.

Summary []RegionalReplicationStatusResponse

This is a summary of replication status for each region.

aggregatedState String

This is the aggregated replication status based on all the regional replication status flags.

summary List<RegionalReplicationStatusResponse>

This is a summary of replication status for each region.

aggregatedState string

This is the aggregated replication status based on all the regional replication status flags.

summary RegionalReplicationStatusResponse[]

This is a summary of replication status for each region.

aggregated_state str

This is the aggregated replication status based on all the regional replication status flags.

summary Sequence[RegionalReplicationStatusResponse]

This is a summary of replication status for each region.

aggregatedState String

This is the aggregated replication status based on all the regional replication status flags.

summary List<Property Map>

This is a summary of replication status for each region.

StorageAccountType

Standard_LRS
Standard_LRS
Standard_ZRS
Standard_ZRS
Premium_LRS
Premium_LRS
StorageAccountType_Standard_LRS
Standard_LRS
StorageAccountType_Standard_ZRS
Standard_ZRS
StorageAccountType_Premium_LRS
Premium_LRS
Standard_LRS
Standard_LRS
Standard_ZRS
Standard_ZRS
Premium_LRS
Premium_LRS
Standard_LRS
Standard_LRS
Standard_ZRS
Standard_ZRS
Premium_LRS
Premium_LRS
STANDARD_LRS
Standard_LRS
STANDARD_ZRS
Standard_ZRS
PREMIUM_LRS
Premium_LRS
"Standard_LRS"
Standard_LRS
"Standard_ZRS"
Standard_ZRS
"Premium_LRS"
Premium_LRS

TargetRegion

Name string

The name of the region.

Encryption Pulumi.AzureNative.Compute.Inputs.EncryptionImages

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

RegionalReplicaCount int

The number of replicas of the Image Version to be created per region. This property is updatable.

StorageAccountType string | Pulumi.AzureNative.Compute.StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

Name string

The name of the region.

Encryption EncryptionImages

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

RegionalReplicaCount int

The number of replicas of the Image Version to be created per region. This property is updatable.

StorageAccountType string | StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

name String

The name of the region.

encryption EncryptionImages

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

regionalReplicaCount Integer

The number of replicas of the Image Version to be created per region. This property is updatable.

storageAccountType String | StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

name string

The name of the region.

encryption EncryptionImages

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

regionalReplicaCount number

The number of replicas of the Image Version to be created per region. This property is updatable.

storageAccountType string | StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

name str

The name of the region.

encryption EncryptionImages

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

regional_replica_count int

The number of replicas of the Image Version to be created per region. This property is updatable.

storage_account_type str | StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

name String

The name of the region.

encryption Property Map

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

regionalReplicaCount Number

The number of replicas of the Image Version to be created per region. This property is updatable.

storageAccountType String | "Standard_LRS" | "Standard_ZRS" | "Premium_LRS"

Specifies the storage account type to be used to store the image. This property is not updatable.

TargetRegionResponse

Name string

The name of the region.

Encryption Pulumi.AzureNative.Compute.Inputs.EncryptionImagesResponse

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

RegionalReplicaCount int

The number of replicas of the Image Version to be created per region. This property is updatable.

StorageAccountType string

Specifies the storage account type to be used to store the image. This property is not updatable.

Name string

The name of the region.

Encryption EncryptionImagesResponse

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

RegionalReplicaCount int

The number of replicas of the Image Version to be created per region. This property is updatable.

StorageAccountType string

Specifies the storage account type to be used to store the image. This property is not updatable.

name String

The name of the region.

encryption EncryptionImagesResponse

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

regionalReplicaCount Integer

The number of replicas of the Image Version to be created per region. This property is updatable.

storageAccountType String

Specifies the storage account type to be used to store the image. This property is not updatable.

name string

The name of the region.

encryption EncryptionImagesResponse

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

regionalReplicaCount number

The number of replicas of the Image Version to be created per region. This property is updatable.

storageAccountType string

Specifies the storage account type to be used to store the image. This property is not updatable.

name str

The name of the region.

encryption EncryptionImagesResponse

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

regional_replica_count int

The number of replicas of the Image Version to be created per region. This property is updatable.

storage_account_type str

Specifies the storage account type to be used to store the image. This property is not updatable.

name String

The name of the region.

encryption Property Map

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

regionalReplicaCount Number

The number of replicas of the Image Version to be created per region. This property is updatable.

storageAccountType String

Specifies the storage account type to be used to store the image. This property is not updatable.

Import

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

$ pulumi import azure-native:compute:GalleryImageVersion 1.0.0 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName} 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0