models.deploy_cert_parameters module

class models.deploy_cert_parameters.DeployCertParameters(cert_file_name=None, hosts_info_list=None, mtype=None, valid_days=None)[source]

Bases: object

Implementation of the ‘DeployCertParameters’ model.

Specifies the parameters used to generate and deploy a certificate.

Attributes:

cert_file_name (string): Specifies the filename of the certificate. hosts_info_list (list of HostInfo): Specifies the list of all hosts on

which the certificate is to be deployed.

mtype (TypeDeployCertParametersEnum): Specifies the type of the host

such as ‘kSapHana’, ‘kSapOracle’, etc. Specifies the host type of host for generating and deploying a Certificate. ‘kOther’ indicates it is any of the other hosts. ‘kSapOracle’ indicates it is a SAP Oracle host. ‘kSapHana’ indicates it is a SAP HANA host.

valid_days (long|int): Specifies the number of days after which the

certificate will expire. The user has to input the number of days (from the current date) till when the certificate is valid.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.