devtest

package
v0.19.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package devtest exports types, functions, subpackages for provisioning devtest resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetLabArgs

type GetLabArgs struct {
	// The name of the Dev Test Lab.
	Name interface{}
	// The Name of the Resource Group where the Dev Test Lab exists.
	ResourceGroupName interface{}
}

A collection of arguments for invoking getLab.

type GetLabResult

type GetLabResult struct {
	// The ID of the Storage Account used for Artifact Storage.
	ArtifactsStorageAccountId interface{}
	// The ID of the Default Premium Storage Account for this Dev Test Lab.
	DefaultPremiumStorageAccountId interface{}
	// The ID of the Default Storage Account for this Dev Test Lab.
	DefaultStorageAccountId interface{}
	// The ID of the Key used for this Dev Test Lab.
	KeyVaultId interface{}
	// The Azure location where the Dev Test Lab exists.
	Location interface{}
	Name     interface{}
	// The ID of the Storage Account used for Storage of Premium Data Disk.
	PremiumDataDiskStorageAccountId interface{}
	ResourceGroupName               interface{}
	// The type of storage used by the Dev Test Lab.
	StorageType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The unique immutable identifier of the Dev Test Lab.
	UniqueIdentifier interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getLab.

func LookupLab

func LookupLab(ctx *pulumi.Context, args *GetLabArgs) (*GetLabResult, error)

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

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

type Lab

type Lab struct {
	// contains filtered or unexported fields
}

Manages a Dev Test Lab.

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

func GetLab

func GetLab(ctx *pulumi.Context,
	name string, id pulumi.ID, state *LabState, opts ...pulumi.ResourceOpt) (*Lab, error)

GetLab gets an existing Lab resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLab

func NewLab(ctx *pulumi.Context,
	name string, args *LabArgs, opts ...pulumi.ResourceOpt) (*Lab, error)

NewLab registers a new resource with the given unique name, arguments, and options.

func (*Lab) ArtifactsStorageAccountId

func (r *Lab) ArtifactsStorageAccountId() *pulumi.StringOutput

The ID of the Storage Account used for Artifact Storage.

func (*Lab) DefaultPremiumStorageAccountId

func (r *Lab) DefaultPremiumStorageAccountId() *pulumi.StringOutput

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

func (*Lab) DefaultStorageAccountId

func (r *Lab) DefaultStorageAccountId() *pulumi.StringOutput

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

func (*Lab) ID

func (r *Lab) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Lab) KeyVaultId

func (r *Lab) KeyVaultId() *pulumi.StringOutput

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

func (*Lab) Location

func (r *Lab) Location() *pulumi.StringOutput

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

func (*Lab) Name

func (r *Lab) Name() *pulumi.StringOutput

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

func (*Lab) PremiumDataDiskStorageAccountId

func (r *Lab) PremiumDataDiskStorageAccountId() *pulumi.StringOutput

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

func (*Lab) ResourceGroupName

func (r *Lab) ResourceGroupName() *pulumi.StringOutput

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.

func (*Lab) StorageType

func (r *Lab) StorageType() *pulumi.StringOutput

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.

func (*Lab) Tags

func (r *Lab) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Lab) URN

func (r *Lab) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Lab) UniqueIdentifier

func (r *Lab) UniqueIdentifier() *pulumi.StringOutput

The unique immutable identifier of the Dev Test Lab.

type LabArgs

