ExternalRespCache¶
- class oci.apigateway.models.ExternalRespCache(**kwargs)¶
Bases:
ResponseCacheDetailsConnection details for an external RESP based cache store for Response Caching.
Attributes:
A constant which can be used with the type property of a ResponseCacheDetails.
A constant which can be used with the type property of a ResponseCacheDetails.
[Required] Gets the authentication_secret_id of this ExternalRespCache.
[Required] Gets the authentication_secret_version_number of this ExternalRespCache.
Gets the connect_timeout_in_ms of this ExternalRespCache.
Gets the is_ssl_enabled of this ExternalRespCache.
Gets the is_ssl_verify_disabled of this ExternalRespCache.
Gets the read_timeout_in_ms of this ExternalRespCache.
Gets the send_timeout_in_ms of this ExternalRespCache.
[Required] Gets the servers of this ExternalRespCache.
[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'¶
A constant which can be used with the type property of a ResponseCacheDetails. This constant has a value of “EXTERNAL_RESP_CACHE”
- TYPE_NONE = 'NONE'¶
A constant which can be used with the type property of a ResponseCacheDetails. This constant has a value of “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.
- property 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
- property 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
- property 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.
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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