1. Packages
  2. Azure Native v1
  3. API Docs
  4. devtestlab
  5. CustomImage
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.devtestlab.CustomImage

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    A custom image. 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 = "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"
    	"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.CustomImagePropertiesFromVmResponse{
    				LinuxOsInfo: &devtestlab.LinuxOsInfoArgs{
    					LinuxOsState: pulumi.String("NonDeprovisioned"),
    				},
    				SourceVmId: pulumi.String("/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.devtestlab.CustomImage;
    import com.pulumi.azurenative.devtestlab.CustomImageArgs;
    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 customImage = new CustomImage("customImage", CustomImageArgs.builder()        
                .description("My Custom Image")
                .labName("{labName}")
                .name("{customImageName}")
                .resourceGroupName("resourceGroupName")
                .tags(Map.of("tagName1", "tagValue1"))
                .vm(Map.ofEntries(
                    Map.entry("linuxOsInfo", Map.of("linuxOsState", "NonDeprovisioned")),
                    Map.entry("sourceVmId", "/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}")
                ))
                .build());
    
        }
    }
    
    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=azure_native.devtestlab.CustomImagePropertiesFromVmResponseArgs(
            linux_os_info=azure_native.devtestlab.LinuxOsInfoArgs(
                linux_os_state="NonDeprovisioned",
            ),
            source_vm_id="/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}",
        ))
    
    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: "NonDeprovisioned",
            },
            sourceVmId: "/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.
    
    

    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[]
        {
            
            {
                { "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" },
            } },
        },
    });
    
    example, err := devtestlab.NewCustomImage(ctx, "customImageResource", &devtestlab.CustomImageArgs{
    	LabName:           "string",
    	ResourceGroupName: "string",
    	Location:          "string",
    	Description:       "string",
    	IsPlanAuthorized:  false,
    	DataDiskStorageInfo: []map[string]interface{}{
    		map[string]interface{}{
    			"lun":         "string",
    			"storageType": "string",
    		},
    	},
    	Author:            "string",
    	ManagedImageId:    "string",
    	ManagedSnapshotId: "string",
    	Name:              "string",
    	CustomImagePlan: map[string]interface{}{
    		"id":        "string",
    		"offer":     "string",
    		"publisher": "string",
    	},
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    	Vhd: map[string]interface{}{
    		"osType":    "string",
    		"imageName": "string",
    		"sysPrep":   false,
    	},
    	Vm: map[string]interface{}{
    		"linuxOsInfo": map[string]interface{}{
    			"linuxOsState": "string",
    		},
    		"sourceVmId": "string",
    		"windowsOsInfo": map[string]interface{}{
    			"windowsOsState": "string",
    		},
    	},
    })
    
    var customImageResource = new CustomImage("customImageResource", CustomImageArgs.builder()
        .labName("string")
        .resourceGroupName("string")
        .location("string")
        .description("string")
        .isPlanAuthorized(false)
        .dataDiskStorageInfo(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .author("string")
        .managedImageId("string")
        .managedSnapshotId("string")
        .name("string")
        .customImagePlan(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .vhd(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .vm(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .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,
            storageType: 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={
            osType: string,
            imageName: string,
            sysPrep: False,
        },
        vm={
            linuxOsInfo: {
                linuxOsState: string,
            },
            sourceVmId: string,
            windowsOsInfo: {
                windowsOsState: 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.
    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 location of the resource.
    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 custom image.
    Tags Dictionary<string, string>
    The tags of the resource.
    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.
    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 location of the resource.
    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 custom image.
    Tags map[string]string
    The tags of the resource.
    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.
    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 location of the resource.
    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 custom image.
    tags Map<String,String>
    The tags of the resource.
    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.
    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 location of the resource.
    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 custom image.
    tags {[key: string]: string}
    The tags of the resource.
    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.
    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 location of the resource.
    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 custom image.
    tags Mapping[str, str]
    The tags of the resource.
    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.
    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 location of the resource.
    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 custom image.
    tags Map<String>
    The tags of the resource.
    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:

    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.
    Type string
    The type of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    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.
    Type string
    The type of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    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.
    type String
    The type of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).
    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.
    type string
    The type of the resource.
    uniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    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.
    type str
    The type of the resource.
    unique_identifier str
    The unique immutable identifier of a resource (Guid).
    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.
    type String
    The type of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).

    Supporting Types

    CustomImageOsType, CustomImageOsTypeArgs

    Windows
    Windows
    Linux
    Linux
    None
    None
    CustomImageOsTypeWindows
    Windows
    CustomImageOsTypeLinux
    Linux
    CustomImageOsTypeNone
    None
    Windows
    Windows
    Linux
    Linux
    None
    None
    Windows
    Windows
    Linux
    Linux
    None
    None
    WINDOWS
    Windows
    LINUX
    Linux
    NONE
    None
    "Windows"
    Windows
    "Linux"
    Linux
    "None"
    None

    CustomImagePropertiesCustom, CustomImagePropertiesCustomArgs

    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.
    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, CustomImagePropertiesCustomResponseArgs

    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.
    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

    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, CustomImagePropertiesFromPlanResponseArgs

    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

    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.
    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, CustomImagePropertiesFromVmResponseArgs

    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.
    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

    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
    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, DataDiskStorageTypeInfoResponseArgs

    Lun string
    Disk Lun
    StorageType string
    Disk Storage Type
    Lun string
    Disk Lun
    StorageType 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

    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).
    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, LinuxOsInfoResponseArgs

    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).
    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, LinuxOsStateArgs

    NonDeprovisioned
    NonDeprovisioned
    DeprovisionRequested
    DeprovisionRequested
    DeprovisionApplied
    DeprovisionApplied
    LinuxOsStateNonDeprovisioned
    NonDeprovisioned
    LinuxOsStateDeprovisionRequested
    DeprovisionRequested
    LinuxOsStateDeprovisionApplied
    DeprovisionApplied
    NonDeprovisioned
    NonDeprovisioned
    DeprovisionRequested
    DeprovisionRequested
    DeprovisionApplied
    DeprovisionApplied
    NonDeprovisioned
    NonDeprovisioned
    DeprovisionRequested
    DeprovisionRequested
    DeprovisionApplied
    DeprovisionApplied
    NON_DEPROVISIONED
    NonDeprovisioned
    DEPROVISION_REQUESTED
    DeprovisionRequested
    DEPROVISION_APPLIED
    DeprovisionApplied
    "NonDeprovisioned"
    NonDeprovisioned
    "DeprovisionRequested"
    DeprovisionRequested
    "DeprovisionApplied"
    DeprovisionApplied

    StorageType, StorageTypeArgs

    Standard
    Standard
    Premium
    Premium
    StandardSSD
    StandardSSD
    StorageTypeStandard
    Standard
    StorageTypePremium
    Premium
    StorageTypeStandardSSD
    StandardSSD
    Standard
    Standard
    Premium
    Premium
    StandardSSD
    StandardSSD
    Standard
    Standard
    Premium
    Premium
    StandardSSD
    StandardSSD
    STANDARD
    Standard
    PREMIUM
    Premium
    STANDARD_SSD
    StandardSSD
    "Standard"
    Standard
    "Premium"
    Premium
    "StandardSSD"
    StandardSSD

    WindowsOsInfo, WindowsOsInfoArgs

    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).
    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, WindowsOsInfoResponseArgs

    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).
    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, WindowsOsStateArgs

    NonSysprepped
    NonSysprepped
    SysprepRequested
    SysprepRequested
    SysprepApplied
    SysprepApplied
    WindowsOsStateNonSysprepped
    NonSysprepped
    WindowsOsStateSysprepRequested
    SysprepRequested
    WindowsOsStateSysprepApplied
    SysprepApplied
    NonSysprepped
    NonSysprepped
    SysprepRequested
    SysprepRequested
    SysprepApplied
    SysprepApplied
    NonSysprepped
    NonSysprepped
    SysprepRequested
    SysprepRequested
    SysprepApplied
    SysprepApplied
    NON_SYSPREPPED
    NonSysprepped
    SYSPREP_REQUESTED
    SysprepRequested
    SYSPREP_APPLIED
    SysprepApplied
    "NonSysprepped"
    NonSysprepped
    "SysprepRequested"
    SysprepRequested
    "SysprepApplied"
    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/{customImageName} 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi