azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.w...

69 строки
4.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.workloads.models.SshPublicKey"
fullName: "com.azure.resourcemanager.workloads.models.SshPublicKey"
name: "SshPublicKey"
nameWithType: "SshPublicKey"
summary: "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **SshPublicKey**"
constructors:
- uid: "com.azure.resourcemanager.workloads.models.SshPublicKey.SshPublicKey()"
fullName: "com.azure.resourcemanager.workloads.models.SshPublicKey.SshPublicKey()"
name: "SshPublicKey()"
nameWithType: "SshPublicKey.SshPublicKey()"
summary: "Creates an instance of Ssh<wbr>Public<wbr>Key class."
syntax: "public SshPublicKey()"
desc: "Creates an instance of SshPublicKey class."
methods:
- uid: "com.azure.resourcemanager.workloads.models.SshPublicKey.keyData()"
fullName: "com.azure.resourcemanager.workloads.models.SshPublicKey.keyData()"
name: "keyData()"
nameWithType: "SshPublicKey.keyData()"
summary: "Get the key<wbr>Data property: SSH public key certificate used to authenticate with the VM through ssh."
syntax: "public String keyData()"
desc: "Get the keyData property: SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see \\[Create SSH keys on Linux and Mac for Linux VMs in Azure\\](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)."
returns:
description: "the keyData value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.workloads.models.SshPublicKey.validate()"
fullName: "com.azure.resourcemanager.workloads.models.SshPublicKey.validate()"
name: "validate()"
nameWithType: "SshPublicKey.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.workloads.models.SshPublicKey.withKeyData(java.lang.String)"
fullName: "com.azure.resourcemanager.workloads.models.SshPublicKey.withKeyData(String keyData)"
name: "withKeyData(String keyData)"
nameWithType: "SshPublicKey.withKeyData(String keyData)"
summary: "Set the key<wbr>Data property: SSH public key certificate used to authenticate with the VM through ssh."
parameters:
- description: "the keyData value to set."
name: "keyData"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SshPublicKey withKeyData(String keyData)"
desc: "Set the keyData property: SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see \\[Create SSH keys on Linux and Mac for Linux VMs in Azure\\](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)."
returns:
description: "the SshPublicKey object itself."
type: "<xref href=\"com.azure.resourcemanager.workloads.models.SshPublicKey?alt=com.azure.resourcemanager.workloads.models.SshPublicKey&text=SshPublicKey\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed."
metadata: {}
package: "com.azure.resourcemanager.workloads.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-workloads:1.0.0