ExternalRespCache¶
-
class
oci.apigateway.models.ExternalRespCache(**kwargs)¶ Bases:
oci.apigateway.models.response_cache_details.ResponseCacheDetailsConnection details for an external RESP based cache store for Response Caching.
Attributes
TYPE_EXTERNAL_RESP_CACHEstr(object=’’) -> str TYPE_NONEstr(object=’’) -> str authentication_secret_id[Required] Gets the authentication_secret_id of this ExternalRespCache. authentication_secret_version_number[Required] Gets the authentication_secret_version_number of this ExternalRespCache. connect_timeout_in_msGets the connect_timeout_in_ms of this ExternalRespCache. is_ssl_enabledGets the is_ssl_enabled of this ExternalRespCache. is_ssl_verify_disabledGets the is_ssl_verify_disabled of this ExternalRespCache. read_timeout_in_msGets the read_timeout_in_ms of this ExternalRespCache. send_timeout_in_msGets the send_timeout_in_ms of this ExternalRespCache. servers[Required] Gets the servers of this ExternalRespCache. type[Required] Gets the type of this ResponseCacheDetails. Methods
__init__(**kwargs)Initializes a new ExternalRespCache 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. -
TYPE_EXTERNAL_RESP_CACHE= 'EXTERNAL_RESP_CACHE'¶
-
TYPE_NONE= 'NONE'¶
-
__init__(**kwargs)¶ Initializes a new ExternalRespCache object with values from keyword arguments. The default value of the
typeattribute of this class isEXTERNAL_RESP_CACHEand it should not be changed. 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 ExternalRespCache. Allowed values for this property are: “EXTERNAL_RESP_CACHE”, “NONE”
- servers (list[oci.apigateway.models.ResponseCacheRespServer]) – The value to assign to the servers property of this ExternalRespCache.
- authentication_secret_id (str) – The value to assign to the authentication_secret_id property of this ExternalRespCache.
- authentication_secret_version_number (int) – The value to assign to the authentication_secret_version_number property of this ExternalRespCache.
- is_ssl_enabled (bool) – The value to assign to the is_ssl_enabled property of this ExternalRespCache.
- is_ssl_verify_disabled (bool) – The value to assign to the is_ssl_verify_disabled property of this ExternalRespCache.
- connect_timeout_in_ms (int) – The value to assign to the connect_timeout_in_ms property of this ExternalRespCache.
- read_timeout_in_ms (int) – The value to assign to the read_timeout_in_ms property of this ExternalRespCache.
- send_timeout_in_ms (int) – The value to assign to the send_timeout_in_ms property of this ExternalRespCache.
-
authentication_secret_id¶ [Required] Gets the authentication_secret_id of this ExternalRespCache. The OCID of the Oracle Vault Service secret resource.
Returns: The authentication_secret_id of this ExternalRespCache. Return type: str
-
authentication_secret_version_number¶ [Required] Gets the authentication_secret_version_number of this ExternalRespCache. The version number of the authentication secret to use.
Returns: The authentication_secret_version_number of this ExternalRespCache. Return type: int
-
connect_timeout_in_ms¶ Gets the connect_timeout_in_ms of this ExternalRespCache. Defines the timeout for establishing a connection with the Response Cache.
Returns: The connect_timeout_in_ms of this ExternalRespCache. Return type: int
-
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.
-
is_ssl_enabled¶ Gets the is_ssl_enabled of this ExternalRespCache. Defines if the connection should be over SSL.
Returns: The is_ssl_enabled of this ExternalRespCache. Return type: bool
-
is_ssl_verify_disabled¶ Gets the is_ssl_verify_disabled of this ExternalRespCache. Defines whether or not to uphold SSL verification.
Returns: The is_ssl_verify_disabled of this ExternalRespCache. Return type: bool
-
read_timeout_in_ms¶ Gets the read_timeout_in_ms of this ExternalRespCache. Defines the timeout for reading data from the Response Cache.
Returns: The read_timeout_in_ms of this ExternalRespCache. Return type: int
-
send_timeout_in_ms¶ Gets the send_timeout_in_ms of this ExternalRespCache. Defines the timeout for transmitting data to the Response Cache.
Returns: The send_timeout_in_ms of this ExternalRespCache. Return type: int
-
servers¶ [Required] Gets the servers of this ExternalRespCache. The set of cache store members to connect to. At present only a single server is supported.
Returns: The servers of this ExternalRespCache. Return type: list[oci.apigateway.models.ResponseCacheRespServer]
-
type¶ [Required] Gets the type of this ResponseCacheDetails. Type of the Response Cache.
Allowed values for this property are: “EXTERNAL_RESP_CACHE”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this ResponseCacheDetails. Return type: str
-