ComputeInstanceSshSettings Class

Specifies policy and settings for SSH access.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
ComputeInstanceSshSettings

Constructor

ComputeInstanceSshSettings(*, ssh_public_access: Optional[Union[str, azure.mgmt.machinelearningservices.models._azure_machine_learning_workspaces_enums.SshPublicAccess]] = 'Disabled', admin_public_key: Optional[str] = None, **kwargs)

Parameters

ssh_public_access
str or SshPublicAccess
Required

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. Possible values include: "Enabled", "Disabled". Default value: "Disabled".

admin_public_key
str
Required

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

Variables

admin_user_name
str

Describes the admin user name.

ssh_port
int

Describes the port for connecting through SSH.