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.

class pulumi_azure.devtest.AwaitableGetLabResult(artifacts_storage_account_id=None, default_premium_storage_account_id=None, default_storage_account_id=None, key_vault_id=None, location=None, name=None, premium_data_disk_storage_account_id=None, resource_group_name=None, storage_type=None, tags=None, unique_identifier=None, id=None)
class pulumi_azure.devtest.AwaitableGetVirtualNetworkResult(allowed_subnets=None, lab_name=None, name=None, resource_group_name=None, subnet_overrides=None, unique_identifier=None, id=None)
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, name=None, premium_data_disk_storage_account_id=None, resource_group_name=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.GetVirtualNetworkResult(allowed_subnets=None, lab_name=None, name=None, resource_group_name=None, subnet_overrides=None, unique_identifier=None, id=None)

A collection of values returned by getVirtualNetwork.

allowed_subnets = None

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

subnet_overrides = None

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

unique_identifier = None

The unique immutable identifier of the virtual network.

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, __props__=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.

static get(resource_name, id, opts=None, artifacts_storage_account_id=None, default_premium_storage_account_id=None, default_storage_account_id=None, key_vault_id=None, location=None, name=None, premium_data_disk_storage_account_id=None, resource_group_name=None, storage_type=None, tags=None, unique_identifier=None)

Get an existing Lab resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • artifacts_storage_account_id (pulumi.Input[str]) – The ID of the Storage Account used for Artifact Storage.

  • default_premium_storage_account_id (pulumi.Input[str]) – The ID of the Default Premium Storage Account for this Dev Test Lab.

  • default_storage_account_id (pulumi.Input[str]) – The ID of the Default Storage Account for this Dev Test Lab.

  • key_vault_id (pulumi.Input[str]) – The ID of the Key used for this Dev Test Lab.

  • 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.

  • premium_data_disk_storage_account_id (pulumi.Input[str]) – The ID of the Storage Account used for Storage of Premium Data Disk.

  • 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.

  • unique_identifier (pulumi.Input[str]) – 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, __props__=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.

The gallery_image_reference object supports the following:

  • offer (pulumi.Input[str])

  • publisher (pulumi.Input[str])

  • sku (pulumi.Input[str])

  • version (pulumi.Input[str])

The inbound_nat_rules object supports the following:

  • backendPort (pulumi.Input[float])

  • frontendPort (pulumi.Input[float]) - The frontend port associated with this Inbound NAT Rule.

  • protocol (pulumi.Input[str])

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.

  • offer (str)

  • publisher (str)

  • sku (str)

  • version (str)

inbound_nat_rules = None

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

  • backendPort (float)

  • frontendPort (float) - The frontend port associated with this Inbound NAT Rule.

  • protocol (str)

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.

static get(resource_name, id, opts=None, allow_claim=None, disallow_public_ip_address=None, fqdn=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, unique_identifier=None, username=None)

Get an existing LinuxVirtualMachine resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • 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.

  • fqdn (pulumi.Input[str]) – The FQDN of the Virtual Machine.

  • 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.

  • unique_identifier (pulumi.Input[str]) – The unique immutable identifier of the Virtual Machine.

  • username (pulumi.Input[str]) – The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.

The gallery_image_reference object supports the following:

  • offer (pulumi.Input[str])

  • publisher (pulumi.Input[str])

  • sku (pulumi.Input[str])

  • version (pulumi.Input[str])

The inbound_nat_rules object supports the following:

  • backendPort (pulumi.Input[float])

  • frontendPort (pulumi.Input[float]) - The frontend port associated with this Inbound NAT Rule.

  • protocol (pulumi.Input[str])

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, __props__=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.

static get(resource_name, id, 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)

Get an existing Policy resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • 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.

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.Schedule(resource_name, opts=None, daily_recurrence=None, hourly_recurrence=None, lab_name=None, location=None, name=None, notification_settings=None, resource_group_name=None, status=None, tags=None, task_type=None, time_zone_id=None, weekly_recurrence=None, __props__=None, __name__=None, __opts__=None)

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

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

The daily_recurrence object supports the following:

  • time (pulumi.Input[str])

The hourly_recurrence object supports the following:

  • minute (pulumi.Input[float])

