CertificateSubjectAlternativeName

class oci.certificates_management.models.CertificateSubjectAlternativeName(**kwargs)

Bases: object

A subject alternative name for the certificate that binds additional or alternate names to the subject of the certificate. In the certificate, the alternate subject name format is “type:name”.

Attributes

TYPE_DNS A constant which can be used with the type property of a CertificateSubjectAlternativeName.
TYPE_IP A constant which can be used with the type property of a CertificateSubjectAlternativeName.
type [Required] Gets the type of this CertificateSubjectAlternativeName.
value [Required] Gets the value of this CertificateSubjectAlternativeName.

Methods

__init__(**kwargs) Initializes a new CertificateSubjectAlternativeName object with values from keyword arguments.
TYPE_DNS = 'DNS'

A constant which can be used with the type property of a CertificateSubjectAlternativeName. This constant has a value of “DNS”

TYPE_IP = 'IP'

A constant which can be used with the type property of a CertificateSubjectAlternativeName. This constant has a value of “IP”

__init__(**kwargs)

Initializes a new CertificateSubjectAlternativeName object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this CertificateSubjectAlternativeName. Allowed values for this property are: “DNS”, “IP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • value (str) – The value to assign to the value property of this CertificateSubjectAlternativeName.
type

[Required] Gets the type of this CertificateSubjectAlternativeName. The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported.

Allowed values for this property are: “DNS”, “IP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this CertificateSubjectAlternativeName.
Return type:str
value

[Required] Gets the value of this CertificateSubjectAlternativeName. The subject alternative name.

Returns:The value of this CertificateSubjectAlternativeName.
Return type:str