devtest

class pulumi_azure.devtest.GetLabResult(artifacts_storage_account_id=None, default_premium_storage_account_id=None, default_storage_account_id=None, key_vault_id=None, location=None, premium_data_disk_storage_account_id=None, storage_type=None, tags=None, unique_identifier=None, id=None)

A collection of values returned by getLab.

artifacts_storage_account_id = None

The ID of the Storage Account used for Artifact Storage.

default_premium_storage_account_id = None

The ID of the Default Premium Storage Account for this Dev Test Lab.

default_storage_account_id = None

The ID of the Default Storage Account for this Dev Test Lab.

key_vault_id = None

The ID of the Key used for this Dev Test Lab.

location = None

The Azure location where the Dev Test Lab exists.

premium_data_disk_storage_account_id = None

The ID of the Storage Account used for Storage of Premium Data Disk.

storage_type = None

The type of storage used by the Dev Test Lab.

tags = None

A mapping of tags to assign to the resource.

unique_identifier = None

The unique immutable identifier of the Dev Test Lab.

id = None

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

class pulumi_azure.devtest.Lab(resource_name, opts=None, location=None, name=None, resource_group_name=None, storage_type=None, tags=None, __name__=None, __opts__=None)

Manages a Dev Test Lab.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • location (pulumi.Input[str]) – Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – 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.
  • storage_type (pulumi.Input[str]) – 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.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
artifacts_storage_account_id = None

The ID of the Storage Account used for Artifact Storage.

default_premium_storage_account_id = None

The ID of the Default Premium Storage Account for this Dev Test Lab.

default_storage_account_id = None

The ID of the Default Storage Account for this Dev Test Lab.

key_vault_id = None

The ID of the Key used for this Dev Test Lab.

location = None

Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created.

name = None

Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created.

premium_data_disk_storage_account_id = None

The ID of the Storage Account used for Storage of Premium Data Disk.

resource_group_name = None

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.

storage_type = None

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.

tags = None

A mapping of tags to assign to the resource.

unique_identifier = None

The unique immutable identifier of the Dev Test Lab.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.devtest.LinuxVirtualMachine(resource_name, opts=None, allow_claim=None, disallow_public_ip_address=None, gallery_image_reference=None, inbound_nat_rules=None, lab_name=None, lab_subnet_name=None, lab_virtual_network_id=None, location=None, name=None, notes=None, password=None, resource_group_name=None, size=None, ssh_key=None, storage_type=None, tags=None, username=None, __name__=None, __opts__=None)

Manages a Linux Virtual Machine within a Dev Test Lab.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • allow_claim (pulumi.Input[bool]) – Can this Virtual Machine be claimed by users? Defaults to true.
  • disallow_public_ip_address (pulumi.Input[bool]) – Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
  • gallery_image_reference (pulumi.Input[dict]) – A gallery_image_reference block as defined below.
  • inbound_nat_rules (pulumi.Input[list]) – One or more inbound_nat_rule blocks as defined below. Changing this forces a new resource to be created.
  • lab_name (pulumi.Input[str]) – 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.
  • lab_subnet_name (pulumi.Input[str]) – 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.
  • lab_virtual_network_id (pulumi.Input[str]) – The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
  • location (pulumi.Input[str]) – Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
  • notes (pulumi.Input[str]) – Any notes about the Virtual Machine.
  • password (pulumi.Input[str]) – The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
  • size (pulumi.Input[str]) – The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.
  • ssh_key (pulumi.Input[str]) – The SSH Key associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
  • storage_type (pulumi.Input[str]) – The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • username (pulumi.Input[str]) – The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
allow_claim = None

Can this Virtual Machine be claimed by users? Defaults to true.

disallow_public_ip_address = None

Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.

fqdn = None

The FQDN of the Virtual Machine.

gallery_image_reference = None

A gallery_image_reference block as defined below.

inbound_nat_rules = None

One or more inbound_nat_rule blocks as defined below. Changing this forces a new resource to be created.

lab_name = None

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.

lab_subnet_name = None

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.

lab_virtual_network_id = None

The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.

location = None

Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.

name = None

Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.

notes = None

Any notes about the Virtual Machine.

password = None

The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.

size = None

The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.

ssh_key = None

The SSH Key associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.

storage_type = None

The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.

tags = None

A mapping of tags to assign to the resource.

unique_identifier = None

The unique immutable identifier of the Virtual Machine.

username = None

The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.devtest.Policy(resource_name, opts=None, description=None, evaluator_type=None, fact_data=None, lab_name=None, name=None, policy_set_name=None, resource_group_name=None, tags=None, threshold=None, __name__=None, __opts__=None)

