DatabaseToolsDatabaseApiGatewayConfigPoolContent¶
-
class
oci.database_tools_runtime.models.DatabaseToolsDatabaseApiGatewayConfigPoolContent(**kwargs)¶ Bases:
objectThe content of a Database Tools database API gateway config pool sub resource.
Attributes
DATABASE_ACTIONS_STATUS_DISABLEDA constant which can be used with the database_actions_status property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. DATABASE_ACTIONS_STATUS_ENABLEDA constant which can be used with the database_actions_status property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. REST_ENABLED_SQL_STATUS_DISABLEDA constant which can be used with the rest_enabled_sql_status property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. REST_ENABLED_SQL_STATUS_ENABLEDA constant which can be used with the rest_enabled_sql_status property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. TYPE_DEFAULTA constant which can be used with the type property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. advanced_propertiesGets the advanced_properties of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. api_specsGets the api_specs of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. auto_api_specsGets the auto_api_specs of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. database_actions_statusGets the database_actions_status of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. database_tools_connection_idGets the database_tools_connection_id of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. display_nameGets the display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. initial_pool_sizeGets the initial_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. jwt_profile_audienceGets the jwt_profile_audience of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. jwt_profile_issuerGets the jwt_profile_issuer of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. jwt_profile_jwk_urlGets the jwt_profile_jwk_url of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. jwt_profile_role_claim_nameGets the jwt_profile_role_claim_name of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. key[Required] Gets the key of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. max_pool_sizeGets the max_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. min_pool_sizeGets the min_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. pool_route_valueGets the pool_route_value of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. rest_enabled_sql_statusGets the rest_enabled_sql_status of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. time_createdGets the time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. time_updatedGets the time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. type[Required] Gets the type of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Methods
__init__(**kwargs)Initializes a new DatabaseToolsDatabaseApiGatewayConfigPoolContent 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. -
DATABASE_ACTIONS_STATUS_DISABLED= 'DISABLED'¶ A constant which can be used with the database_actions_status property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. This constant has a value of “DISABLED”
-
DATABASE_ACTIONS_STATUS_ENABLED= 'ENABLED'¶ A constant which can be used with the database_actions_status property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. This constant has a value of “ENABLED”
-
REST_ENABLED_SQL_STATUS_DISABLED= 'DISABLED'¶ A constant which can be used with the rest_enabled_sql_status property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. This constant has a value of “DISABLED”
-
REST_ENABLED_SQL_STATUS_ENABLED= 'ENABLED'¶ A constant which can be used with the rest_enabled_sql_status property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. This constant has a value of “ENABLED”
-
TYPE_DEFAULT= 'DEFAULT'¶ A constant which can be used with the type property of a DatabaseToolsDatabaseApiGatewayConfigPoolContent. This constant has a value of “DEFAULT”
-
__init__(**kwargs)¶ Initializes a new DatabaseToolsDatabaseApiGatewayConfigPoolContent 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: - key (str) – The value to assign to the key property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- type (str) – The value to assign to the type property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Allowed values for this property are: “DEFAULT”
- display_name (str) – The value to assign to the display_name property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- pool_route_value (str) – The value to assign to the pool_route_value property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- database_tools_connection_id (str) – The value to assign to the database_tools_connection_id property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- max_pool_size (int) – The value to assign to the max_pool_size property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- min_pool_size (int) – The value to assign to the min_pool_size property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- initial_pool_size (int) – The value to assign to the initial_pool_size property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- jwt_profile_jwk_url (str) – The value to assign to the jwt_profile_jwk_url property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- jwt_profile_issuer (str) – The value to assign to the jwt_profile_issuer property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- jwt_profile_audience (str) – The value to assign to the jwt_profile_audience property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- jwt_profile_role_claim_name (str) – The value to assign to the jwt_profile_role_claim_name property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- database_actions_status (str) – The value to assign to the database_actions_status property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Allowed values for this property are: “ENABLED”, “DISABLED”
- rest_enabled_sql_status (str) – The value to assign to the rest_enabled_sql_status property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Allowed values for this property are: “ENABLED”, “DISABLED”
- advanced_properties (dict(str, str)) – The value to assign to the advanced_properties property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- api_specs (list[oci.database_tools_runtime.models.DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec]) – The value to assign to the api_specs property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- auto_api_specs (list[oci.database_tools_runtime.models.DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec]) – The value to assign to the auto_api_specs property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- time_created (datetime) – The value to assign to the time_created property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
- time_updated (datetime) – The value to assign to the time_updated property of this DatabaseToolsDatabaseApiGatewayConfigPoolContent.
-
advanced_properties¶ Gets the advanced_properties of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Advanced pool properties.
Returns: The advanced_properties of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: dict(str, str)
-
api_specs¶ Gets the api_specs of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Array of Database Tools database API gateway config API spec items.
Returns: The api_specs of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: list[oci.database_tools_runtime.models.DatabaseToolsDatabaseApiGatewayConfigPoolApiSpec]
-
auto_api_specs¶ Gets the auto_api_specs of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Array of Database Tools database API gateway config auto API spec items.
Returns: The auto_api_specs of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: list[oci.database_tools_runtime.models.DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec]
-
database_actions_status¶ Gets the database_actions_status of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies to enable the Database Actions feature.
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The database_actions_status of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
database_tools_connection_id¶ Gets the database_tools_connection_id of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. The OCID of the related Database Tools connection. Specifies the OCI database tools connection ocid to build the connection pool from.
Returns: The database_tools_connection_id of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
display_name¶ Gets the display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. 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.
-
initial_pool_size¶ Gets the initial_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies the initial size for the number of database connections that will be created for the pool.
Returns: The initial_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: int
-
jwt_profile_audience¶ Gets the jwt_profile_audience of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies the expected audience for the JWT token. This value is used to validate the aud claim in the JWT token.
Returns: The jwt_profile_audience of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
jwt_profile_issuer¶ Gets the jwt_profile_issuer of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies the issuer of the JWT token. This value is used to validate the iss claim in the JWT token.
Returns: The jwt_profile_issuer of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
jwt_profile_jwk_url¶ Gets the jwt_profile_jwk_url of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies the URL of the JSON Web Key (JWK) that is used to verify the signature of the JWT token.
Returns: The jwt_profile_jwk_url of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
jwt_profile_role_claim_name¶ Gets the jwt_profile_role_claim_name of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies the JSON pointer to the claim in the JWT token that contains the roles of the users.
Returns: The jwt_profile_role_claim_name of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
key¶ [Required] Gets the key of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. A system generated string that uniquely identifies a pool sub resource.
Returns: The key of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
max_pool_size¶ Gets the max_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies the maximum number of database connections allowed for the pool.
Returns: The max_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: int
-
min_pool_size¶ Gets the min_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies the minimum number of database connections allowed for the pool.
Returns: The min_pool_size of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: int
-
pool_route_value¶ Gets the pool_route_value of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. The pool route value provided in requests to target this pool.
Returns: The pool_route_value of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
rest_enabled_sql_status¶ Gets the rest_enabled_sql_status of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Specifies whether the REST-Enabled SQL service is active.
Allowed values for this property are: “ENABLED”, “DISABLED”
Returns: The rest_enabled_sql_status of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-
time_created¶ Gets the time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. The time the resource was created. An RFC3339 formatted datetime string.
Returns: The time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: datetime
-
time_updated¶ Gets the time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. The time the resource was updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: datetime
-
type¶ [Required] Gets the type of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. The type of the Database Tools database API gateway config pool sub resource.
Allowed values for this property are: “DEFAULT”
Returns: The type of this DatabaseToolsDatabaseApiGatewayConfigPoolContent. Return type: str
-