1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. devtestlab
  6. CustomImage
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.32.0
published on Wednesday, Nov 18, 2026 by Pulumi
azure-native logo Azure Native
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.32.0
published on Wednesday, Nov 18, 2026 by Pulumi

    A custom image.

    Uses Azure REST API version 2018-09-15. In version 2.x of the Azure Native provider, it used API version 2018-09-15.

    Example Usage

    CustomImages_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var customImage = new AzureNative.DevTestLab.CustomImage("customImage", new()
        {
            Description = "My Custom Image",
            LabName = "{labName}",
            Name = "{customImageName}",
            ResourceGroupName = "resourceGroupName",
            Tags = 
            {
                { "tagName1", "tagValue1" },
            },
            Vm = new AzureNative.DevTestLab.Inputs.CustomImagePropertiesFromVmArgs
            {
                LinuxOsInfo = new AzureNative.DevTestLab.Inputs.LinuxOsInfoArgs
                {
                    LinuxOsState = AzureNative.DevTestLab.LinuxOsState.NonDeprovisioned,
                },
                SourceVmId = "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
            },
        });
    
    });
    
    package main
    
    import (
    	devtestlab "github.com/pulumi/pulumi-azure-native-sdk/devtestlab/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := devtestlab.NewCustomImage(ctx, "customImage", &devtestlab.CustomImageArgs{
    			Description:       pulumi.String("My Custom Image"),
    			LabName:           pulumi.String("{labName}"),
    			Name:              pulumi.String("{customImageName}"),
    			ResourceGroupName: pulumi.String("resourceGroupName"),
    			Tags: pulumi.StringMap{
    				"tagName1": pulumi.String("tagValue1"),
    			},
    			Vm: &devtestlab.CustomImagePropertiesFromVmArgs{
    				LinuxOsInfo: &devtestlab.LinuxOsInfoArgs{
    					LinuxOsState: pulumi.String(devtestlab.LinuxOsStateNonDeprovisioned),
    				},
    				SourceVmId: pulumi.String("/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    terraform {
      required_providers {
        azure-native = {
          source = "pulumi/azure-native"
        }
      }
    }
    
    resource "azure-native_devtestlab_custom_image" "customImage" {
      lifecycle {
        create_before_destroy = true
      }
      description         = "My Custom Image"
      lab_name            = "{labName}"
      name                = "{customImageName}"
      resource_group_name = "resourceGroupName"
      tags = {
        "tagName1" = "tagValue1"
      }
      vm = {
        linux_os_info = {
          linux_os_state = "NonDeprovisioned"
        }
        source_vm_id = "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"
      }
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.devtestlab.CustomImage;
    import com.pulumi.azurenative.devtestlab.CustomImageArgs;
    import com.pulumi.azurenative.devtestlab.inputs.CustomImagePropertiesFromVmArgs;
    import com.pulumi.azurenative.devtestlab.inputs.LinuxOsInfoArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 customImage = new CustomImage("customImage", CustomImageArgs.builder()
                .description("My Custom Image")
                .labName("{labName}")
                .name("{customImageName}")
                .resourceGroupName("resourceGroupName")
                .tags(Map.of("tagName1", "tagValue1"))
                .vm(CustomImagePropertiesFromVmArgs.builder()
                    .linuxOsInfo(LinuxOsInfoArgs.builder()
                        .linuxOsState("NonDeprovisioned")
                        .build())
                    .sourceVmId("/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}")
                    .build())
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const customImage = new azure_native.devtestlab.CustomImage("customImage", {
        description: "My Custom Image",
        labName: "{labName}",
        name: "{customImageName}",
        resourceGroupName: "resourceGroupName",
        tags: {
            tagName1: "tagValue1",
        },
        vm: {
            linuxOsInfo: {
                linuxOsState: azure_native.devtestlab.LinuxOsState.NonDeprovisioned,
            },
            sourceVmId: "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    custom_image = azure_native.devtestlab.CustomImage("customImage",
        description="My Custom Image",
        lab_name="{labName}",
        name="{customImageName}",
        resource_group_name="resourceGroupName",
        tags={
            "tagName1": "tagValue1",
        },
        vm={
            "linux_os_info": {
                "linux_os_state": azure_native.devtestlab.LinuxOsState.NON_DEPROVISIONED,
            },
            "source_vm_id": "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
        })
    
    resources:
      customImage:
        type: azure-native:devtestlab:CustomImage
        properties:
          description: My Custom Image
          labName: '{labName}'
          name: '{customImageName}'
          resourceGroupName: resourceGroupName
          tags:
            tagName1: tagValue1
          vm:
            linuxOsInfo:
              linuxOsState: NonDeprovisioned
            sourceVmId: /subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}
    

    Create CustomImage Resource

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

    Constructor syntax

    new CustomImage(name: string, args: CustomImageArgs, opts?: CustomResourceOptions);
    @overload
    def CustomImage(resource_name: str,
                    args: CustomImageArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def CustomImage(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    lab_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    location: Optional[str] = None,
                    description: Optional[str] = None,
                    is_plan_authorized: Optional[bool] = None,
                    data_disk_storage_info: Optional[Sequence[DataDiskStorageTypeInfoArgs]] = None,
                    author: Optional[str] = None,
                    managed_image_id: Optional[str] = None,
                    managed_snapshot_id: Optional[str] = None,
                    name: Optional[str] = None,
                    custom_image_plan: Optional[CustomImagePropertiesFromPlanArgs] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    vhd: Optional[CustomImagePropertiesCustomArgs] = None,
                    vm: Optional[CustomImagePropertiesFromVmArgs] = None)
    func NewCustomImage(ctx *Context, name string, args CustomImageArgs, opts ...ResourceOption) (*CustomImage, error)
    public CustomImage(string name, CustomImageArgs args, CustomResourceOptions? opts = null)
    public CustomImage(String name, CustomImageArgs args)
    public CustomImage(String name, CustomImageArgs args, CustomResourceOptions options)
    
    type: azure-native:devtestlab:CustomImage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "azure-native_devtestlab_custom_image" "name" {
        # resource properties
    }

    Parameters

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

    Constructor example

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

    var customImageResource = new AzureNative.DevTestLab.CustomImage("customImageResource", new()
    {
        LabName = "string",
        ResourceGroupName = "string",
        Location = "string",
        Description = "string",
        IsPlanAuthorized = false,
        DataDiskStorageInfo = new[]
        {
            new AzureNative.DevTestLab.Inputs.DataDiskStorageTypeInfoArgs
            {
                Lun = "string",
                StorageType = "string",
            },
        },
        Author = "string",
        ManagedImageId = "string",
        ManagedSnapshotId = "string",
        Name = "string",
        CustomImagePlan = new AzureNative.DevTestLab.Inputs.CustomImagePropertiesFromPlanArgs
        {
            Id = "string",
            Offer = "string",
            Publisher = "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
        Vhd = new AzureNative.DevTestLab.Inputs.CustomImagePropertiesCustomArgs
        {
            OsType = "string",
            ImageName = "string",
            SysPrep = false,
        },
        Vm = new AzureNative.DevTestLab.Inputs.CustomImagePropertiesFromVmArgs
        {
            LinuxOsInfo = new AzureNative.DevTestLab.Inputs.LinuxOsInfoArgs
            {
                LinuxOsState = "string",
            },
            SourceVmId = "string",
            WindowsOsInfo = new AzureNative.DevTestLab.Inputs.WindowsOsInfoArgs
            {
                WindowsOsState = "string",
            },
        },
    });
    
    example, err := devtestlab.NewCustomImage(ctx, "customImageResource", &devtestlab.CustomImageArgs{
    	LabName:           pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	IsPlanAuthorized:  pulumi.Bool(false),
    	DataDiskStorageInfo: devtestlab.DataDiskStorageTypeInfoArray{
    		&devtestlab.DataDiskStorageTypeInfoArgs{
    			Lun:         pulumi.String("string"),
    			StorageType: pulumi.String("string"),
    		},
    	},
    	Author:            pulumi.String("string"),
    	ManagedImageId:    pulumi.String("string"),
    	ManagedSnapshotId: pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	CustomImagePlan: &devtestlab.CustomImagePropertiesFromPlanArgs{
    		Id:        pulumi.String("string"),
    		Offer:     pulumi.String("string"),
    		Publisher: pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Vhd: &devtestlab.CustomImagePropertiesCustomArgs{
    		OsType:    pulumi.String("string"),
    		ImageName: pulumi.String("string"),
    		SysPrep:   pulumi.Bool(false),
    	},
    	Vm: &devtestlab.CustomImagePropertiesFromVmArgs{
    		LinuxOsInfo: &devtestlab.LinuxOsInfoArgs{
    			LinuxOsState: pulumi.String("string"),
    		},
    		SourceVmId: pulumi.String("string"),
    		WindowsOsInfo: &devtestlab.WindowsOsInfoArgs{
    			WindowsOsState: pulumi.String("string"),
    		},
    	},
    })
    
    resource "azure-native_devtestlab_custom_image" "customImageResource" {
      lifecycle {
        create_before_destroy = true
      }
      lab_name            = "string"
      resource_group_name = "string"
      location            = "string"
      description         = "string"
      is_plan_authorized  = false
      data_disk_storage_info {
        lun          = "string"
        storage_type = "string"
      }
      author              = "string"
      managed_image_id    = "string"
      managed_snapshot_id = "string"
      name                = "string"
      custom_image_plan = {
        id        = "string"
        offer     = "string"
        publisher = "string"
      }
      tags = {
        "string" = "string"
      }
      vhd = {
        os_type    = "string"
        image_name = "string"
        sys_prep   = false
      }
      vm = {
        linux_os_info = {
          linux_os_state = "string"
        }
        source_vm_id = "string"
        windows_os_info = {
          windows_os_state = "string"
        }
      }
    }
    
    var customImageResource = new com.pulumi.azurenative.devtestlab.CustomImage("customImageResource", com.pulumi.azurenative.devtestlab.CustomImageArgs.builder()
        .labName("string")
        .resourceGroupName("string")
        .location("string")
        .description("string")
        .isPlanAuthorized(false)
        .dataDiskStorageInfo(DataDiskStorageTypeInfoArgs.builder()
            .lun("string")
            .storageType("string")
            .build())
        .author("string")
        .managedImageId("string")
        .managedSnapshotId("string")
        .name("string")
        .customImagePlan(CustomImagePropertiesFromPlanArgs.builder()
            .id("string")
            .offer("string")
            .publisher("string")
            .build())
        .tags(Map.of("string", "string"))
        .vhd(CustomImagePropertiesCustomArgs.builder()
            .osType("string")
            .imageName("string")
            .sysPrep(false)
            .build())
        .vm(CustomImagePropertiesFromVmArgs.builder()
            .linuxOsInfo(LinuxOsInfoArgs.builder()
                .linuxOsState("string")
                .build())
            .sourceVmId("string")
            .windowsOsInfo(WindowsOsInfoArgs.builder()
                .windowsOsState("string")
                .build())
            .build())
        .build());
    
    custom_image_resource = azure_native.devtestlab.CustomImage("customImageResource",
        lab_name="string",
        resource_group_name="string",
        location="string",
        description="string",
        is_plan_authorized=False,
        data_disk_storage_info=[{
            "lun": "string",
            "storage_type": "string",
        }],
        author="string",
        managed_image_id="string",
        managed_snapshot_id="string",
        name="string",
        custom_image_plan={
            "id": "string",
            "offer": "string",
            "publisher": "string",
        },
        tags={
            "string": "string",
        },
        vhd={
            "os_type": "string",
            "image_name": "string",
            "sys_prep": False,
        },
        vm={
            "linux_os_info": {
                "linux_os_state": "string",
            },
            "source_vm_id": "string",
            "windows_os_info": {
                "windows_os_state": "string",
            },
        })
    
    const customImageResource = new azure_native.devtestlab.CustomImage("customImageResource", {
        labName: "string",
        resourceGroupName: "string",
        location: "string",
        description: "string",
        isPlanAuthorized: false,
        dataDiskStorageInfo: [{
            lun: "string",
            storageType: "string",
        }],
        author: "string",
        managedImageId: "string",
        managedSnapshotId: "string",
        name: "string",
        customImagePlan: {
            id: "string",
            offer: "string",
            publisher: "string",
        },
        tags: {
            string: "string",
        },
        vhd: {
            osType: "string",
            imageName: "string",
            sysPrep: false,
        },
        vm: {
            linuxOsInfo: {
                linuxOsState: "string",
            },
            sourceVmId: "string",
            windowsOsInfo: {
                windowsOsState: "string",
            },
        },
    });
    
    type: azure-native:devtestlab:CustomImage
    properties:
        author: string
        customImagePlan:
            id: string
            offer: string
            publisher: string
        dataDiskStorageInfo:
            - lun: string
              storageType: string
        description: string
        isPlanAuthorized: false
        labName: string
        location: string
        managedImageId: string
        managedSnapshotId: string
        name: string
        resourceGroupName: string
        tags:
            string: string
        vhd:
            imageName: string
            osType: string
            sysPrep: false
        vm:
            linuxOsInfo:
                linuxOsState: string
            sourceVmId: string
            windowsOsInfo:
                windowsOsState: string
    

    CustomImage Resource Properties

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

    Inputs

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

    The CustomImage resource accepts the following input properties:

    LabName string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Author string
    The author of the custom image.
    CustomImagePlan Pulumi.AzureNative.DevTestLab.Inputs.CustomImagePropertiesFromPlan
    Storage information about the plan related to this custom image
    DataDiskStorageInfo List<Pulumi.AzureNative.DevTestLab.Inputs.DataDiskStorageTypeInfo>
    Storage information about the data disks present in the custom image
    Description string
    The description of the custom image.
    IsPlanAuthorized bool
    Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
    Location string
    The geo-location where the resource lives
    ManagedImageId string
    The Managed Image Id backing the custom image.
    ManagedSnapshotId string
    The Managed Snapshot Id backing the custom image.
    Name string
    The name of the CustomImage
    Tags Dictionary<string, string>
    Resource tags.
    Vhd Pulumi.AzureNative.DevTestLab.Inputs.CustomImagePropertiesCustom
    The VHD from which the image is to be created.
    Vm Pulumi.AzureNative.DevTestLab.Inputs.CustomImagePropertiesFromVm
    The virtual machine from which the image is to be created.
    LabName string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Author string
    The author of the custom image.
    CustomImagePlan CustomImagePropertiesFromPlanArgs
    Storage information about the plan related to this custom image
    DataDiskStorageInfo []DataDiskStorageTypeInfoArgs
    Storage information about the data disks present in the custom image
    Description string
    The description of the custom image.
    IsPlanAuthorized bool
    Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
    Location string
    The geo-location where the resource lives
    ManagedImageId string
    The Managed Image Id backing the custom image.
    ManagedSnapshotId string
    The Managed Snapshot Id backing the custom image.
    Name string
    The name of the CustomImage
    Tags map[string]string
    Resource tags.
    Vhd CustomImagePropertiesCustomArgs
    The VHD from which the image is to be created.
    Vm CustomImagePropertiesFromVmArgs
    The virtual machine from which the image is to be created.
    lab_name string
    The name of the lab.
    resource_group_name string
    The name of the resource group. The name is case insensitive.
    author string
    The author of the custom image.
    custom_image_plan object
    Storage information about the plan related to this custom image
    data_disk_storage_info list(object)
    Storage information about the data disks present in the custom image
    description string
    The description of the custom image.
    is_plan_authorized bool
    Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
    location string
    The geo-location where the resource lives
    managed_image_id string
    The Managed Image Id backing the custom image.
    managed_snapshot_id string
    The Managed Snapshot Id backing the custom image.
    name string
    The name of the CustomImage
    tags map(string)
    Resource tags.
    vhd object
    The VHD from which the image is to be created.
    vm object
    The virtual machine from which the image is to be created.
    labName String
    The name of the lab.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    author String
    The author of the custom image.
    customImagePlan CustomImagePropertiesFromPlan
    Storage information about the plan related to this custom image
    dataDiskStorageInfo List<DataDiskStorageTypeInfo>
    Storage information about the data disks present in the custom image
    description String
    The description of the custom image.
    isPlanAuthorized Boolean
    Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
    location String
    The geo-location where the resource lives
    managedImageId String
    The Managed Image Id backing the custom image.
    managedSnapshotId String
    The Managed Snapshot Id backing the custom image.
    name String
    The name of the CustomImage
    tags Map<String,String>
    Resource tags.
    vhd CustomImagePropertiesCustom
    The VHD from which the image is to be created.
    vm CustomImagePropertiesFromVm
    The virtual machine from which the image is to be created.
    labName string
    The name of the lab.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    author string
    The author of the custom image.
    customImagePlan CustomImagePropertiesFromPlan
    Storage information about the plan related to this custom image
    dataDiskStorageInfo DataDiskStorageTypeInfo[]
    Storage information about the data disks present in the custom image
    description string
    The description of the custom image.
    isPlanAuthorized boolean
    Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
    location string
    The geo-location where the resource lives
    managedImageId string
    The Managed Image Id backing the custom image.
    managedSnapshotId string
    The Managed Snapshot Id backing the custom image.
    name string
    The name of the CustomImage
    tags {[key: string]: string}
    Resource tags.
    vhd CustomImagePropertiesCustom
    The VHD from which the image is to be created.
    vm CustomImagePropertiesFromVm
    The virtual machine from which the image is to be created.
    lab_name str
    The name of the lab.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    author str
    The author of the custom image.
    custom_image_plan CustomImagePropertiesFromPlanArgs
    Storage information about the plan related to this custom image
    data_disk_storage_info Sequence[DataDiskStorageTypeInfoArgs]
    Storage information about the data disks present in the custom image
    description str
    The description of the custom image.
    is_plan_authorized bool
    Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
    location str
    The geo-location where the resource lives
    managed_image_id str
    The Managed Image Id backing the custom image.
    managed_snapshot_id str
    The Managed Snapshot Id backing the custom image.
    name str
    The name of the CustomImage
    tags Mapping[str, str]
    Resource tags.
    vhd CustomImagePropertiesCustomArgs
    The VHD from which the image is to be created.
    vm CustomImagePropertiesFromVmArgs
    The virtual machine from which the image is to be created.
    labName String
    The name of the lab.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    author String
    The author of the custom image.
    customImagePlan Property Map
    Storage information about the plan related to this custom image
    dataDiskStorageInfo List<Property Map>
    Storage information about the data disks present in the custom image
    description String
    The description of the custom image.
    isPlanAuthorized Boolean
    Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
    location String
    The geo-location where the resource lives
    managedImageId String
    The Managed Image Id backing the custom image.
    managedSnapshotId String
    The Managed Snapshot Id backing the custom image.
    name String
    The name of the CustomImage
    tags Map<String>
    Resource tags.
    vhd Property Map
    The VHD from which the image is to be created.
    vm Property Map
    The virtual machine from which the image is to be created.

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    CreationDate string
    The creation date of the custom image.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    The provisioning status of the resource.
    SystemData Pulumi.AzureNative.DevTestLab.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    AzureApiVersion string
    The Azure API version of the resource.
    CreationDate string
    The creation date of the custom image.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    The provisioning status of the resource.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    azure_api_version string
    The Azure API version of the resource.
    creation_date string
    The creation date of the custom image.
    id string
    The provider-assigned unique ID for this managed resource.
    provisioning_state string
    The provisioning status of the resource.
    system_data object
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    unique_identifier string
    The unique immutable identifier of a resource (Guid).
    azureApiVersion String
    The Azure API version of the resource.
    creationDate String
    The creation date of the custom image.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    The provisioning status of the resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).
    azureApiVersion string
    The Azure API version of the resource.
    creationDate string
    The creation date of the custom image.
    id string
    The provider-assigned unique ID for this managed resource.
    provisioningState string
    The provisioning status of the resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    azure_api_version str
    The Azure API version of the resource.
    creation_date str
    The creation date of the custom image.
    id str
    The provider-assigned unique ID for this managed resource.
    provisioning_state str
    The provisioning status of the resource.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    unique_identifier str
    The unique immutable identifier of a resource (Guid).
    azureApiVersion String
    The Azure API version of the resource.
    creationDate String
    The creation date of the custom image.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    The provisioning status of the resource.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).

    Look up Existing CustomImage Resource

    Get an existing CustomImage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): CustomImage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> CustomImage
    func GetCustomImage(ctx *Context, name string, id IDInput, state *CustomImageState, opts ...ResourceOption) (*CustomImage, error)
    public static CustomImage Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static CustomImage get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingCustomImage:    type: azure-native:devtestlab:CustomImage    get:      id: ${id}
    import {
      to = azure-native_devtestlab_custom_image.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state CustomImageState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    CustomImageOsType

    The OS type of the custom image (i.e. Windows, Linux)

    NameValue
    WindowsWindows
    LinuxLinux
    NoneNone
    NameValue
    CustomImageOsTypeWindowsWindows
    CustomImageOsTypeLinuxLinux
    CustomImageOsTypeNoneNone
    Value
    Windows
    Linux
    None
    NameValue
    WindowsWindows
    LinuxLinux
    NoneNone
    NameValue
    WindowsWindows
    LinuxLinux
    NoneNone
    NameValue
    WINDOWSWindows
    LINUXLinux
    NONENone
    Value
    Windows
    Linux
    None

    CustomImagePropertiesCustom, CustomImagePropertiesCustomArgs

    Properties for creating a custom image from a VHD.

    OsType string | Pulumi.AzureNative.DevTestLab.CustomImageOsType
    The OS type of the custom image (i.e. Windows, Linux)
    ImageName string
    The image name.
    SysPrep bool
    Indicates whether sysprep has been run on the VHD.
    OsType string | CustomImageOsType
    The OS type of the custom image (i.e. Windows, Linux)
    ImageName string
    The image name.
    SysPrep bool
    Indicates whether sysprep has been run on the VHD.
    os_type string | "Windows" | "Linux" | "None"
    The OS type of the custom image (i.e. Windows, Linux)
    image_name string
    The image name.
    sys_prep bool
    Indicates whether sysprep has been run on the VHD.
    osType String | CustomImageOsType
    The OS type of the custom image (i.e. Windows, Linux)
    imageName String
    The image name.
    sysPrep Boolean
    Indicates whether sysprep has been run on the VHD.
    osType string | CustomImageOsType
    The OS type of the custom image (i.e. Windows, Linux)
    imageName string
    The image name.
    sysPrep boolean
    Indicates whether sysprep has been run on the VHD.
    os_type str | CustomImageOsType
    The OS type of the custom image (i.e. Windows, Linux)
    image_name str
    The image name.
    sys_prep bool
    Indicates whether sysprep has been run on the VHD.
    osType String | "Windows" | "Linux" | "None"
    The OS type of the custom image (i.e. Windows, Linux)
    imageName String
    The image name.
    sysPrep Boolean
    Indicates whether sysprep has been run on the VHD.

    CustomImagePropertiesCustomResponse

    Properties for creating a custom image from a VHD.

    OsType string
    The OS type of the custom image (i.e. Windows, Linux)
    ImageName string
    The image name.
    SysPrep bool
    Indicates whether sysprep has been run on the VHD.
    OsType string
    The OS type of the custom image (i.e. Windows, Linux)
    ImageName string
    The image name.
    SysPrep bool
    Indicates whether sysprep has been run on the VHD.
    os_type string
    The OS type of the custom image (i.e. Windows, Linux)
    image_name string
    The image name.
    sys_prep bool
    Indicates whether sysprep has been run on the VHD.
    osType String
    The OS type of the custom image (i.e. Windows, Linux)
    imageName String
    The image name.
    sysPrep Boolean
    Indicates whether sysprep has been run on the VHD.
    osType string
    The OS type of the custom image (i.e. Windows, Linux)
    imageName string
    The image name.
    sysPrep boolean
    Indicates whether sysprep has been run on the VHD.
    os_type str
    The OS type of the custom image (i.e. Windows, Linux)
    image_name str
    The image name.
    sys_prep bool
    Indicates whether sysprep has been run on the VHD.
    osType String
    The OS type of the custom image (i.e. Windows, Linux)
    imageName String
    The image name.
    sysPrep Boolean
    Indicates whether sysprep has been run on the VHD.

    CustomImagePropertiesFromPlan, CustomImagePropertiesFromPlanArgs

    Properties for plan on a custom image.

    Id string
    The id of the plan, equivalent to name of the plan
    Offer string
    The offer for the plan from the marketplace image the custom image is derived from
    Publisher string
    The publisher for the plan from the marketplace image the custom image is derived from
    Id string
    The id of the plan, equivalent to name of the plan
    Offer string
    The offer for the plan from the marketplace image the custom image is derived from
    Publisher string
    The publisher for the plan from the marketplace image the custom image is derived from
    id string
    The id of the plan, equivalent to name of the plan
    offer string
    The offer for the plan from the marketplace image the custom image is derived from
    publisher string
    The publisher for the plan from the marketplace image the custom image is derived from
    id String
    The id of the plan, equivalent to name of the plan
    offer String
    The offer for the plan from the marketplace image the custom image is derived from
    publisher String
    The publisher for the plan from the marketplace image the custom image is derived from
    id string
    The id of the plan, equivalent to name of the plan
    offer string
    The offer for the plan from the marketplace image the custom image is derived from
    publisher string
    The publisher for the plan from the marketplace image the custom image is derived from
    id str
    The id of the plan, equivalent to name of the plan
    offer str
    The offer for the plan from the marketplace image the custom image is derived from
    publisher str
    The publisher for the plan from the marketplace image the custom image is derived from
    id String
    The id of the plan, equivalent to name of the plan
    offer String
    The offer for the plan from the marketplace image the custom image is derived from
    publisher String
    The publisher for the plan from the marketplace image the custom image is derived from

    CustomImagePropertiesFromPlanResponse

    Properties for plan on a custom image.

    Id string
    The id of the plan, equivalent to name of the plan
    Offer string
    The offer for the plan from the marketplace image the custom image is derived from
    Publisher string
    The publisher for the plan from the marketplace image the custom image is derived from
    Id string
    The id of the plan, equivalent to name of the plan
    Offer string
    The offer for the plan from the marketplace image the custom image is derived from
    Publisher string
    The publisher for the plan from the marketplace image the custom image is derived from
    id string
    The id of the plan, equivalent to name of the plan
    offer string
    The offer for the plan from the marketplace image the custom image is derived from
    publisher string
    The publisher for the plan from the marketplace image the custom image is derived from
    id String
    The id of the plan, equivalent to name of the plan
    offer String
    The offer for the plan from the marketplace image the custom image is derived from
    publisher String
    The publisher for the plan from the marketplace image the custom image is derived from
    id string
    The id of the plan, equivalent to name of the plan
    offer string
    The offer for the plan from the marketplace image the custom image is derived from
    publisher string
    The publisher for the plan from the marketplace image the custom image is derived from
    id str
    The id of the plan, equivalent to name of the plan
    offer str
    The offer for the plan from the marketplace image the custom image is derived from
    publisher str
    The publisher for the plan from the marketplace image the custom image is derived from
    id String
    The id of the plan, equivalent to name of the plan
    offer String
    The offer for the plan from the marketplace image the custom image is derived from
    publisher String
    The publisher for the plan from the marketplace image the custom image is derived from

    CustomImagePropertiesFromVm, CustomImagePropertiesFromVmArgs

    Properties for creating a custom image from a virtual machine.

    LinuxOsInfo Pulumi.AzureNative.DevTestLab.Inputs.LinuxOsInfo
    The Linux OS information of the VM.
    SourceVmId string
    The source vm identifier.
    WindowsOsInfo Pulumi.AzureNative.DevTestLab.Inputs.WindowsOsInfo
    The Windows OS information of the VM.
    LinuxOsInfo LinuxOsInfo
    The Linux OS information of the VM.
    SourceVmId string
    The source vm identifier.
    WindowsOsInfo WindowsOsInfo
    The Windows OS information of the VM.
    linux_os_info object
    The Linux OS information of the VM.
    source_vm_id string
    The source vm identifier.
    windows_os_info object
    The Windows OS information of the VM.
    linuxOsInfo LinuxOsInfo
    The Linux OS information of the VM.
    sourceVmId String
    The source vm identifier.
    windowsOsInfo WindowsOsInfo
    The Windows OS information of the VM.
    linuxOsInfo LinuxOsInfo
    The Linux OS information of the VM.
    sourceVmId string
    The source vm identifier.
    windowsOsInfo WindowsOsInfo
    The Windows OS information of the VM.
    linux_os_info LinuxOsInfo
    The Linux OS information of the VM.
    source_vm_id str
    The source vm identifier.
    windows_os_info WindowsOsInfo
    The Windows OS information of the VM.
    linuxOsInfo Property Map
    The Linux OS information of the VM.
    sourceVmId String
    The source vm identifier.
    windowsOsInfo Property Map
    The Windows OS information of the VM.

    CustomImagePropertiesFromVmResponse

    Properties for creating a custom image from a virtual machine.

    LinuxOsInfo Pulumi.AzureNative.DevTestLab.Inputs.LinuxOsInfoResponse
    The Linux OS information of the VM.
    SourceVmId string
    The source vm identifier.
    WindowsOsInfo Pulumi.AzureNative.DevTestLab.Inputs.WindowsOsInfoResponse
    The Windows OS information of the VM.
    LinuxOsInfo LinuxOsInfoResponse
    The Linux OS information of the VM.
    SourceVmId string
    The source vm identifier.
    WindowsOsInfo WindowsOsInfoResponse
    The Windows OS information of the VM.
    linux_os_info object
    The Linux OS information of the VM.
    source_vm_id string
    The source vm identifier.
    windows_os_info object
    The Windows OS information of the VM.
    linuxOsInfo LinuxOsInfoResponse
    The Linux OS information of the VM.
    sourceVmId String
    The source vm identifier.
    windowsOsInfo WindowsOsInfoResponse
    The Windows OS information of the VM.
    linuxOsInfo LinuxOsInfoResponse
    The Linux OS information of the VM.
    sourceVmId string
    The source vm identifier.
    windowsOsInfo WindowsOsInfoResponse
    The Windows OS information of the VM.
    linux_os_info LinuxOsInfoResponse
    The Linux OS information of the VM.
    source_vm_id str
    The source vm identifier.
    windows_os_info WindowsOsInfoResponse
    The Windows OS information of the VM.
    linuxOsInfo Property Map
    The Linux OS information of the VM.
    sourceVmId String
    The source vm identifier.
    windowsOsInfo Property Map
    The Windows OS information of the VM.

    DataDiskStorageTypeInfo, DataDiskStorageTypeInfoArgs

    Storage information about the data disks present in the custom image

    Lun string
    Disk Lun
    StorageType string | Pulumi.AzureNative.DevTestLab.StorageType
    Disk Storage Type
    Lun string
    Disk Lun
    StorageType string | StorageType
    Disk Storage Type
    lun string
    Disk Lun
    storage_type string | "Standard" | "Premium" | "StandardSSD"
    Disk Storage Type
    lun String
    Disk Lun
    storageType String | StorageType
    Disk Storage Type
    lun string
    Disk Lun
    storageType string | StorageType
    Disk Storage Type
    lun str
    Disk Lun
    storage_type str | StorageType
    Disk Storage Type
    lun String
    Disk Lun
    storageType String | "Standard" | "Premium" | "StandardSSD"
    Disk Storage Type

    DataDiskStorageTypeInfoResponse

    Storage information about the data disks present in the custom image

    Lun string
    Disk Lun
    StorageType string
    Disk Storage Type
    Lun string
    Disk Lun
    StorageType string
    Disk Storage Type
    lun string
    Disk Lun
    storage_type string
    Disk Storage Type
    lun String
    Disk Lun
    storageType String
    Disk Storage Type
    lun string
    Disk Lun
    storageType string
    Disk Storage Type
    lun str
    Disk Lun
    storage_type str
    Disk Storage Type
    lun String
    Disk Lun
    storageType String
    Disk Storage Type

    LinuxOsInfo, LinuxOsInfoArgs

    Information about a Linux OS.

    LinuxOsState string | Pulumi.AzureNative.DevTestLab.LinuxOsState
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    LinuxOsState string | LinuxOsState
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linux_os_state string | "NonDeprovisioned" | "DeprovisionRequested" | "DeprovisionApplied"
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linuxOsState String | LinuxOsState
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linuxOsState string | LinuxOsState
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linux_os_state str | LinuxOsState
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linuxOsState String | "NonDeprovisioned" | "DeprovisionRequested" | "DeprovisionApplied"
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).

    LinuxOsInfoResponse

    Information about a Linux OS.

    LinuxOsState string
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    LinuxOsState string
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linux_os_state string
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linuxOsState String
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linuxOsState string
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linux_os_state str
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
    linuxOsState String
    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).

    LinuxOsState

    The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).

    NameValue
    NonDeprovisionedNonDeprovisioned
    DeprovisionRequestedDeprovisionRequested
    DeprovisionAppliedDeprovisionApplied
    NameValue
    LinuxOsStateNonDeprovisionedNonDeprovisioned
    LinuxOsStateDeprovisionRequestedDeprovisionRequested
    LinuxOsStateDeprovisionAppliedDeprovisionApplied
    Value
    NonDeprovisioned
    DeprovisionRequested
    DeprovisionApplied
    NameValue
    NonDeprovisionedNonDeprovisioned
    DeprovisionRequestedDeprovisionRequested
    DeprovisionAppliedDeprovisionApplied
    NameValue
    NonDeprovisionedNonDeprovisioned
    DeprovisionRequestedDeprovisionRequested
    DeprovisionAppliedDeprovisionApplied
    NameValue
    NON_DEPROVISIONEDNonDeprovisioned
    DEPROVISION_REQUESTEDDeprovisionRequested
    DEPROVISION_APPLIEDDeprovisionApplied
    Value
    NonDeprovisioned
    DeprovisionRequested
    DeprovisionApplied

    StorageType

    The storage type for the disk (i.e. Standard, Premium).

    NameValue
    StandardStandard
    PremiumPremium
    StandardSSDStandardSSD
    NameValue
    StorageTypeStandardStandard
    StorageTypePremiumPremium
    StorageTypeStandardSSDStandardSSD
    Value
    Standard
    Premium
    StandardSSD
    NameValue
    StandardStandard
    PremiumPremium
    StandardSSDStandardSSD
    NameValue
    StandardStandard
    PremiumPremium
    StandardSSDStandardSSD
    NameValue
    STANDARDStandard
    PREMIUMPremium
    STANDARD_SSDStandardSSD
    Value
    Standard
    Premium
    StandardSSD

    SystemDataResponse

    Metadata pertaining to creation and last modification of the resource.

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    created_at string
    The timestamp of resource creation (UTC).
    created_by string
    The identity that created the resource.
    created_by_type string
    The type of identity that created the resource.
    last_modified_at string
    The timestamp of resource last modification (UTC)
    last_modified_by string
    The identity that last modified the resource.
    last_modified_by_type string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    WindowsOsInfo, WindowsOsInfoArgs

    Information about a Windows OS.

    WindowsOsState string | Pulumi.AzureNative.DevTestLab.WindowsOsState
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    WindowsOsState string | WindowsOsState
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windows_os_state string | "NonSysprepped" | "SysprepRequested" | "SysprepApplied"
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windowsOsState String | WindowsOsState
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windowsOsState string | WindowsOsState
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windows_os_state str | WindowsOsState
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windowsOsState String | "NonSysprepped" | "SysprepRequested" | "SysprepApplied"
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).

    WindowsOsInfoResponse

    Information about a Windows OS.

    WindowsOsState string
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    WindowsOsState string
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windows_os_state string
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windowsOsState String
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windowsOsState string
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windows_os_state str
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
    windowsOsState String
    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).

    WindowsOsState

    The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).

    NameValue
    NonSyspreppedNonSysprepped
    SysprepRequestedSysprepRequested
    SysprepAppliedSysprepApplied
    NameValue
    WindowsOsStateNonSyspreppedNonSysprepped
    WindowsOsStateSysprepRequestedSysprepRequested
    WindowsOsStateSysprepAppliedSysprepApplied
    Value
    NonSysprepped
    SysprepRequested
    SysprepApplied
    NameValue
    NonSyspreppedNonSysprepped
    SysprepRequestedSysprepRequested
    SysprepAppliedSysprepApplied
    NameValue
    NonSyspreppedNonSysprepped
    SysprepRequestedSysprepRequested
    SysprepAppliedSysprepApplied
    NameValue
    NON_SYSPREPPEDNonSysprepped
    SYSPREP_REQUESTEDSysprepRequested
    SYSPREP_APPLIEDSysprepApplied
    Value
    NonSysprepped
    SysprepRequested
    SysprepApplied

    Import

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

    $ pulumi import azure-native:devtestlab:CustomImage {customImageName} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo Azure Native
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.32.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial