Module devtest

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.

Resources

Data Sources

Others

Resources

Resource Lab

class Lab extends CustomResource

Manages a Dev Test Lab.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const testResourceGroup = new azure.core.ResourceGroup("test", {
    location: "West US",
    name: "example-resources",
});
const testLab = new azure.devtest.Lab("test", {
    location: testResourceGroup.location,
    name: "example-devtestlab",
    resourceGroupName: testResourceGroup.name,
    tags: {
        Sydney: "Australia",
    },
});

This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/dev_test_lab.html.markdown.

constructor

new Lab(name: string, args: LabArgs, opts?: pulumi.CustomResourceOptions)

Create a Lab resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): Lab

Get 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 | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns 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]: any}>;

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 CustomResource

Manages a Linux Virtual Machine within a Dev Test Lab.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as fs from "fs";

const testResourceGroup = new azure.core.ResourceGroup("test", {
    location: "West US",
    name: "example-resources",
});
const testLab = new azure.devtest.Lab("test", {
    location: testResourceGroup.location,
    name: "example-devtestlab",
    resourceGroupName: testResourceGroup.name,
    tags: {
        Sydney: "Australia",
    },
});
const testVirtualNetwork = new azure.devtest.VirtualNetwork("test", {
    labName: testLab.name,
    name: "example-network",
    resourceGroupName: testResourceGroup.name,
    subnet: {
        useInVirtualMachineCreation: "Allow",
        usePublicIpAddress: "Allow",
    },
});
const testLinuxVirtualMachine = new azure.devtest.LinuxVirtualMachine("test", {
    galleryImageReference: {
        offer: "UbuntuServer",
        publisher: "Canonical",
        sku: "18.04-LTS",
        version: "latest",
    },
    labName: testLab.name,
    labSubnetName: testVirtualNetwork.subnet.name,
    labVirtualNetworkId: testVirtualNetwork.id,
    location: testResourceGroup.location,
    name: "example-vm03",
    notes: "Some notes about this Virtual Machine.",
    resourceGroupName: testResourceGroup.name,
    size: "Standard_DS2",
    sshKey: fs.readFileSync("~/.ssh/id_rsa.pub", "utf-8"),
    storageType: "Premium",
    username: "exampleuser99",
});

This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/dev_test_linux_virtual_machine.html.markdown.

constructor

new LinuxVirtualMachine(name: string, args: LinuxVirtualMachineArgs, opts?: pulumi.CustomResourceOptions)

Create a LinuxVirtualMachine resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): LinuxVirtualMachine

Get 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 | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns 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<outputs.devtest.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<outputs.devtest.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]: any}>;

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 CustomResource

Manages a Policy within a Dev Test Policy Set.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const testResourceGroup = new azure.core.ResourceGroup("test", {
    location: "West US",
    name: "example-resources",
});
const testLab = new azure.devtest.Lab("test", {
    location: testResourceGroup.location,
    name: "example-devtestlab",
    resourceGroupName: testResourceGroup.name,
    tags: {
        Sydney: "Australia",
    },
});
const testPolicy = new azure.devtest.Policy("test", {
    evaluatorType: "MaxValuePolicy",
    factData: "",
    labName: testLab.name,
    name: "LabVmCount",
    policySetName: "default",
    resourceGroupName: testResourceGroup.name,
    tags: {
        Acceptance: "Test",
    },
    threshold: "999",
});

This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/dev_test_policy.html.markdown.

constructor

new Policy(name: string, args: PolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a Policy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): Policy

Get 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 | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns 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]: any}>;

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 CustomResource

constructor

new Schedule(name: string, args: ScheduleArgs, opts?: pulumi.CustomResourceOptions)

Create a Schedule resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): Schedule

Get 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 | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns 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<outputs.devtest.ScheduleDailyRecurrence | undefined>;

property hourlyRecurrence

public hourlyRecurrence: pulumi.Output<outputs.devtest.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>;

property location

public location: pulumi.Output<string>;

property name

public name: pulumi.Output<string>;

property notificationSettings

public notificationSettings: pulumi.Output<outputs.devtest.ScheduleNotificationSettings>;

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

property status

public status: pulumi.Output<string | undefined>;

property tags

public tags: pulumi.Output<{[key: string]: any}>;

property taskType

