SshPublicKeyGenerateKeyPairResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Response from generation of an SSH key pair.
public class SshPublicKeyGenerateKeyPairResult : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.SshPublicKeyGenerateKeyPairResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.SshPublicKeyGenerateKeyPairResult>
type SshPublicKeyGenerateKeyPairResult = class
interface IJsonModel<SshPublicKeyGenerateKeyPairResult>
interface IPersistableModel<SshPublicKeyGenerateKeyPairResult>
Public Class SshPublicKeyGenerateKeyPairResult
Implements IJsonModel(Of SshPublicKeyGenerateKeyPairResult), IPersistableModel(Of SshPublicKeyGenerateKeyPairResult)
- Inheritance
-
SshPublicKeyGenerateKeyPairResult
- Implements
Properties
Id |
The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}. |
PrivateKey |
Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret. |
PublicKey |
Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. |
Explicit Interface Implementations
IJsonModel<SshPublicKeyGenerateKeyPairResult>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SshPublicKeyGenerateKeyPairResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SshPublicKeyGenerateKeyPairResult>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SshPublicKeyGenerateKeyPairResult>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SshPublicKeyGenerateKeyPairResult>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應