IngressListenerTlsConfig¶
-
class
oci.service_mesh.models.
IngressListenerTlsConfig
(**kwargs)¶ Bases:
object
TLS enforcement config for the ingress listener.
Attributes
MODE_DISABLED
A constant which can be used with the mode property of a IngressListenerTlsConfig. MODE_MUTUAL_TLS
A constant which can be used with the mode property of a IngressListenerTlsConfig. MODE_PERMISSIVE
A constant which can be used with the mode property of a IngressListenerTlsConfig. MODE_TLS
A constant which can be used with the mode property of a IngressListenerTlsConfig. client_validation
Gets the client_validation of this IngressListenerTlsConfig. mode
[Required] Gets the mode of this IngressListenerTlsConfig. server_certificate
Gets the server_certificate of this IngressListenerTlsConfig. Methods
__init__
(**kwargs)Initializes a new IngressListenerTlsConfig object with values from keyword arguments. -
MODE_DISABLED
= 'DISABLED'¶ A constant which can be used with the mode property of a IngressListenerTlsConfig. This constant has a value of “DISABLED”
-
MODE_MUTUAL_TLS
= 'MUTUAL_TLS'¶ A constant which can be used with the mode property of a IngressListenerTlsConfig. This constant has a value of “MUTUAL_TLS”
-
MODE_PERMISSIVE
= 'PERMISSIVE'¶ A constant which can be used with the mode property of a IngressListenerTlsConfig. This constant has a value of “PERMISSIVE”
-
MODE_TLS
= 'TLS'¶ A constant which can be used with the mode property of a IngressListenerTlsConfig. This constant has a value of “TLS”
-
__init__
(**kwargs)¶ Initializes a new IngressListenerTlsConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - mode (str) – The value to assign to the mode property of this IngressListenerTlsConfig. Allowed values for this property are: “DISABLED”, “PERMISSIVE”, “TLS”, “MUTUAL_TLS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- server_certificate (oci.service_mesh.models.TlsCertificate) – The value to assign to the server_certificate property of this IngressListenerTlsConfig.
- client_validation (oci.service_mesh.models.IngressListenerClientValidationConfig) – The value to assign to the client_validation property of this IngressListenerTlsConfig.
-
client_validation
¶ Gets the client_validation of this IngressListenerTlsConfig.
Returns: The client_validation of this IngressListenerTlsConfig. Return type: oci.service_mesh.models.IngressListenerClientValidationConfig
-
mode
¶ [Required] Gets the mode of this IngressListenerTlsConfig. DISABLED: Connection can only be plaintext. PERMISSIVE: Connection can be either plaintext or TLS/mTLS. If the clientValidation.trustedCaBundle property is configured for the listener, mTLS is performed and the client’s certificates are validated by the gateway. TLS: Connection can only be TLS. MUTUAL_TLS: Connection can only be MTLS.
Allowed values for this property are: “DISABLED”, “PERMISSIVE”, “TLS”, “MUTUAL_TLS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The mode of this IngressListenerTlsConfig. Return type: str
-
server_certificate
¶ Gets the server_certificate of this IngressListenerTlsConfig.
Returns: The server_certificate of this IngressListenerTlsConfig. Return type: oci.service_mesh.models.TlsCertificate
-