Module devtest
This page documents the language specification for the azure package. If you're looking for help working with the inputs, outputs, or functions of azure resources in a Pulumi program, please see the resource documentation for examples and API reference.
Resources
Functions
Others
- GetLabArgs
- GetLabResult
- GetVirtualNetworkArgs
- GetVirtualNetworkResult
- GlobalVMShutdownScheduleArgs
- GlobalVMShutdownScheduleState
- LabArgs
- LabState
- LinuxVirtualMachineArgs
- LinuxVirtualMachineState
- PolicyArgs
- PolicyState
- ScheduleArgs
- ScheduleState
- VirtualNetworkArgs
- VirtualNetworkState
- WindowsVirtualMachineArgs
- WindowsVirtualMachineState
Resources
Resource GlobalVMShutdownSchedule
class GlobalVMShutdownSchedule extends CustomResourceManages automated shutdown schedules for Azure VMs that are not within an Azure DevTest Lab. While this is part of the DevTest Labs service in Azure,
this resource applies only to standard VMs, not DevTest Lab VMs. To manage automated shutdown schedules for DevTest Lab VMs, reference the
azure.devtest.Schedule resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "eastus"});
const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
addressSpaces: ["10.0.0.0/16"],
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
});
const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
resourceGroupName: exampleResourceGroup.name,
virtualNetworkName: exampleVirtualNetwork.name,
addressPrefix: "10.0.2.0/24",
});
const exampleNetworkInterface = new azure.network.NetworkInterface("exampleNetworkInterface", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
ip_configuration: [{
name: "testconfiguration1",
subnetId: exampleSubnet.id,
privateIpAddressAllocation: "Dynamic",
}],
});
const exampleLinuxVirtualMachine = new azure.compute.LinuxVirtualMachine("exampleLinuxVirtualMachine", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
networkInterfaceIds: [exampleNetworkInterface.id],
size: "Standard_B2s",
source_image_reference: {
publisher: "Canonical",
offer: "UbuntuServer",
sku: "16.04-LTS",
version: "latest",
},
os_disk: {
name: `myosdisk-%d`,
caching: "ReadWrite",
managedDiskType: "Standard_LRS",
},
adminUsername: "testadmin",
adminPassword: "Password1234!",
disablePasswordAuthentication: false,
});
const exampleGlobalVMShutdownSchedule = new azure.devtest.GlobalVMShutdownSchedule("exampleGlobalVMShutdownSchedule", {
virtualMachineId: azurerm_virtual_machine.example.id,
location: exampleResourceGroup.location,
enabled: true,
dailyRecurrenceTime: "1100",
timeZone: "Pacific Standard Time",
notification_settings: {
enabled: true,
timeInMinutes: "60",
webhookUrl: "https://sample-webhook-url.example.com",
},
});constructor
new GlobalVMShutdownSchedule(name: string, args: GlobalVMShutdownScheduleArgs, opts?: pulumi.CustomResourceOptions)Create a GlobalVMShutdownSchedule resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GlobalVMShutdownScheduleState, opts?: pulumi.CustomResourceOptions): GlobalVMShutdownScheduleGet an existing GlobalVMShutdownSchedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is GlobalVMShutdownScheduleReturns true if the given object is an instance of GlobalVMShutdownSchedule. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property dailyRecurrenceTime
public dailyRecurrenceTime: pulumi.Output<string>;The time each day when the schedule takes effect. Must match the format HHmm where HH is 00-23 and mm is 00-59 (e.g. 0930, 2300, etc.)
property enabled
public enabled: pulumi.Output<boolean | undefined>;Whether to enable the schedule. Possible values are true and false. Defaults to true.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property location
public location: pulumi.Output<string>;The location where the schedule is created. Changing this forces a new resource to be created.
property notificationSettings
public notificationSettings: pulumi.Output<GlobalVMShutdownScheduleNotificationSettings>;property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property timezone
public timezone: pulumi.Output<string>;The time zone ID (e.g. Pacific Standard time). Refer to this guide for a full list of accepted time zone names.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property virtualMachineId
public virtualMachineId: pulumi.Output<string>;The resource ID of the target ARM-based Virtual Machine. Changing this forces a new resource to be created.
Resource Lab
class Lab extends CustomResourceManages a Dev Test Lab.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US"});
const exampleLab = new azure.devtest.Lab("exampleLab", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
tags: {
Sydney: "Australia",
},
});constructor
new Lab(name: string, args: LabArgs, opts?: pulumi.CustomResourceOptions)Create a Lab resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LabState, opts?: pulumi.CustomResourceOptions): LabGet an existing Lab resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is LabReturns true if the given object is an instance of Lab. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property artifactsStorageAccountId
public artifactsStorageAccountId: pulumi.Output<string>;The ID of the Storage Account used for Artifact Storage.
property defaultPremiumStorageAccountId
public defaultPremiumStorageAccountId: pulumi.Output<string>;The ID of the Default Premium Storage Account for this Dev Test Lab.
property defaultStorageAccountId
public defaultStorageAccountId: pulumi.Output<string>;The ID of the Default Storage Account for this Dev Test Lab.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property keyVaultId
public keyVaultId: pulumi.Output<string>;The ID of the Key used for this Dev Test Lab.
property location
public location: pulumi.Output<string>;Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created.
property name
public name: pulumi.Output<string>;Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created.
property premiumDataDiskStorageAccountId
public premiumDataDiskStorageAccountId: pulumi.Output<string>;The ID of the Storage Account used for Storage of Premium Data Disk.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group under which the Dev Test Lab resource has to be created. Changing this forces a new resource to be created.
property storageType
public storageType: pulumi.Output<string | undefined>;The type of storage used by the Dev Test Lab. Possible values are Standard and Premium. Defaults to Premium. Changing this forces a new resource to be created.
property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property uniqueIdentifier
public uniqueIdentifier: pulumi.Output<string>;The unique immutable identifier of the Dev Test Lab.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource LinuxVirtualMachine
class LinuxVirtualMachine extends CustomResourceManages a Linux Virtual Machine within a Dev Test Lab.
constructor
new LinuxVirtualMachine(name: string, args: LinuxVirtualMachineArgs, opts?: pulumi.CustomResourceOptions)Create a LinuxVirtualMachine resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LinuxVirtualMachineState, opts?: pulumi.CustomResourceOptions): LinuxVirtualMachineGet an existing LinuxVirtualMachine resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is LinuxVirtualMachineReturns true if the given object is an instance of LinuxVirtualMachine. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property allowClaim
public allowClaim: pulumi.Output<boolean | undefined>;Can this Virtual Machine be claimed by users? Defaults to true.
property disallowPublicIpAddress
public disallowPublicIpAddress: pulumi.Output<boolean | undefined>;Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
property fqdn
public fqdn: pulumi.Output<string>;The FQDN of the Virtual Machine.
property galleryImageReference
public galleryImageReference: pulumi.Output<LinuxVirtualMachineGalleryImageReference>;A galleryImageReference block as defined below.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property inboundNatRules
public inboundNatRules: pulumi.Output<LinuxVirtualMachineInboundNatRule[] | undefined>;One or more inboundNatRule blocks as defined below. Changing this forces a new resource to be created.
property labName
public labName: pulumi.Output<string>;Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created.
property labSubnetName
public labSubnetName: pulumi.Output<string>;The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created.
property labVirtualNetworkId
public labVirtualNetworkId: pulumi.Output<string>;The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
property location
public location: pulumi.Output<string>;Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
property name
public name: pulumi.Output<string>;Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
property notes
public notes: pulumi.Output<string | undefined>;Any notes about the Virtual Machine.
property password
public password: pulumi.Output<string | undefined>;The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property size
public size: pulumi.Output<string>;The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.
property sshKey
public sshKey: pulumi.Output<string | undefined>;The SSH Key associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property storageType
public storageType: pulumi.Output<string>;The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.
property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property uniqueIdentifier
public uniqueIdentifier: pulumi.Output<string>;The unique immutable identifier of the Virtual Machine.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property username
public username: pulumi.Output<string>;The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
Resource Policy
class Policy extends CustomResourceManages a Policy within a Dev Test Policy Set.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US"});
const exampleLab = new azure.devtest.Lab("exampleLab", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
tags: {
Sydney: "Australia",
},
});
const examplePolicy = new azure.devtest.Policy("examplePolicy", {
policySetName: "default",
labName: exampleLab.name,
resourceGroupName: exampleResourceGroup.name,
factData: "",
threshold: "999",
evaluatorType: "MaxValuePolicy",
tags: {
Acceptance: "Test",
},
});constructor
new Policy(name: string, args: PolicyArgs, opts?: pulumi.CustomResourceOptions)Create a Policy resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyState, opts?: pulumi.CustomResourceOptions): PolicyGet an existing Policy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is PolicyReturns true if the given object is an instance of Policy. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property description
public description: pulumi.Output<string | undefined>;A description for the Policy.
property evaluatorType
public evaluatorType: pulumi.Output<string>;The Evaluation Type used for this Policy. Possible values include: ‘AllowedValuesPolicy’, ‘MaxValuePolicy’. Changing this forces a new resource to be created.
property factData
public factData: pulumi.Output<string | undefined>;The Fact Data for this Policy.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property labName
public labName: pulumi.Output<string>;Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created.
property name
public name: pulumi.Output<string>;Specifies the name of the Dev Test Policy. Possible values are GalleryImage, LabPremiumVmCount, LabTargetCost, LabVmCount, LabVmSize, UserOwnedLabPremiumVmCount, UserOwnedLabVmCount and UserOwnedLabVmCountInSubnet. Changing this forces a new resource to be created.
property policySetName
public policySetName: pulumi.Output<string>;Specifies the name of the Policy Set within the Dev Test Lab where this policy should be created. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property threshold
public threshold: pulumi.Output<string>;The Threshold for this Policy.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource Schedule
class Schedule extends CustomResourceManages automated startup and shutdown schedules for Azure Dev Test Lab.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US"});
const exampleLab = new azure.devtest.Lab("exampleLab", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
});
const exampleSchedule = new azure.devtest.Schedule("exampleSchedule", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
labName: exampleLab.name,
weekly_recurrence: {
time: "1100",
weekDays: [
"Monday",
"Tuesday",
],
},
timeZoneId: "Pacific Standard Time",
taskType: "LabVmsStartupTask",
notification_settings: {},
tags: {
environment: "Production",
},
});constructor
new Schedule(name: string, args: ScheduleArgs, opts?: pulumi.CustomResourceOptions)Create a Schedule resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScheduleState, opts?: pulumi.CustomResourceOptions): ScheduleGet an existing Schedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ScheduleReturns true if the given object is an instance of Schedule. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property dailyRecurrence
public dailyRecurrence: pulumi.Output<ScheduleDailyRecurrence | undefined>;property hourlyRecurrence
public hourlyRecurrence: pulumi.Output<ScheduleHourlyRecurrence | undefined>;property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property labName
public labName: pulumi.Output<string>;The name of the dev test lab. Changing this forces a new resource to be created.
property location
public location: pulumi.Output<string>;The location where the schedule is created. Changing this forces a new resource to be created.
property name
public name: pulumi.Output<string>;The name of the dev test lab schedule. Valid value for name depends on the taskType. For instance for taskType LabVmsStartupTask the name needs to be LabVmAutoStart.
property notificationSettings
public notificationSettings: pulumi.Output<ScheduleNotificationSettings>;property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
property status
public status: pulumi.Output<string | undefined>;The status of this schedule. Possible values are Enabled and Disabled. Defaults to Disabled.
property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property taskType
public taskType: pulumi.Output<string>;The task type of the schedule. Possible values include LabVmsShutdownTask and LabVmAutoStart.
property timeZoneId
public timeZoneId: pulumi.Output<string>;The time zone ID (e.g. Pacific Standard time).
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property weeklyRecurrence
public weeklyRecurrence: pulumi.Output<ScheduleWeeklyRecurrence | undefined>;Resource VirtualNetwork
class VirtualNetwork extends CustomResourceManages a Virtual Network within a DevTest Lab.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US"});
const exampleLab = new azure.devtest.Lab("exampleLab", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
tags: {
Sydney: "Australia",
},
});
const exampleVirtualNetwork = new azure.devtest.VirtualNetwork("exampleVirtualNetwork", {
labName: exampleLab.name,
resourceGroupName: exampleResourceGroup.name,
subnet: {
usePublicIpAddress: "Allow",
useInVirtualMachineCreation: "Allow",
},
});constructor
new VirtualNetwork(name: string, args: VirtualNetworkArgs, opts?: pulumi.CustomResourceOptions)Create a VirtualNetwork resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualNetworkState, opts?: pulumi.CustomResourceOptions): VirtualNetworkGet an existing VirtualNetwork resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is VirtualNetworkReturns true if the given object is an instance of VirtualNetwork. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property description
public description: pulumi.Output<string | undefined>;A description for the Virtual Network.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property labName
public labName: pulumi.Output<string>;Specifies the name of the Dev Test Lab in which the Virtual Network should be created. Changing this forces a new resource to be created.
property name
public name: pulumi.Output<string>;Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property subnet
public subnet: pulumi.Output<VirtualNetworkSubnet>;A subnet block as defined below.
property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property uniqueIdentifier
public uniqueIdentifier: pulumi.Output<string>;The unique immutable identifier of the Dev Test Virtual Network.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource WindowsVirtualMachine
class WindowsVirtualMachine extends CustomResourceManages a Windows Virtual Machine within a Dev Test Lab.
constructor
new WindowsVirtualMachine(name: string, args: WindowsVirtualMachineArgs, opts?: pulumi.CustomResourceOptions)Create a WindowsVirtualMachine resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WindowsVirtualMachineState, opts?: pulumi.CustomResourceOptions): WindowsVirtualMachineGet an existing WindowsVirtualMachine resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is WindowsVirtualMachineReturns true if the given object is an instance of WindowsVirtualMachine. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property allowClaim
public allowClaim: pulumi.Output<boolean | undefined>;Can this Virtual Machine be claimed by users? Defaults to true.
property disallowPublicIpAddress
public disallowPublicIpAddress: pulumi.Output<boolean | undefined>;Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
property fqdn
public fqdn: pulumi.Output<string>;The FQDN of the Virtual Machine.
property galleryImageReference
public galleryImageReference: pulumi.Output<WindowsVirtualMachineGalleryImageReference>;A galleryImageReference block as defined below.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property inboundNatRules
public inboundNatRules: pulumi.Output<WindowsVirtualMachineInboundNatRule[] | undefined>;One or more inboundNatRule blocks as defined below. Changing this forces a new resource to be created.
property labName
public labName: pulumi.Output<string>;Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created.
property labSubnetName
public labSubnetName: pulumi.Output<string>;The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created.
property labVirtualNetworkId
public labVirtualNetworkId: pulumi.Output<string>;The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
property location
public location: pulumi.Output<string>;Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
property name
public name: pulumi.Output<string>;Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
property notes
public notes: pulumi.Output<string | undefined>;Any notes about the Virtual Machine.
property password
public password: pulumi.Output<string>;The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property size
public size: pulumi.Output<string>;The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.
property storageType
public storageType: pulumi.Output<string>;The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.
property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property uniqueIdentifier
public uniqueIdentifier: pulumi.Output<string>;The unique immutable identifier of the Virtual Machine.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property username
public username: pulumi.Output<string>;The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
Functions
Function getLab
getLab(args: GetLabArgs, opts?: pulumi.InvokeOptions): Promise<GetLabResult>Use this data source to access information about an existing Dev Test Lab.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.devtest.getLab({
name: "example-lab",
resourceGroupName: "example-resources",
});
export const uniqueIdentifier = example.then(example => example.uniqueIdentifier);Function getVirtualNetwork
getVirtualNetwork(args: GetVirtualNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualNetworkResult>Use this data source to access information about an existing Dev Test Lab Virtual Network.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.devtest.getVirtualNetwork({
name: "example-network",
labName: "examplelab",
resourceGroupName: "example-resource",
});
export const labSubnetName = example.then(example => example.allowedSubnets[0].labSubnetName);Others
interface GetLabArgs
interface GetLabArgsA collection of arguments for invoking getLab.
property name
name: string;The name of the Dev Test Lab.
property resourceGroupName
resourceGroupName: string;The Name of the Resource Group where the Dev Test Lab exists.
interface GetLabResult
interface GetLabResultA collection of values returned by getLab.
property artifactsStorageAccountId
artifactsStorageAccountId: string;The ID of the Storage Account used for Artifact Storage.
property defaultPremiumStorageAccountId
defaultPremiumStorageAccountId: string;The ID of the Default Premium Storage Account for this Dev Test Lab.
property defaultStorageAccountId
defaultStorageAccountId: string;The ID of the Default Storage Account for this Dev Test Lab.
property id
id: string;The provider-assigned unique ID for this managed resource.
property keyVaultId
keyVaultId: string;The ID of the Key used for this Dev Test Lab.
property location
location: string;The Azure location where the Dev Test Lab exists.
property name
name: string;property premiumDataDiskStorageAccountId
premiumDataDiskStorageAccountId: string;The ID of the Storage Account used for Storage of Premium Data Disk.
property resourceGroupName
resourceGroupName: string;property storageType
storageType: string;The type of storage used by the Dev Test Lab.
property tags
tags: {[key: string]: string};A mapping of tags to assign to the resource.
property uniqueIdentifier
uniqueIdentifier: string;The unique immutable identifier of the Dev Test Lab.
interface GetVirtualNetworkArgs
interface GetVirtualNetworkArgsA collection of arguments for invoking getVirtualNetwork.
property labName
labName: string;Specifies the name of the Dev Test Lab.
property name
name: string;Specifies the name of the Virtual Network.
property resourceGroupName
resourceGroupName: string;Specifies the name of the resource group that contains the Virtual Network.
interface GetVirtualNetworkResult
interface GetVirtualNetworkResultA collection of values returned by getVirtualNetwork.
property allowedSubnets
allowedSubnets: GetVirtualNetworkAllowedSubnet[];The list of subnets enabled for the virtual network as defined below.
property id
id: string;The provider-assigned unique ID for this managed resource.
property labName
labName: string;property name
name: string;property resourceGroupName
resourceGroupName: string;property subnetOverrides
subnetOverrides: GetVirtualNetworkSubnetOverride[];The list of permission overrides for the subnets as defined below.
property uniqueIdentifier
uniqueIdentifier: string;The unique immutable identifier of the virtual network.
interface GlobalVMShutdownScheduleArgs
interface GlobalVMShutdownScheduleArgsThe set of arguments for constructing a GlobalVMShutdownSchedule resource.
property dailyRecurrenceTime
dailyRecurrenceTime: pulumi.Input<string>;The time each day when the schedule takes effect. Must match the format HHmm where HH is 00-23 and mm is 00-59 (e.g. 0930, 2300, etc.)
property enabled
enabled?: pulumi.Input<boolean>;Whether to enable the schedule. Possible values are true and false. Defaults to true.
property location
location?: pulumi.Input<string>;The location where the schedule is created. Changing this forces a new resource to be created.
property notificationSettings
notificationSettings: pulumi.Input<GlobalVMShutdownScheduleNotificationSettings>;property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property timezone
timezone: pulumi.Input<string>;The time zone ID (e.g. Pacific Standard time). Refer to this guide for a full list of accepted time zone names.
property virtualMachineId
virtualMachineId: pulumi.Input<string>;The resource ID of the target ARM-based Virtual Machine. Changing this forces a new resource to be created.
interface GlobalVMShutdownScheduleState
interface GlobalVMShutdownScheduleStateInput properties used for looking up and filtering GlobalVMShutdownSchedule resources.
property dailyRecurrenceTime
dailyRecurrenceTime?: pulumi.Input<string>;The time each day when the schedule takes effect. Must match the format HHmm where HH is 00-23 and mm is 00-59 (e.g. 0930, 2300, etc.)
property enabled
enabled?: pulumi.Input<boolean>;Whether to enable the schedule. Possible values are true and false. Defaults to true.
property location
location?: pulumi.Input<string>;The location where the schedule is created. Changing this forces a new resource to be created.
property notificationSettings
notificationSettings?: pulumi.Input<GlobalVMShutdownScheduleNotificationSettings>;property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property timezone
timezone?: pulumi.Input<string>;The time zone ID (e.g. Pacific Standard time). Refer to this guide for a full list of accepted time zone names.
property virtualMachineId
virtualMachineId?: pulumi.Input<string>;The resource ID of the target ARM-based Virtual Machine. Changing this forces a new resource to be created.
interface LabArgs
interface LabArgsThe set of arguments for constructing a Lab resource.
property location
location?: pulumi.Input<string>;Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group under which the Dev Test Lab resource has to be created. Changing this forces a new resource to be created.
property storageType
storageType?: pulumi.Input<string>;The type of storage used by the Dev Test Lab. Possible values are Standard and Premium. Defaults to Premium. Changing this forces a new resource to be created.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
interface LabState
interface LabStateInput properties used for looking up and filtering Lab resources.
property artifactsStorageAccountId
artifactsStorageAccountId?: pulumi.Input<string>;The ID of the Storage Account used for Artifact Storage.
property defaultPremiumStorageAccountId
defaultPremiumStorageAccountId?: pulumi.Input<string>;The ID of the Default Premium Storage Account for this Dev Test Lab.
property defaultStorageAccountId
defaultStorageAccountId?: pulumi.Input<string>;The ID of the Default Storage Account for this Dev Test Lab.
property keyVaultId
keyVaultId?: pulumi.Input<string>;The ID of the Key used for this Dev Test Lab.
property location
location?: pulumi.Input<string>;Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created.
property premiumDataDiskStorageAccountId
premiumDataDiskStorageAccountId?: pulumi.Input<string>;The ID of the Storage Account used for Storage of Premium Data Disk.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group under which the Dev Test Lab resource has to be created. Changing this forces a new resource to be created.
property storageType
storageType?: pulumi.Input<string>;The type of storage used by the Dev Test Lab. Possible values are Standard and Premium. Defaults to Premium. Changing this forces a new resource to be created.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property uniqueIdentifier
uniqueIdentifier?: pulumi.Input<string>;The unique immutable identifier of the Dev Test Lab.
interface LinuxVirtualMachineArgs
interface LinuxVirtualMachineArgsThe set of arguments for constructing a LinuxVirtualMachine resource.
property allowClaim
allowClaim?: pulumi.Input<boolean>;Can this Virtual Machine be claimed by users? Defaults to true.
property disallowPublicIpAddress
disallowPublicIpAddress?: pulumi.Input<boolean>;Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
property galleryImageReference
galleryImageReference: pulumi.Input<LinuxVirtualMachineGalleryImageReference>;A galleryImageReference block as defined below.
property inboundNatRules
inboundNatRules?: pulumi.Input<pulumi.Input<LinuxVirtualMachineInboundNatRule>[]>;One or more inboundNatRule blocks as defined below. Changing this forces a new resource to be created.
property labName
labName: pulumi.Input<string>;Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created.
property labSubnetName
labSubnetName: pulumi.Input<string>;The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created.
property labVirtualNetworkId
labVirtualNetworkId: pulumi.Input<string>;The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
property location
location?: pulumi.Input<string>;Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
property notes
notes?: pulumi.Input<string>;Any notes about the Virtual Machine.
property password
password?: pulumi.Input<string>;The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property size
size: pulumi.Input<string>;The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.
property sshKey
sshKey?: pulumi.Input<string>;The SSH Key associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property storageType
storageType: pulumi.Input<string>;The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property username
username: pulumi.Input<string>;The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
interface LinuxVirtualMachineState
interface LinuxVirtualMachineStateInput properties used for looking up and filtering LinuxVirtualMachine resources.
property allowClaim
allowClaim?: pulumi.Input<boolean>;Can this Virtual Machine be claimed by users? Defaults to true.
property disallowPublicIpAddress
disallowPublicIpAddress?: pulumi.Input<boolean>;Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
property fqdn
fqdn?: pulumi.Input<string>;The FQDN of the Virtual Machine.
property galleryImageReference
galleryImageReference?: pulumi.Input<LinuxVirtualMachineGalleryImageReference>;A galleryImageReference block as defined below.
property inboundNatRules
inboundNatRules?: pulumi.Input<pulumi.Input<LinuxVirtualMachineInboundNatRule>[]>;One or more inboundNatRule blocks as defined below. Changing this forces a new resource to be created.
property labName
labName?: pulumi.Input<string>;Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created.
property labSubnetName
labSubnetName?: pulumi.Input<string>;The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created.
property labVirtualNetworkId
labVirtualNetworkId?: pulumi.Input<string>;The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
property location
location?: pulumi.Input<string>;Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
property notes
notes?: pulumi.Input<string>;Any notes about the Virtual Machine.
property password
password?: pulumi.Input<string>;The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property size
size?: pulumi.Input<string>;The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.
property sshKey
sshKey?: pulumi.Input<string>;The SSH Key associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property storageType
storageType?: pulumi.Input<string>;The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property uniqueIdentifier
uniqueIdentifier?: pulumi.Input<string>;The unique immutable identifier of the Virtual Machine.
property username
username?: pulumi.Input<string>;The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
interface PolicyArgs
interface PolicyArgsThe set of arguments for constructing a Policy resource.
property description
description?: pulumi.Input<string>;A description for the Policy.
property evaluatorType
evaluatorType: pulumi.Input<string>;The Evaluation Type used for this Policy. Possible values include: ‘AllowedValuesPolicy’, ‘MaxValuePolicy’. Changing this forces a new resource to be created.
property factData
factData?: pulumi.Input<string>;The Fact Data for this Policy.
property labName
labName: pulumi.Input<string>;Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Policy. Possible values are GalleryImage, LabPremiumVmCount, LabTargetCost, LabVmCount, LabVmSize, UserOwnedLabPremiumVmCount, UserOwnedLabVmCount and UserOwnedLabVmCountInSubnet. Changing this forces a new resource to be created.
property policySetName
policySetName: pulumi.Input<string>;Specifies the name of the Policy Set within the Dev Test Lab where this policy should be created. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property threshold
threshold: pulumi.Input<string>;The Threshold for this Policy.
interface PolicyState
interface PolicyStateInput properties used for looking up and filtering Policy resources.
property description
description?: pulumi.Input<string>;A description for the Policy.
property evaluatorType
evaluatorType?: pulumi.Input<string>;The Evaluation Type used for this Policy. Possible values include: ‘AllowedValuesPolicy’, ‘MaxValuePolicy’. Changing this forces a new resource to be created.
property factData
factData?: pulumi.Input<string>;The Fact Data for this Policy.
property labName
labName?: pulumi.Input<string>;Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Policy. Possible values are GalleryImage, LabPremiumVmCount, LabTargetCost, LabVmCount, LabVmSize, UserOwnedLabPremiumVmCount, UserOwnedLabVmCount and UserOwnedLabVmCountInSubnet. Changing this forces a new resource to be created.
property policySetName
policySetName?: pulumi.Input<string>;Specifies the name of the Policy Set within the Dev Test Lab where this policy should be created. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property threshold
threshold?: pulumi.Input<string>;The Threshold for this Policy.
interface ScheduleArgs
interface ScheduleArgsThe set of arguments for constructing a Schedule resource.
property dailyRecurrence
dailyRecurrence?: pulumi.Input<ScheduleDailyRecurrence>;property hourlyRecurrence
hourlyRecurrence?: pulumi.Input<ScheduleHourlyRecurrence>;property labName
labName: pulumi.Input<string>;The name of the dev test lab. Changing this forces a new resource to be created.
property location
location?: pulumi.Input<string>;The location where the schedule is created. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;The name of the dev test lab schedule. Valid value for name depends on the taskType. For instance for taskType LabVmsStartupTask the name needs to be LabVmAutoStart.
property notificationSettings
notificationSettings: pulumi.Input<ScheduleNotificationSettings>;property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
property status
status?: pulumi.Input<string>;The status of this schedule. Possible values are Enabled and Disabled. Defaults to Disabled.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property taskType
taskType: pulumi.Input<string>;The task type of the schedule. Possible values include LabVmsShutdownTask and LabVmAutoStart.
property timeZoneId
timeZoneId: pulumi.Input<string>;The time zone ID (e.g. Pacific Standard time).
property weeklyRecurrence
weeklyRecurrence?: pulumi.Input<ScheduleWeeklyRecurrence>;interface ScheduleState
interface ScheduleStateInput properties used for looking up and filtering Schedule resources.
property dailyRecurrence
dailyRecurrence?: pulumi.Input<ScheduleDailyRecurrence>;property hourlyRecurrence
hourlyRecurrence?: pulumi.Input<ScheduleHourlyRecurrence>;property labName
labName?: pulumi.Input<string>;The name of the dev test lab. Changing this forces a new resource to be created.
property location
location?: pulumi.Input<string>;The location where the schedule is created. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;The name of the dev test lab schedule. Valid value for name depends on the taskType. For instance for taskType LabVmsStartupTask the name needs to be LabVmAutoStart.
property notificationSettings
notificationSettings?: pulumi.Input<ScheduleNotificationSettings>;property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created.
property status
status?: pulumi.Input<string>;The status of this schedule. Possible values are Enabled and Disabled. Defaults to Disabled.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property taskType
taskType?: pulumi.Input<string>;The task type of the schedule. Possible values include LabVmsShutdownTask and LabVmAutoStart.
property timeZoneId
timeZoneId?: pulumi.Input<string>;The time zone ID (e.g. Pacific Standard time).
property weeklyRecurrence
weeklyRecurrence?: pulumi.Input<ScheduleWeeklyRecurrence>;interface VirtualNetworkArgs
interface VirtualNetworkArgsThe set of arguments for constructing a VirtualNetwork resource.
property description
description?: pulumi.Input<string>;A description for the Virtual Network.
property labName
labName: pulumi.Input<string>;Specifies the name of the Dev Test Lab in which the Virtual Network should be created. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property subnet
subnet?: pulumi.Input<VirtualNetworkSubnet>;A subnet block as defined below.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
interface VirtualNetworkState
interface VirtualNetworkStateInput properties used for looking up and filtering VirtualNetwork resources.
property description
description?: pulumi.Input<string>;A description for the Virtual Network.
property labName
labName?: pulumi.Input<string>;Specifies the name of the Dev Test Lab in which the Virtual Network should be created. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property subnet
subnet?: pulumi.Input<VirtualNetworkSubnet>;A subnet block as defined below.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property uniqueIdentifier
uniqueIdentifier?: pulumi.Input<string>;The unique immutable identifier of the Dev Test Virtual Network.
interface WindowsVirtualMachineArgs
interface WindowsVirtualMachineArgsThe set of arguments for constructing a WindowsVirtualMachine resource.
property allowClaim
allowClaim?: pulumi.Input<boolean>;Can this Virtual Machine be claimed by users? Defaults to true.
property disallowPublicIpAddress
disallowPublicIpAddress?: pulumi.Input<boolean>;Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
property galleryImageReference
galleryImageReference: pulumi.Input<WindowsVirtualMachineGalleryImageReference>;A galleryImageReference block as defined below.
property inboundNatRules
inboundNatRules?: pulumi.Input<pulumi.Input<WindowsVirtualMachineInboundNatRule>[]>;One or more inboundNatRule blocks as defined below. Changing this forces a new resource to be created.
property labName
labName: pulumi.Input<string>;Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created.
property labSubnetName
labSubnetName: pulumi.Input<string>;The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created.
property labVirtualNetworkId
labVirtualNetworkId: pulumi.Input<string>;The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
property location
location?: pulumi.Input<string>;Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
property notes
notes?: pulumi.Input<string>;Any notes about the Virtual Machine.
property password
password: pulumi.Input<string>;The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property size
size: pulumi.Input<string>;The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.
property storageType
storageType: pulumi.Input<string>;The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property username
username: pulumi.Input<string>;The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
interface WindowsVirtualMachineState
interface WindowsVirtualMachineStateInput properties used for looking up and filtering WindowsVirtualMachine resources.
property allowClaim
allowClaim?: pulumi.Input<boolean>;Can this Virtual Machine be claimed by users? Defaults to true.
property disallowPublicIpAddress
disallowPublicIpAddress?: pulumi.Input<boolean>;Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
property fqdn
fqdn?: pulumi.Input<string>;The FQDN of the Virtual Machine.
property galleryImageReference
galleryImageReference?: pulumi.Input<WindowsVirtualMachineGalleryImageReference>;A galleryImageReference block as defined below.
property inboundNatRules
inboundNatRules?: pulumi.Input<pulumi.Input<WindowsVirtualMachineInboundNatRule>[]>;One or more inboundNatRule blocks as defined below. Changing this forces a new resource to be created.
property labName
labName?: pulumi.Input<string>;Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created.
property labSubnetName
labSubnetName?: pulumi.Input<string>;The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created.
property labVirtualNetworkId
labVirtualNetworkId?: pulumi.Input<string>;The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
property location
location?: pulumi.Input<string>;Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
property name
name?: pulumi.Input<string>;Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
property notes
notes?: pulumi.Input<string>;Any notes about the Virtual Machine.
property password
password?: pulumi.Input<string>;The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
property size
size?: pulumi.Input<string>;The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.
property storageType
storageType?: pulumi.Input<string>;The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property uniqueIdentifier
uniqueIdentifier?: pulumi.Input<string>;The unique immutable identifier of the Virtual Machine.
property username
username?: pulumi.Input<string>;The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.