ArmCognitiveServicesModelFactory.CognitiveServicesComputeSshSettings Method

Definition

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesComputeSshSettings CognitiveServicesComputeSshSettings(string sshPublicKey = default, bool? isAdminEnabled = default);
static member CognitiveServicesComputeSshSettings : string * Nullable<bool> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesComputeSshSettings
Public Shared Function CognitiveServicesComputeSshSettings (Optional sshPublicKey As String = Nothing, Optional isAdminEnabled As Nullable(Of Boolean) = Nothing) As CognitiveServicesComputeSshSettings

Parameters

sshPublicKey
String

The SSH public key for authenticating to the compute instance.

isAdminEnabled
Nullable<Boolean>

Whether SSH admin access is enabled.

Returns

A new CognitiveServicesComputeSshSettings instance for mocking.

Applies to