The notification_settings object supports the following:

  • status (pulumi.Input[str])

  • timeInMinutes (pulumi.Input[float])

  • webhookUrl (pulumi.Input[str])

The weekly_recurrence object supports the following:

  • time (pulumi.Input[str])

  • week_days (pulumi.Input[list])

static get(resource_name, id, opts=None, daily_recurrence=None, hourly_recurrence=None, lab_name=None, location=None, name=None, notification_settings=None, resource_group_name=None, status=None, tags=None, task_type=None, time_zone_id=None, weekly_recurrence=None)

Get an existing Schedule resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

The daily_recurrence object supports the following:

  • time (pulumi.Input[str])

The hourly_recurrence object supports the following:

  • minute (pulumi.Input[float])

The notification_settings object supports the following:

  • status (pulumi.Input[str])

  • timeInMinutes (pulumi.Input[float])

  • webhookUrl (pulumi.Input[str])

The weekly_recurrence object supports the following:

  • time (pulumi.Input[str])

  • week_days (pulumi.Input[list])

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, __props__=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.

The subnet object supports the following:

  • name (pulumi.Input[str]) - Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.

  • useInVirtualMachineCreation (pulumi.Input[str])

  • usePublicIpAddress (pulumi.Input[str])

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.

  • name (str) - Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.

  • useInVirtualMachineCreation (str)

  • usePublicIpAddress (str)

tags = None

A mapping of tags to assign to the resource.

unique_identifier = None

The unique immutable identifier of the Dev Test Virtual Network.

static get(resource_name, id, opts=None, description=None, lab_name=None, name=None, resource_group_name=None, subnet=None, tags=None, unique_identifier=None)

Get an existing VirtualNetwork resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • 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.

  • unique_identifier (pulumi.Input[str]) – The unique immutable identifier of the Dev Test Virtual Network.

The subnet object supports the following:

  • name (pulumi.Input[str]) - Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.

  • useInVirtualMachineCreation (pulumi.Input[str])

  • usePublicIpAddress (pulumi.Input[str])

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, __props__=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.

The gallery_image_reference object supports the following:

  • offer (pulumi.Input[str])

  • publisher (pulumi.Input[str])

  • sku (pulumi.Input[str])

  • version (pulumi.Input[str])

The inbound_nat_rules object supports the following:

  • backendPort (pulumi.Input[float])

  • frontendPort (pulumi.Input[float]) - The frontend port associated with this Inbound NAT Rule.

  • protocol (pulumi.Input[str])

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.

  • offer (str)

  • publisher (str)

  • sku (str)

  • version (str)

inbound_nat_rules = None

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

  • backendPort (float)

  • frontendPort (float) - The frontend port associated with this Inbound NAT Rule.

  • protocol (str)

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.

static get(resource_name, id, opts=None, allow_claim=None, disallow_public_ip_address=None, fqdn=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, unique_identifier=None, username=None)

Get an existing WindowsVirtualMachine resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • 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.

  • fqdn (pulumi.Input[str]) – The FQDN of the Virtual Machine.

  • 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.

  • unique_identifier (pulumi.Input[str]) – The unique immutable identifier of the Virtual Machine.

  • username (pulumi.Input[str]) – The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.

The gallery_image_reference object supports the following:

  • offer (pulumi.Input[str])

  • publisher (pulumi.Input[str])

  • sku (pulumi.Input[str])

  • version (pulumi.Input[str])

The inbound_nat_rules object supports the following:

  • backendPort (pulumi.Input[float])

  • frontendPort (pulumi.Input[float]) - The frontend port associated with this Inbound NAT Rule.

  • protocol (pulumi.Input[str])

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.

Parameters
  • name (str) – The name of the Dev Test Lab.

  • resource_group_name (str) – The Name of the Resource Group where the Dev Test Lab exists.

pulumi_azure.devtest.get_virtual_network(lab_name=None, name=None, resource_group_name=None, opts=None)

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

Parameters
  • lab_name (str) – Specifies the name of the Dev Test Lab.

  • name (str) – Specifies the name of the Virtual Network.

  • resource_group_name (str) – Specifies the name of the resource group that contains the Virtual Network.