type LabArgs struct {
	// Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created.
	Name interface{}
	// 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.
	ResourceGroupName interface{}
	// 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.
	StorageType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Lab resource.

type LabState

type LabState struct {
	// The ID of the Storage Account used for Artifact Storage.
	ArtifactsStorageAccountId interface{}
	// The ID of the Default Premium Storage Account for this Dev Test Lab.
	DefaultPremiumStorageAccountId interface{}
	// The ID of the Default Storage Account for this Dev Test Lab.
	DefaultStorageAccountId interface{}
	// The ID of the Key used for this Dev Test Lab.
	KeyVaultId interface{}
	// Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created.
	Name interface{}
	// The ID of the Storage Account used for Storage of Premium Data Disk.
	PremiumDataDiskStorageAccountId interface{}
	// 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.
	ResourceGroupName interface{}
	// 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.
	StorageType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The unique immutable identifier of the Dev Test Lab.
	UniqueIdentifier interface{}
}

Input properties used for looking up and filtering Lab resources.

type LinuxVirtualMachine added in v0.16.2

type LinuxVirtualMachine struct {
	// contains filtered or unexported fields
}

Manages a Linux Virtual Machine within a Dev Test Lab.

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

func GetLinuxVirtualMachine added in v0.16.2

func GetLinuxVirtualMachine(ctx *pulumi.Context,
	name string, id pulumi.ID, state *LinuxVirtualMachineState, opts ...pulumi.ResourceOpt) (*LinuxVirtualMachine, error)

GetLinuxVirtualMachine gets an existing LinuxVirtualMachine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLinuxVirtualMachine added in v0.16.2

func NewLinuxVirtualMachine(ctx *pulumi.Context,
	name string, args *LinuxVirtualMachineArgs, opts ...pulumi.ResourceOpt) (*LinuxVirtualMachine, error)

NewLinuxVirtualMachine registers a new resource with the given unique name, arguments, and options.

func (*LinuxVirtualMachine) AllowClaim added in v0.16.2

func (r *LinuxVirtualMachine) AllowClaim() *pulumi.BoolOutput

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

func (*LinuxVirtualMachine) DisallowPublicIpAddress added in v0.16.2

func (r *LinuxVirtualMachine) DisallowPublicIpAddress() *pulumi.BoolOutput

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

func (*LinuxVirtualMachine) Fqdn added in v0.16.2

The FQDN of the Virtual Machine.

func (*LinuxVirtualMachine) GalleryImageReference added in v0.16.2

func (r *LinuxVirtualMachine) GalleryImageReference() *pulumi.Output

A `galleryImageReference` block as defined below.

func (*LinuxVirtualMachine) ID added in v0.16.2

ID is this resource's unique identifier assigned by its provider.

func (*LinuxVirtualMachine) InboundNatRules added in v0.16.2

func (r *LinuxVirtualMachine) InboundNatRules() *pulumi.ArrayOutput

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

func (*LinuxVirtualMachine) LabName added in v0.16.2

func (r *LinuxVirtualMachine) LabName() *pulumi.StringOutput

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.

func (*LinuxVirtualMachine) LabSubnetName added in v0.16.2

func (r *LinuxVirtualMachine) LabSubnetName() *pulumi.StringOutput

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.

func (*LinuxVirtualMachine) LabVirtualNetworkId added in v0.16.2

func (r *LinuxVirtualMachine) LabVirtualNetworkId() *pulumi.StringOutput

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

func (*LinuxVirtualMachine) Location added in v0.16.2

func (r *LinuxVirtualMachine) Location() *pulumi.StringOutput

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

func (*LinuxVirtualMachine) Name added in v0.16.2

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

func (*LinuxVirtualMachine) Notes added in v0.16.2

Any notes about the Virtual Machine.

func (*LinuxVirtualMachine) Password added in v0.16.2

func (r *LinuxVirtualMachine) Password() *pulumi.StringOutput

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

func (*LinuxVirtualMachine) ResourceGroupName added in v0.16.2

func (r *LinuxVirtualMachine) ResourceGroupName() *pulumi.StringOutput

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

func (*LinuxVirtualMachine) Size added in v0.16.2

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

func (*LinuxVirtualMachine) SshKey added in v0.16.2

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

func (*LinuxVirtualMachine) StorageType added in v0.16.2

func (r *LinuxVirtualMachine) StorageType() *pulumi.StringOutput

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

func (*LinuxVirtualMachine) Tags added in v0.16.2

A mapping of tags to assign to the resource.

func (*LinuxVirtualMachine) URN added in v0.16.2

URN is this resource's unique name assigned by Pulumi.

func (*LinuxVirtualMachine) UniqueIdentifier added in v0.16.2

func (r *LinuxVirtualMachine) UniqueIdentifier() *pulumi.StringOutput

The unique immutable identifier of the Virtual Machine.

func (*LinuxVirtualMachine) Username added in v0.16.2

func (r *LinuxVirtualMachine) Username() *pulumi.StringOutput

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

type LinuxVirtualMachineArgs added in v0.16.2

type LinuxVirtualMachineArgs struct {
	// Can this Virtual Machine be claimed by users? Defaults to `true`.
	AllowClaim interface{}
	// Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
	DisallowPublicIpAddress interface{}
	// A `galleryImageReference` block as defined below.
	GalleryImageReference interface{}
	// One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created.
	InboundNatRules interface{}
	// 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.
	LabName interface{}
	// 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.
	LabSubnetName interface{}
	// The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
	LabVirtualNetworkId interface{}
	// Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
	Name interface{}
	// Any notes about the Virtual Machine.
	Notes interface{}
	// The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created.
	Password interface{}
	// The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created.
	Size interface{}
	// The SSH Key associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created.
	SshKey interface{}
	// The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`.
	StorageType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
	Username interface{}
}

The set of arguments for constructing a LinuxVirtualMachine resource.

type LinuxVirtualMachineState added in v0.16.2

type LinuxVirtualMachineState struct {
	// Can this Virtual Machine be claimed by users? Defaults to `true`.
	AllowClaim interface{}
	// Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
	DisallowPublicIpAddress interface{}
	// The FQDN of the Virtual Machine.
	Fqdn interface{}
	// A `galleryImageReference` block as defined below.
	GalleryImageReference interface{}
	// One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created.
	InboundNatRules interface{}
	// 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.
	LabName interface{}
	// 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.
	LabSubnetName interface{}
	// The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
	LabVirtualNetworkId interface{}
	// Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
	Name interface{}
	// Any notes about the Virtual Machine.
	Notes interface{}
	// The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created.
	Password interface{}
	// The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created.
	Size interface{}
	// The SSH Key associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created.
	SshKey interface{}
	// The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`.
	StorageType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The unique immutable identifier of the Virtual Machine.
	UniqueIdentifier interface{}
	// The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
	Username interface{}
}

Input properties used for looking up and filtering LinuxVirtualMachine resources.

type Policy added in v0.16.2

type Policy struct {
	// contains filtered or unexported fields
}

Manages a Policy within a Dev Test Policy Set.

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

func GetPolicy added in v0.16.2

func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *PolicyState, opts ...pulumi.ResourceOpt) (*Policy, error)

GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicy added in v0.16.2

func NewPolicy(ctx *pulumi.Context,
	name string, args *PolicyArgs, opts ...pulumi.ResourceOpt) (*Policy, error)

NewPolicy registers a new resource with the given unique name, arguments, and options.

func (*Policy) Description added in v0.16.2

func (r *Policy) Description() *pulumi.StringOutput

A description for the Policy.

func (*Policy) EvaluatorType added in v0.16.2

func (r *Policy) EvaluatorType() *pulumi.StringOutput

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

func (*Policy) FactData added in v0.16.2

func (r *Policy) FactData() *pulumi.StringOutput

The Fact Data for this Policy.

func (*Policy) ID added in v0.16.2

func (r *Policy) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Policy) LabName added in v0.16.2

func (r *Policy) LabName() *pulumi.StringOutput

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

func (*Policy) Name added in v0.16.2

func (r *Policy) Name() *pulumi.StringOutput

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.

func (*Policy) PolicySetName added in v0.16.2

func (r *Policy) PolicySetName() *pulumi.StringOutput

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.

func (*Policy) ResourceGroupName added in v0.16.2

func (r *Policy) ResourceGroupName() *pulumi.StringOutput

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

func (*Policy) Tags added in v0.16.2

func (r *Policy) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Policy) Threshold added in v0.16.2

func (r *Policy) Threshold() *pulumi.StringOutput

The Threshold for this Policy.

func (*Policy) URN added in v0.16.2

func (r *Policy) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type PolicyArgs added in v0.16.2

type PolicyArgs struct {
	// A description for the Policy.
	Description interface{}
	// The Evaluation Type used for this Policy. Possible values include: 'AllowedValuesPolicy', 'MaxValuePolicy'. Changing this forces a new resource to be created.
	EvaluatorType interface{}
	// The Fact Data for this Policy.
	FactData interface{}
	// Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created.
	LabName interface{}
	// 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.
	Name interface{}
	// 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.
	PolicySetName interface{}
	// The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The Threshold for this Policy.
	Threshold interface{}
}

The set of arguments for constructing a Policy resource.

type PolicyState added in v0.16.2

