CaCertVerify¶
- class oci.devops.models.CaCertVerify(**kwargs)¶
Bases:
TlsVerifyConfigEnable TLS verification with CA certificate.
Attributes:
A constant which can be used with the tls_verify_mode property of a TlsVerifyConfig.
[Required] Gets the ca_certificate_bundle_id of this CaCertVerify.
[Required] Gets the tls_verify_mode of this TlsVerifyConfig.
Methods:
__init__(**kwargs)Initializes a new CaCertVerify 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 CaCertVerify object with values from keyword arguments. The default value of the
tls_verify_modeattribute of this class isCA_CERTIFICATE_VERIFYand it should not be changed. 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 CaCertVerify. Allowed values for this property are: “CA_CERTIFICATE_VERIFY”
ca_certificate_bundle_id (str) – The value to assign to the ca_certificate_bundle_id property of this CaCertVerify.
- property ca_certificate_bundle_id¶
[Required] Gets the ca_certificate_bundle_id of this CaCertVerify. The OCID of OCI certificate service CA bundle.
- Returns
The ca_certificate_bundle_id of this CaCertVerify.
- Return type
str
- 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.
- property 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