PublicKey#

class PublicKey(name=None, key=None, cluster_ext_id=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Display model to encapsulate cluster public key information.

Parameters:
  • name (required min=3 chars, max=20 chars) – (name) The name of public key.

  • key (required) – (key) The ssh key string information.

  • cluster_ext_id (required) – (cluster_ext_id) UUID for the cluster.

property cluster_ext_id#

UUID for the cluster.

Type:

str

property key#

The ssh key string information.

Type:

str

property name#

The name of public key.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model