HostSpecificCertificateDetails¶
- class oci.bds.models.HostSpecificCertificateDetails(**kwargs)¶
Bases:
objectHost specific certificate details
Attributes:
A constant which can be used with the certificate_type property of a HostSpecificCertificateDetails.
A constant which can be used with the certificate_type property of a HostSpecificCertificateDetails.
Gets the certificate_type of this HostSpecificCertificateDetails.
Gets the host_name of this HostSpecificCertificateDetails.
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.
- property 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
- property host_name¶
Gets the host_name of this HostSpecificCertificateDetails. Name of the host.
- Returns
The host_name of this HostSpecificCertificateDetails.
- Return type
str
- property 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