azure-native.devtestlab.CustomImage
Explore with Pulumi AI
A custom image. Azure REST API version: 2018-09-15. Prior API version in Azure Native 1.x: 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/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 * 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.
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",
        "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.
- ResourceGroup stringName 
- The name of the resource group.
- string
- The author of the custom image.
- CustomImage Pulumi.Plan Azure Native. Dev Test Lab. Inputs. Custom Image Properties From Plan 
- Storage information about the plan related to this custom image
- DataDisk List<Pulumi.Storage Info Azure Native. Dev Test Lab. Inputs. Data Disk Storage Type Info> 
- Storage information about the data disks present in the custom image
- Description string
- The description of the custom image.
- bool
- Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
- Location string
- The location of the resource.
- ManagedImage stringId 
- The Managed Image Id backing the custom image.
- ManagedSnapshot stringId 
- The Managed Snapshot Id backing the custom image.
- Name string
- The name of the custom image.
- Dictionary<string, string>
- The tags of the resource.
- Vhd
Pulumi.Azure Native. Dev Test Lab. Inputs. Custom Image Properties Custom 
- The VHD from which the image is to be created.
- Vm
Pulumi.Azure Native. Dev Test Lab. Inputs. Custom Image Properties From Vm 
- The virtual machine from which the image is to be created.
- LabName string
- The name of the lab.
- ResourceGroup stringName 
- The name of the resource group.
- string
- The author of the custom image.
- CustomImage CustomPlan Image Properties From Plan Args 
- Storage information about the plan related to this custom image
- DataDisk []DataStorage Info Disk Storage Type Info Args 
- Storage information about the data disks present in the custom image
- Description string
- The description of the custom image.
- bool
- Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
- Location string
- The location of the resource.
- ManagedImage stringId 
- The Managed Image Id backing the custom image.
- ManagedSnapshot stringId 
- The Managed Snapshot Id backing the custom image.
- Name string
- The name of the custom image.
- map[string]string
- The tags of the resource.
- Vhd
CustomImage Properties Custom Args 
- The VHD from which the image is to be created.
- Vm
CustomImage Properties From Vm Args 
- The virtual machine from which the image is to be created.
- labName String
- The name of the lab.
- resourceGroup StringName 
- The name of the resource group.
- String
- The author of the custom image.
- customImage CustomPlan Image Properties From Plan 
- Storage information about the plan related to this custom image
- dataDisk List<DataStorage Info Disk Storage Type Info> 
- Storage information about the data disks present in the custom image
- description String
- The description of the custom image.
- Boolean
- Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
- location String
- The location of the resource.
- managedImage StringId 
- The Managed Image Id backing the custom image.
- managedSnapshot StringId 
- The Managed Snapshot Id backing the custom image.
- name String
- The name of the custom image.
- Map<String,String>
- The tags of the resource.
- vhd
CustomImage Properties Custom 
- The VHD from which the image is to be created.
- vm
CustomImage Properties From Vm 
- The virtual machine from which the image is to be created.
- labName string
- The name of the lab.
- resourceGroup stringName 
- The name of the resource group.
- string
- The author of the custom image.
- customImage CustomPlan Image Properties From Plan 
- Storage information about the plan related to this custom image
- dataDisk DataStorage Info Disk Storage Type Info[] 
- Storage information about the data disks present in the custom image
- description string
- The description of the custom image.
- boolean
- Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
- location string
- The location of the resource.
- managedImage stringId 
- The Managed Image Id backing the custom image.
- managedSnapshot stringId 
- The Managed Snapshot Id backing the custom image.
- name string
- The name of the custom image.
- {[key: string]: string}
- The tags of the resource.
- vhd
CustomImage Properties Custom 
- The VHD from which the image is to be created.
- vm
CustomImage Properties From Vm 
- The virtual machine from which the image is to be created.
- lab_name str
- The name of the lab.
- resource_group_ strname 
- The name of the resource group.
- str
- The author of the custom image.
- custom_image_ Customplan Image Properties From Plan Args 
- Storage information about the plan related to this custom image
- data_disk_ Sequence[Datastorage_ info Disk Storage Type Info Args] 
- Storage information about the data disks present in the custom image
- description str
- The description of the custom image.
- 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_ strid 
- The Managed Image Id backing the custom image.
- managed_snapshot_ strid 
- The Managed Snapshot Id backing the custom image.
- name str
- The name of the custom image.
- Mapping[str, str]
- The tags of the resource.
- vhd
CustomImage Properties Custom Args 
- The VHD from which the image is to be created.
- vm
CustomImage Properties From Vm Args 
- The virtual machine from which the image is to be created.
- labName String
- The name of the lab.
- resourceGroup StringName 
- The name of the resource group.
- String
- The author of the custom image.
- customImage Property MapPlan 
- Storage information about the plan related to this custom image
- dataDisk List<Property Map>Storage Info 
- Storage information about the data disks present in the custom image
- description String
- The description of the custom image.
- Boolean
- Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment
- location String
- The location of the resource.
- managedImage StringId 
- The Managed Image Id backing the custom image.
- managedSnapshot StringId 
- The Managed Snapshot Id backing the custom image.
- name String
- The name of the custom image.
- 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
- CustomImage Os Type Windows 
- Windows
- CustomImage Os Type Linux 
- Linux
- CustomImage Os Type None 
- 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.Azure Native. Dev Test Lab. Custom Image Os Type 
- 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 | CustomImage Os Type 
- 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 | CustomImage Os Type 
- 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 | CustomImage Os Type 
- 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 | CustomImage Os Type 
- 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          
- 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.
CustomImagePropertiesFromPlan, CustomImagePropertiesFromPlanArgs          
CustomImagePropertiesFromPlanResponse, CustomImagePropertiesFromPlanResponseArgs            
CustomImagePropertiesFromVm, CustomImagePropertiesFromVmArgs          
- LinuxOs Pulumi.Info Azure Native. Dev Test Lab. Inputs. Linux Os Info 
- The Linux OS information of the VM.
- SourceVm stringId 
- The source vm identifier.
- WindowsOs Pulumi.Info Azure Native. Dev Test Lab. Inputs. Windows Os Info 
- The Windows OS information of the VM.
- LinuxOs LinuxInfo Os Info 
- The Linux OS information of the VM.
- SourceVm stringId 
- The source vm identifier.
- WindowsOs WindowsInfo Os Info 
- The Windows OS information of the VM.
- linuxOs LinuxInfo Os Info 
- The Linux OS information of the VM.
- sourceVm StringId 
- The source vm identifier.
- windowsOs WindowsInfo Os Info 
- The Windows OS information of the VM.
- linuxOs LinuxInfo Os Info 
- The Linux OS information of the VM.
- sourceVm stringId 
- The source vm identifier.
- windowsOs WindowsInfo Os Info 
- The Windows OS information of the VM.
- linux_os_ Linuxinfo Os Info 
- The Linux OS information of the VM.
- source_vm_ strid 
- The source vm identifier.
- windows_os_ Windowsinfo Os Info 
- The Windows OS information of the VM.
- linuxOs Property MapInfo 
- The Linux OS information of the VM.
- sourceVm StringId 
- The source vm identifier.
- windowsOs Property MapInfo 
- The Windows OS information of the VM.
CustomImagePropertiesFromVmResponse, CustomImagePropertiesFromVmResponseArgs            
- LinuxOs Pulumi.Info Azure Native. Dev Test Lab. Inputs. Linux Os Info Response 
- The Linux OS information of the VM.
- SourceVm stringId 
- The source vm identifier.
- WindowsOs Pulumi.Info Azure Native. Dev Test Lab. Inputs. Windows Os Info Response 
- The Windows OS information of the VM.
- LinuxOs LinuxInfo Os Info Response 
- The Linux OS information of the VM.
- SourceVm stringId 
- The source vm identifier.
- WindowsOs WindowsInfo Os Info Response 
- The Windows OS information of the VM.
- linuxOs LinuxInfo Os Info Response 
- The Linux OS information of the VM.
- sourceVm StringId 
- The source vm identifier.
- windowsOs WindowsInfo Os Info Response 
- The Windows OS information of the VM.
- linuxOs LinuxInfo Os Info Response 
- The Linux OS information of the VM.
- sourceVm stringId 
- The source vm identifier.
- windowsOs WindowsInfo Os Info Response 
- The Windows OS information of the VM.
- linux_os_ Linuxinfo Os Info Response 
- The Linux OS information of the VM.
- source_vm_ strid 
- The source vm identifier.
- windows_os_ Windowsinfo Os Info Response 
- The Windows OS information of the VM.
- linuxOs Property MapInfo 
- The Linux OS information of the VM.
- sourceVm StringId 
- The source vm identifier.
- windowsOs Property MapInfo 
- The Windows OS information of the VM.
DataDiskStorageTypeInfo, DataDiskStorageTypeInfoArgs          
- Lun string
- Disk Lun
- StorageType string | Pulumi.Azure Native. Dev Test Lab. Storage Type 
- 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      
- LinuxOs string | Pulumi.State Azure Native. Dev Test Lab. Linux Os State 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- LinuxOs string | LinuxState Os State 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linuxOs String | LinuxState Os State 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linuxOs string | LinuxState Os State 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linux_os_ str | Linuxstate Os State 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linuxOs String | "NonState Deprovisioned" | "Deprovision Requested" | "Deprovision Applied" 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
LinuxOsInfoResponse, LinuxOsInfoResponseArgs        
- LinuxOs stringState 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- LinuxOs stringState 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linuxOs StringState 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linuxOs stringState 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linux_os_ strstate 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linuxOs StringState 
- The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
LinuxOsState, LinuxOsStateArgs      
- NonDeprovisioned 
- NonDeprovisioned
- DeprovisionRequested 
- DeprovisionRequested
- DeprovisionApplied 
- DeprovisionApplied
- LinuxOs State Non Deprovisioned 
- NonDeprovisioned
- LinuxOs State Deprovision Requested 
- DeprovisionRequested
- LinuxOs State Deprovision Applied 
- 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
- StorageType Standard 
- Standard
- StorageType Premium 
- Premium
- StorageType Standard SSD 
- 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      
- WindowsOs string | Pulumi.State Azure Native. Dev Test Lab. Windows Os State 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- WindowsOs string | WindowsState Os State 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windowsOs String | WindowsState Os State 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windowsOs string | WindowsState Os State 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windows_os_ str | Windowsstate Os State 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windowsOs String | "NonState Sysprepped" | "Sysprep Requested" | "Sysprep Applied" 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
WindowsOsInfoResponse, WindowsOsInfoResponseArgs        
- WindowsOs stringState 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- WindowsOs stringState 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windowsOs StringState 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windowsOs stringState 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windows_os_ strstate 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windowsOs StringState 
- The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
WindowsOsState, WindowsOsStateArgs      
- NonSysprepped 
- NonSysprepped
- SysprepRequested 
- SysprepRequested
- SysprepApplied 
- SysprepApplied
- WindowsOs State Non Sysprepped 
- NonSysprepped
- WindowsOs State Sysprep Requested 
- SysprepRequested
- WindowsOs State Sysprep Applied 
- 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