HostSpecificCertificateDetails¶
-
class
oci.bds.models.
HostSpecificCertificateDetails
(**kwargs)¶ Bases:
object
Host specific certificate details
Attributes
CERTIFICATE_TYPE_CUSTOM_SIGNED
A constant which can be used with the certificate_type property of a HostSpecificCertificateDetails. CERTIFICATE_TYPE_SELF_SIGNED
A constant which can be used with the certificate_type property of a HostSpecificCertificateDetails. certificate_type
Gets the certificate_type of this HostSpecificCertificateDetails. host_name
Gets the host_name of this HostSpecificCertificateDetails. time_expiry
Gets the time_expiry of this HostSpecificCertificateDetails. Methods
__init__
(**kwargs)Initializes a new HostSpecificCertificateDetails object with values from keyword arguments. -
CERTIFICATE_TYPE_CUSTOM_SIGNED
= 'CUSTOM_SIGNED'¶ A constant which can be used with the certificate_type property of a HostSpecificCertificateDetails. This constant has a value of “CUSTOM_SIGNED”
-
CERTIFICATE_TYPE_SELF_SIGNED
= 'SELF_SIGNED'¶ A constant which can be used with the certificate_type property of a HostSpecificCertificateDetails. This constant has a value of “SELF_SIGNED”
-
__init__
(**kwargs)¶ Initializes a new HostSpecificCertificateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - host_name (str) – The value to assign to the host_name property of this HostSpecificCertificateDetails.
- certificate_type (str) – The value to assign to the certificate_type property of this HostSpecificCertificateDetails. Allowed values for this property are: “CUSTOM_SIGNED”, “SELF_SIGNED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_expiry (datetime) – The value to assign to the time_expiry property of this HostSpecificCertificateDetails.
-
certificate_type
¶ Gets the certificate_type of this HostSpecificCertificateDetails. Type of certificate self signed or CA signed
Allowed values for this property are: “CUSTOM_SIGNED”, “SELF_SIGNED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The certificate_type of this HostSpecificCertificateDetails. Return type: str
-
host_name
¶ Gets the host_name of this HostSpecificCertificateDetails. Name of the host.
Returns: The host_name of this HostSpecificCertificateDetails. Return type: str
-
time_expiry
¶ Gets the time_expiry of this HostSpecificCertificateDetails. The time the certificate expires, shown as an RFC 3339 formatted datetime string.
Returns: The time_expiry of this HostSpecificCertificateDetails. Return type: datetime
-