type PolicyState struct {
	// A description for the Policy.
	Description interface{}
	// The Evaluation Type used for this Policy. Possible values include: 'AllowedValuesPolicy', 'MaxValuePolicy'. Changing this forces a new resource to be created.
	EvaluatorType interface{}
	// The Fact Data for this Policy.
	FactData interface{}
	// Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created.
	LabName interface{}
	// 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.
	Name interface{}
	// 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.
	PolicySetName interface{}
	// The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The Threshold for this Policy.
	Threshold interface{}
}

Input properties used for looking up and filtering Policy resources.

type VirtualNetwork

type VirtualNetwork struct {
	// contains filtered or unexported fields
}

Manages a Virtual Network within a Dev Test Lab.

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

func GetVirtualNetwork

func GetVirtualNetwork(ctx *pulumi.Context,
	name string, id pulumi.ID, state *VirtualNetworkState, opts ...pulumi.ResourceOpt) (*VirtualNetwork, error)

GetVirtualNetwork gets an existing VirtualNetwork resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVirtualNetwork

func NewVirtualNetwork(ctx *pulumi.Context,
	name string, args *VirtualNetworkArgs, opts ...pulumi.ResourceOpt) (*VirtualNetwork, error)

NewVirtualNetwork registers a new resource with the given unique name, arguments, and options.

func (*VirtualNetwork) Description

func (r *VirtualNetwork) Description() *pulumi.StringOutput

A description for the Virtual Network.

func (*VirtualNetwork) ID

func (r *VirtualNetwork) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*VirtualNetwork) LabName

func (r *VirtualNetwork) LabName() *pulumi.StringOutput

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.

func (*VirtualNetwork) Name

func (r *VirtualNetwork) Name() *pulumi.StringOutput

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

func (*VirtualNetwork) ResourceGroupName

func (r *VirtualNetwork) ResourceGroupName() *pulumi.StringOutput

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

func (*VirtualNetwork) Subnet added in v0.16.2

func (r *VirtualNetwork) Subnet() *pulumi.Output

A `subnet` block as defined below.

func (*VirtualNetwork) Tags

func (r *VirtualNetwork) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*VirtualNetwork) URN

func (r *VirtualNetwork) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*VirtualNetwork) UniqueIdentifier

func (r *VirtualNetwork) UniqueIdentifier() *pulumi.StringOutput

The unique immutable identifier of the Dev Test Virtual Network.

type VirtualNetworkArgs

type VirtualNetworkArgs struct {
	// A description for the Virtual Network.
	Description interface{}
	// 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.
	LabName interface{}
	// Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A `subnet` block as defined below.
	Subnet interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a VirtualNetwork resource.

type VirtualNetworkState

type VirtualNetworkState struct {
	// A description for the Virtual Network.
	Description interface{}
	// 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.
	LabName interface{}
	// Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A `subnet` block as defined below.
	Subnet interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The unique immutable identifier of the Dev Test Virtual Network.
	UniqueIdentifier interface{}
}

Input properties used for looking up and filtering VirtualNetwork resources.

type WindowsVirtualMachine added in v0.16.2

type WindowsVirtualMachine struct {
	// contains filtered or unexported fields
}

Manages a Windows Virtual Machine within a Dev Test Lab.

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

func GetWindowsVirtualMachine added in v0.16.2

func GetWindowsVirtualMachine(ctx *pulumi.Context,
	name string, id pulumi.ID, state *WindowsVirtualMachineState, opts ...pulumi.ResourceOpt) (*WindowsVirtualMachine, error)

GetWindowsVirtualMachine gets an existing WindowsVirtualMachine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWindowsVirtualMachine added in v0.16.2

func NewWindowsVirtualMachine(ctx *pulumi.Context,
	name string, args *WindowsVirtualMachineArgs, opts ...pulumi.ResourceOpt) (*WindowsVirtualMachine, error)

NewWindowsVirtualMachine registers a new resource with the given unique name, arguments, and options.

func (*WindowsVirtualMachine) AllowClaim added in v0.16.2

func (r *WindowsVirtualMachine) AllowClaim() *pulumi.BoolOutput

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

func (*WindowsVirtualMachine) DisallowPublicIpAddress added in v0.16.2

func (r *WindowsVirtualMachine) DisallowPublicIpAddress() *pulumi.BoolOutput

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

func (*WindowsVirtualMachine) Fqdn added in v0.16.2

The FQDN of the Virtual Machine.

func (*WindowsVirtualMachine) GalleryImageReference added in v0.16.2

func (r *WindowsVirtualMachine) GalleryImageReference() *pulumi.Output

A `galleryImageReference` block as defined below.

func (*WindowsVirtualMachine) ID added in v0.16.2

ID is this resource's unique identifier assigned by its provider.

func (*WindowsVirtualMachine) InboundNatRules added in v0.16.2

func (r *WindowsVirtualMachine) InboundNatRules() *pulumi.ArrayOutput

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

func (*WindowsVirtualMachine) LabName added in v0.16.2

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.

func (*WindowsVirtualMachine) LabSubnetName added in v0.16.2

func (r *WindowsVirtualMachine) LabSubnetName() *pulumi.StringOutput

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.

func (*WindowsVirtualMachine) LabVirtualNetworkId added in v0.16.2

func (r *WindowsVirtualMachine) LabVirtualNetworkId() *pulumi.StringOutput

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

func (*WindowsVirtualMachine) Location added in v0.16.2

func (r *WindowsVirtualMachine) Location() *pulumi.StringOutput

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

func (*WindowsVirtualMachine) Name added in v0.16.2

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

func (*WindowsVirtualMachine) Notes added in v0.16.2

Any notes about the Virtual Machine.

func (*WindowsVirtualMachine) Password added in v0.16.2

func (r *WindowsVirtualMachine) Password() *pulumi.StringOutput

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

func (*WindowsVirtualMachine) ResourceGroupName added in v0.16.2

func (r *WindowsVirtualMachine) ResourceGroupName() *pulumi.StringOutput

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

func (*WindowsVirtualMachine) Size added in v0.16.2

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

func (*WindowsVirtualMachine) StorageType added in v0.16.2

func (r *WindowsVirtualMachine) StorageType() *pulumi.StringOutput

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

func (*WindowsVirtualMachine) Tags added in v0.16.2

A mapping of tags to assign to the resource.

func (*WindowsVirtualMachine) URN added in v0.16.2

URN is this resource's unique name assigned by Pulumi.

func (*WindowsVirtualMachine) UniqueIdentifier added in v0.16.2

func (r *WindowsVirtualMachine) UniqueIdentifier() *pulumi.StringOutput

The unique immutable identifier of the Virtual Machine.

func (*WindowsVirtualMachine) Username added in v0.16.2

func (r *WindowsVirtualMachine) Username() *pulumi.StringOutput

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

type WindowsVirtualMachineArgs added in v0.16.2

type WindowsVirtualMachineArgs struct {
	// Can this Virtual Machine be claimed by users? Defaults to `true`.
	AllowClaim interface{}
	// Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
	DisallowPublicIpAddress interface{}
	// A `galleryImageReference` block as defined below.
	GalleryImageReference interface{}
	// One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created.
	InboundNatRules interface{}
	// 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.
	LabName interface{}
	// 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.
	LabSubnetName interface{}
	// The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
	LabVirtualNetworkId interface{}
	// Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
	Name interface{}
	// Any notes about the Virtual Machine.
	Notes interface{}
	// The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created.
	Password interface{}
	// The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created.
	Size interface{}
	// The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`.
	StorageType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
	Username interface{}
}

The set of arguments for constructing a WindowsVirtualMachine resource.

type WindowsVirtualMachineState added in v0.16.2

type WindowsVirtualMachineState struct {
	// Can this Virtual Machine be claimed by users? Defaults to `true`.
	AllowClaim interface{}
	// Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created.
	DisallowPublicIpAddress interface{}
	// The FQDN of the Virtual Machine.
	Fqdn interface{}
	// A `galleryImageReference` block as defined below.
	GalleryImageReference interface{}
	// One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created.
	InboundNatRules interface{}
	// 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.
	LabName interface{}
	// 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.
	LabSubnetName interface{}
	// The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created.
	LabVirtualNetworkId interface{}
	// Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created.
	Name interface{}
	// Any notes about the Virtual Machine.
	Notes interface{}
	// The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created.
	Password interface{}
	// The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created.
	Size interface{}
	// The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`.
	StorageType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// The unique immutable identifier of the Virtual Machine.
	UniqueIdentifier interface{}
	// The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created.
	Username interface{}
}

Input properties used for looking up and filtering WindowsVirtualMachine resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL