ComputeNodeUser.SshPublicKey プロパティ

定義

コンピューティング ノードへのリモート ログインに使用できる SSH 公開キーを取得または設定します。

[Newtonsoft.Json.JsonProperty(PropertyName="sshPublicKey")]
public string SshPublicKey { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="sshPublicKey")>]
member this.SshPublicKey : string with get, set
Public Property SshPublicKey As String

プロパティ値

属性
Newtonsoft.Json.JsonPropertyAttribute

注釈

公開キーは OpenSSH エンコードと互換性があり、Base 64 でエンコードする必要があります。 このプロパティは、Linux コンピューティング ノードに対してのみ指定できます。 これが Windows コンピューティング ノードに対して指定されている場合、Batch サービスは要求を拒否します。REST API を直接呼び出す場合、HTTP 状態コードは 400 (無効な要求) です。

適用対象