ContainerServiceSshPublicKey Class

  • java.lang.Object
    • com.microsoft.azure.management.containerservice.ContainerServiceSshPublicKey

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.

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.

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:

the keyData value

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:

keyData - the keyData value to set

Returns:

the ContainerServiceSshPublicKey object itself.

Applies to