TlsVerifyConfig¶
-
class
oci.devops.models.TlsVerifyConfig(**kwargs)¶ Bases:
objectTLS configuration used by build service to verify TLS connection.
Attributes
TLS_VERIFY_MODE_CA_CERTIFICATE_VERIFYA constant which can be used with the tls_verify_mode property of a TlsVerifyConfig. tls_verify_mode[Required] Gets the tls_verify_mode of this TlsVerifyConfig. Methods
__init__(**kwargs)Initializes a new TlsVerifyConfig object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
TLS_VERIFY_MODE_CA_CERTIFICATE_VERIFY= 'CA_CERTIFICATE_VERIFY'¶ A constant which can be used with the tls_verify_mode property of a TlsVerifyConfig. This constant has a value of “CA_CERTIFICATE_VERIFY”
-
__init__(**kwargs)¶ Initializes a new TlsVerifyConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: tls_verify_mode (str) – The value to assign to the tls_verify_mode property of this TlsVerifyConfig. Allowed values for this property are: “CA_CERTIFICATE_VERIFY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
tls_verify_mode¶ [Required] Gets the tls_verify_mode of this TlsVerifyConfig. The type of TLS verification.
Allowed values for this property are: “CA_CERTIFICATE_VERIFY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The tls_verify_mode of this TlsVerifyConfig. Return type: str
-