MachineLearningComputeInstanceSshSettings Class

Definition

Specifies policy and settings for SSH access.

public class MachineLearningComputeInstanceSshSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeInstanceSshSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeInstanceSshSettings>
public class MachineLearningComputeInstanceSshSettings
type MachineLearningComputeInstanceSshSettings = class
    interface IJsonModel<MachineLearningComputeInstanceSshSettings>
    interface IPersistableModel<MachineLearningComputeInstanceSshSettings>
type MachineLearningComputeInstanceSshSettings = class
Public Class MachineLearningComputeInstanceSshSettings
Implements IJsonModel(Of MachineLearningComputeInstanceSshSettings), IPersistableModel(Of MachineLearningComputeInstanceSshSettings)
Public Class MachineLearningComputeInstanceSshSettings
Inheritance
MachineLearningComputeInstanceSshSettings
Implements

Constructors

MachineLearningComputeInstanceSshSettings()

Initializes a new instance of MachineLearningComputeInstanceSshSettings.

Properties

AdminPublicKey

Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.

AdminUserName

Describes the admin user name.

SshPort

Describes the port for connecting through SSH.

SshPublicAccess

State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.

Explicit Interface Implementations

IJsonModel<MachineLearningComputeInstanceSshSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MachineLearningComputeInstanceSshSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningComputeInstanceSshSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningComputeInstanceSshSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MachineLearningComputeInstanceSshSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to