CertificateProjection#

class CertificateProjection(metadata=None, public_cert=None, private_key=None, ca=None, alternate_fqdns=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: Certificate

Parameters:
  • metadata – (metadata)

  • public_cert (min=1 chars, max=2000000 chars) – (public_cert) The public certificate to upload.

  • private_key (min=1 chars, max=2000000 chars) – (private_key) The private key to upload.

  • ca (min=1 chars, max=2000000 chars) – (ca) The CA certificate or chain to upload.

  • alternate_fqdns – (alternate_fqdns) The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a ‘.’. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g ‘objects-0.pc_nutanix.com’.

  • ext_id – (ext_id) A globally unique identifier of an instance that is suitable for external consumption.

  • links – (links) A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.

  • tenant_id – (tenant_id) A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model