Manages a Policy within a Dev Test Policy Set.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • description (pulumi.Input[str]) – A description for the Policy.
  • evaluator_type (pulumi.Input[str]) – The Evaluation Type used for this Policy. Possible values include: ‘AllowedValuesPolicy’, ‘MaxValuePolicy’. Changing this forces a new resource to be created.
  • fact_data (pulumi.Input[str]) – The Fact Data for this Policy.
  • lab_name (pulumi.Input[str]) – Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – 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.
  • policy_set_name (pulumi.Input[str]) – 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.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • threshold (pulumi.Input[str]) – The Threshold for this Policy.
description = None

A description for the Policy.

evaluator_type = None

The Evaluation Type used for this Policy. Possible values include: ‘AllowedValuesPolicy’, ‘MaxValuePolicy’. Changing this forces a new resource to be created.

fact_data = None

The Fact Data for this Policy.

lab_name = None

Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created.

name = None

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.

policy_set_name = None

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.

resource_group_name = None

The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.

tags = None

A mapping of tags to assign to the resource.

threshold = None

The Threshold for this Policy.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.devtest.VirtualNetwork(resource_name, opts=None, description=None, lab_name=None, name=None, resource_group_name=None, subnet=None, tags=None, __name__=None, __opts__=None)

Manages a Virtual Network within a Dev Test Lab.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • description (pulumi.Input[str]) – A description for the Virtual Network.
  • lab_name (pulumi.Input[str]) – 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.
  • name (pulumi.Input[str]) – Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
  • subnet (pulumi.Input[dict]) – A subnet block as defined below.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
description = None

A description for the Virtual Network.

lab_name = None

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.

name = None

Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.

subnet = None

A subnet block as defined below.

tags = None

A mapping of tags to assign to the resource.

unique_identifier = None

The unique immutable identifier of the Dev Test Virtual Network.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_azure.devtest.WindowsVirtualMachine(resource_name, opts=None, allow_claim=None, disallow_public_ip_address=None, gallery_image_reference=None, inbound_nat_rules=None, lab_name=None, lab_subnet_name=None, lab_virtual_network_id=None, location=None, name=None, notes=None, password=None, resource_group_name=None, size=None, storage_type=None, tags=None, username=None, __name__=None, __opts__=None)

Manages a Windows Virtual Machine within a Dev Test Lab.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • allow_claim (pulumi.Input[bool]) – Can this Virtual Machine be claimed by users? Defaults to true.
  • disallow_public_ip_address (pulumi.Input[bool]) – Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
  • gallery_image_reference (pulumi.Input[dict]) – A gallery_image_reference block as defined below.
  • inbound_nat_rules (pulumi.Input[list]) – One or more inbound_nat_rule blocks as defined below. Changing this forces a new resource to be created.
  • lab_name (pulumi.Input[str]) – 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.
  • lab_subnet_name (pulumi.Input[str]) – 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.
  • lab_virtual_network_id (pulumi.Input[str]) – The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
  • location (pulumi.Input[str]) – Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
  • name (pulumi.Input[str]) – Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
  • notes (pulumi.Input[str]) – Any notes about the Virtual Machine.
  • password (pulumi.Input[str]) – The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.
  • resource_group_name (pulumi.Input[str]) – The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
  • size (pulumi.Input[str]) – The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.
  • storage_type (pulumi.Input[str]) – The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource.
  • username (pulumi.Input[str]) – The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
allow_claim = None

Can this Virtual Machine be claimed by users? Defaults to true.

disallow_public_ip_address = None

Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.

fqdn = None

The FQDN of the Virtual Machine.

gallery_image_reference = None

A gallery_image_reference block as defined below.

inbound_nat_rules = None

One or more inbound_nat_rule blocks as defined below. Changing this forces a new resource to be created.

lab_name = None

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.

lab_subnet_name = None

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.

lab_virtual_network_id = None

The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.

location = None

Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.

name = None

Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.

notes = None

Any notes about the Virtual Machine.

password = None

The Password associated with the username used to login to this Virtual Machine. Changing this forces a new resource to be created.

resource_group_name = None

The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.

size = None

The Machine Size to use for this Virtual Machine, such as Standard_F2. Changing this forces a new resource to be created.

storage_type = None

The type of Storage to use on this Virtual Machine. Possible values are Standard and Premium.

tags = None

A mapping of tags to assign to the resource.

unique_identifier = None

The unique immutable identifier of the Virtual Machine.

username = None

The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_azure.devtest.get_lab(name=None, resource_group_name=None, opts=None)

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