Share via


IComputeInstanceSshSettings Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ComputeInstanceSshSettingsTypeConverter))]
public interface IComputeInstanceSshSettings : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ComputeInstanceSshSettingsTypeConverter))>]
type IComputeInstanceSshSettings = interface
    interface IJsonSerializable
Public Interface IComputeInstanceSshSettings
Implements IJsonSerializable
Derived
Attributes
Implements

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.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to