Show / Hide Table of Contents

Class LinuxVirtualMachine

Manages a Linux Virtual Machine within a Dev Test Lab.

Inheritance
System.Object
Resource
CustomResource
LinuxVirtualMachine
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.DevTest
Assembly: Pulumi.Azure.dll
Syntax
public class LinuxVirtualMachine : CustomResource

Constructors

View Source

LinuxVirtualMachine(String, LinuxVirtualMachineArgs, CustomResourceOptions)

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

Declaration
public LinuxVirtualMachine(string name, LinuxVirtualMachineArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

LinuxVirtualMachineArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AllowClaim

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

Declaration
public Output<bool?> AllowClaim { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

DisallowPublicIpAddress

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

Declaration
public Output<bool?> DisallowPublicIpAddress { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Fqdn

The FQDN of the Virtual Machine.

Declaration
public Output<string> Fqdn { get; }
Property Value
Type Description
Output<System.String>
View Source

GalleryImageReference

A gallery_image_reference block as defined below.

Declaration
public Output<LinuxVirtualMachineGalleryImageReference> GalleryImageReference { get; }
Property Value
Type Description
Output<LinuxVirtualMachineGalleryImageReference>
View Source

InboundNatRules

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

Declaration
public Output<ImmutableArray<LinuxVirtualMachineInboundNatRule>> InboundNatRules { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<LinuxVirtualMachineInboundNatRule>>
View Source

LabName

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.

Declaration
public Output<string> LabName { get; }
Property Value
Type Description
Output<System.String>
View Source

LabSubnetName

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.

Declaration
public Output<string> LabSubnetName { get; }
Property Value
Type Description
Output<System.String>
View Source

LabVirtualNetworkId

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

Declaration
public Output<string> LabVirtualNetworkId { get; }
Property Value
Type Description
Output<System.String>
View Source

Location

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

Declaration
public Output<string> Location { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

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

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Notes

Any notes about the Virtual Machine.

Declaration
public Output<string> Notes { get; }
Property Value
Type Description
Output<System.String>
View Source

Password

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

Declaration
public Output<string> Password { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

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

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

Size

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

Declaration
public Output<string> Size { get; }
Property Value
Type Description
Output<System.String>
View Source

SshKey

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

Declaration
public Output<string> SshKey { get; }
Property Value
Type Description
Output<System.String>
View Source

StorageType

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

Declaration
public Output<string> StorageType { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

UniqueIdentifier

The unique immutable identifier of the Virtual Machine.

Declaration
public Output<string> UniqueIdentifier { get; }
Property Value
Type Description
Output<System.String>
View Source

Username

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

Declaration
public Output<string> Username { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, LinuxVirtualMachineState, CustomResourceOptions)

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

Declaration
public static LinuxVirtualMachine Get(string name, Input<string> id, LinuxVirtualMachineState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

LinuxVirtualMachineState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
LinuxVirtualMachine
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.