public taskType: pulumi.Output<string>;

property timeZoneId

public timeZoneId: pulumi.Output<string>;

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<outputs.devtest.ScheduleWeeklyRecurrence | undefined>;

Resource VirtualNetwork

class VirtualNetwork extends CustomResource

Manages a Virtual Network within a Dev Test Lab.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const testResourceGroup = new azure.core.ResourceGroup("test", {
    location: "West US",
    name: "example-resources",
});
const testLab = new azure.devtest.Lab("test", {
    location: testResourceGroup.location,
    name: "example-devtestlab",
    resourceGroupName: testResourceGroup.name,
    tags: {
        Sydney: "Australia",
    },
});
const testVirtualNetwork = new azure.devtest.VirtualNetwork("test", {
    labName: testLab.name,
    name: "example-network",
    resourceGroupName: testResourceGroup.name,
    subnet: {
        useInVirtualMachineCreation: "Allow",
        usePublicIpAddress: "Allow",
    },
});

This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/dev_test_virtual_network.html.markdown.

constructor

new VirtualNetwork(name: string, args: VirtualNetworkArgs, opts?: pulumi.CustomResourceOptions)

Create a VirtualNetwork resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): VirtualNetwork

Get 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 | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns 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<outputs.devtest.VirtualNetworkSubnet>;

A subnet block as defined below.

property tags

public tags: pulumi.Output<{[key: string]: any}>;

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 CustomResource

Manages a Windows Virtual Machine within a Dev Test Lab.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const testResourceGroup = new azure.core.ResourceGroup("test", {
    location: "West US",
    name: "example-resources",
});
const testLab = new azure.devtest.Lab("test", {
    location: testResourceGroup.location,
    name: "example-devtestlab",
    resourceGroupName: testResourceGroup.name,
    tags: {
        Sydney: "Australia",
    },
});
const testVirtualNetwork = new azure.devtest.VirtualNetwork("test", {
    labName: testLab.name,
    name: "example-network",
    resourceGroupName: testResourceGroup.name,
    subnet: {
        useInVirtualMachineCreation: "Allow",
        usePublicIpAddress: "Allow",
    },
});
const testWindowsVirtualMachine = new azure.devtest.WindowsVirtualMachine("test", {
    galleryImageReference: {
        offer: "UbuntuServer",
        publisher: "Canonical",
        sku: "18.04-LTS",
        version: "latest",
    },
    labName: testLab.name,
    labSubnetName: testVirtualNetwork.subnet.name,
    labVirtualNetworkId: testVirtualNetwork.id,
    location: testResourceGroup.location,
    name: "example-vm03",
    notes: "Some notes about this Virtual Machine.",
    password: "Pa$w0rd1234!",
    resourceGroupName: testResourceGroup.name,
    size: "Standard_DS2",
    storageType: "Premium",
    username: "exampleuser99",
});

This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/dev_test_windows_virtual_machine.html.markdown.

constructor

new WindowsVirtualMachine(name: string, args: WindowsVirtualMachineArgs, opts?: pulumi.CustomResourceOptions)

Create a WindowsVirtualMachine resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): WindowsVirtualMachine

Get 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 | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns 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<outputs.devtest.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<outputs.devtest.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]: any}>;

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.

Data Sources

Data Source getLab

getLab(args: GetLabArgs, opts?: pulumi.InvokeOptions): Promise<GetLabResult> & 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 test = azure.devtest.getLab({
    name: "example-lab",
    resourceGroupName: "example-resources",
});

export const uniqueIdentifier = test.uniqueIdentifier;

This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/dev_test_lab.html.markdown.

Data Source getVirtualNetwork

getVirtualNetwork(args: GetVirtualNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualNetworkResult> & GetVirtualNetworkResult

Use this data source to access information about an existing Dev Test Lab Virtual Network.

This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/dev_test_virtual_network.html.markdown.

Others

interface GetLabArgs

interface GetLabArgs

A 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 GetLabResult

A 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;

id is 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]: any};

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 GetVirtualNetworkArgs

A 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 GetVirtualNetworkResult

A collection of values returned by getVirtualNetwork.

property allowedSubnets

allowedSubnets: outputs.devtest.GetVirtualNetworkAllowedSubnet[];

The list of subnets enabled for the virtual network as defined below.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property labName

labName: string;

property name

name: string;

property resourceGroupName

resourceGroupName: string;

property subnetOverrides

subnetOverrides: outputs.devtest.GetVirtualNetworkSubnetOverrides;

The list of permission overrides for the subnets as defined below.

property uniqueIdentifier

uniqueIdentifier: string;

The unique immutable identifier of the virtual network.

interface LabArgs

interface LabArgs

The 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]: any}>;

A mapping of tags to assign to the resource.

interface LabState

interface LabState

Input 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]: any}>;

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 LinuxVirtualMachineArgs

The 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<inputs.devtest.LinuxVirtualMachineGalleryImageReference>;

A galleryImageReference block as defined below.

property inboundNatRules

inboundNatRules?: pulumi.Input<pulumi.Input<inputs.devtest.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]: any}>;

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 LinuxVirtualMachineState

Input 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<inputs.devtest.LinuxVirtualMachineGalleryImageReference>;

A galleryImageReference block as defined below.

property inboundNatRules

inboundNatRules?: pulumi.Input<pulumi.Input<inputs.devtest.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]: any}>;

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 PolicyArgs

The 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]: any}>;

A mapping of tags to assign to the resource.

property threshold

threshold: pulumi.Input<string>;

The Threshold for this Policy.

interface PolicyState

interface PolicyState

Input 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]: any}>;

A mapping of tags to assign to the resource.

property threshold

threshold?: pulumi.Input<string>;

The Threshold for this Policy.

interface ScheduleArgs

interface ScheduleArgs

The set of arguments for constructing a Schedule resource.

property dailyRecurrence

dailyRecurrence?: pulumi.Input<inputs.devtest.ScheduleDailyRecurrence>;

property hourlyRecurrence

hourlyRecurrence?: pulumi.Input<inputs.devtest.ScheduleHourlyRecurrence>;

property labName

labName: pulumi.Input<string>;

property location

location?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property notificationSettings

notificationSettings: pulumi.Input<inputs.devtest.ScheduleNotificationSettings>;

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

property status

status?: pulumi.Input<string>;

property tags

tags?: pulumi.Input<{[key: string]: any}>;

property taskType

taskType: pulumi.Input<string>;

property timeZoneId

timeZoneId: pulumi.Input<string>;

property weeklyRecurrence

weeklyRecurrence?: pulumi.Input<inputs.devtest.ScheduleWeeklyRecurrence>;

interface ScheduleState

interface ScheduleState

Input properties used for looking up and filtering Schedule resources.

property dailyRecurrence

dailyRecurrence?: pulumi.Input<inputs.devtest.ScheduleDailyRecurrence>;

property hourlyRecurrence

hourlyRecurrence?: pulumi.Input<inputs.devtest.ScheduleHourlyRecurrence>;

property labName

labName?: pulumi.Input<string>;

property location

location?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property notificationSettings

notificationSettings?: pulumi.Input<inputs.devtest.ScheduleNotificationSettings>;

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

property status

status?: pulumi.Input<string>;

property tags

tags?: pulumi.Input<{[key: string]: any}>;

property taskType

taskType?: pulumi.Input<string>;

property timeZoneId

timeZoneId?: pulumi.Input<string>;

property weeklyRecurrence

weeklyRecurrence?: pulumi.Input<inputs.devtest.ScheduleWeeklyRecurrence>;

interface VirtualNetworkArgs

interface VirtualNetworkArgs

The 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<inputs.devtest.VirtualNetworkSubnet>;

A subnet block as defined below.

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.

interface VirtualNetworkState

interface VirtualNetworkState

Input 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<inputs.devtest.VirtualNetworkSubnet>;

A subnet block as defined below.

property tags

tags?: pulumi.Input<{[key: string]: any}>;

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 WindowsVirtualMachineArgs

The 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<inputs.devtest.WindowsVirtualMachineGalleryImageReference>;

A galleryImageReference block as defined below.

property inboundNatRules

inboundNatRules?: pulumi.Input<pulumi.Input<inputs.devtest.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]: any}>;

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 WindowsVirtualMachineState

Input 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<inputs.devtest.WindowsVirtualMachineGalleryImageReference>;

A galleryImageReference block as defined below.

property inboundNatRules

inboundNatRules?: pulumi.Input<pulumi.Input<inputs.devtest.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]: any}>;

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.