Share via


VirtualMachine Class

Definition

A Machine Learning compute based on Azure Virtual Machines.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VirtualMachineTypeConverter))]
public class VirtualMachine : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IVirtualMachine, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VirtualMachineTypeConverter))>]
type VirtualMachine = class
    interface IVirtualMachine
    interface IJsonSerializable
    interface ICompute
    interface IVirtualMachineSchema
    interface IValidates
Public Class VirtualMachine
Implements IValidates, IVirtualMachine
Inheritance
VirtualMachine
Attributes
Implements

Constructors

VirtualMachine()

Creates an new VirtualMachine instance.

Properties

Address

Public IP address of the virtual machine.

AdministratorAccount

Admin credentials for virtual machine

AdministratorAccountPassword

Password of admin account

AdministratorAccountPrivateKeyData

Private key data

AdministratorAccountPublicKeyData

Public key data

AdministratorAccountUsername

Username of admin account

CreatedOn

The time at which the compute was created.

Description

The description of the Machine Learning compute.

DisableLocalAuth

Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.

IsAttachedCompute

Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.

IsNotebookInstanceCompute

Indicates whether this compute will be used for running notebooks.

Location

Location for the underlying compute

ModifiedOn

The time at which the compute was last modified.

NotebookServerPort

Notebook server port open for ssh connections.

Property
ProvisioningError

Errors during provisioning

ProvisioningState

The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.

ResourceId

ARM resource id of the underlying compute

Size

Virtual Machine size

SshPort

Port open for ssh connections.

Type

The type of compute

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachine.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachine.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IVirtualMachine.

FromJsonString(String)

Creates a new instance of VirtualMachine, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachine into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to