1. Packages
  2. Azure Native
  3. API Docs
  4. devtestlab
  5. CustomImage
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.devtestlab.CustomImage

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    A custom image. Azure REST API version: 2018-09-15. Prior API version in Azure Native 1.x: 2018-09-15.

    Other available API versions: 2016-05-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/v2"
    	"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
    	})
    }
    
    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.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(CustomImagePropertiesFromVmArgs.builder()
                    .linuxOsInfo(LinuxOsInfoArgs.builder()
                        .linuxOsState("NonDeprovisioned")
                        .build())
                    .sourceVmId("/subscriptions/{subscriptionId}/resourcegroups/resourceGroupName/providers/microsoft.devtestlab/labs/{labName}/virtualmachines/{vmName}")
                    .build())
                .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={
            "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}",
        })
    
    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}",
        },
    });
    
    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[]
        {
            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"),
    		},
    	},
    })
    
    var customImageResource = new CustomImage("customImageResource", 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",
            "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

    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/{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
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi