ComputeNodeUser.SshPublicKey プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コンピューティング ノードへのリモート ログインに使用できる 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 (無効な要求) です。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET