ContainerServiceSshPublicKey Class
- java.
lang. Object - com.
microsoft. azure. management. containerservice. ContainerServiceSshPublicKey
- com.
public class ContainerServiceSshPublicKey
Contains information about SSH certificate public key data.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
keyData()
Get certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. |
Container |
withKeyData(String keyData)
Set certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers. |
Method Details
keyData
public String keyData()
Get certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
Returns:
withKeyData
public ContainerServiceSshPublicKey withKeyData(String keyData)
Set certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for