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.
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:
- Lab
Name string - The name of the lab.
- Resource
Group stringName - The name of the resource group.
- string
- The author of the custom image.
- Custom
Image Pulumi.Plan Azure Native. Dev Test Lab. Inputs. Custom Image Properties From Plan - Storage information about the plan related to this custom image
- Data
Disk 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.
- Managed
Image stringId - The Managed Image Id backing the custom image.
- Managed
Snapshot 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.
- Lab
Name string - The name of the lab.
- Resource
Group stringName - The name of the resource group.
- string
- 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 []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.
- Managed
Image stringId - The Managed Image Id backing the custom image.
- Managed
Snapshot 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
Custom
Image Properties Custom Args - The VHD from which the image is to be created.
- Vm
Custom
Image Properties From Vm Args - The virtual machine from which the image is to be created.
- lab
Name String - The name of the lab.
- resource
Group StringName - The name of the resource group.
- String
- The author of the custom image.
- custom
Image CustomPlan Image Properties From Plan - Storage information about the plan related to this custom image
- data
Disk 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.
- managed
Image StringId - The Managed Image Id backing the custom image.
- managed
Snapshot 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
Custom
Image Properties Custom - The VHD from which the image is to be created.
- vm
Custom
Image Properties From Vm - The virtual machine from which the image is to be created.
- lab
Name string - The name of the lab.
- resource
Group stringName - The name of the resource group.
- string
- The author of the custom image.
- custom
Image CustomPlan Image Properties From Plan - Storage information about the plan related to this custom image
- data
Disk 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.
- managed
Image stringId - The Managed Image Id backing the custom image.
- managed
Snapshot 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
Custom
Image Properties Custom - The VHD from which the image is to be created.
- vm
Custom
Image 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
Custom
Image Properties Custom Args - The VHD from which the image is to be created.
- vm
Custom
Image Properties From Vm Args - The virtual machine from which the image is to be created.
- lab
Name String - The name of the lab.
- resource
Group StringName - The name of the resource group.
- String
- The author of the custom image.
- custom
Image Property MapPlan - Storage information about the plan related to this custom image
- data
Disk 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.
- managed
Image StringId - The Managed Image Id backing the custom image.
- managed
Snapshot 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:
- Creation
Date string - The creation date of the custom image.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Creation
Date string - The creation date of the custom image.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- creation
Date String - The creation date of the custom image.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- creation
Date string - The creation date of the custom image.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning status of the resource.
- type string
- The type of the resource.
- unique
Identifier 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).
- creation
Date String - The creation date of the custom image.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
Supporting Types
CustomImageOsType, CustomImageOsTypeArgs
- Windows
- Windows
- Linux
- Linux
- None
- None
- Custom
Image Os Type Windows - Windows
- Custom
Image Os Type Linux - Linux
- Custom
Image 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
- Os
Type string | Pulumi.Azure Native. Dev Test Lab. Custom Image Os Type - The OS type of the custom image (i.e. Windows, Linux)
- Image
Name string - The image name.
- Sys
Prep bool - Indicates whether sysprep has been run on the VHD.
- Os
Type string | CustomImage Os Type - The OS type of the custom image (i.e. Windows, Linux)
- Image
Name string - The image name.
- Sys
Prep bool - Indicates whether sysprep has been run on the VHD.
- os
Type String | CustomImage Os Type - The OS type of the custom image (i.e. Windows, Linux)
- image
Name String - The image name.
- sys
Prep Boolean - Indicates whether sysprep has been run on the VHD.
- os
Type string | CustomImage Os Type - The OS type of the custom image (i.e. Windows, Linux)
- image
Name string - The image name.
- sys
Prep 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.
- os
Type String | "Windows" | "Linux" | "None" - The OS type of the custom image (i.e. Windows, Linux)
- image
Name String - The image name.
- sys
Prep 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
- Linux
Os Pulumi.Info Azure Native. Dev Test Lab. Inputs. Linux Os Info - The Linux OS information of the VM.
- Source
Vm stringId - The source vm identifier.
- Windows
Os Pulumi.Info Azure Native. Dev Test Lab. Inputs. Windows Os Info - The Windows OS information of the VM.
- Linux
Os LinuxInfo Os Info - The Linux OS information of the VM.
- Source
Vm stringId - The source vm identifier.
- Windows
Os WindowsInfo Os Info - The Windows OS information of the VM.
- linux
Os LinuxInfo Os Info - The Linux OS information of the VM.
- source
Vm StringId - The source vm identifier.
- windows
Os WindowsInfo Os Info - The Windows OS information of the VM.
- linux
Os LinuxInfo Os Info - The Linux OS information of the VM.
- source
Vm stringId - The source vm identifier.
- windows
Os 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.
- linux
Os Property MapInfo - The Linux OS information of the VM.
- source
Vm StringId - The source vm identifier.
- windows
Os Property MapInfo - The Windows OS information of the VM.
CustomImagePropertiesFromVmResponse, CustomImagePropertiesFromVmResponseArgs
- Linux
Os Pulumi.Info Azure Native. Dev Test Lab. Inputs. Linux Os Info Response - The Linux OS information of the VM.
- Source
Vm stringId - The source vm identifier.
- Windows
Os Pulumi.Info Azure Native. Dev Test Lab. Inputs. Windows 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 stringId - The source vm identifier.
- Windows
Os 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 StringId - The source vm identifier.
- windows
Os 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 stringId - The source vm identifier.
- windows
Os 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.
- linux
Os Property MapInfo - The Linux OS information of the VM.
- source
Vm StringId - The source vm identifier.
- windows
Os Property MapInfo - The Windows OS information of the VM.
DataDiskStorageTypeInfo, DataDiskStorageTypeInfoArgs
- Lun string
- Disk Lun
- Storage
Type string | Pulumi.Azure Native. Dev Test Lab. Storage Type - Disk Storage Type
- Lun string
- Disk Lun
- Storage
Type string | StorageType - Disk Storage Type
- lun String
- Disk Lun
- storage
Type String | StorageType - Disk Storage Type
- lun string
- Disk Lun
- storage
Type string | StorageType - Disk Storage Type
- lun str
- Disk Lun
- storage_
type str | StorageType - Disk Storage Type
- lun String
- Disk Lun
- storage
Type String | "Standard" | "Premium" | "StandardSSD" - Disk Storage Type
DataDiskStorageTypeInfoResponse, DataDiskStorageTypeInfoResponseArgs
- Lun string
- Disk Lun
- Storage
Type string - Disk Storage Type
- Lun string
- Disk Lun
- Storage
Type string - Disk Storage Type
- lun String
- Disk Lun
- storage
Type String - Disk Storage Type
- lun string
- Disk Lun
- storage
Type string - Disk Storage Type
- lun str
- Disk Lun
- storage_
type str - Disk Storage Type
- lun String
- Disk Lun
- storage
Type String - Disk Storage Type
LinuxOsInfo, LinuxOsInfoArgs
- Linux
Os string | Pulumi.State Azure Native. Dev Test Lab. Linux Os State - The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- Linux
Os string | LinuxState Os State - The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linux
Os String | LinuxState Os State - The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linux
Os 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).
- linux
Os String | "NonState Deprovisioned" | "Deprovision Requested" | "Deprovision Applied" - The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
LinuxOsInfoResponse, LinuxOsInfoResponseArgs
- Linux
Os stringState - The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- Linux
Os stringState - The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linux
Os StringState - The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
- linux
Os 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).
- linux
Os StringState - The state of the Linux OS (i.e. NonDeprovisioned, DeprovisionRequested, DeprovisionApplied).
LinuxOsState, LinuxOsStateArgs
- Non
Deprovisioned - NonDeprovisioned
- Deprovision
Requested - DeprovisionRequested
- Deprovision
Applied - DeprovisionApplied
- Linux
Os State Non Deprovisioned - NonDeprovisioned
- Linux
Os State Deprovision Requested - DeprovisionRequested
- Linux
Os State Deprovision Applied - DeprovisionApplied
- Non
Deprovisioned - NonDeprovisioned
- Deprovision
Requested - DeprovisionRequested
- Deprovision
Applied - DeprovisionApplied
- Non
Deprovisioned - NonDeprovisioned
- Deprovision
Requested - DeprovisionRequested
- Deprovision
Applied - DeprovisionApplied
- NON_DEPROVISIONED
- NonDeprovisioned
- DEPROVISION_REQUESTED
- DeprovisionRequested
- DEPROVISION_APPLIED
- DeprovisionApplied
- "Non
Deprovisioned" - NonDeprovisioned
- "Deprovision
Requested" - DeprovisionRequested
- "Deprovision
Applied" - DeprovisionApplied
StorageType, StorageTypeArgs
- Standard
- Standard
- Premium
- Premium
- Standard
SSD - StandardSSD
- Storage
Type Standard - Standard
- Storage
Type Premium - Premium
- Storage
Type Standard SSD - StandardSSD
- Standard
- Standard
- Premium
- Premium
- Standard
SSD - StandardSSD
- Standard
- Standard
- Premium
- Premium
- Standard
SSD - StandardSSD
- STANDARD
- Standard
- PREMIUM
- Premium
- STANDARD_SSD
- StandardSSD
- "Standard"
- Standard
- "Premium"
- Premium
- "Standard
SSD" - StandardSSD
WindowsOsInfo, WindowsOsInfoArgs
- Windows
Os string | Pulumi.State Azure Native. Dev Test Lab. Windows Os State - The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- Windows
Os string | WindowsState Os State - The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windows
Os String | WindowsState Os State - The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windows
Os 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).
- windows
Os String | "NonState Sysprepped" | "Sysprep Requested" | "Sysprep Applied" - The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
WindowsOsInfoResponse, WindowsOsInfoResponseArgs
- Windows
Os stringState - The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- Windows
Os stringState - The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windows
Os StringState - The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
- windows
Os 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).
- windows
Os StringState - The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).
WindowsOsState, WindowsOsStateArgs
- Non
Sysprepped - NonSysprepped
- Sysprep
Requested - SysprepRequested
- Sysprep
Applied - SysprepApplied
- Windows
Os State Non Sysprepped - NonSysprepped
- Windows
Os State Sysprep Requested - SysprepRequested
- Windows
Os State Sysprep Applied - SysprepApplied
- Non
Sysprepped - NonSysprepped
- Sysprep
Requested - SysprepRequested
- Sysprep
Applied - SysprepApplied
- Non
Sysprepped - NonSysprepped
- Sysprep
Requested - SysprepRequested
- Sysprep
Applied - SysprepApplied
- NON_SYSPREPPED
- NonSysprepped
- SYSPREP_REQUESTED
- SysprepRequested
- SYSPREP_APPLIED
- SysprepApplied
- "Non
Sysprepped" - NonSysprepped
- "Sysprep
Requested" - SysprepRequested
- "Sysprep
Applied" - 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