oci-databasetools 2.131.1 → 2.131.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client.d.ts +318 -1
- package/lib/client.js +2915 -702
- package/lib/client.js.map +1 -1
- package/lib/databasetools-waiter.d.ts +33 -1
- package/lib/databasetools-waiter.js +49 -1
- package/lib/databasetools-waiter.js.map +1 -1
- package/lib/model/action-type.d.ts +1 -1
- package/lib/model/action-type.js +1 -1
- package/lib/model/add-resource-lock-details.d.ts +1 -1
- package/lib/model/add-resource-lock-details.js +1 -1
- package/lib/model/authentication-type.d.ts +28 -0
- package/lib/model/authentication-type.js +39 -0
- package/lib/model/authentication-type.js.map +1 -0
- package/lib/model/change-database-tools-connection-compartment-details.d.ts +1 -1
- package/lib/model/change-database-tools-connection-compartment-details.js +1 -1
- package/lib/model/change-database-tools-database-api-gateway-config-compartment-details.d.ts +25 -0
- package/lib/model/change-database-tools-database-api-gateway-config-compartment-details.js +29 -0
- package/lib/model/change-database-tools-database-api-gateway-config-compartment-details.js.map +1 -0
- package/lib/model/change-database-tools-identity-compartment-details.d.ts +1 -1
- package/lib/model/change-database-tools-identity-compartment-details.js +1 -1
- package/lib/model/change-database-tools-mcp-server-compartment-details.d.ts +25 -0
- package/lib/model/change-database-tools-mcp-server-compartment-details.js +29 -0
- package/lib/model/change-database-tools-mcp-server-compartment-details.js.map +1 -0
- package/lib/model/change-database-tools-mcp-toolset-compartment-details.d.ts +25 -0
- package/lib/model/change-database-tools-mcp-toolset-compartment-details.js +29 -0
- package/lib/model/change-database-tools-mcp-toolset-compartment-details.js.map +1 -0
- package/lib/model/change-database-tools-private-endpoint-compartment-details.d.ts +1 -1
- package/lib/model/change-database-tools-private-endpoint-compartment-details.js +1 -1
- package/lib/model/change-database-tools-sql-report-compartment-details.d.ts +25 -0
- package/lib/model/change-database-tools-sql-report-compartment-details.js +29 -0
- package/lib/model/change-database-tools-sql-report-compartment-details.js.map +1 -0
- package/lib/model/connection-type.d.ts +1 -1
- package/lib/model/connection-type.js +1 -1
- package/lib/model/create-database-tools-connection-details.d.ts +3 -2
- package/lib/model/create-database-tools-connection-details.js +1 -1
- package/lib/model/create-database-tools-connection-details.js.map +1 -1
- package/lib/model/create-database-tools-connection-generic-jdbc-details.d.ts +1 -1
- package/lib/model/create-database-tools-connection-generic-jdbc-details.js +1 -1
- package/lib/model/create-database-tools-connection-my-sql-details.d.ts +1 -1
- package/lib/model/create-database-tools-connection-my-sql-details.js +1 -1
- package/lib/model/create-database-tools-connection-oracle-database-details.d.ts +8 -4
- package/lib/model/create-database-tools-connection-oracle-database-details.js +1 -1
- package/lib/model/create-database-tools-connection-oracle-database-details.js.map +1 -1
- package/lib/model/create-database-tools-connection-postgresql-details.d.ts +1 -1
- package/lib/model/create-database-tools-connection-postgresql-details.js +1 -1
- package/lib/model/create-database-tools-database-api-gateway-config-default-details.d.ts +24 -0
- package/lib/model/create-database-tools-database-api-gateway-config-default-details.js +54 -0
- package/lib/model/create-database-tools-database-api-gateway-config-default-details.js.map +1 -0
- package/lib/model/create-database-tools-database-api-gateway-config-details.d.ts +57 -0
- package/lib/model/create-database-tools-database-api-gateway-config-details.js +80 -0
- package/lib/model/create-database-tools-database-api-gateway-config-details.js.map +1 -0
- package/lib/model/create-database-tools-identity-details.d.ts +1 -1
- package/lib/model/create-database-tools-identity-details.js +1 -1
- package/lib/model/create-database-tools-identity-oracle-database-resource-principal-details.d.ts +1 -1
- package/lib/model/create-database-tools-identity-oracle-database-resource-principal-details.js +1 -1
- package/lib/model/create-database-tools-mcp-server-default-details.d.ts +29 -0
- package/lib/model/create-database-tools-mcp-server-default-details.js +62 -0
- package/lib/model/create-database-tools-mcp-server-default-details.js.map +1 -0
- package/lib/model/create-database-tools-mcp-server-details.d.ts +78 -0
- package/lib/model/create-database-tools-mcp-server-details.js +90 -0
- package/lib/model/create-database-tools-mcp-server-details.js.map +1 -0
- package/lib/model/create-database-tools-mcp-toolset-built-in-sql-tools-details.d.ts +35 -0
- package/lib/model/create-database-tools-mcp-toolset-built-in-sql-tools-details.js +66 -0
- package/lib/model/create-database-tools-mcp-toolset-built-in-sql-tools-details.js.map +1 -0
- package/lib/model/create-database-tools-mcp-toolset-custom-sql-tool-details.d.ts +48 -0
- package/lib/model/create-database-tools-mcp-toolset-custom-sql-tool-details.js +72 -0
- package/lib/model/create-database-tools-mcp-toolset-custom-sql-tool-details.js.map +1 -0
- package/lib/model/create-database-tools-mcp-toolset-customizable-reporting-tools-details.d.ts +39 -0
- package/lib/model/create-database-tools-mcp-toolset-customizable-reporting-tools-details.js +76 -0
- package/lib/model/create-database-tools-mcp-toolset-customizable-reporting-tools-details.js.map +1 -0
- package/lib/model/create-database-tools-mcp-toolset-details.d.ts +65 -0
- package/lib/model/create-database-tools-mcp-toolset-details.js +92 -0
- package/lib/model/create-database-tools-mcp-toolset-details.js.map +1 -0
- package/lib/model/create-database-tools-mcp-toolset-gen-ai-sql-assistant-details.d.ts +39 -0
- package/lib/model/create-database-tools-mcp-toolset-gen-ai-sql-assistant-details.js +66 -0
- package/lib/model/create-database-tools-mcp-toolset-gen-ai-sql-assistant-details.js.map +1 -0
- package/lib/model/create-database-tools-mcp-toolset-tool-details.d.ts +34 -0
- package/lib/model/create-database-tools-mcp-toolset-tool-details.js +29 -0
- package/lib/model/create-database-tools-mcp-toolset-tool-details.js.map +1 -0
- package/lib/model/create-database-tools-private-endpoint-details.d.ts +1 -1
- package/lib/model/create-database-tools-private-endpoint-details.js +1 -1
- package/lib/model/create-database-tools-related-resource-details.d.ts +1 -1
- package/lib/model/create-database-tools-related-resource-details.js +1 -1
- package/lib/model/create-database-tools-related-resource-my-sql-details.d.ts +1 -1
- package/lib/model/create-database-tools-related-resource-my-sql-details.js +1 -1
- package/lib/model/create-database-tools-related-resource-postgresql-details.d.ts +1 -1
- package/lib/model/create-database-tools-related-resource-postgresql-details.js +1 -1
- package/lib/model/create-database-tools-sql-report-details.d.ts +77 -0
- package/lib/model/create-database-tools-sql-report-details.js +100 -0
- package/lib/model/create-database-tools-sql-report-details.js.map +1 -0
- package/lib/model/create-database-tools-sql-report-oracle-database-details.d.ts +24 -0
- package/lib/model/create-database-tools-sql-report-oracle-database-details.js +54 -0
- package/lib/model/create-database-tools-sql-report-oracle-database-details.js.map +1 -0
- package/lib/model/database-api-gateway-config-metadata-source.d.ts +28 -0
- package/lib/model/database-api-gateway-config-metadata-source.js +39 -0
- package/lib/model/database-api-gateway-config-metadata-source.js.map +1 -0
- package/lib/model/database-api-gateway-config-type.d.ts +27 -0
- package/lib/model/database-api-gateway-config-type.js +38 -0
- package/lib/model/database-api-gateway-config-type.js.map +1 -0
- package/lib/model/database-tools-connection-collection.d.ts +1 -1
- package/lib/model/database-tools-connection-collection.js +1 -1
- package/lib/model/database-tools-connection-generic-jdbc-summary.d.ts +1 -1
- package/lib/model/database-tools-connection-generic-jdbc-summary.js +1 -1
- package/lib/model/database-tools-connection-generic-jdbc.d.ts +1 -1
- package/lib/model/database-tools-connection-generic-jdbc.js +1 -1
- package/lib/model/database-tools-connection-my-sql-summary.d.ts +1 -1
- package/lib/model/database-tools-connection-my-sql-summary.js +1 -1
- package/lib/model/database-tools-connection-my-sql.d.ts +1 -1
- package/lib/model/database-tools-connection-my-sql.js +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-details.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-details.js +5 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-details.js.map +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-details.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-details.js +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-summary.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-summary.js +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy.js +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-summary.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-summary.js +5 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-summary.js.map +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect-details.d.ts +28 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect-details.js +54 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect-details.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect-summary.d.ts +28 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect-summary.js +54 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect-summary.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect.d.ts +28 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect.js +54 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-auto-detect.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-details.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-details.js +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-summary.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-summary.js +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name.js +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client.js +5 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client.js.map +1 -1
- package/lib/model/database-tools-connection-oracle-database-summary.d.ts +7 -3
- package/lib/model/database-tools-connection-oracle-database-summary.js +1 -1
- package/lib/model/database-tools-connection-oracle-database-summary.js.map +1 -1
- package/lib/model/database-tools-connection-oracle-database.d.ts +7 -3
- package/lib/model/database-tools-connection-oracle-database.js +1 -1
- package/lib/model/database-tools-connection-oracle-database.js.map +1 -1
- package/lib/model/database-tools-connection-postgresql-summary.d.ts +1 -1
- package/lib/model/database-tools-connection-postgresql-summary.js +1 -1
- package/lib/model/database-tools-connection-postgresql.d.ts +1 -1
- package/lib/model/database-tools-connection-postgresql.js +1 -1
- package/lib/model/database-tools-connection-summary.d.ts +3 -2
- package/lib/model/database-tools-connection-summary.js +1 -1
- package/lib/model/database-tools-connection-summary.js.map +1 -1
- package/lib/model/database-tools-connection.d.ts +3 -2
- package/lib/model/database-tools-connection.js +1 -1
- package/lib/model/database-tools-connection.js.map +1 -1
- package/lib/model/database-tools-custom-sql-tool-toolset-source-type.d.ts +27 -0
- package/lib/model/database-tools-custom-sql-tool-toolset-source-type.js +38 -0
- package/lib/model/database-tools-custom-sql-tool-toolset-source-type.js.map +1 -0
- package/lib/model/database-tools-custom-sql-tool-toolset-source.d.ts +30 -0
- package/lib/model/database-tools-custom-sql-tool-toolset-source.js +29 -0
- package/lib/model/database-tools-custom-sql-tool-toolset-source.js.map +1 -0
- package/lib/model/database-tools-database-api-gateway-config-collection.d.ts +26 -0
- package/lib/model/database-tools-database-api-gateway-config-collection.js +61 -0
- package/lib/model/database-tools-database-api-gateway-config-collection.js.map +1 -0
- package/lib/model/database-tools-database-api-gateway-config-default-summary.d.ts +24 -0
- package/lib/model/database-tools-database-api-gateway-config-default-summary.js +54 -0
- package/lib/model/database-tools-database-api-gateway-config-default-summary.js.map +1 -0
- package/lib/model/database-tools-database-api-gateway-config-default.d.ts +24 -0
- package/lib/model/database-tools-database-api-gateway-config-default.js +54 -0
- package/lib/model/database-tools-database-api-gateway-config-default.js.map +1 -0
- package/lib/model/database-tools-database-api-gateway-config-lifecycle-state.d.ts +28 -0
- package/lib/model/database-tools-database-api-gateway-config-lifecycle-state.js +39 -0
- package/lib/model/database-tools-database-api-gateway-config-lifecycle-state.js.map +1 -0
- package/lib/model/database-tools-database-api-gateway-config-summary.d.ts +87 -0
- package/lib/model/database-tools-database-api-gateway-config-summary.js +80 -0
- package/lib/model/database-tools-database-api-gateway-config-summary.js.map +1 -0
- package/lib/model/database-tools-database-api-gateway-config.d.ts +87 -0
- package/lib/model/database-tools-database-api-gateway-config.js +80 -0
- package/lib/model/database-tools-database-api-gateway-config.js.map +1 -0
- package/lib/model/database-tools-endpoint-service-collection.d.ts +1 -1
- package/lib/model/database-tools-endpoint-service-collection.js +1 -1
- package/lib/model/database-tools-endpoint-service-summary.d.ts +1 -1
- package/lib/model/database-tools-endpoint-service-summary.js +1 -1
- package/lib/model/database-tools-endpoint-service.d.ts +1 -1
- package/lib/model/database-tools-endpoint-service.js +1 -1
- package/lib/model/database-tools-external-authentication-status.d.ts +32 -0
- package/lib/model/database-tools-external-authentication-status.js +43 -0
- package/lib/model/database-tools-external-authentication-status.js.map +1 -0
- package/lib/model/database-tools-identity-collection.d.ts +1 -1
- package/lib/model/database-tools-identity-collection.js +1 -1
- package/lib/model/database-tools-identity-lifecycle-state.d.ts +1 -1
- package/lib/model/database-tools-identity-lifecycle-state.js +1 -1
- package/lib/model/database-tools-identity-oracle-database-resource-principal-summary.d.ts +1 -1
- package/lib/model/database-tools-identity-oracle-database-resource-principal-summary.js +1 -1
- package/lib/model/database-tools-identity-oracle-database-resource-principal.d.ts +1 -1
- package/lib/model/database-tools-identity-oracle-database-resource-principal.js +1 -1
- package/lib/model/database-tools-identity-status.d.ts +1 -1
- package/lib/model/database-tools-identity-status.js +1 -1
- package/lib/model/database-tools-identity-summary.d.ts +1 -1
- package/lib/model/database-tools-identity-summary.js +1 -1
- package/lib/model/database-tools-identity.d.ts +1 -1
- package/lib/model/database-tools-identity.js +1 -1
- package/lib/model/database-tools-key-store-content-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-details.js +1 -1
- package/lib/model/database-tools-key-store-content-generic-jdbc-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-generic-jdbc-details.js +1 -1
- package/lib/model/database-tools-key-store-content-generic-jdbc-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-generic-jdbc-summary.js +1 -1
- package/lib/model/database-tools-key-store-content-generic-jdbc.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-generic-jdbc.js +1 -1
- package/lib/model/database-tools-key-store-content-my-sql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-my-sql-details.js +1 -1
- package/lib/model/database-tools-key-store-content-my-sql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-my-sql-summary.js +1 -1
- package/lib/model/database-tools-key-store-content-my-sql.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-my-sql.js +1 -1
- package/lib/model/database-tools-key-store-content-postgresql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-postgresql-details.js +1 -1
- package/lib/model/database-tools-key-store-content-postgresql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-postgresql-summary.js +1 -1
- package/lib/model/database-tools-key-store-content-postgresql.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-postgresql.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-details.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-details.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-summary.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-my-sql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-my-sql-details.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-my-sql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-my-sql-summary.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-my-sql.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-my-sql.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-details.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-summary.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-postgresql.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-postgresql.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id-summary.js +1 -1
- package/lib/model/database-tools-key-store-content-secret-id.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-secret-id.js +1 -1
- package/lib/model/database-tools-key-store-content-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-content-summary.js +1 -1
- package/lib/model/database-tools-key-store-content.d.ts +1 -1
- package/lib/model/database-tools-key-store-content.js +1 -1
- package/lib/model/database-tools-key-store-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-details.js +1 -1
- package/lib/model/database-tools-key-store-generic-jdbc-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-generic-jdbc-details.js +1 -1
- package/lib/model/database-tools-key-store-generic-jdbc-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-generic-jdbc-summary.js +1 -1
- package/lib/model/database-tools-key-store-generic-jdbc.d.ts +1 -1
- package/lib/model/database-tools-key-store-generic-jdbc.js +1 -1
- package/lib/model/database-tools-key-store-my-sql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-my-sql-details.js +1 -1
- package/lib/model/database-tools-key-store-my-sql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-my-sql-summary.js +1 -1
- package/lib/model/database-tools-key-store-my-sql.d.ts +1 -1
- package/lib/model/database-tools-key-store-my-sql.js +1 -1
- package/lib/model/database-tools-key-store-password-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-details.js +1 -1
- package/lib/model/database-tools-key-store-password-generic-jdbc-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-generic-jdbc-details.js +1 -1
- package/lib/model/database-tools-key-store-password-generic-jdbc-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-generic-jdbc-summary.js +1 -1
- package/lib/model/database-tools-key-store-password-generic-jdbc.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-generic-jdbc.js +1 -1
- package/lib/model/database-tools-key-store-password-my-sql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-my-sql-details.js +1 -1
- package/lib/model/database-tools-key-store-password-my-sql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-my-sql-summary.js +1 -1
- package/lib/model/database-tools-key-store-password-my-sql.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-my-sql.js +1 -1
- package/lib/model/database-tools-key-store-password-postgresql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-postgresql-details.js +1 -1
- package/lib/model/database-tools-key-store-password-postgresql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-postgresql-summary.js +1 -1
- package/lib/model/database-tools-key-store-password-postgresql.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-postgresql.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-details.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-details.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-summary.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-my-sql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-my-sql-details.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-my-sql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-my-sql-summary.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-my-sql.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-my-sql.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-details.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-summary.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-postgresql.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-postgresql.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id-summary.js +1 -1
- package/lib/model/database-tools-key-store-password-secret-id.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-secret-id.js +1 -1
- package/lib/model/database-tools-key-store-password-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-password-summary.js +1 -1
- package/lib/model/database-tools-key-store-password.d.ts +1 -1
- package/lib/model/database-tools-key-store-password.js +1 -1
- package/lib/model/database-tools-key-store-postgresql-details.d.ts +1 -1
- package/lib/model/database-tools-key-store-postgresql-details.js +1 -1
- package/lib/model/database-tools-key-store-postgresql-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-postgresql-summary.js +1 -1
- package/lib/model/database-tools-key-store-postgresql.d.ts +1 -1
- package/lib/model/database-tools-key-store-postgresql.js +1 -1
- package/lib/model/database-tools-key-store-summary.d.ts +1 -1
- package/lib/model/database-tools-key-store-summary.js +1 -1
- package/lib/model/database-tools-key-store.d.ts +1 -1
- package/lib/model/database-tools-key-store.js +1 -1
- package/lib/model/database-tools-mcp-server-built-in-role.d.ts +29 -0
- package/lib/model/database-tools-mcp-server-built-in-role.js +29 -0
- package/lib/model/database-tools-mcp-server-built-in-role.js.map +1 -0
- package/lib/model/database-tools-mcp-server-collection.d.ts +26 -0
- package/lib/model/database-tools-mcp-server-collection.js +61 -0
- package/lib/model/database-tools-mcp-server-collection.js.map +1 -0
- package/lib/model/database-tools-mcp-server-custom-role.d.ts +29 -0
- package/lib/model/database-tools-mcp-server-custom-role.js +29 -0
- package/lib/model/database-tools-mcp-server-custom-role.js.map +1 -0
- package/lib/model/database-tools-mcp-server-default.d.ts +33 -0
- package/lib/model/database-tools-mcp-server-default.js +62 -0
- package/lib/model/database-tools-mcp-server-default.js.map +1 -0
- package/lib/model/database-tools-mcp-server-endpoint.d.ts +30 -0
- package/lib/model/database-tools-mcp-server-endpoint.js +29 -0
- package/lib/model/database-tools-mcp-server-endpoint.js.map +1 -0
- package/lib/model/database-tools-mcp-server-lifecycle-state.d.ts +33 -0
- package/lib/model/database-tools-mcp-server-lifecycle-state.js +44 -0
- package/lib/model/database-tools-mcp-server-lifecycle-state.js.map +1 -0
- package/lib/model/database-tools-mcp-server-related-resource-entity-type.d.ts +30 -0
- package/lib/model/database-tools-mcp-server-related-resource-entity-type.js +41 -0
- package/lib/model/database-tools-mcp-server-related-resource-entity-type.js.map +1 -0
- package/lib/model/database-tools-mcp-server-related-resource.d.ts +30 -0
- package/lib/model/database-tools-mcp-server-related-resource.js +29 -0
- package/lib/model/database-tools-mcp-server-related-resource.js.map +1 -0
- package/lib/model/database-tools-mcp-server-runtime-identity.d.ts +29 -0
- package/lib/model/database-tools-mcp-server-runtime-identity.js +40 -0
- package/lib/model/database-tools-mcp-server-runtime-identity.js.map +1 -0
- package/lib/model/database-tools-mcp-server-storage-none.d.ts +24 -0
- package/lib/model/database-tools-mcp-server-storage-none.js +54 -0
- package/lib/model/database-tools-mcp-server-storage-none.js.map +1 -0
- package/lib/model/database-tools-mcp-server-storage-object-storage-bucket.d.ts +29 -0
- package/lib/model/database-tools-mcp-server-storage-object-storage-bucket.js +29 -0
- package/lib/model/database-tools-mcp-server-storage-object-storage-bucket.js.map +1 -0
- package/lib/model/database-tools-mcp-server-storage-object-storage.d.ts +25 -0
- package/lib/model/database-tools-mcp-server-storage-object-storage.js +62 -0
- package/lib/model/database-tools-mcp-server-storage-object-storage.js.map +1 -0
- package/lib/model/database-tools-mcp-server-storage.d.ts +22 -0
- package/lib/model/database-tools-mcp-server-storage.js +72 -0
- package/lib/model/database-tools-mcp-server-storage.js.map +1 -0
- package/lib/model/database-tools-mcp-server-summary-default.d.ts +33 -0
- package/lib/model/database-tools-mcp-server-summary-default.js +62 -0
- package/lib/model/database-tools-mcp-server-summary-default.js.map +1 -0
- package/lib/model/database-tools-mcp-server-summary.d.ts +105 -0
- package/lib/model/database-tools-mcp-server-summary.js +116 -0
- package/lib/model/database-tools-mcp-server-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-server-type.d.ts +27 -0
- package/lib/model/database-tools-mcp-server-type.js +38 -0
- package/lib/model/database-tools-mcp-server-type.js.map +1 -0
- package/lib/model/database-tools-mcp-server.d.ts +117 -0
- package/lib/model/database-tools-mcp-server.js +116 -0
- package/lib/model/database-tools-mcp-server.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools-summary.d.ts +35 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools-summary.js +66 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools-version.d.ts +38 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools-version.js +61 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools-version.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools.d.ts +35 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools.js +66 -0
- package/lib/model/database-tools-mcp-toolset-built-in-sql-tools.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-collection.d.ts +26 -0
- package/lib/model/database-tools-mcp-toolset-collection.js +61 -0
- package/lib/model/database-tools-mcp-toolset-collection.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-summary.d.ts +43 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-summary.js +54 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-variable.d.ts +33 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-variable.js +29 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-variable.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-version.d.ts +37 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-version.js +29 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool-version.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool.d.ts +48 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool.js +72 -0
- package/lib/model/database-tools-mcp-toolset-custom-sql-tool.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-report.d.ts +29 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-report.js +29 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-report.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-summary.d.ts +39 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-summary.js +76 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-version.d.ts +42 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-version.js +61 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools-version.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools.d.ts +39 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools.js +76 -0
- package/lib/model/database-tools-mcp-toolset-customizable-reporting-tools.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-default-execution-type.d.ts +28 -0
- package/lib/model/database-tools-mcp-toolset-default-execution-type.js +39 -0
- package/lib/model/database-tools-mcp-toolset-default-execution-type.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant-summary.d.ts +39 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant-summary.js +66 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant-version.d.ts +38 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant-version.js +61 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant-version.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant.d.ts +39 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant.js +66 -0
- package/lib/model/database-tools-mcp-toolset-gen-ai-sql-assistant.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-lifecycle-state.d.ts +32 -0
- package/lib/model/database-tools-mcp-toolset-lifecycle-state.js +43 -0
- package/lib/model/database-tools-mcp-toolset-lifecycle-state.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-summary.d.ts +91 -0
- package/lib/model/database-tools-mcp-toolset-summary.js +92 -0
- package/lib/model/database-tools-mcp-toolset-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-tool-details.d.ts +38 -0
- package/lib/model/database-tools-mcp-toolset-tool-details.js +29 -0
- package/lib/model/database-tools-mcp-toolset-tool-details.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-tool-status.d.ts +28 -0
- package/lib/model/database-tools-mcp-toolset-tool-status.js +39 -0
- package/lib/model/database-tools-mcp-toolset-tool-status.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-type.d.ts +30 -0
- package/lib/model/database-tools-mcp-toolset-type.js +41 -0
- package/lib/model/database-tools-mcp-toolset-type.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-version-built-in-sql-tools-summary.d.ts +28 -0
- package/lib/model/database-tools-mcp-toolset-version-built-in-sql-tools-summary.js +66 -0
- package/lib/model/database-tools-mcp-toolset-version-built-in-sql-tools-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-version-collection.d.ts +26 -0
- package/lib/model/database-tools-mcp-toolset-version-collection.js +61 -0
- package/lib/model/database-tools-mcp-toolset-version-collection.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-version-custom-sql-tool-summary.d.ts +28 -0
- package/lib/model/database-tools-mcp-toolset-version-custom-sql-tool-summary.js +66 -0
- package/lib/model/database-tools-mcp-toolset-version-custom-sql-tool-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-version-customizable-reporting-tools-summary.d.ts +28 -0
- package/lib/model/database-tools-mcp-toolset-version-customizable-reporting-tools-summary.js +66 -0
- package/lib/model/database-tools-mcp-toolset-version-customizable-reporting-tools-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-version-gen-ai-sql-assistant-summary.d.ts +28 -0
- package/lib/model/database-tools-mcp-toolset-version-gen-ai-sql-assistant-summary.js +66 -0
- package/lib/model/database-tools-mcp-toolset-version-gen-ai-sql-assistant-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-version-summary.d.ts +26 -0
- package/lib/model/database-tools-mcp-toolset-version-summary.js +80 -0
- package/lib/model/database-tools-mcp-toolset-version-summary.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-version-tool.d.ts +42 -0
- package/lib/model/database-tools-mcp-toolset-version-tool.js +29 -0
- package/lib/model/database-tools-mcp-toolset-version-tool.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset-version-type.d.ts +30 -0
- package/lib/model/database-tools-mcp-toolset-version-type.js +41 -0
- package/lib/model/database-tools-mcp-toolset-version-type.js.map +1 -0
- package/lib/model/database-tools-mcp-toolset.d.ts +95 -0
- package/lib/model/database-tools-mcp-toolset.js +92 -0
- package/lib/model/database-tools-mcp-toolset.js.map +1 -0
- package/lib/model/database-tools-private-endpoint-collection.d.ts +1 -1
- package/lib/model/database-tools-private-endpoint-collection.js +1 -1
- package/lib/model/database-tools-private-endpoint-reverse-connection-configuration.d.ts +1 -1
- package/lib/model/database-tools-private-endpoint-reverse-connection-configuration.js +1 -1
- package/lib/model/database-tools-private-endpoint-reverse-connections-source-ip.d.ts +1 -1
- package/lib/model/database-tools-private-endpoint-reverse-connections-source-ip.js +1 -1
- package/lib/model/database-tools-private-endpoint-summary.d.ts +1 -1
- package/lib/model/database-tools-private-endpoint-summary.js +1 -1
- package/lib/model/database-tools-private-endpoint.d.ts +1 -1
- package/lib/model/database-tools-private-endpoint.js +1 -1
- package/lib/model/database-tools-related-resource-my-sql.d.ts +1 -1
- package/lib/model/database-tools-related-resource-my-sql.js +1 -1
- package/lib/model/database-tools-related-resource-postgresql.d.ts +1 -1
- package/lib/model/database-tools-related-resource-postgresql.js +1 -1
- package/lib/model/database-tools-related-resource.d.ts +1 -1
- package/lib/model/database-tools-related-resource.js +1 -1
- package/lib/model/database-tools-sql-report-collection.d.ts +26 -0
- package/lib/model/database-tools-sql-report-collection.js +61 -0
- package/lib/model/database-tools-sql-report-collection.js.map +1 -0
- package/lib/model/database-tools-sql-report-column.d.ts +33 -0
- package/lib/model/database-tools-sql-report-column.js +29 -0
- package/lib/model/database-tools-sql-report-column.js.map +1 -0
- package/lib/model/database-tools-sql-report-lifecycle-state.d.ts +28 -0
- package/lib/model/database-tools-sql-report-lifecycle-state.js +39 -0
- package/lib/model/database-tools-sql-report-lifecycle-state.js.map +1 -0
- package/lib/model/database-tools-sql-report-oracle-database.d.ts +24 -0
- package/lib/model/database-tools-sql-report-oracle-database.js +54 -0
- package/lib/model/database-tools-sql-report-oracle-database.js.map +1 -0
- package/lib/model/database-tools-sql-report-summary-oracle-database.d.ts +24 -0
- package/lib/model/database-tools-sql-report-summary-oracle-database.js +54 -0
- package/lib/model/database-tools-sql-report-summary-oracle-database.js.map +1 -0
- package/lib/model/database-tools-sql-report-summary.d.ts +95 -0
- package/lib/model/database-tools-sql-report-summary.js +80 -0
- package/lib/model/database-tools-sql-report-summary.js.map +1 -0
- package/lib/model/database-tools-sql-report-type.d.ts +27 -0
- package/lib/model/database-tools-sql-report-type.js +38 -0
- package/lib/model/database-tools-sql-report-type.js.map +1 -0
- package/lib/model/database-tools-sql-report-variable.d.ts +33 -0
- package/lib/model/database-tools-sql-report-variable.js +29 -0
- package/lib/model/database-tools-sql-report-variable.js.map +1 -0
- package/lib/model/database-tools-sql-report.d.ts +107 -0
- package/lib/model/database-tools-sql-report.js +100 -0
- package/lib/model/database-tools-sql-report.js.map +1 -0
- package/lib/model/database-tools-user-password-details.d.ts +1 -1
- package/lib/model/database-tools-user-password-details.js +1 -1
- package/lib/model/database-tools-user-password-secret-id-details.d.ts +1 -1
- package/lib/model/database-tools-user-password-secret-id-details.js +1 -1
- package/lib/model/database-tools-user-password-secret-id-summary.d.ts +1 -1
- package/lib/model/database-tools-user-password-secret-id-summary.js +1 -1
- package/lib/model/database-tools-user-password-secret-id.d.ts +1 -1
- package/lib/model/database-tools-user-password-secret-id.js +1 -1
- package/lib/model/database-tools-user-password-summary.d.ts +1 -1
- package/lib/model/database-tools-user-password-summary.js +1 -1
- package/lib/model/database-tools-user-password.d.ts +1 -1
- package/lib/model/database-tools-user-password.js +1 -1
- package/lib/model/dbms-cloud-status.d.ts +1 -1
- package/lib/model/dbms-cloud-status.js +1 -1
- package/lib/model/identity-provider-type.d.ts +29 -0
- package/lib/model/identity-provider-type.js +40 -0
- package/lib/model/identity-provider-type.js.map +1 -0
- package/lib/model/identity-type.d.ts +1 -1
- package/lib/model/identity-type.js +1 -1
- package/lib/model/index.d.ts +203 -1
- package/lib/model/index.js +209 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/key-store-type-generic-jdbc.d.ts +1 -1
- package/lib/model/key-store-type-generic-jdbc.js +1 -1
- package/lib/model/key-store-type-my-sql.d.ts +1 -1
- package/lib/model/key-store-type-my-sql.js +1 -1
- package/lib/model/key-store-type-postgresql.d.ts +1 -1
- package/lib/model/key-store-type-postgresql.js +1 -1
- package/lib/model/key-store-type.d.ts +1 -1
- package/lib/model/key-store-type.js +1 -1
- package/lib/model/lifecycle-state.d.ts +1 -1
- package/lib/model/lifecycle-state.js +1 -1
- package/lib/model/operation-status.d.ts +1 -1
- package/lib/model/operation-status.js +1 -1
- package/lib/model/operation-type.d.ts +7 -1
- package/lib/model/operation-type.js +7 -1
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/proxy-authentication-type.d.ts +2 -1
- package/lib/model/proxy-authentication-type.js +2 -1
- package/lib/model/proxy-authentication-type.js.map +1 -1
- package/lib/model/refresh-database-tools-identity-credential-details.d.ts +1 -1
- package/lib/model/refresh-database-tools-identity-credential-details.js +1 -1
- package/lib/model/refresh-database-tools-identity-oracle-database-resource-principal-credential-details.d.ts +1 -1
- package/lib/model/refresh-database-tools-identity-oracle-database-resource-principal-credential-details.js +1 -1
- package/lib/model/related-resource-entity-type-my-sql.d.ts +1 -1
- package/lib/model/related-resource-entity-type-my-sql.js +1 -1
- package/lib/model/related-resource-entity-type-postgresql.d.ts +1 -1
- package/lib/model/related-resource-entity-type-postgresql.js +1 -1
- package/lib/model/related-resource-entity-type.d.ts +1 -1
- package/lib/model/related-resource-entity-type.js +1 -1
- package/lib/model/remove-resource-lock-details.d.ts +1 -1
- package/lib/model/remove-resource-lock-details.js +1 -1
- package/lib/model/resource-lock.d.ts +1 -1
- package/lib/model/resource-lock.js +1 -1
- package/lib/model/runtime-identity.d.ts +3 -2
- package/lib/model/runtime-identity.js +3 -2
- package/lib/model/runtime-identity.js.map +1 -1
- package/lib/model/runtime-support.d.ts +1 -1
- package/lib/model/runtime-support.js +1 -1
- package/lib/model/sort-order.d.ts +1 -1
- package/lib/model/sort-order.js +1 -1
- package/lib/model/update-database-tools-connection-details.d.ts +1 -1
- package/lib/model/update-database-tools-connection-details.js +1 -1
- package/lib/model/update-database-tools-connection-generic-jdbc-details.d.ts +1 -1
- package/lib/model/update-database-tools-connection-generic-jdbc-details.js +1 -1
- package/lib/model/update-database-tools-connection-my-sql-details.d.ts +1 -1
- package/lib/model/update-database-tools-connection-my-sql-details.js +1 -1
- package/lib/model/update-database-tools-connection-oracle-database-details.d.ts +2 -2
- package/lib/model/update-database-tools-connection-oracle-database-details.js +1 -1
- package/lib/model/update-database-tools-connection-oracle-database-details.js.map +1 -1
- package/lib/model/update-database-tools-connection-postgresql-details.d.ts +1 -1
- package/lib/model/update-database-tools-connection-postgresql-details.js +1 -1
- package/lib/model/update-database-tools-database-api-gateway-config-default-details.d.ts +24 -0
- package/lib/model/update-database-tools-database-api-gateway-config-default-details.js +54 -0
- package/lib/model/update-database-tools-database-api-gateway-config-default-details.js.map +1 -0
- package/lib/model/update-database-tools-database-api-gateway-config-details.d.ts +44 -0
- package/lib/model/update-database-tools-database-api-gateway-config-details.js +68 -0
- package/lib/model/update-database-tools-database-api-gateway-config-details.js.map +1 -0
- package/lib/model/update-database-tools-identity-details.d.ts +1 -1
- package/lib/model/update-database-tools-identity-details.js +1 -1
- package/lib/model/update-database-tools-identity-oracle-database-resource-principal-details.d.ts +1 -1
- package/lib/model/update-database-tools-identity-oracle-database-resource-principal-details.js +1 -1
- package/lib/model/update-database-tools-mcp-server-details-default.d.ts +25 -0
- package/lib/model/update-database-tools-mcp-server-details-default.js +62 -0
- package/lib/model/update-database-tools-mcp-server-details-default.js.map +1 -0
- package/lib/model/update-database-tools-mcp-server-details.d.ts +61 -0
- package/lib/model/update-database-tools-mcp-server-details.js +80 -0
- package/lib/model/update-database-tools-mcp-server-details.js.map +1 -0
- package/lib/model/update-database-tools-mcp-toolset-built-in-sql-tools-details.d.ts +35 -0
- package/lib/model/update-database-tools-mcp-toolset-built-in-sql-tools-details.js +66 -0
- package/lib/model/update-database-tools-mcp-toolset-built-in-sql-tools-details.js.map +1 -0
- package/lib/model/update-database-tools-mcp-toolset-custom-sql-tool-details.d.ts +48 -0
- package/lib/model/update-database-tools-mcp-toolset-custom-sql-tool-details.js +72 -0
- package/lib/model/update-database-tools-mcp-toolset-custom-sql-tool-details.js.map +1 -0
- package/lib/model/update-database-tools-mcp-toolset-customizable-reporting-tools-details.d.ts +39 -0
- package/lib/model/update-database-tools-mcp-toolset-customizable-reporting-tools-details.js +76 -0
- package/lib/model/update-database-tools-mcp-toolset-customizable-reporting-tools-details.js.map +1 -0
- package/lib/model/update-database-tools-mcp-toolset-details.d.ts +52 -0
- package/lib/model/update-database-tools-mcp-toolset-details.js +80 -0
- package/lib/model/update-database-tools-mcp-toolset-details.js.map +1 -0
- package/lib/model/update-database-tools-mcp-toolset-gen-ai-sql-assistant-details.d.ts +39 -0
- package/lib/model/update-database-tools-mcp-toolset-gen-ai-sql-assistant-details.js +66 -0
- package/lib/model/update-database-tools-mcp-toolset-gen-ai-sql-assistant-details.js.map +1 -0
- package/lib/model/update-database-tools-mcp-toolset-tool-details.d.ts +34 -0
- package/lib/model/update-database-tools-mcp-toolset-tool-details.js +29 -0
- package/lib/model/update-database-tools-mcp-toolset-tool-details.js.map +1 -0
- package/lib/model/update-database-tools-private-endpoint-details.d.ts +1 -1
- package/lib/model/update-database-tools-private-endpoint-details.js +1 -1
- package/lib/model/update-database-tools-related-resource-details.d.ts +1 -1
- package/lib/model/update-database-tools-related-resource-details.js +1 -1
- package/lib/model/update-database-tools-related-resource-my-sql-details.d.ts +1 -1
- package/lib/model/update-database-tools-related-resource-my-sql-details.js +1 -1
- package/lib/model/update-database-tools-related-resource-postgresql-details.d.ts +1 -1
- package/lib/model/update-database-tools-related-resource-postgresql-details.js +1 -1
- package/lib/model/update-database-tools-sql-report-details-oracle-database.d.ts +24 -0
- package/lib/model/update-database-tools-sql-report-details-oracle-database.js +54 -0
- package/lib/model/update-database-tools-sql-report-details-oracle-database.js.map +1 -0
- package/lib/model/update-database-tools-sql-report-details.d.ts +69 -0
- package/lib/model/update-database-tools-sql-report-details.js +90 -0
- package/lib/model/update-database-tools-sql-report-details.js.map +1 -0
- package/lib/model/validate-database-tools-connection-details.d.ts +1 -1
- package/lib/model/validate-database-tools-connection-details.js +1 -1
- package/lib/model/validate-database-tools-connection-my-sql-details.d.ts +1 -1
- package/lib/model/validate-database-tools-connection-my-sql-details.js +1 -1
- package/lib/model/validate-database-tools-connection-my-sql-result.d.ts +2 -2
- package/lib/model/validate-database-tools-connection-my-sql-result.js +1 -1
- package/lib/model/validate-database-tools-connection-oracle-database-details.d.ts +1 -1
- package/lib/model/validate-database-tools-connection-oracle-database-details.js +1 -1
- package/lib/model/validate-database-tools-connection-oracle-database-result.d.ts +34 -2
- package/lib/model/validate-database-tools-connection-oracle-database-result.js +11 -1
- package/lib/model/validate-database-tools-connection-oracle-database-result.js.map +1 -1
- package/lib/model/validate-database-tools-connection-postgresql-details.d.ts +1 -1
- package/lib/model/validate-database-tools-connection-postgresql-details.js +1 -1
- package/lib/model/validate-database-tools-connection-postgresql-result.d.ts +2 -2
- package/lib/model/validate-database-tools-connection-postgresql-result.js +1 -1
- package/lib/model/validate-database-tools-connection-result.d.ts +1 -1
- package/lib/model/validate-database-tools-connection-result.js +1 -1
- package/lib/model/validate-database-tools-identity-credential-details.d.ts +1 -1
- package/lib/model/validate-database-tools-identity-credential-details.js +1 -1
- package/lib/model/validate-database-tools-identity-credential-oracle-database-resource-principal-details.d.ts +1 -1
- package/lib/model/validate-database-tools-identity-credential-oracle-database-resource-principal-details.js +1 -1
- package/lib/model/validate-database-tools-identity-credential-oracle-database-resource-principal-result.d.ts +1 -1
- package/lib/model/validate-database-tools-identity-credential-oracle-database-resource-principal-result.js +1 -1
- package/lib/model/validate-database-tools-identity-credential-result.d.ts +1 -1
- package/lib/model/validate-database-tools-identity-credential-result.js +1 -1
- package/lib/model/validation-external-authentication-status.d.ts +36 -0
- package/lib/model/validation-external-authentication-status.js +29 -0
- package/lib/model/validation-external-authentication-status.js.map +1 -0
- package/lib/model/validation-identity-status.d.ts +1 -1
- package/lib/model/validation-identity-status.js +1 -1
- package/lib/model/work-request-collection.d.ts +1 -1
- package/lib/model/work-request-collection.js +1 -1
- package/lib/model/work-request-error-collection.d.ts +1 -1
- package/lib/model/work-request-error-collection.js +1 -1
- package/lib/model/work-request-error.d.ts +1 -1
- package/lib/model/work-request-error.js +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +1 -1
- package/lib/model/work-request-log-entry-collection.js +1 -1
- package/lib/model/work-request-log-entry.d.ts +1 -1
- package/lib/model/work-request-log-entry.js +1 -1
- package/lib/model/work-request-resource.d.ts +1 -1
- package/lib/model/work-request-resource.js +1 -1
- package/lib/model/work-request-summary.d.ts +1 -1
- package/lib/model/work-request-summary.js +1 -1
- package/lib/model/work-request.d.ts +1 -1
- package/lib/model/work-request.js +1 -1
- package/lib/request/add-database-tools-database-api-gateway-config-lock-request.d.ts +40 -0
- package/lib/request/add-database-tools-database-api-gateway-config-lock-request.js +15 -0
- package/lib/request/add-database-tools-database-api-gateway-config-lock-request.js.map +1 -0
- package/lib/request/add-database-tools-mcp-server-lock-request.d.ts +40 -0
- package/lib/request/add-database-tools-mcp-server-lock-request.js +15 -0
- package/lib/request/add-database-tools-mcp-server-lock-request.js.map +1 -0
- package/lib/request/add-database-tools-mcp-toolset-lock-request.d.ts +40 -0
- package/lib/request/add-database-tools-mcp-toolset-lock-request.js +15 -0
- package/lib/request/add-database-tools-mcp-toolset-lock-request.js.map +1 -0
- package/lib/request/add-database-tools-sql-report-lock-request.d.ts +40 -0
- package/lib/request/add-database-tools-sql-report-lock-request.js +15 -0
- package/lib/request/add-database-tools-sql-report-lock-request.js.map +1 -0
- package/lib/request/cascading-delete-database-tools-mcp-server-request.d.ts +35 -0
- package/lib/request/cascading-delete-database-tools-mcp-server-request.js +15 -0
- package/lib/request/cascading-delete-database-tools-mcp-server-request.js.map +1 -0
- package/lib/request/change-database-tools-database-api-gateway-config-compartment-request.d.ts +44 -0
- package/lib/request/change-database-tools-database-api-gateway-config-compartment-request.js +15 -0
- package/lib/request/change-database-tools-database-api-gateway-config-compartment-request.js.map +1 -0
- package/lib/request/change-database-tools-mcp-server-compartment-request.d.ts +44 -0
- package/lib/request/change-database-tools-mcp-server-compartment-request.js +15 -0
- package/lib/request/change-database-tools-mcp-server-compartment-request.js.map +1 -0
- package/lib/request/change-database-tools-mcp-toolset-compartment-request.d.ts +44 -0
- package/lib/request/change-database-tools-mcp-toolset-compartment-request.js +15 -0
- package/lib/request/change-database-tools-mcp-toolset-compartment-request.js.map +1 -0
- package/lib/request/change-database-tools-sql-report-compartment-request.d.ts +44 -0
- package/lib/request/change-database-tools-sql-report-compartment-request.js +15 -0
- package/lib/request/change-database-tools-sql-report-compartment-request.js.map +1 -0
- package/lib/request/create-database-tools-database-api-gateway-config-request.d.ts +38 -0
- package/lib/request/create-database-tools-database-api-gateway-config-request.js +15 -0
- package/lib/request/create-database-tools-database-api-gateway-config-request.js.map +1 -0
- package/lib/request/create-database-tools-mcp-server-request.d.ts +38 -0
- package/lib/request/create-database-tools-mcp-server-request.js +15 -0
- package/lib/request/create-database-tools-mcp-server-request.js.map +1 -0
- package/lib/request/create-database-tools-mcp-toolset-request.d.ts +38 -0
- package/lib/request/create-database-tools-mcp-toolset-request.js +15 -0
- package/lib/request/create-database-tools-mcp-toolset-request.js.map +1 -0
- package/lib/request/create-database-tools-sql-report-request.d.ts +38 -0
- package/lib/request/create-database-tools-sql-report-request.js +15 -0
- package/lib/request/create-database-tools-sql-report-request.js.map +1 -0
- package/lib/request/delete-database-tools-database-api-gateway-config-request.d.ts +39 -0
- package/lib/request/delete-database-tools-database-api-gateway-config-request.js +15 -0
- package/lib/request/delete-database-tools-database-api-gateway-config-request.js.map +1 -0
- package/lib/request/delete-database-tools-mcp-server-request.d.ts +39 -0
- package/lib/request/delete-database-tools-mcp-server-request.js +15 -0
- package/lib/request/delete-database-tools-mcp-server-request.js.map +1 -0
- package/lib/request/delete-database-tools-mcp-toolset-request.d.ts +39 -0
- package/lib/request/delete-database-tools-mcp-toolset-request.js +15 -0
- package/lib/request/delete-database-tools-mcp-toolset-request.js.map +1 -0
- package/lib/request/delete-database-tools-sql-report-request.d.ts +39 -0
- package/lib/request/delete-database-tools-sql-report-request.js +15 -0
- package/lib/request/delete-database-tools-sql-report-request.js.map +1 -0
- package/lib/request/get-database-tools-database-api-gateway-config-request.d.ts +26 -0
- package/lib/request/get-database-tools-database-api-gateway-config-request.js +15 -0
- package/lib/request/get-database-tools-database-api-gateway-config-request.js.map +1 -0
- package/lib/request/get-database-tools-mcp-server-request.d.ts +26 -0
- package/lib/request/get-database-tools-mcp-server-request.js +15 -0
- package/lib/request/get-database-tools-mcp-server-request.js.map +1 -0
- package/lib/request/get-database-tools-mcp-toolset-request.d.ts +26 -0
- package/lib/request/get-database-tools-mcp-toolset-request.js +15 -0
- package/lib/request/get-database-tools-mcp-toolset-request.js.map +1 -0
- package/lib/request/get-database-tools-sql-report-request.d.ts +26 -0
- package/lib/request/get-database-tools-sql-report-request.js +15 -0
- package/lib/request/get-database-tools-sql-report-request.js.map +1 -0
- package/lib/request/index.d.ts +69 -1
- package/lib/request/index.js +10 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-database-tools-database-api-gateway-configs-request.d.ts +62 -0
- package/lib/request/list-database-tools-database-api-gateway-configs-request.js +24 -0
- package/lib/request/list-database-tools-database-api-gateway-configs-request.js.map +1 -0
- package/lib/request/list-database-tools-mcp-servers-request.d.ts +70 -0
- package/lib/request/list-database-tools-mcp-servers-request.js +24 -0
- package/lib/request/list-database-tools-mcp-servers-request.js.map +1 -0
- package/lib/request/list-database-tools-mcp-toolset-versions-request.d.ts +34 -0
- package/lib/request/list-database-tools-mcp-toolset-versions-request.js +15 -0
- package/lib/request/list-database-tools-mcp-toolset-versions-request.js.map +1 -0
- package/lib/request/list-database-tools-mcp-toolsets-request.d.ts +66 -0
- package/lib/request/list-database-tools-mcp-toolsets-request.js +24 -0
- package/lib/request/list-database-tools-mcp-toolsets-request.js.map +1 -0
- package/lib/request/list-database-tools-sql-reports-request.d.ts +62 -0
- package/lib/request/list-database-tools-sql-reports-request.js +24 -0
- package/lib/request/list-database-tools-sql-reports-request.js.map +1 -0
- package/lib/request/remove-database-tools-database-api-gateway-config-lock-request.d.ts +40 -0
- package/lib/request/remove-database-tools-database-api-gateway-config-lock-request.js +15 -0
- package/lib/request/remove-database-tools-database-api-gateway-config-lock-request.js.map +1 -0
- package/lib/request/remove-database-tools-mcp-server-lock-request.d.ts +40 -0
- package/lib/request/remove-database-tools-mcp-server-lock-request.js +15 -0
- package/lib/request/remove-database-tools-mcp-server-lock-request.js.map +1 -0
- package/lib/request/remove-database-tools-mcp-toolset-lock-request.d.ts +40 -0
- package/lib/request/remove-database-tools-mcp-toolset-lock-request.js +15 -0
- package/lib/request/remove-database-tools-mcp-toolset-lock-request.js.map +1 -0
- package/lib/request/remove-database-tools-sql-report-lock-request.d.ts +40 -0
- package/lib/request/remove-database-tools-sql-report-lock-request.js +15 -0
- package/lib/request/remove-database-tools-sql-report-lock-request.js.map +1 -0
- package/lib/request/update-database-tools-database-api-gateway-config-request.d.ts +44 -0
- package/lib/request/update-database-tools-database-api-gateway-config-request.js +15 -0
- package/lib/request/update-database-tools-database-api-gateway-config-request.js.map +1 -0
- package/lib/request/update-database-tools-mcp-server-request.d.ts +44 -0
- package/lib/request/update-database-tools-mcp-server-request.js +15 -0
- package/lib/request/update-database-tools-mcp-server-request.js.map +1 -0
- package/lib/request/update-database-tools-mcp-toolset-request.d.ts +44 -0
- package/lib/request/update-database-tools-mcp-toolset-request.js +15 -0
- package/lib/request/update-database-tools-mcp-toolset-request.js.map +1 -0
- package/lib/request/update-database-tools-sql-report-request.d.ts +44 -0
- package/lib/request/update-database-tools-sql-report-request.js +15 -0
- package/lib/request/update-database-tools-sql-report-request.js.map +1 -0
- package/lib/response/add-database-tools-database-api-gateway-config-lock-response.d.ts +30 -0
- package/lib/response/add-database-tools-database-api-gateway-config-lock-response.js +15 -0
- package/lib/response/add-database-tools-database-api-gateway-config-lock-response.js.map +1 -0
- package/lib/response/add-database-tools-mcp-server-lock-response.d.ts +30 -0
- package/lib/response/add-database-tools-mcp-server-lock-response.js +15 -0
- package/lib/response/add-database-tools-mcp-server-lock-response.js.map +1 -0
- package/lib/response/add-database-tools-mcp-toolset-lock-response.d.ts +30 -0
- package/lib/response/add-database-tools-mcp-toolset-lock-response.js +15 -0
- package/lib/response/add-database-tools-mcp-toolset-lock-response.js.map +1 -0
- package/lib/response/add-database-tools-sql-report-lock-response.d.ts +30 -0
- package/lib/response/add-database-tools-sql-report-lock-response.js +15 -0
- package/lib/response/add-database-tools-sql-report-lock-response.js.map +1 -0
- package/lib/response/cascading-delete-database-tools-mcp-server-response.d.ts +25 -0
- package/lib/response/cascading-delete-database-tools-mcp-server-response.js +15 -0
- package/lib/response/cascading-delete-database-tools-mcp-server-response.js.map +1 -0
- package/lib/response/change-database-tools-database-api-gateway-config-compartment-response.d.ts +20 -0
- package/lib/response/change-database-tools-database-api-gateway-config-compartment-response.js +15 -0
- package/lib/response/change-database-tools-database-api-gateway-config-compartment-response.js.map +1 -0
- package/lib/response/change-database-tools-mcp-server-compartment-response.d.ts +25 -0
- package/lib/response/change-database-tools-mcp-server-compartment-response.js +15 -0
- package/lib/response/change-database-tools-mcp-server-compartment-response.js.map +1 -0
- package/lib/response/change-database-tools-mcp-toolset-compartment-response.d.ts +20 -0
- package/lib/response/change-database-tools-mcp-toolset-compartment-response.js +15 -0
- package/lib/response/change-database-tools-mcp-toolset-compartment-response.js.map +1 -0
- package/lib/response/change-database-tools-sql-report-compartment-response.d.ts +20 -0
- package/lib/response/change-database-tools-sql-report-compartment-response.js +15 -0
- package/lib/response/change-database-tools-sql-report-compartment-response.js.map +1 -0
- package/lib/response/create-database-tools-database-api-gateway-config-response.d.ts +34 -0
- package/lib/response/create-database-tools-database-api-gateway-config-response.js +15 -0
- package/lib/response/create-database-tools-database-api-gateway-config-response.js.map +1 -0
- package/lib/response/create-database-tools-mcp-server-response.d.ts +39 -0
- package/lib/response/create-database-tools-mcp-server-response.js +15 -0
- package/lib/response/create-database-tools-mcp-server-response.js.map +1 -0
- package/lib/response/create-database-tools-mcp-toolset-response.d.ts +39 -0
- package/lib/response/create-database-tools-mcp-toolset-response.js +15 -0
- package/lib/response/create-database-tools-mcp-toolset-response.js.map +1 -0
- package/lib/response/create-database-tools-sql-report-response.d.ts +39 -0
- package/lib/response/create-database-tools-sql-report-response.js +15 -0
- package/lib/response/create-database-tools-sql-report-response.js.map +1 -0
- package/lib/response/delete-database-tools-database-api-gateway-config-response.d.ts +20 -0
- package/lib/response/delete-database-tools-database-api-gateway-config-response.js +15 -0
- package/lib/response/delete-database-tools-database-api-gateway-config-response.js.map +1 -0
- package/lib/response/delete-database-tools-mcp-server-response.d.ts +25 -0
- package/lib/response/delete-database-tools-mcp-server-response.js +15 -0
- package/lib/response/delete-database-tools-mcp-server-response.js.map +1 -0
- package/lib/response/delete-database-tools-mcp-toolset-response.d.ts +25 -0
- package/lib/response/delete-database-tools-mcp-toolset-response.js +15 -0
- package/lib/response/delete-database-tools-mcp-toolset-response.js.map +1 -0
- package/lib/response/delete-database-tools-sql-report-response.d.ts +20 -0
- package/lib/response/delete-database-tools-sql-report-response.js +15 -0
- package/lib/response/delete-database-tools-sql-report-response.js.map +1 -0
- package/lib/response/get-database-tools-database-api-gateway-config-response.d.ts +30 -0
- package/lib/response/get-database-tools-database-api-gateway-config-response.js +15 -0
- package/lib/response/get-database-tools-database-api-gateway-config-response.js.map +1 -0
- package/lib/response/get-database-tools-mcp-server-response.d.ts +30 -0
- package/lib/response/get-database-tools-mcp-server-response.js +15 -0
- package/lib/response/get-database-tools-mcp-server-response.js.map +1 -0
- package/lib/response/get-database-tools-mcp-toolset-response.d.ts +30 -0
- package/lib/response/get-database-tools-mcp-toolset-response.js +15 -0
- package/lib/response/get-database-tools-mcp-toolset-response.js.map +1 -0
- package/lib/response/get-database-tools-sql-report-response.d.ts +30 -0
- package/lib/response/get-database-tools-sql-report-response.js +15 -0
- package/lib/response/get-database-tools-sql-report-response.js.map +1 -0
- package/lib/response/index.d.ts +69 -1
- package/lib/response/index.js +1 -1
- package/lib/response/list-database-tools-database-api-gateway-configs-response.d.ts +32 -0
- package/lib/response/list-database-tools-database-api-gateway-configs-response.js +15 -0
- package/lib/response/list-database-tools-database-api-gateway-configs-response.js.map +1 -0
- package/lib/response/list-database-tools-mcp-servers-response.d.ts +32 -0
- package/lib/response/list-database-tools-mcp-servers-response.js +15 -0
- package/lib/response/list-database-tools-mcp-servers-response.js.map +1 -0
- package/lib/response/list-database-tools-mcp-toolset-versions-response.d.ts +32 -0
- package/lib/response/list-database-tools-mcp-toolset-versions-response.js +15 -0
- package/lib/response/list-database-tools-mcp-toolset-versions-response.js.map +1 -0
- package/lib/response/list-database-tools-mcp-toolsets-response.d.ts +32 -0
- package/lib/response/list-database-tools-mcp-toolsets-response.js +15 -0
- package/lib/response/list-database-tools-mcp-toolsets-response.js.map +1 -0
- package/lib/response/list-database-tools-sql-reports-response.d.ts +32 -0
- package/lib/response/list-database-tools-sql-reports-response.js +15 -0
- package/lib/response/list-database-tools-sql-reports-response.js.map +1 -0
- package/lib/response/remove-database-tools-database-api-gateway-config-lock-response.d.ts +30 -0
- package/lib/response/remove-database-tools-database-api-gateway-config-lock-response.js +15 -0
- package/lib/response/remove-database-tools-database-api-gateway-config-lock-response.js.map +1 -0
- package/lib/response/remove-database-tools-mcp-server-lock-response.d.ts +30 -0
- package/lib/response/remove-database-tools-mcp-server-lock-response.js +15 -0
- package/lib/response/remove-database-tools-mcp-server-lock-response.js.map +1 -0
- package/lib/response/remove-database-tools-mcp-toolset-lock-response.d.ts +30 -0
- package/lib/response/remove-database-tools-mcp-toolset-lock-response.js +15 -0
- package/lib/response/remove-database-tools-mcp-toolset-lock-response.js.map +1 -0
- package/lib/response/remove-database-tools-sql-report-lock-response.d.ts +30 -0
- package/lib/response/remove-database-tools-sql-report-lock-response.js +15 -0
- package/lib/response/remove-database-tools-sql-report-lock-response.js.map +1 -0
- package/lib/response/update-database-tools-database-api-gateway-config-response.d.ts +30 -0
- package/lib/response/update-database-tools-database-api-gateway-config-response.js +15 -0
- package/lib/response/update-database-tools-database-api-gateway-config-response.js.map +1 -0
- package/lib/response/update-database-tools-mcp-server-response.d.ts +25 -0
- package/lib/response/update-database-tools-mcp-server-response.js +15 -0
- package/lib/response/update-database-tools-mcp-server-response.js.map +1 -0
- package/lib/response/update-database-tools-mcp-toolset-response.d.ts +25 -0
- package/lib/response/update-database-tools-mcp-toolset-response.js +15 -0
- package/lib/response/update-database-tools-mcp-toolset-response.js.map +1 -0
- package/lib/response/update-database-tools-sql-report-response.d.ts +30 -0
- package/lib/response/update-database-tools-sql-report-response.js +15 -0
- package/lib/response/update-database-tools-sql-report-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Database Tools
|
|
3
|
+
* Database Tools API
|
|
4
4
|
* Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service.
|
|
5
5
|
* OpenAPI spec version: 20201005
|
|
6
6
|
*
|
|
@@ -220,7 +220,7 @@ class DatabaseToolsClient {
|
|
|
220
220
|
if (this.logger)
|
|
221
221
|
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsConnectionLock.");
|
|
222
222
|
const operationName = "addDatabaseToolsConnectionLock";
|
|
223
|
-
const apiReferenceLink = "
|
|
223
|
+
const apiReferenceLink = "";
|
|
224
224
|
const pathParams = {
|
|
225
225
|
"{databaseToolsConnectionId}": addDatabaseToolsConnectionLockRequest.databaseToolsConnectionId
|
|
226
226
|
};
|
|
@@ -273,38 +273,38 @@ class DatabaseToolsClient {
|
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
|
-
* Adds a lock to a
|
|
276
|
+
* Adds a lock to a DatabaseToolsDatabaseApiGatewayConfig resource.
|
|
277
277
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
278
|
-
* @param
|
|
279
|
-
* @return
|
|
278
|
+
* @param AddDatabaseToolsDatabaseApiGatewayConfigLockRequest
|
|
279
|
+
* @return AddDatabaseToolsDatabaseApiGatewayConfigLockResponse
|
|
280
280
|
* @throws OciError when an error occurs
|
|
281
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
281
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/AddDatabaseToolsDatabaseApiGatewayConfigLock.ts.html |here} to see how to use AddDatabaseToolsDatabaseApiGatewayConfigLock API.
|
|
282
282
|
*/
|
|
283
|
-
|
|
283
|
+
addDatabaseToolsDatabaseApiGatewayConfigLock(addDatabaseToolsDatabaseApiGatewayConfigLockRequest) {
|
|
284
284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
285
285
|
if (this.logger)
|
|
286
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
287
|
-
const operationName = "
|
|
288
|
-
const apiReferenceLink = "
|
|
286
|
+
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsDatabaseApiGatewayConfigLock.");
|
|
287
|
+
const operationName = "addDatabaseToolsDatabaseApiGatewayConfigLock";
|
|
288
|
+
const apiReferenceLink = "";
|
|
289
289
|
const pathParams = {
|
|
290
|
-
"{
|
|
290
|
+
"{databaseToolsDatabaseApiGatewayConfigId}": addDatabaseToolsDatabaseApiGatewayConfigLockRequest.databaseToolsDatabaseApiGatewayConfigId
|
|
291
291
|
};
|
|
292
292
|
const queryParams = {};
|
|
293
293
|
let headerParams = {
|
|
294
294
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
295
|
-
"opc-request-id":
|
|
296
|
-
"if-match":
|
|
295
|
+
"opc-request-id": addDatabaseToolsDatabaseApiGatewayConfigLockRequest.opcRequestId,
|
|
296
|
+
"if-match": addDatabaseToolsDatabaseApiGatewayConfigLockRequest.ifMatch
|
|
297
297
|
};
|
|
298
298
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
299
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
299
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDatabaseToolsDatabaseApiGatewayConfigLockRequest.retryConfiguration, specRetryConfiguration);
|
|
300
300
|
if (this.logger)
|
|
301
301
|
retrier.logger = this.logger;
|
|
302
302
|
const request = yield oci_common_1.composeRequest({
|
|
303
303
|
baseEndpoint: this._endpoint,
|
|
304
304
|
defaultHeaders: this._defaultHeaders,
|
|
305
|
-
path: "/
|
|
305
|
+
path: "/databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}/actions/addLock",
|
|
306
306
|
method: "POST",
|
|
307
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
307
|
+
bodyContent: common.ObjectSerializer.serialize(addDatabaseToolsDatabaseApiGatewayConfigLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
308
308
|
pathParams: pathParams,
|
|
309
309
|
headerParams: headerParams,
|
|
310
310
|
queryParams: queryParams
|
|
@@ -314,9 +314,9 @@ class DatabaseToolsClient {
|
|
|
314
314
|
const sdkResponse = oci_common_1.composeResponse({
|
|
315
315
|
responseObject: {},
|
|
316
316
|
body: yield response.json(),
|
|
317
|
-
bodyKey: "
|
|
318
|
-
bodyModel: model.
|
|
319
|
-
type: "model.
|
|
317
|
+
bodyKey: "databaseToolsDatabaseApiGatewayConfig",
|
|
318
|
+
bodyModel: model.DatabaseToolsDatabaseApiGatewayConfig,
|
|
319
|
+
type: "model.DatabaseToolsDatabaseApiGatewayConfig",
|
|
320
320
|
responseHeaders: [
|
|
321
321
|
{
|
|
322
322
|
value: response.headers.get("opc-request-id"),
|
|
@@ -338,38 +338,38 @@ class DatabaseToolsClient {
|
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
340
|
/**
|
|
341
|
-
* Adds a lock to a
|
|
341
|
+
* Adds a lock to a DatabaseToolsIdentity resource.
|
|
342
342
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
343
|
-
* @param
|
|
344
|
-
* @return
|
|
343
|
+
* @param AddDatabaseToolsIdentityLockRequest
|
|
344
|
+
* @return AddDatabaseToolsIdentityLockResponse
|
|
345
345
|
* @throws OciError when an error occurs
|
|
346
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
346
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/AddDatabaseToolsIdentityLock.ts.html |here} to see how to use AddDatabaseToolsIdentityLock API.
|
|
347
347
|
*/
|
|
348
|
-
|
|
348
|
+
addDatabaseToolsIdentityLock(addDatabaseToolsIdentityLockRequest) {
|
|
349
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
350
350
|
if (this.logger)
|
|
351
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
352
|
-
const operationName = "
|
|
353
|
-
const apiReferenceLink = "
|
|
351
|
+
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsIdentityLock.");
|
|
352
|
+
const operationName = "addDatabaseToolsIdentityLock";
|
|
353
|
+
const apiReferenceLink = "";
|
|
354
354
|
const pathParams = {
|
|
355
|
-
"{
|
|
355
|
+
"{databaseToolsIdentityId}": addDatabaseToolsIdentityLockRequest.databaseToolsIdentityId
|
|
356
356
|
};
|
|
357
357
|
const queryParams = {};
|
|
358
358
|
let headerParams = {
|
|
359
359
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
360
|
-
"opc-request-id":
|
|
361
|
-
"if-match":
|
|
360
|
+
"opc-request-id": addDatabaseToolsIdentityLockRequest.opcRequestId,
|
|
361
|
+
"if-match": addDatabaseToolsIdentityLockRequest.ifMatch
|
|
362
362
|
};
|
|
363
363
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
364
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
364
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDatabaseToolsIdentityLockRequest.retryConfiguration, specRetryConfiguration);
|
|
365
365
|
if (this.logger)
|
|
366
366
|
retrier.logger = this.logger;
|
|
367
367
|
const request = yield oci_common_1.composeRequest({
|
|
368
368
|
baseEndpoint: this._endpoint,
|
|
369
369
|
defaultHeaders: this._defaultHeaders,
|
|
370
|
-
path: "/
|
|
370
|
+
path: "/databaseToolsIdentities/{databaseToolsIdentityId}/actions/addLock",
|
|
371
371
|
method: "POST",
|
|
372
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
372
|
+
bodyContent: common.ObjectSerializer.serialize(addDatabaseToolsIdentityLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
373
373
|
pathParams: pathParams,
|
|
374
374
|
headerParams: headerParams,
|
|
375
375
|
queryParams: queryParams
|
|
@@ -379,9 +379,9 @@ class DatabaseToolsClient {
|
|
|
379
379
|
const sdkResponse = oci_common_1.composeResponse({
|
|
380
380
|
responseObject: {},
|
|
381
381
|
body: yield response.json(),
|
|
382
|
-
bodyKey: "
|
|
383
|
-
bodyModel: model.
|
|
384
|
-
type: "model.
|
|
382
|
+
bodyKey: "databaseToolsIdentity",
|
|
383
|
+
bodyModel: model.DatabaseToolsIdentity,
|
|
384
|
+
type: "model.DatabaseToolsIdentity",
|
|
385
385
|
responseHeaders: [
|
|
386
386
|
{
|
|
387
387
|
value: response.headers.get("opc-request-id"),
|
|
@@ -403,43 +403,38 @@ class DatabaseToolsClient {
|
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
|
-
*
|
|
407
|
-
* For information about moving resources between compartments, see
|
|
408
|
-
* [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
409
|
-
*
|
|
406
|
+
* Adds a lock to a DatabaseToolsMcpServer resource.
|
|
410
407
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
411
|
-
* @param
|
|
412
|
-
* @return
|
|
408
|
+
* @param AddDatabaseToolsMcpServerLockRequest
|
|
409
|
+
* @return AddDatabaseToolsMcpServerLockResponse
|
|
413
410
|
* @throws OciError when an error occurs
|
|
414
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
411
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/AddDatabaseToolsMcpServerLock.ts.html |here} to see how to use AddDatabaseToolsMcpServerLock API.
|
|
415
412
|
*/
|
|
416
|
-
|
|
413
|
+
addDatabaseToolsMcpServerLock(addDatabaseToolsMcpServerLockRequest) {
|
|
417
414
|
return __awaiter(this, void 0, void 0, function* () {
|
|
418
415
|
if (this.logger)
|
|
419
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
420
|
-
const operationName = "
|
|
421
|
-
const apiReferenceLink = "
|
|
416
|
+
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsMcpServerLock.");
|
|
417
|
+
const operationName = "addDatabaseToolsMcpServerLock";
|
|
418
|
+
const apiReferenceLink = "";
|
|
422
419
|
const pathParams = {
|
|
423
|
-
"{
|
|
424
|
-
};
|
|
425
|
-
const queryParams = {
|
|
426
|
-
"isLockOverride": changeDatabaseToolsConnectionCompartmentRequest.isLockOverride
|
|
420
|
+
"{databaseToolsMcpServerId}": addDatabaseToolsMcpServerLockRequest.databaseToolsMcpServerId
|
|
427
421
|
};
|
|
422
|
+
const queryParams = {};
|
|
428
423
|
let headerParams = {
|
|
429
424
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
430
|
-
"
|
|
431
|
-
"
|
|
425
|
+
"opc-request-id": addDatabaseToolsMcpServerLockRequest.opcRequestId,
|
|
426
|
+
"if-match": addDatabaseToolsMcpServerLockRequest.ifMatch
|
|
432
427
|
};
|
|
433
428
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
434
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
429
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDatabaseToolsMcpServerLockRequest.retryConfiguration, specRetryConfiguration);
|
|
435
430
|
if (this.logger)
|
|
436
431
|
retrier.logger = this.logger;
|
|
437
432
|
const request = yield oci_common_1.composeRequest({
|
|
438
433
|
baseEndpoint: this._endpoint,
|
|
439
434
|
defaultHeaders: this._defaultHeaders,
|
|
440
|
-
path: "/
|
|
435
|
+
path: "/databaseToolsMcpServers/{databaseToolsMcpServerId}/actions/addLock",
|
|
441
436
|
method: "POST",
|
|
442
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
437
|
+
bodyContent: common.ObjectSerializer.serialize(addDatabaseToolsMcpServerLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
443
438
|
pathParams: pathParams,
|
|
444
439
|
headerParams: headerParams,
|
|
445
440
|
queryParams: queryParams
|
|
@@ -448,15 +443,19 @@ class DatabaseToolsClient {
|
|
|
448
443
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
449
444
|
const sdkResponse = oci_common_1.composeResponse({
|
|
450
445
|
responseObject: {},
|
|
446
|
+
body: yield response.json(),
|
|
447
|
+
bodyKey: "databaseToolsMcpServer",
|
|
448
|
+
bodyModel: model.DatabaseToolsMcpServer,
|
|
449
|
+
type: "model.DatabaseToolsMcpServer",
|
|
451
450
|
responseHeaders: [
|
|
452
451
|
{
|
|
453
|
-
value: response.headers.get("opc-
|
|
454
|
-
key: "
|
|
452
|
+
value: response.headers.get("opc-request-id"),
|
|
453
|
+
key: "opcRequestId",
|
|
455
454
|
dataType: "string"
|
|
456
455
|
},
|
|
457
456
|
{
|
|
458
|
-
value: response.headers.get("
|
|
459
|
-
key: "
|
|
457
|
+
value: response.headers.get("etag"),
|
|
458
|
+
key: "etag",
|
|
460
459
|
dataType: "string"
|
|
461
460
|
}
|
|
462
461
|
]
|
|
@@ -469,43 +468,38 @@ class DatabaseToolsClient {
|
|
|
469
468
|
});
|
|
470
469
|
}
|
|
471
470
|
/**
|
|
472
|
-
*
|
|
473
|
-
* For information about moving resources between compartments, see
|
|
474
|
-
* [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
475
|
-
*
|
|
471
|
+
* Adds a lock to a DatabaseToolsMcpToolset resource.
|
|
476
472
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
477
|
-
* @param
|
|
478
|
-
* @return
|
|
473
|
+
* @param AddDatabaseToolsMcpToolsetLockRequest
|
|
474
|
+
* @return AddDatabaseToolsMcpToolsetLockResponse
|
|
479
475
|
* @throws OciError when an error occurs
|
|
480
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
476
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/AddDatabaseToolsMcpToolsetLock.ts.html |here} to see how to use AddDatabaseToolsMcpToolsetLock API.
|
|
481
477
|
*/
|
|
482
|
-
|
|
478
|
+
addDatabaseToolsMcpToolsetLock(addDatabaseToolsMcpToolsetLockRequest) {
|
|
483
479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
484
480
|
if (this.logger)
|
|
485
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
486
|
-
const operationName = "
|
|
487
|
-
const apiReferenceLink = "
|
|
481
|
+
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsMcpToolsetLock.");
|
|
482
|
+
const operationName = "addDatabaseToolsMcpToolsetLock";
|
|
483
|
+
const apiReferenceLink = "";
|
|
488
484
|
const pathParams = {
|
|
489
|
-
"{
|
|
490
|
-
};
|
|
491
|
-
const queryParams = {
|
|
492
|
-
"isLockOverride": changeDatabaseToolsIdentityCompartmentRequest.isLockOverride
|
|
485
|
+
"{databaseToolsMcpToolsetId}": addDatabaseToolsMcpToolsetLockRequest.databaseToolsMcpToolsetId
|
|
493
486
|
};
|
|
487
|
+
const queryParams = {};
|
|
494
488
|
let headerParams = {
|
|
495
489
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
496
|
-
"
|
|
497
|
-
"
|
|
490
|
+
"opc-request-id": addDatabaseToolsMcpToolsetLockRequest.opcRequestId,
|
|
491
|
+
"if-match": addDatabaseToolsMcpToolsetLockRequest.ifMatch
|
|
498
492
|
};
|
|
499
493
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
500
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
494
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDatabaseToolsMcpToolsetLockRequest.retryConfiguration, specRetryConfiguration);
|
|
501
495
|
if (this.logger)
|
|
502
496
|
retrier.logger = this.logger;
|
|
503
497
|
const request = yield oci_common_1.composeRequest({
|
|
504
498
|
baseEndpoint: this._endpoint,
|
|
505
499
|
defaultHeaders: this._defaultHeaders,
|
|
506
|
-
path: "/
|
|
500
|
+
path: "/databaseToolsMcpToolsets/{databaseToolsMcpToolsetId}/actions/addLock",
|
|
507
501
|
method: "POST",
|
|
508
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
502
|
+
bodyContent: common.ObjectSerializer.serialize(addDatabaseToolsMcpToolsetLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
509
503
|
pathParams: pathParams,
|
|
510
504
|
headerParams: headerParams,
|
|
511
505
|
queryParams: queryParams
|
|
@@ -514,15 +508,19 @@ class DatabaseToolsClient {
|
|
|
514
508
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
515
509
|
const sdkResponse = oci_common_1.composeResponse({
|
|
516
510
|
responseObject: {},
|
|
511
|
+
body: yield response.json(),
|
|
512
|
+
bodyKey: "databaseToolsMcpToolset",
|
|
513
|
+
bodyModel: model.DatabaseToolsMcpToolset,
|
|
514
|
+
type: "model.DatabaseToolsMcpToolset",
|
|
517
515
|
responseHeaders: [
|
|
518
516
|
{
|
|
519
|
-
value: response.headers.get("opc-
|
|
520
|
-
key: "
|
|
517
|
+
value: response.headers.get("opc-request-id"),
|
|
518
|
+
key: "opcRequestId",
|
|
521
519
|
dataType: "string"
|
|
522
520
|
},
|
|
523
521
|
{
|
|
524
|
-
value: response.headers.get("
|
|
525
|
-
key: "
|
|
522
|
+
value: response.headers.get("etag"),
|
|
523
|
+
key: "etag",
|
|
526
524
|
dataType: "string"
|
|
527
525
|
}
|
|
528
526
|
]
|
|
@@ -535,43 +533,38 @@ class DatabaseToolsClient {
|
|
|
535
533
|
});
|
|
536
534
|
}
|
|
537
535
|
/**
|
|
538
|
-
*
|
|
539
|
-
* For information about moving resources between compartments, see
|
|
540
|
-
* [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
541
|
-
*
|
|
536
|
+
* Adds a lock to a DatabaseToolsPrivateEndpoint resource.
|
|
542
537
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
543
|
-
* @param
|
|
544
|
-
* @return
|
|
538
|
+
* @param AddDatabaseToolsPrivateEndpointLockRequest
|
|
539
|
+
* @return AddDatabaseToolsPrivateEndpointLockResponse
|
|
545
540
|
* @throws OciError when an error occurs
|
|
546
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
541
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/AddDatabaseToolsPrivateEndpointLock.ts.html |here} to see how to use AddDatabaseToolsPrivateEndpointLock API.
|
|
547
542
|
*/
|
|
548
|
-
|
|
543
|
+
addDatabaseToolsPrivateEndpointLock(addDatabaseToolsPrivateEndpointLockRequest) {
|
|
549
544
|
return __awaiter(this, void 0, void 0, function* () {
|
|
550
545
|
if (this.logger)
|
|
551
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
552
|
-
const operationName = "
|
|
553
|
-
const apiReferenceLink = "
|
|
546
|
+
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsPrivateEndpointLock.");
|
|
547
|
+
const operationName = "addDatabaseToolsPrivateEndpointLock";
|
|
548
|
+
const apiReferenceLink = "";
|
|
554
549
|
const pathParams = {
|
|
555
|
-
"{databaseToolsPrivateEndpointId}":
|
|
556
|
-
};
|
|
557
|
-
const queryParams = {
|
|
558
|
-
"isLockOverride": changeDatabaseToolsPrivateEndpointCompartmentRequest.isLockOverride
|
|
550
|
+
"{databaseToolsPrivateEndpointId}": addDatabaseToolsPrivateEndpointLockRequest.databaseToolsPrivateEndpointId
|
|
559
551
|
};
|
|
552
|
+
const queryParams = {};
|
|
560
553
|
let headerParams = {
|
|
561
554
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
562
|
-
"
|
|
563
|
-
"
|
|
555
|
+
"opc-request-id": addDatabaseToolsPrivateEndpointLockRequest.opcRequestId,
|
|
556
|
+
"if-match": addDatabaseToolsPrivateEndpointLockRequest.ifMatch
|
|
564
557
|
};
|
|
565
558
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
566
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
559
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDatabaseToolsPrivateEndpointLockRequest.retryConfiguration, specRetryConfiguration);
|
|
567
560
|
if (this.logger)
|
|
568
561
|
retrier.logger = this.logger;
|
|
569
562
|
const request = yield oci_common_1.composeRequest({
|
|
570
563
|
baseEndpoint: this._endpoint,
|
|
571
564
|
defaultHeaders: this._defaultHeaders,
|
|
572
|
-
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}/actions/
|
|
565
|
+
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}/actions/addLock",
|
|
573
566
|
method: "POST",
|
|
574
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
567
|
+
bodyContent: common.ObjectSerializer.serialize(addDatabaseToolsPrivateEndpointLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
575
568
|
pathParams: pathParams,
|
|
576
569
|
headerParams: headerParams,
|
|
577
570
|
queryParams: queryParams
|
|
@@ -580,15 +573,19 @@ class DatabaseToolsClient {
|
|
|
580
573
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
581
574
|
const sdkResponse = oci_common_1.composeResponse({
|
|
582
575
|
responseObject: {},
|
|
576
|
+
body: yield response.json(),
|
|
577
|
+
bodyKey: "databaseToolsPrivateEndpoint",
|
|
578
|
+
bodyModel: model.DatabaseToolsPrivateEndpoint,
|
|
579
|
+
type: "model.DatabaseToolsPrivateEndpoint",
|
|
583
580
|
responseHeaders: [
|
|
584
581
|
{
|
|
585
|
-
value: response.headers.get("opc-
|
|
586
|
-
key: "
|
|
582
|
+
value: response.headers.get("opc-request-id"),
|
|
583
|
+
key: "opcRequestId",
|
|
587
584
|
dataType: "string"
|
|
588
585
|
},
|
|
589
586
|
{
|
|
590
|
-
value: response.headers.get("
|
|
591
|
-
key: "
|
|
587
|
+
value: response.headers.get("etag"),
|
|
588
|
+
key: "etag",
|
|
592
589
|
dataType: "string"
|
|
593
590
|
}
|
|
594
591
|
]
|
|
@@ -601,37 +598,38 @@ class DatabaseToolsClient {
|
|
|
601
598
|
});
|
|
602
599
|
}
|
|
603
600
|
/**
|
|
604
|
-
*
|
|
605
|
-
*
|
|
606
|
-
*
|
|
607
|
-
* @
|
|
608
|
-
* @return CreateDatabaseToolsConnectionResponse
|
|
601
|
+
* Adds a lock to a DatabaseToolsSqlReport resource.
|
|
602
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
603
|
+
* @param AddDatabaseToolsSqlReportLockRequest
|
|
604
|
+
* @return AddDatabaseToolsSqlReportLockResponse
|
|
609
605
|
* @throws OciError when an error occurs
|
|
610
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
606
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/AddDatabaseToolsSqlReportLock.ts.html |here} to see how to use AddDatabaseToolsSqlReportLock API.
|
|
611
607
|
*/
|
|
612
|
-
|
|
608
|
+
addDatabaseToolsSqlReportLock(addDatabaseToolsSqlReportLockRequest) {
|
|
613
609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
614
610
|
if (this.logger)
|
|
615
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
616
|
-
const operationName = "
|
|
611
|
+
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsSqlReportLock.");
|
|
612
|
+
const operationName = "addDatabaseToolsSqlReportLock";
|
|
617
613
|
const apiReferenceLink = "";
|
|
618
|
-
const pathParams = {
|
|
614
|
+
const pathParams = {
|
|
615
|
+
"{databaseToolsSqlReportId}": addDatabaseToolsSqlReportLockRequest.databaseToolsSqlReportId
|
|
616
|
+
};
|
|
619
617
|
const queryParams = {};
|
|
620
618
|
let headerParams = {
|
|
621
619
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
622
|
-
"opc-
|
|
623
|
-
"
|
|
620
|
+
"opc-request-id": addDatabaseToolsSqlReportLockRequest.opcRequestId,
|
|
621
|
+
"if-match": addDatabaseToolsSqlReportLockRequest.ifMatch
|
|
624
622
|
};
|
|
625
|
-
const specRetryConfiguration = common.
|
|
626
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
623
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
624
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDatabaseToolsSqlReportLockRequest.retryConfiguration, specRetryConfiguration);
|
|
627
625
|
if (this.logger)
|
|
628
626
|
retrier.logger = this.logger;
|
|
629
627
|
const request = yield oci_common_1.composeRequest({
|
|
630
628
|
baseEndpoint: this._endpoint,
|
|
631
629
|
defaultHeaders: this._defaultHeaders,
|
|
632
|
-
path: "/
|
|
630
|
+
path: "/databaseToolsSqlReports/{databaseToolsSqlReportId}/actions/addLock",
|
|
633
631
|
method: "POST",
|
|
634
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
632
|
+
bodyContent: common.ObjectSerializer.serialize(addDatabaseToolsSqlReportLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
635
633
|
pathParams: pathParams,
|
|
636
634
|
headerParams: headerParams,
|
|
637
635
|
queryParams: queryParams
|
|
@@ -641,29 +639,19 @@ class DatabaseToolsClient {
|
|
|
641
639
|
const sdkResponse = oci_common_1.composeResponse({
|
|
642
640
|
responseObject: {},
|
|
643
641
|
body: yield response.json(),
|
|
644
|
-
bodyKey: "
|
|
645
|
-
bodyModel: model.
|
|
646
|
-
type: "model.
|
|
642
|
+
bodyKey: "databaseToolsSqlReport",
|
|
643
|
+
bodyModel: model.DatabaseToolsSqlReport,
|
|
644
|
+
type: "model.DatabaseToolsSqlReport",
|
|
647
645
|
responseHeaders: [
|
|
648
646
|
{
|
|
649
|
-
value: response.headers.get("
|
|
650
|
-
key: "
|
|
647
|
+
value: response.headers.get("opc-request-id"),
|
|
648
|
+
key: "opcRequestId",
|
|
651
649
|
dataType: "string"
|
|
652
650
|
},
|
|
653
651
|
{
|
|
654
652
|
value: response.headers.get("etag"),
|
|
655
653
|
key: "etag",
|
|
656
654
|
dataType: "string"
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
value: response.headers.get("opc-work-request-id"),
|
|
660
|
-
key: "opcWorkRequestId",
|
|
661
|
-
dataType: "string"
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
value: response.headers.get("opc-request-id"),
|
|
665
|
-
key: "opcRequestId",
|
|
666
|
-
dataType: "string"
|
|
667
655
|
}
|
|
668
656
|
]
|
|
669
657
|
});
|
|
@@ -675,37 +663,38 @@ class DatabaseToolsClient {
|
|
|
675
663
|
});
|
|
676
664
|
}
|
|
677
665
|
/**
|
|
678
|
-
*
|
|
666
|
+
* Deletes Database Tools McpServer resource.
|
|
679
667
|
*
|
|
680
|
-
* This operation
|
|
681
|
-
* @param
|
|
682
|
-
* @return
|
|
668
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
669
|
+
* @param CascadingDeleteDatabaseToolsMcpServerRequest
|
|
670
|
+
* @return CascadingDeleteDatabaseToolsMcpServerResponse
|
|
683
671
|
* @throws OciError when an error occurs
|
|
684
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
672
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/CascadingDeleteDatabaseToolsMcpServer.ts.html |here} to see how to use CascadingDeleteDatabaseToolsMcpServer API.
|
|
685
673
|
*/
|
|
686
|
-
|
|
674
|
+
cascadingDeleteDatabaseToolsMcpServer(cascadingDeleteDatabaseToolsMcpServerRequest) {
|
|
687
675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
688
676
|
if (this.logger)
|
|
689
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
690
|
-
const operationName = "
|
|
677
|
+
this.logger.debug("Calling operation DatabaseToolsClient#cascadingDeleteDatabaseToolsMcpServer.");
|
|
678
|
+
const operationName = "cascadingDeleteDatabaseToolsMcpServer";
|
|
691
679
|
const apiReferenceLink = "";
|
|
692
|
-
const pathParams = {
|
|
680
|
+
const pathParams = {
|
|
681
|
+
"{databaseToolsMcpServerId}": cascadingDeleteDatabaseToolsMcpServerRequest.databaseToolsMcpServerId
|
|
682
|
+
};
|
|
693
683
|
const queryParams = {};
|
|
694
684
|
let headerParams = {
|
|
695
685
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
696
|
-
"
|
|
697
|
-
"opc-request-id":
|
|
686
|
+
"if-match": cascadingDeleteDatabaseToolsMcpServerRequest.ifMatch,
|
|
687
|
+
"opc-request-id": cascadingDeleteDatabaseToolsMcpServerRequest.opcRequestId
|
|
698
688
|
};
|
|
699
|
-
const specRetryConfiguration = common.
|
|
700
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
689
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
690
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cascadingDeleteDatabaseToolsMcpServerRequest.retryConfiguration, specRetryConfiguration);
|
|
701
691
|
if (this.logger)
|
|
702
692
|
retrier.logger = this.logger;
|
|
703
693
|
const request = yield oci_common_1.composeRequest({
|
|
704
694
|
baseEndpoint: this._endpoint,
|
|
705
695
|
defaultHeaders: this._defaultHeaders,
|
|
706
|
-
path: "/
|
|
696
|
+
path: "/databaseToolsMcpServers/{databaseToolsMcpServerId}/actions/cascadingDelete",
|
|
707
697
|
method: "POST",
|
|
708
|
-
bodyContent: common.ObjectSerializer.serialize(createDatabaseToolsIdentityRequest.createDatabaseToolsIdentityDetails, "CreateDatabaseToolsIdentityDetails", model.CreateDatabaseToolsIdentityDetails.getJsonObj),
|
|
709
698
|
pathParams: pathParams,
|
|
710
699
|
headerParams: headerParams,
|
|
711
700
|
queryParams: queryParams
|
|
@@ -714,21 +703,7 @@ class DatabaseToolsClient {
|
|
|
714
703
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
715
704
|
const sdkResponse = oci_common_1.composeResponse({
|
|
716
705
|
responseObject: {},
|
|
717
|
-
body: yield response.json(),
|
|
718
|
-
bodyKey: "databaseToolsIdentity",
|
|
719
|
-
bodyModel: model.DatabaseToolsIdentity,
|
|
720
|
-
type: "model.DatabaseToolsIdentity",
|
|
721
706
|
responseHeaders: [
|
|
722
|
-
{
|
|
723
|
-
value: response.headers.get("location"),
|
|
724
|
-
key: "location",
|
|
725
|
-
dataType: "string"
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
value: response.headers.get("etag"),
|
|
729
|
-
key: "etag",
|
|
730
|
-
dataType: "string"
|
|
731
|
-
},
|
|
732
707
|
{
|
|
733
708
|
value: response.headers.get("opc-work-request-id"),
|
|
734
709
|
key: "opcWorkRequestId",
|
|
@@ -749,37 +724,43 @@ class DatabaseToolsClient {
|
|
|
749
724
|
});
|
|
750
725
|
}
|
|
751
726
|
/**
|
|
752
|
-
*
|
|
727
|
+
* Moves the specified Database Tools connection to a different compartment in the same tenancy.
|
|
728
|
+
* For information about moving resources between compartments, see
|
|
729
|
+
* [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
753
730
|
*
|
|
754
|
-
* This operation
|
|
755
|
-
* @param
|
|
756
|
-
* @return
|
|
731
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
732
|
+
* @param ChangeDatabaseToolsConnectionCompartmentRequest
|
|
733
|
+
* @return ChangeDatabaseToolsConnectionCompartmentResponse
|
|
757
734
|
* @throws OciError when an error occurs
|
|
758
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
735
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ChangeDatabaseToolsConnectionCompartment.ts.html |here} to see how to use ChangeDatabaseToolsConnectionCompartment API.
|
|
759
736
|
*/
|
|
760
|
-
|
|
737
|
+
changeDatabaseToolsConnectionCompartment(changeDatabaseToolsConnectionCompartmentRequest) {
|
|
761
738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
762
739
|
if (this.logger)
|
|
763
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
764
|
-
const operationName = "
|
|
740
|
+
this.logger.debug("Calling operation DatabaseToolsClient#changeDatabaseToolsConnectionCompartment.");
|
|
741
|
+
const operationName = "changeDatabaseToolsConnectionCompartment";
|
|
765
742
|
const apiReferenceLink = "";
|
|
766
|
-
const pathParams = {
|
|
767
|
-
|
|
743
|
+
const pathParams = {
|
|
744
|
+
"{databaseToolsConnectionId}": changeDatabaseToolsConnectionCompartmentRequest.databaseToolsConnectionId
|
|
745
|
+
};
|
|
746
|
+
const queryParams = {
|
|
747
|
+
"isLockOverride": changeDatabaseToolsConnectionCompartmentRequest.isLockOverride
|
|
748
|
+
};
|
|
768
749
|
let headerParams = {
|
|
769
750
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
770
|
-
"
|
|
771
|
-
"opc-request-id":
|
|
772
|
-
};
|
|
773
|
-
const specRetryConfiguration = common.
|
|
774
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
751
|
+
"if-match": changeDatabaseToolsConnectionCompartmentRequest.ifMatch,
|
|
752
|
+
"opc-request-id": changeDatabaseToolsConnectionCompartmentRequest.opcRequestId
|
|
753
|
+
};
|
|
754
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
755
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsConnectionCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
775
756
|
if (this.logger)
|
|
776
757
|
retrier.logger = this.logger;
|
|
777
758
|
const request = yield oci_common_1.composeRequest({
|
|
778
759
|
baseEndpoint: this._endpoint,
|
|
779
760
|
defaultHeaders: this._defaultHeaders,
|
|
780
|
-
path: "/
|
|
761
|
+
path: "/databaseToolsConnections/{databaseToolsConnectionId}/actions/changeCompartment",
|
|
781
762
|
method: "POST",
|
|
782
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
763
|
+
bodyContent: common.ObjectSerializer.serialize(changeDatabaseToolsConnectionCompartmentRequest.changeDatabaseToolsConnectionCompartmentDetails, "ChangeDatabaseToolsConnectionCompartmentDetails", model.ChangeDatabaseToolsConnectionCompartmentDetails.getJsonObj),
|
|
783
764
|
pathParams: pathParams,
|
|
784
765
|
headerParams: headerParams,
|
|
785
766
|
queryParams: queryParams
|
|
@@ -788,21 +769,7 @@ class DatabaseToolsClient {
|
|
|
788
769
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
789
770
|
const sdkResponse = oci_common_1.composeResponse({
|
|
790
771
|
responseObject: {},
|
|
791
|
-
body: yield response.json(),
|
|
792
|
-
bodyKey: "databaseToolsPrivateEndpoint",
|
|
793
|
-
bodyModel: model.DatabaseToolsPrivateEndpoint,
|
|
794
|
-
type: "model.DatabaseToolsPrivateEndpoint",
|
|
795
772
|
responseHeaders: [
|
|
796
|
-
{
|
|
797
|
-
value: response.headers.get("location"),
|
|
798
|
-
key: "location",
|
|
799
|
-
dataType: "string"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
value: response.headers.get("etag"),
|
|
803
|
-
key: "etag",
|
|
804
|
-
dataType: "string"
|
|
805
|
-
},
|
|
806
773
|
{
|
|
807
774
|
value: response.headers.get("opc-work-request-id"),
|
|
808
775
|
key: "opcWorkRequestId",
|
|
@@ -823,39 +790,43 @@ class DatabaseToolsClient {
|
|
|
823
790
|
});
|
|
824
791
|
}
|
|
825
792
|
/**
|
|
826
|
-
*
|
|
793
|
+
* Moves the specified Database Tools database API gateway config to a different compartment in the same tenancy.
|
|
794
|
+
* For information about moving resources between compartments, see
|
|
795
|
+
* [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/DbApiGatewayConfig/Tasks/managingcompartments.htm#moveRes).
|
|
796
|
+
*
|
|
827
797
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
828
|
-
* @param
|
|
829
|
-
* @return
|
|
798
|
+
* @param ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest
|
|
799
|
+
* @return ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentResponse
|
|
830
800
|
* @throws OciError when an error occurs
|
|
831
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
801
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment.ts.html |here} to see how to use ChangeDatabaseToolsDatabaseApiGatewayConfigCompartment API.
|
|
832
802
|
*/
|
|
833
|
-
|
|
803
|
+
changeDatabaseToolsDatabaseApiGatewayConfigCompartment(changeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest) {
|
|
834
804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
835
805
|
if (this.logger)
|
|
836
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
837
|
-
const operationName = "
|
|
838
|
-
const apiReferenceLink = "
|
|
806
|
+
this.logger.debug("Calling operation DatabaseToolsClient#changeDatabaseToolsDatabaseApiGatewayConfigCompartment.");
|
|
807
|
+
const operationName = "changeDatabaseToolsDatabaseApiGatewayConfigCompartment";
|
|
808
|
+
const apiReferenceLink = "";
|
|
839
809
|
const pathParams = {
|
|
840
|
-
"{
|
|
810
|
+
"{databaseToolsDatabaseApiGatewayConfigId}": changeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest.databaseToolsDatabaseApiGatewayConfigId
|
|
841
811
|
};
|
|
842
812
|
const queryParams = {
|
|
843
|
-
"isLockOverride":
|
|
813
|
+
"isLockOverride": changeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest.isLockOverride
|
|
844
814
|
};
|
|
845
815
|
let headerParams = {
|
|
846
816
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
847
|
-
"if-match":
|
|
848
|
-
"opc-request-id":
|
|
817
|
+
"if-match": changeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest.ifMatch,
|
|
818
|
+
"opc-request-id": changeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest.opcRequestId
|
|
849
819
|
};
|
|
850
820
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
851
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
821
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
852
822
|
if (this.logger)
|
|
853
823
|
retrier.logger = this.logger;
|
|
854
824
|
const request = yield oci_common_1.composeRequest({
|
|
855
825
|
baseEndpoint: this._endpoint,
|
|
856
826
|
defaultHeaders: this._defaultHeaders,
|
|
857
|
-
path: "/
|
|
858
|
-
method: "
|
|
827
|
+
path: "/databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}/actions/changeCompartment",
|
|
828
|
+
method: "POST",
|
|
829
|
+
bodyContent: common.ObjectSerializer.serialize(changeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest.changeDatabaseToolsDatabaseApiGatewayConfigCompartmentDetails, "ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentDetails", model.ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentDetails.getJsonObj),
|
|
859
830
|
pathParams: pathParams,
|
|
860
831
|
headerParams: headerParams,
|
|
861
832
|
queryParams: queryParams
|
|
@@ -865,11 +836,6 @@ class DatabaseToolsClient {
|
|
|
865
836
|
const sdkResponse = oci_common_1.composeResponse({
|
|
866
837
|
responseObject: {},
|
|
867
838
|
responseHeaders: [
|
|
868
|
-
{
|
|
869
|
-
value: response.headers.get("opc-work-request-id"),
|
|
870
|
-
key: "opcWorkRequestId",
|
|
871
|
-
dataType: "string"
|
|
872
|
-
},
|
|
873
839
|
{
|
|
874
840
|
value: response.headers.get("opc-request-id"),
|
|
875
841
|
key: "opcRequestId",
|
|
@@ -885,39 +851,43 @@ class DatabaseToolsClient {
|
|
|
885
851
|
});
|
|
886
852
|
}
|
|
887
853
|
/**
|
|
888
|
-
*
|
|
854
|
+
* Moves the specified Database Tools identity to a different compartment in the same tenancy.
|
|
855
|
+
* For information about moving resources between compartments, see
|
|
856
|
+
* [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
857
|
+
*
|
|
889
858
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
890
|
-
* @param
|
|
891
|
-
* @return
|
|
859
|
+
* @param ChangeDatabaseToolsIdentityCompartmentRequest
|
|
860
|
+
* @return ChangeDatabaseToolsIdentityCompartmentResponse
|
|
892
861
|
* @throws OciError when an error occurs
|
|
893
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
862
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ChangeDatabaseToolsIdentityCompartment.ts.html |here} to see how to use ChangeDatabaseToolsIdentityCompartment API.
|
|
894
863
|
*/
|
|
895
|
-
|
|
864
|
+
changeDatabaseToolsIdentityCompartment(changeDatabaseToolsIdentityCompartmentRequest) {
|
|
896
865
|
return __awaiter(this, void 0, void 0, function* () {
|
|
897
866
|
if (this.logger)
|
|
898
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
899
|
-
const operationName = "
|
|
900
|
-
const apiReferenceLink = "
|
|
867
|
+
this.logger.debug("Calling operation DatabaseToolsClient#changeDatabaseToolsIdentityCompartment.");
|
|
868
|
+
const operationName = "changeDatabaseToolsIdentityCompartment";
|
|
869
|
+
const apiReferenceLink = "";
|
|
901
870
|
const pathParams = {
|
|
902
|
-
"{databaseToolsIdentityId}":
|
|
871
|
+
"{databaseToolsIdentityId}": changeDatabaseToolsIdentityCompartmentRequest.databaseToolsIdentityId
|
|
903
872
|
};
|
|
904
873
|
const queryParams = {
|
|
905
|
-
"isLockOverride":
|
|
874
|
+
"isLockOverride": changeDatabaseToolsIdentityCompartmentRequest.isLockOverride
|
|
906
875
|
};
|
|
907
876
|
let headerParams = {
|
|
908
877
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
909
|
-
"if-match":
|
|
910
|
-
"opc-request-id":
|
|
878
|
+
"if-match": changeDatabaseToolsIdentityCompartmentRequest.ifMatch,
|
|
879
|
+
"opc-request-id": changeDatabaseToolsIdentityCompartmentRequest.opcRequestId
|
|
911
880
|
};
|
|
912
881
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
913
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
882
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsIdentityCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
914
883
|
if (this.logger)
|
|
915
884
|
retrier.logger = this.logger;
|
|
916
885
|
const request = yield oci_common_1.composeRequest({
|
|
917
886
|
baseEndpoint: this._endpoint,
|
|
918
887
|
defaultHeaders: this._defaultHeaders,
|
|
919
|
-
path: "/databaseToolsIdentities/{databaseToolsIdentityId}",
|
|
920
|
-
method: "
|
|
888
|
+
path: "/databaseToolsIdentities/{databaseToolsIdentityId}/actions/changeCompartment",
|
|
889
|
+
method: "POST",
|
|
890
|
+
bodyContent: common.ObjectSerializer.serialize(changeDatabaseToolsIdentityCompartmentRequest.changeDatabaseToolsIdentityCompartmentDetails, "ChangeDatabaseToolsIdentityCompartmentDetails", model.ChangeDatabaseToolsIdentityCompartmentDetails.getJsonObj),
|
|
921
891
|
pathParams: pathParams,
|
|
922
892
|
headerParams: headerParams,
|
|
923
893
|
queryParams: queryParams
|
|
@@ -947,39 +917,41 @@ class DatabaseToolsClient {
|
|
|
947
917
|
});
|
|
948
918
|
}
|
|
949
919
|
/**
|
|
950
|
-
*
|
|
920
|
+
* Moves the specified Database Tools mcpserver to a different compartment in the same tenancy.
|
|
921
|
+
*
|
|
951
922
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
952
|
-
* @param
|
|
953
|
-
* @return
|
|
923
|
+
* @param ChangeDatabaseToolsMcpServerCompartmentRequest
|
|
924
|
+
* @return ChangeDatabaseToolsMcpServerCompartmentResponse
|
|
954
925
|
* @throws OciError when an error occurs
|
|
955
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
926
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ChangeDatabaseToolsMcpServerCompartment.ts.html |here} to see how to use ChangeDatabaseToolsMcpServerCompartment API.
|
|
956
927
|
*/
|
|
957
|
-
|
|
928
|
+
changeDatabaseToolsMcpServerCompartment(changeDatabaseToolsMcpServerCompartmentRequest) {
|
|
958
929
|
return __awaiter(this, void 0, void 0, function* () {
|
|
959
930
|
if (this.logger)
|
|
960
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
961
|
-
const operationName = "
|
|
962
|
-
const apiReferenceLink = "
|
|
931
|
+
this.logger.debug("Calling operation DatabaseToolsClient#changeDatabaseToolsMcpServerCompartment.");
|
|
932
|
+
const operationName = "changeDatabaseToolsMcpServerCompartment";
|
|
933
|
+
const apiReferenceLink = "";
|
|
963
934
|
const pathParams = {
|
|
964
|
-
"{
|
|
935
|
+
"{databaseToolsMcpServerId}": changeDatabaseToolsMcpServerCompartmentRequest.databaseToolsMcpServerId
|
|
965
936
|
};
|
|
966
937
|
const queryParams = {
|
|
967
|
-
"isLockOverride":
|
|
938
|
+
"isLockOverride": changeDatabaseToolsMcpServerCompartmentRequest.isLockOverride
|
|
968
939
|
};
|
|
969
940
|
let headerParams = {
|
|
970
941
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
971
|
-
"if-match":
|
|
972
|
-
"opc-request-id":
|
|
942
|
+
"if-match": changeDatabaseToolsMcpServerCompartmentRequest.ifMatch,
|
|
943
|
+
"opc-request-id": changeDatabaseToolsMcpServerCompartmentRequest.opcRequestId
|
|
973
944
|
};
|
|
974
945
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
975
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
946
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsMcpServerCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
976
947
|
if (this.logger)
|
|
977
948
|
retrier.logger = this.logger;
|
|
978
949
|
const request = yield oci_common_1.composeRequest({
|
|
979
950
|
baseEndpoint: this._endpoint,
|
|
980
951
|
defaultHeaders: this._defaultHeaders,
|
|
981
|
-
path: "/
|
|
982
|
-
method: "
|
|
952
|
+
path: "/databaseToolsMcpServers/{databaseToolsMcpServerId}/actions/changeCompartment",
|
|
953
|
+
method: "POST",
|
|
954
|
+
bodyContent: common.ObjectSerializer.serialize(changeDatabaseToolsMcpServerCompartmentRequest.changeDatabaseToolsMcpServerCompartmentDetails, "ChangeDatabaseToolsMcpServerCompartmentDetails", model.ChangeDatabaseToolsMcpServerCompartmentDetails.getJsonObj),
|
|
983
955
|
pathParams: pathParams,
|
|
984
956
|
headerParams: headerParams,
|
|
985
957
|
queryParams: queryParams
|
|
@@ -1009,36 +981,41 @@ class DatabaseToolsClient {
|
|
|
1009
981
|
});
|
|
1010
982
|
}
|
|
1011
983
|
/**
|
|
1012
|
-
*
|
|
1013
|
-
*
|
|
1014
|
-
*
|
|
1015
|
-
* @
|
|
984
|
+
* Moves the specified Database Tools MCP Toolset to a different compartment in the same tenancy.
|
|
985
|
+
*
|
|
986
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
987
|
+
* @param ChangeDatabaseToolsMcpToolsetCompartmentRequest
|
|
988
|
+
* @return ChangeDatabaseToolsMcpToolsetCompartmentResponse
|
|
1016
989
|
* @throws OciError when an error occurs
|
|
1017
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
990
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ChangeDatabaseToolsMcpToolsetCompartment.ts.html |here} to see how to use ChangeDatabaseToolsMcpToolsetCompartment API.
|
|
1018
991
|
*/
|
|
1019
|
-
|
|
992
|
+
changeDatabaseToolsMcpToolsetCompartment(changeDatabaseToolsMcpToolsetCompartmentRequest) {
|
|
1020
993
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1021
994
|
if (this.logger)
|
|
1022
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1023
|
-
const operationName = "
|
|
1024
|
-
const apiReferenceLink = "
|
|
995
|
+
this.logger.debug("Calling operation DatabaseToolsClient#changeDatabaseToolsMcpToolsetCompartment.");
|
|
996
|
+
const operationName = "changeDatabaseToolsMcpToolsetCompartment";
|
|
997
|
+
const apiReferenceLink = "";
|
|
1025
998
|
const pathParams = {
|
|
1026
|
-
"{
|
|
999
|
+
"{databaseToolsMcpToolsetId}": changeDatabaseToolsMcpToolsetCompartmentRequest.databaseToolsMcpToolsetId
|
|
1000
|
+
};
|
|
1001
|
+
const queryParams = {
|
|
1002
|
+
"isLockOverride": changeDatabaseToolsMcpToolsetCompartmentRequest.isLockOverride
|
|
1027
1003
|
};
|
|
1028
|
-
const queryParams = {};
|
|
1029
1004
|
let headerParams = {
|
|
1030
1005
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1031
|
-
"
|
|
1006
|
+
"if-match": changeDatabaseToolsMcpToolsetCompartmentRequest.ifMatch,
|
|
1007
|
+
"opc-request-id": changeDatabaseToolsMcpToolsetCompartmentRequest.opcRequestId
|
|
1032
1008
|
};
|
|
1033
|
-
const specRetryConfiguration = common.
|
|
1034
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1009
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1010
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsMcpToolsetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1035
1011
|
if (this.logger)
|
|
1036
1012
|
retrier.logger = this.logger;
|
|
1037
1013
|
const request = yield oci_common_1.composeRequest({
|
|
1038
1014
|
baseEndpoint: this._endpoint,
|
|
1039
1015
|
defaultHeaders: this._defaultHeaders,
|
|
1040
|
-
path: "/
|
|
1041
|
-
method: "
|
|
1016
|
+
path: "/databaseToolsMcpToolsets/{databaseToolsMcpToolsetId}/actions/changeCompartment",
|
|
1017
|
+
method: "POST",
|
|
1018
|
+
bodyContent: common.ObjectSerializer.serialize(changeDatabaseToolsMcpToolsetCompartmentRequest.changeDatabaseToolsMcpToolsetCompartmentDetails, "ChangeDatabaseToolsMcpToolsetCompartmentDetails", model.ChangeDatabaseToolsMcpToolsetCompartmentDetails.getJsonObj),
|
|
1042
1019
|
pathParams: pathParams,
|
|
1043
1020
|
headerParams: headerParams,
|
|
1044
1021
|
queryParams: queryParams
|
|
@@ -1047,16 +1024,7 @@ class DatabaseToolsClient {
|
|
|
1047
1024
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1048
1025
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1049
1026
|
responseObject: {},
|
|
1050
|
-
body: yield response.json(),
|
|
1051
|
-
bodyKey: "databaseToolsConnection",
|
|
1052
|
-
bodyModel: model.DatabaseToolsConnection,
|
|
1053
|
-
type: "model.DatabaseToolsConnection",
|
|
1054
1027
|
responseHeaders: [
|
|
1055
|
-
{
|
|
1056
|
-
value: response.headers.get("etag"),
|
|
1057
|
-
key: "etag",
|
|
1058
|
-
dataType: "string"
|
|
1059
|
-
},
|
|
1060
1028
|
{
|
|
1061
1029
|
value: response.headers.get("opc-request-id"),
|
|
1062
1030
|
key: "opcRequestId",
|
|
@@ -1072,36 +1040,43 @@ class DatabaseToolsClient {
|
|
|
1072
1040
|
});
|
|
1073
1041
|
}
|
|
1074
1042
|
/**
|
|
1075
|
-
*
|
|
1076
|
-
*
|
|
1077
|
-
*
|
|
1078
|
-
*
|
|
1043
|
+
* Moves a Database Tools private endpoint into a different compartment in the same tenancy.
|
|
1044
|
+
* For information about moving resources between compartments, see
|
|
1045
|
+
* [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1046
|
+
*
|
|
1047
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1048
|
+
* @param ChangeDatabaseToolsPrivateEndpointCompartmentRequest
|
|
1049
|
+
* @return ChangeDatabaseToolsPrivateEndpointCompartmentResponse
|
|
1079
1050
|
* @throws OciError when an error occurs
|
|
1080
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
1051
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ChangeDatabaseToolsPrivateEndpointCompartment.ts.html |here} to see how to use ChangeDatabaseToolsPrivateEndpointCompartment API.
|
|
1081
1052
|
*/
|
|
1082
|
-
|
|
1053
|
+
changeDatabaseToolsPrivateEndpointCompartment(changeDatabaseToolsPrivateEndpointCompartmentRequest) {
|
|
1083
1054
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1084
1055
|
if (this.logger)
|
|
1085
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1086
|
-
const operationName = "
|
|
1087
|
-
const apiReferenceLink = "
|
|
1056
|
+
this.logger.debug("Calling operation DatabaseToolsClient#changeDatabaseToolsPrivateEndpointCompartment.");
|
|
1057
|
+
const operationName = "changeDatabaseToolsPrivateEndpointCompartment";
|
|
1058
|
+
const apiReferenceLink = "";
|
|
1088
1059
|
const pathParams = {
|
|
1089
|
-
"{
|
|
1060
|
+
"{databaseToolsPrivateEndpointId}": changeDatabaseToolsPrivateEndpointCompartmentRequest.databaseToolsPrivateEndpointId
|
|
1061
|
+
};
|
|
1062
|
+
const queryParams = {
|
|
1063
|
+
"isLockOverride": changeDatabaseToolsPrivateEndpointCompartmentRequest.isLockOverride
|
|
1090
1064
|
};
|
|
1091
|
-
const queryParams = {};
|
|
1092
1065
|
let headerParams = {
|
|
1093
1066
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1094
|
-
"
|
|
1067
|
+
"if-match": changeDatabaseToolsPrivateEndpointCompartmentRequest.ifMatch,
|
|
1068
|
+
"opc-request-id": changeDatabaseToolsPrivateEndpointCompartmentRequest.opcRequestId
|
|
1095
1069
|
};
|
|
1096
|
-
const specRetryConfiguration = common.
|
|
1097
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1070
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1071
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsPrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1098
1072
|
if (this.logger)
|
|
1099
1073
|
retrier.logger = this.logger;
|
|
1100
1074
|
const request = yield oci_common_1.composeRequest({
|
|
1101
1075
|
baseEndpoint: this._endpoint,
|
|
1102
1076
|
defaultHeaders: this._defaultHeaders,
|
|
1103
|
-
path: "/
|
|
1104
|
-
method: "
|
|
1077
|
+
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}/actions/changeCompartment",
|
|
1078
|
+
method: "POST",
|
|
1079
|
+
bodyContent: common.ObjectSerializer.serialize(changeDatabaseToolsPrivateEndpointCompartmentRequest.changeDatabaseToolsPrivateEndpointCompartmentDetails, "ChangeDatabaseToolsPrivateEndpointCompartmentDetails", model.ChangeDatabaseToolsPrivateEndpointCompartmentDetails.getJsonObj),
|
|
1105
1080
|
pathParams: pathParams,
|
|
1106
1081
|
headerParams: headerParams,
|
|
1107
1082
|
queryParams: queryParams
|
|
@@ -1110,14 +1085,10 @@ class DatabaseToolsClient {
|
|
|
1110
1085
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1111
1086
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1112
1087
|
responseObject: {},
|
|
1113
|
-
body: yield response.json(),
|
|
1114
|
-
bodyKey: "databaseToolsEndpointService",
|
|
1115
|
-
bodyModel: model.DatabaseToolsEndpointService,
|
|
1116
|
-
type: "model.DatabaseToolsEndpointService",
|
|
1117
1088
|
responseHeaders: [
|
|
1118
1089
|
{
|
|
1119
|
-
value: response.headers.get("
|
|
1120
|
-
key: "
|
|
1090
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1091
|
+
key: "opcWorkRequestId",
|
|
1121
1092
|
dataType: "string"
|
|
1122
1093
|
},
|
|
1123
1094
|
{
|
|
@@ -1135,36 +1106,41 @@ class DatabaseToolsClient {
|
|
|
1135
1106
|
});
|
|
1136
1107
|
}
|
|
1137
1108
|
/**
|
|
1138
|
-
*
|
|
1139
|
-
*
|
|
1140
|
-
*
|
|
1141
|
-
* @
|
|
1109
|
+
* Moves the specified Database Tools SQL Report to a different compartment in the same tenancy.
|
|
1110
|
+
*
|
|
1111
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1112
|
+
* @param ChangeDatabaseToolsSqlReportCompartmentRequest
|
|
1113
|
+
* @return ChangeDatabaseToolsSqlReportCompartmentResponse
|
|
1142
1114
|
* @throws OciError when an error occurs
|
|
1143
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
1115
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ChangeDatabaseToolsSqlReportCompartment.ts.html |here} to see how to use ChangeDatabaseToolsSqlReportCompartment API.
|
|
1144
1116
|
*/
|
|
1145
|
-
|
|
1117
|
+
changeDatabaseToolsSqlReportCompartment(changeDatabaseToolsSqlReportCompartmentRequest) {
|
|
1146
1118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1147
1119
|
if (this.logger)
|
|
1148
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1149
|
-
const operationName = "
|
|
1150
|
-
const apiReferenceLink = "
|
|
1120
|
+
this.logger.debug("Calling operation DatabaseToolsClient#changeDatabaseToolsSqlReportCompartment.");
|
|
1121
|
+
const operationName = "changeDatabaseToolsSqlReportCompartment";
|
|
1122
|
+
const apiReferenceLink = "";
|
|
1151
1123
|
const pathParams = {
|
|
1152
|
-
"{
|
|
1124
|
+
"{databaseToolsSqlReportId}": changeDatabaseToolsSqlReportCompartmentRequest.databaseToolsSqlReportId
|
|
1125
|
+
};
|
|
1126
|
+
const queryParams = {
|
|
1127
|
+
"isLockOverride": changeDatabaseToolsSqlReportCompartmentRequest.isLockOverride
|
|
1153
1128
|
};
|
|
1154
|
-
const queryParams = {};
|
|
1155
1129
|
let headerParams = {
|
|
1156
1130
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1157
|
-
"
|
|
1131
|
+
"if-match": changeDatabaseToolsSqlReportCompartmentRequest.ifMatch,
|
|
1132
|
+
"opc-request-id": changeDatabaseToolsSqlReportCompartmentRequest.opcRequestId
|
|
1158
1133
|
};
|
|
1159
|
-
const specRetryConfiguration = common.
|
|
1160
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1134
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1135
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsSqlReportCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1161
1136
|
if (this.logger)
|
|
1162
1137
|
retrier.logger = this.logger;
|
|
1163
1138
|
const request = yield oci_common_1.composeRequest({
|
|
1164
1139
|
baseEndpoint: this._endpoint,
|
|
1165
1140
|
defaultHeaders: this._defaultHeaders,
|
|
1166
|
-
path: "/
|
|
1167
|
-
method: "
|
|
1141
|
+
path: "/databaseToolsSqlReports/{databaseToolsSqlReportId}/actions/changeCompartment",
|
|
1142
|
+
method: "POST",
|
|
1143
|
+
bodyContent: common.ObjectSerializer.serialize(changeDatabaseToolsSqlReportCompartmentRequest.changeDatabaseToolsSqlReportCompartmentDetails, "ChangeDatabaseToolsSqlReportCompartmentDetails", model.ChangeDatabaseToolsSqlReportCompartmentDetails.getJsonObj),
|
|
1168
1144
|
pathParams: pathParams,
|
|
1169
1145
|
headerParams: headerParams,
|
|
1170
1146
|
queryParams: queryParams
|
|
@@ -1173,16 +1149,7 @@ class DatabaseToolsClient {
|
|
|
1173
1149
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1174
1150
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1175
1151
|
responseObject: {},
|
|
1176
|
-
body: yield response.json(),
|
|
1177
|
-
bodyKey: "databaseToolsIdentity",
|
|
1178
|
-
bodyModel: model.DatabaseToolsIdentity,
|
|
1179
|
-
type: "model.DatabaseToolsIdentity",
|
|
1180
1152
|
responseHeaders: [
|
|
1181
|
-
{
|
|
1182
|
-
value: response.headers.get("etag"),
|
|
1183
|
-
key: "etag",
|
|
1184
|
-
dataType: "string"
|
|
1185
|
-
},
|
|
1186
1153
|
{
|
|
1187
1154
|
value: response.headers.get("opc-request-id"),
|
|
1188
1155
|
key: "opcRequestId",
|
|
@@ -1198,36 +1165,37 @@ class DatabaseToolsClient {
|
|
|
1198
1165
|
});
|
|
1199
1166
|
}
|
|
1200
1167
|
/**
|
|
1201
|
-
*
|
|
1168
|
+
* Creates a new Database Tools connection.
|
|
1169
|
+
*
|
|
1202
1170
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1203
|
-
* @param
|
|
1204
|
-
* @return
|
|
1171
|
+
* @param CreateDatabaseToolsConnectionRequest
|
|
1172
|
+
* @return CreateDatabaseToolsConnectionResponse
|
|
1205
1173
|
* @throws OciError when an error occurs
|
|
1206
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
1174
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/CreateDatabaseToolsConnection.ts.html |here} to see how to use CreateDatabaseToolsConnection API.
|
|
1207
1175
|
*/
|
|
1208
|
-
|
|
1176
|
+
createDatabaseToolsConnection(createDatabaseToolsConnectionRequest) {
|
|
1209
1177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1210
1178
|
if (this.logger)
|
|
1211
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1212
|
-
const operationName = "
|
|
1213
|
-
const apiReferenceLink = "
|
|
1214
|
-
const pathParams = {
|
|
1215
|
-
"{databaseToolsPrivateEndpointId}": getDatabaseToolsPrivateEndpointRequest.databaseToolsPrivateEndpointId
|
|
1216
|
-
};
|
|
1179
|
+
this.logger.debug("Calling operation DatabaseToolsClient#createDatabaseToolsConnection.");
|
|
1180
|
+
const operationName = "createDatabaseToolsConnection";
|
|
1181
|
+
const apiReferenceLink = "";
|
|
1182
|
+
const pathParams = {};
|
|
1217
1183
|
const queryParams = {};
|
|
1218
1184
|
let headerParams = {
|
|
1219
1185
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1220
|
-
"opc-
|
|
1186
|
+
"opc-retry-token": createDatabaseToolsConnectionRequest.opcRetryToken,
|
|
1187
|
+
"opc-request-id": createDatabaseToolsConnectionRequest.opcRequestId
|
|
1221
1188
|
};
|
|
1222
1189
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1223
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1190
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
1224
1191
|
if (this.logger)
|
|
1225
1192
|
retrier.logger = this.logger;
|
|
1226
1193
|
const request = yield oci_common_1.composeRequest({
|
|
1227
1194
|
baseEndpoint: this._endpoint,
|
|
1228
1195
|
defaultHeaders: this._defaultHeaders,
|
|
1229
|
-
path: "/
|
|
1230
|
-
method: "
|
|
1196
|
+
path: "/databaseToolsConnections",
|
|
1197
|
+
method: "POST",
|
|
1198
|
+
bodyContent: common.ObjectSerializer.serialize(createDatabaseToolsConnectionRequest.createDatabaseToolsConnectionDetails, "CreateDatabaseToolsConnectionDetails", model.CreateDatabaseToolsConnectionDetails.getJsonObj),
|
|
1231
1199
|
pathParams: pathParams,
|
|
1232
1200
|
headerParams: headerParams,
|
|
1233
1201
|
queryParams: queryParams
|
|
@@ -1237,15 +1205,25 @@ class DatabaseToolsClient {
|
|
|
1237
1205
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1238
1206
|
responseObject: {},
|
|
1239
1207
|
body: yield response.json(),
|
|
1240
|
-
bodyKey: "
|
|
1241
|
-
bodyModel: model.
|
|
1242
|
-
type: "model.
|
|
1208
|
+
bodyKey: "databaseToolsConnection",
|
|
1209
|
+
bodyModel: model.DatabaseToolsConnection,
|
|
1210
|
+
type: "model.DatabaseToolsConnection",
|
|
1243
1211
|
responseHeaders: [
|
|
1212
|
+
{
|
|
1213
|
+
value: response.headers.get("location"),
|
|
1214
|
+
key: "location",
|
|
1215
|
+
dataType: "string"
|
|
1216
|
+
},
|
|
1244
1217
|
{
|
|
1245
1218
|
value: response.headers.get("etag"),
|
|
1246
1219
|
key: "etag",
|
|
1247
1220
|
dataType: "string"
|
|
1248
1221
|
},
|
|
1222
|
+
{
|
|
1223
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1224
|
+
key: "opcWorkRequestId",
|
|
1225
|
+
dataType: "string"
|
|
1226
|
+
},
|
|
1249
1227
|
{
|
|
1250
1228
|
value: response.headers.get("opc-request-id"),
|
|
1251
1229
|
key: "opcRequestId",
|
|
@@ -1261,35 +1239,2107 @@ class DatabaseToolsClient {
|
|
|
1261
1239
|
});
|
|
1262
1240
|
}
|
|
1263
1241
|
/**
|
|
1264
|
-
*
|
|
1242
|
+
* Creates a new Database Tools database API gateway config.
|
|
1243
|
+
*
|
|
1265
1244
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1266
|
-
* @param
|
|
1267
|
-
* @return
|
|
1245
|
+
* @param CreateDatabaseToolsDatabaseApiGatewayConfigRequest
|
|
1246
|
+
* @return CreateDatabaseToolsDatabaseApiGatewayConfigResponse
|
|
1247
|
+
* @throws OciError when an error occurs
|
|
1248
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/CreateDatabaseToolsDatabaseApiGatewayConfig.ts.html |here} to see how to use CreateDatabaseToolsDatabaseApiGatewayConfig API.
|
|
1249
|
+
*/
|
|
1250
|
+
createDatabaseToolsDatabaseApiGatewayConfig(createDatabaseToolsDatabaseApiGatewayConfigRequest) {
|
|
1251
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1252
|
+
if (this.logger)
|
|
1253
|
+
this.logger.debug("Calling operation DatabaseToolsClient#createDatabaseToolsDatabaseApiGatewayConfig.");
|
|
1254
|
+
const operationName = "createDatabaseToolsDatabaseApiGatewayConfig";
|
|
1255
|
+
const apiReferenceLink = "";
|
|
1256
|
+
const pathParams = {};
|
|
1257
|
+
const queryParams = {};
|
|
1258
|
+
let headerParams = {
|
|
1259
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1260
|
+
"opc-retry-token": createDatabaseToolsDatabaseApiGatewayConfigRequest.opcRetryToken,
|
|
1261
|
+
"opc-request-id": createDatabaseToolsDatabaseApiGatewayConfigRequest.opcRequestId
|
|
1262
|
+
};
|
|
1263
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1264
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsDatabaseApiGatewayConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1265
|
+
if (this.logger)
|
|
1266
|
+
retrier.logger = this.logger;
|
|
1267
|
+
const request = yield oci_common_1.composeRequest({
|
|
1268
|
+
baseEndpoint: this._endpoint,
|
|
1269
|
+
defaultHeaders: this._defaultHeaders,
|
|
1270
|
+
path: "/databaseToolsDatabaseApiGatewayConfigs",
|
|
1271
|
+
method: "POST",
|
|
1272
|
+
bodyContent: common.ObjectSerializer.serialize(createDatabaseToolsDatabaseApiGatewayConfigRequest.createDatabaseToolsDatabaseApiGatewayConfigDetails, "CreateDatabaseToolsDatabaseApiGatewayConfigDetails", model.CreateDatabaseToolsDatabaseApiGatewayConfigDetails.getJsonObj),
|
|
1273
|
+
pathParams: pathParams,
|
|
1274
|
+
headerParams: headerParams,
|
|
1275
|
+
queryParams: queryParams
|
|
1276
|
+
});
|
|
1277
|
+
try {
|
|
1278
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1279
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1280
|
+
responseObject: {},
|
|
1281
|
+
body: yield response.json(),
|
|
1282
|
+
bodyKey: "databaseToolsDatabaseApiGatewayConfig",
|
|
1283
|
+
bodyModel: model.DatabaseToolsDatabaseApiGatewayConfig,
|
|
1284
|
+
type: "model.DatabaseToolsDatabaseApiGatewayConfig",
|
|
1285
|
+
responseHeaders: [
|
|
1286
|
+
{
|
|
1287
|
+
value: response.headers.get("location"),
|
|
1288
|
+
key: "location",
|
|
1289
|
+
dataType: "string"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
value: response.headers.get("etag"),
|
|
1293
|
+
key: "etag",
|
|
1294
|
+
dataType: "string"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
value: response.headers.get("opc-request-id"),
|
|
1298
|
+
key: "opcRequestId",
|
|
1299
|
+
dataType: "string"
|
|
1300
|
+
}
|
|
1301
|
+
]
|
|
1302
|
+
});
|
|
1303
|
+
return sdkResponse;
|
|
1304
|
+
}
|
|
1305
|
+
catch (err) {
|
|
1306
|
+
throw err;
|
|
1307
|
+
}
|
|
1308
|
+
});
|
|
1309
|
+
}
|
|
1310
|
+
/**
|
|
1311
|
+
* Creates a new Database Tools identity.
|
|
1312
|
+
*
|
|
1313
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1314
|
+
* @param CreateDatabaseToolsIdentityRequest
|
|
1315
|
+
* @return CreateDatabaseToolsIdentityResponse
|
|
1316
|
+
* @throws OciError when an error occurs
|
|
1317
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/CreateDatabaseToolsIdentity.ts.html |here} to see how to use CreateDatabaseToolsIdentity API.
|
|
1318
|
+
*/
|
|
1319
|
+
createDatabaseToolsIdentity(createDatabaseToolsIdentityRequest) {
|
|
1320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1321
|
+
if (this.logger)
|
|
1322
|
+
this.logger.debug("Calling operation DatabaseToolsClient#createDatabaseToolsIdentity.");
|
|
1323
|
+
const operationName = "createDatabaseToolsIdentity";
|
|
1324
|
+
const apiReferenceLink = "";
|
|
1325
|
+
const pathParams = {};
|
|
1326
|
+
const queryParams = {};
|
|
1327
|
+
let headerParams = {
|
|
1328
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1329
|
+
"opc-retry-token": createDatabaseToolsIdentityRequest.opcRetryToken,
|
|
1330
|
+
"opc-request-id": createDatabaseToolsIdentityRequest.opcRequestId
|
|
1331
|
+
};
|
|
1332
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1333
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsIdentityRequest.retryConfiguration, specRetryConfiguration);
|
|
1334
|
+
if (this.logger)
|
|
1335
|
+
retrier.logger = this.logger;
|
|
1336
|
+
const request = yield oci_common_1.composeRequest({
|
|
1337
|
+
baseEndpoint: this._endpoint,
|
|
1338
|
+
defaultHeaders: this._defaultHeaders,
|
|
1339
|
+
path: "/databaseToolsIdentities",
|
|
1340
|
+
method: "POST",
|
|
1341
|
+
bodyContent: common.ObjectSerializer.serialize(createDatabaseToolsIdentityRequest.createDatabaseToolsIdentityDetails, "CreateDatabaseToolsIdentityDetails", model.CreateDatabaseToolsIdentityDetails.getJsonObj),
|
|
1342
|
+
pathParams: pathParams,
|
|
1343
|
+
headerParams: headerParams,
|
|
1344
|
+
queryParams: queryParams
|
|
1345
|
+
});
|
|
1346
|
+
try {
|
|
1347
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1348
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1349
|
+
responseObject: {},
|
|
1350
|
+
body: yield response.json(),
|
|
1351
|
+
bodyKey: "databaseToolsIdentity",
|
|
1352
|
+
bodyModel: model.DatabaseToolsIdentity,
|
|
1353
|
+
type: "model.DatabaseToolsIdentity",
|
|
1354
|
+
responseHeaders: [
|
|
1355
|
+
{
|
|
1356
|
+
value: response.headers.get("location"),
|
|
1357
|
+
key: "location",
|
|
1358
|
+
dataType: "string"
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
value: response.headers.get("etag"),
|
|
1362
|
+
key: "etag",
|
|
1363
|
+
dataType: "string"
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1367
|
+
key: "opcWorkRequestId",
|
|
1368
|
+
dataType: "string"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
value: response.headers.get("opc-request-id"),
|
|
1372
|
+
key: "opcRequestId",
|
|
1373
|
+
dataType: "string"
|
|
1374
|
+
}
|
|
1375
|
+
]
|
|
1376
|
+
});
|
|
1377
|
+
return sdkResponse;
|
|
1378
|
+
}
|
|
1379
|
+
catch (err) {
|
|
1380
|
+
throw err;
|
|
1381
|
+
}
|
|
1382
|
+
});
|
|
1383
|
+
}
|
|
1384
|
+
/**
|
|
1385
|
+
* Creates a new Database Tools MCP server.
|
|
1386
|
+
*
|
|
1387
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1388
|
+
* @param CreateDatabaseToolsMcpServerRequest
|
|
1389
|
+
* @return CreateDatabaseToolsMcpServerResponse
|
|
1390
|
+
* @throws OciError when an error occurs
|
|
1391
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/CreateDatabaseToolsMcpServer.ts.html |here} to see how to use CreateDatabaseToolsMcpServer API.
|
|
1392
|
+
*/
|
|
1393
|
+
createDatabaseToolsMcpServer(createDatabaseToolsMcpServerRequest) {
|
|
1394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1395
|
+
if (this.logger)
|
|
1396
|
+
this.logger.debug("Calling operation DatabaseToolsClient#createDatabaseToolsMcpServer.");
|
|
1397
|
+
const operationName = "createDatabaseToolsMcpServer";
|
|
1398
|
+
const apiReferenceLink = "";
|
|
1399
|
+
const pathParams = {};
|
|
1400
|
+
const queryParams = {};
|
|
1401
|
+
let headerParams = {
|
|
1402
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1403
|
+
"opc-retry-token": createDatabaseToolsMcpServerRequest.opcRetryToken,
|
|
1404
|
+
"opc-request-id": createDatabaseToolsMcpServerRequest.opcRequestId
|
|
1405
|
+
};
|
|
1406
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1407
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsMcpServerRequest.retryConfiguration, specRetryConfiguration);
|
|
1408
|
+
if (this.logger)
|
|
1409
|
+
retrier.logger = this.logger;
|
|
1410
|
+
const request = yield oci_common_1.composeRequest({
|
|
1411
|
+
baseEndpoint: this._endpoint,
|
|
1412
|
+
defaultHeaders: this._defaultHeaders,
|
|
1413
|
+
path: "/databaseToolsMcpServers",
|
|
1414
|
+
method: "POST",
|
|
1415
|
+
bodyContent: common.ObjectSerializer.serialize(createDatabaseToolsMcpServerRequest.createDatabaseToolsMcpServerDetails, "CreateDatabaseToolsMcpServerDetails", model.CreateDatabaseToolsMcpServerDetails.getJsonObj),
|
|
1416
|
+
pathParams: pathParams,
|
|
1417
|
+
headerParams: headerParams,
|
|
1418
|
+
queryParams: queryParams
|
|
1419
|
+
});
|
|
1420
|
+
try {
|
|
1421
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1422
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1423
|
+
responseObject: {},
|
|
1424
|
+
body: yield response.json(),
|
|
1425
|
+
bodyKey: "databaseToolsMcpServer",
|
|
1426
|
+
bodyModel: model.DatabaseToolsMcpServer,
|
|
1427
|
+
type: "model.DatabaseToolsMcpServer",
|
|
1428
|
+
responseHeaders: [
|
|
1429
|
+
{
|
|
1430
|
+
value: response.headers.get("location"),
|
|
1431
|
+
key: "location",
|
|
1432
|
+
dataType: "string"
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
value: response.headers.get("etag"),
|
|
1436
|
+
key: "etag",
|
|
1437
|
+
dataType: "string"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1441
|
+
key: "opcWorkRequestId",
|
|
1442
|
+
dataType: "string"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
value: response.headers.get("opc-request-id"),
|
|
1446
|
+
key: "opcRequestId",
|
|
1447
|
+
dataType: "string"
|
|
1448
|
+
}
|
|
1449
|
+
]
|
|
1450
|
+
});
|
|
1451
|
+
return sdkResponse;
|
|
1452
|
+
}
|
|
1453
|
+
catch (err) {
|
|
1454
|
+
throw err;
|
|
1455
|
+
}
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
* Creates a new Database Tools MCP Toolset.
|
|
1460
|
+
*
|
|
1461
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1462
|
+
* @param CreateDatabaseToolsMcpToolsetRequest
|
|
1463
|
+
* @return CreateDatabaseToolsMcpToolsetResponse
|
|
1464
|
+
* @throws OciError when an error occurs
|
|
1465
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/CreateDatabaseToolsMcpToolset.ts.html |here} to see how to use CreateDatabaseToolsMcpToolset API.
|
|
1466
|
+
*/
|
|
1467
|
+
createDatabaseToolsMcpToolset(createDatabaseToolsMcpToolsetRequest) {
|
|
1468
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1469
|
+
if (this.logger)
|
|
1470
|
+
this.logger.debug("Calling operation DatabaseToolsClient#createDatabaseToolsMcpToolset.");
|
|
1471
|
+
const operationName = "createDatabaseToolsMcpToolset";
|
|
1472
|
+
const apiReferenceLink = "";
|
|
1473
|
+
const pathParams = {};
|
|
1474
|
+
const queryParams = {};
|
|
1475
|
+
let headerParams = {
|
|
1476
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1477
|
+
"opc-retry-token": createDatabaseToolsMcpToolsetRequest.opcRetryToken,
|
|
1478
|
+
"opc-request-id": createDatabaseToolsMcpToolsetRequest.opcRequestId
|
|
1479
|
+
};
|
|
1480
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1481
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsMcpToolsetRequest.retryConfiguration, specRetryConfiguration);
|
|
1482
|
+
if (this.logger)
|
|
1483
|
+
retrier.logger = this.logger;
|
|
1484
|
+
const request = yield oci_common_1.composeRequest({
|
|
1485
|
+
baseEndpoint: this._endpoint,
|
|
1486
|
+
defaultHeaders: this._defaultHeaders,
|
|
1487
|
+
path: "/databaseToolsMcpToolsets",
|
|
1488
|
+
method: "POST",
|
|
1489
|
+
bodyContent: common.ObjectSerializer.serialize(createDatabaseToolsMcpToolsetRequest.createDatabaseToolsMcpToolsetDetails, "CreateDatabaseToolsMcpToolsetDetails", model.CreateDatabaseToolsMcpToolsetDetails.getJsonObj),
|
|
1490
|
+
pathParams: pathParams,
|
|
1491
|
+
headerParams: headerParams,
|
|
1492
|
+
queryParams: queryParams
|
|
1493
|
+
});
|
|
1494
|
+
try {
|
|
1495
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1496
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1497
|
+
responseObject: {},
|
|
1498
|
+
body: yield response.json(),
|
|
1499
|
+
bodyKey: "databaseToolsMcpToolset",
|
|
1500
|
+
bodyModel: model.DatabaseToolsMcpToolset,
|
|
1501
|
+
type: "model.DatabaseToolsMcpToolset",
|
|
1502
|
+
responseHeaders: [
|
|
1503
|
+
{
|
|
1504
|
+
value: response.headers.get("location"),
|
|
1505
|
+
key: "location",
|
|
1506
|
+
dataType: "string"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
value: response.headers.get("etag"),
|
|
1510
|
+
key: "etag",
|
|
1511
|
+
dataType: "string"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1515
|
+
key: "opcWorkRequestId",
|
|
1516
|
+
dataType: "string"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
value: response.headers.get("opc-request-id"),
|
|
1520
|
+
key: "opcRequestId",
|
|
1521
|
+
dataType: "string"
|
|
1522
|
+
}
|
|
1523
|
+
]
|
|
1524
|
+
});
|
|
1525
|
+
return sdkResponse;
|
|
1526
|
+
}
|
|
1527
|
+
catch (err) {
|
|
1528
|
+
throw err;
|
|
1529
|
+
}
|
|
1530
|
+
});
|
|
1531
|
+
}
|
|
1532
|
+
/**
|
|
1533
|
+
* Creates a new Database Tools private endpoint.
|
|
1534
|
+
*
|
|
1535
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1536
|
+
* @param CreateDatabaseToolsPrivateEndpointRequest
|
|
1537
|
+
* @return CreateDatabaseToolsPrivateEndpointResponse
|
|
1538
|
+
* @throws OciError when an error occurs
|
|
1539
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/CreateDatabaseToolsPrivateEndpoint.ts.html |here} to see how to use CreateDatabaseToolsPrivateEndpoint API.
|
|
1540
|
+
*/
|
|
1541
|
+
createDatabaseToolsPrivateEndpoint(createDatabaseToolsPrivateEndpointRequest) {
|
|
1542
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1543
|
+
if (this.logger)
|
|
1544
|
+
this.logger.debug("Calling operation DatabaseToolsClient#createDatabaseToolsPrivateEndpoint.");
|
|
1545
|
+
const operationName = "createDatabaseToolsPrivateEndpoint";
|
|
1546
|
+
const apiReferenceLink = "";
|
|
1547
|
+
const pathParams = {};
|
|
1548
|
+
const queryParams = {};
|
|
1549
|
+
let headerParams = {
|
|
1550
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1551
|
+
"opc-retry-token": createDatabaseToolsPrivateEndpointRequest.opcRetryToken,
|
|
1552
|
+
"opc-request-id": createDatabaseToolsPrivateEndpointRequest.opcRequestId
|
|
1553
|
+
};
|
|
1554
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1555
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
1556
|
+
if (this.logger)
|
|
1557
|
+
retrier.logger = this.logger;
|
|
1558
|
+
const request = yield oci_common_1.composeRequest({
|
|
1559
|
+
baseEndpoint: this._endpoint,
|
|
1560
|
+
defaultHeaders: this._defaultHeaders,
|
|
1561
|
+
path: "/databaseToolsPrivateEndpoints",
|
|
1562
|
+
method: "POST",
|
|
1563
|
+
bodyContent: common.ObjectSerializer.serialize(createDatabaseToolsPrivateEndpointRequest.createDatabaseToolsPrivateEndpointDetails, "CreateDatabaseToolsPrivateEndpointDetails", model.CreateDatabaseToolsPrivateEndpointDetails.getJsonObj),
|
|
1564
|
+
pathParams: pathParams,
|
|
1565
|
+
headerParams: headerParams,
|
|
1566
|
+
queryParams: queryParams
|
|
1567
|
+
});
|
|
1568
|
+
try {
|
|
1569
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1570
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1571
|
+
responseObject: {},
|
|
1572
|
+
body: yield response.json(),
|
|
1573
|
+
bodyKey: "databaseToolsPrivateEndpoint",
|
|
1574
|
+
bodyModel: model.DatabaseToolsPrivateEndpoint,
|
|
1575
|
+
type: "model.DatabaseToolsPrivateEndpoint",
|
|
1576
|
+
responseHeaders: [
|
|
1577
|
+
{
|
|
1578
|
+
value: response.headers.get("location"),
|
|
1579
|
+
key: "location",
|
|
1580
|
+
dataType: "string"
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
value: response.headers.get("etag"),
|
|
1584
|
+
key: "etag",
|
|
1585
|
+
dataType: "string"
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1589
|
+
key: "opcWorkRequestId",
|
|
1590
|
+
dataType: "string"
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
value: response.headers.get("opc-request-id"),
|
|
1594
|
+
key: "opcRequestId",
|
|
1595
|
+
dataType: "string"
|
|
1596
|
+
}
|
|
1597
|
+
]
|
|
1598
|
+
});
|
|
1599
|
+
return sdkResponse;
|
|
1600
|
+
}
|
|
1601
|
+
catch (err) {
|
|
1602
|
+
throw err;
|
|
1603
|
+
}
|
|
1604
|
+
});
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* Creates a new Database Tools Sql Report.
|
|
1608
|
+
*
|
|
1609
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1610
|
+
* @param CreateDatabaseToolsSqlReportRequest
|
|
1611
|
+
* @return CreateDatabaseToolsSqlReportResponse
|
|
1612
|
+
* @throws OciError when an error occurs
|
|
1613
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/CreateDatabaseToolsSqlReport.ts.html |here} to see how to use CreateDatabaseToolsSqlReport API.
|
|
1614
|
+
*/
|
|
1615
|
+
createDatabaseToolsSqlReport(createDatabaseToolsSqlReportRequest) {
|
|
1616
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1617
|
+
if (this.logger)
|
|
1618
|
+
this.logger.debug("Calling operation DatabaseToolsClient#createDatabaseToolsSqlReport.");
|
|
1619
|
+
const operationName = "createDatabaseToolsSqlReport";
|
|
1620
|
+
const apiReferenceLink = "";
|
|
1621
|
+
const pathParams = {};
|
|
1622
|
+
const queryParams = {};
|
|
1623
|
+
let headerParams = {
|
|
1624
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1625
|
+
"opc-retry-token": createDatabaseToolsSqlReportRequest.opcRetryToken,
|
|
1626
|
+
"opc-request-id": createDatabaseToolsSqlReportRequest.opcRequestId
|
|
1627
|
+
};
|
|
1628
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1629
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsSqlReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1630
|
+
if (this.logger)
|
|
1631
|
+
retrier.logger = this.logger;
|
|
1632
|
+
const request = yield oci_common_1.composeRequest({
|
|
1633
|
+
baseEndpoint: this._endpoint,
|
|
1634
|
+
defaultHeaders: this._defaultHeaders,
|
|
1635
|
+
path: "/databaseToolsSqlReports",
|
|
1636
|
+
method: "POST",
|
|
1637
|
+
bodyContent: common.ObjectSerializer.serialize(createDatabaseToolsSqlReportRequest.createDatabaseToolsSqlReportDetails, "CreateDatabaseToolsSqlReportDetails", model.CreateDatabaseToolsSqlReportDetails.getJsonObj),
|
|
1638
|
+
pathParams: pathParams,
|
|
1639
|
+
headerParams: headerParams,
|
|
1640
|
+
queryParams: queryParams
|
|
1641
|
+
});
|
|
1642
|
+
try {
|
|
1643
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1644
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1645
|
+
responseObject: {},
|
|
1646
|
+
body: yield response.json(),
|
|
1647
|
+
bodyKey: "databaseToolsSqlReport",
|
|
1648
|
+
bodyModel: model.DatabaseToolsSqlReport,
|
|
1649
|
+
type: "model.DatabaseToolsSqlReport",
|
|
1650
|
+
responseHeaders: [
|
|
1651
|
+
{
|
|
1652
|
+
value: response.headers.get("location"),
|
|
1653
|
+
key: "location",
|
|
1654
|
+
dataType: "string"
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
value: response.headers.get("etag"),
|
|
1658
|
+
key: "etag",
|
|
1659
|
+
dataType: "string"
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1663
|
+
key: "opcWorkRequestId",
|
|
1664
|
+
dataType: "string"
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
value: response.headers.get("opc-request-id"),
|
|
1668
|
+
key: "opcRequestId",
|
|
1669
|
+
dataType: "string"
|
|
1670
|
+
}
|
|
1671
|
+
]
|
|
1672
|
+
});
|
|
1673
|
+
return sdkResponse;
|
|
1674
|
+
}
|
|
1675
|
+
catch (err) {
|
|
1676
|
+
throw err;
|
|
1677
|
+
}
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* Deletes the specified Database Tools connection resource.
|
|
1682
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1683
|
+
* @param DeleteDatabaseToolsConnectionRequest
|
|
1684
|
+
* @return DeleteDatabaseToolsConnectionResponse
|
|
1685
|
+
* @throws OciError when an error occurs
|
|
1686
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/DeleteDatabaseToolsConnection.ts.html |here} to see how to use DeleteDatabaseToolsConnection API.
|
|
1687
|
+
*/
|
|
1688
|
+
deleteDatabaseToolsConnection(deleteDatabaseToolsConnectionRequest) {
|
|
1689
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1690
|
+
if (this.logger)
|
|
1691
|
+
this.logger.debug("Calling operation DatabaseToolsClient#deleteDatabaseToolsConnection.");
|
|
1692
|
+
const operationName = "deleteDatabaseToolsConnection";
|
|
1693
|
+
const apiReferenceLink = "";
|
|
1694
|
+
const pathParams = {
|
|
1695
|
+
"{databaseToolsConnectionId}": deleteDatabaseToolsConnectionRequest.databaseToolsConnectionId
|
|
1696
|
+
};
|
|
1697
|
+
const queryParams = {
|
|
1698
|
+
"isLockOverride": deleteDatabaseToolsConnectionRequest.isLockOverride
|
|
1699
|
+
};
|
|
1700
|
+
let headerParams = {
|
|
1701
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1702
|
+
"if-match": deleteDatabaseToolsConnectionRequest.ifMatch,
|
|
1703
|
+
"opc-request-id": deleteDatabaseToolsConnectionRequest.opcRequestId
|
|
1704
|
+
};
|
|
1705
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1706
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseToolsConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
1707
|
+
if (this.logger)
|
|
1708
|
+
retrier.logger = this.logger;
|
|
1709
|
+
const request = yield oci_common_1.composeRequest({
|
|
1710
|
+
baseEndpoint: this._endpoint,
|
|
1711
|
+
defaultHeaders: this._defaultHeaders,
|
|
1712
|
+
path: "/databaseToolsConnections/{databaseToolsConnectionId}",
|
|
1713
|
+
method: "DELETE",
|
|
1714
|
+
pathParams: pathParams,
|
|
1715
|
+
headerParams: headerParams,
|
|
1716
|
+
queryParams: queryParams
|
|
1717
|
+
});
|
|
1718
|
+
try {
|
|
1719
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1720
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1721
|
+
responseObject: {},
|
|
1722
|
+
responseHeaders: [
|
|
1723
|
+
{
|
|
1724
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1725
|
+
key: "opcWorkRequestId",
|
|
1726
|
+
dataType: "string"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
value: response.headers.get("opc-request-id"),
|
|
1730
|
+
key: "opcRequestId",
|
|
1731
|
+
dataType: "string"
|
|
1732
|
+
}
|
|
1733
|
+
]
|
|
1734
|
+
});
|
|
1735
|
+
return sdkResponse;
|
|
1736
|
+
}
|
|
1737
|
+
catch (err) {
|
|
1738
|
+
throw err;
|
|
1739
|
+
}
|
|
1740
|
+
});
|
|
1741
|
+
}
|
|
1742
|
+
/**
|
|
1743
|
+
* Deletes the specified Database Tools database API gateway config resource.
|
|
1744
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1745
|
+
* @param DeleteDatabaseToolsDatabaseApiGatewayConfigRequest
|
|
1746
|
+
* @return DeleteDatabaseToolsDatabaseApiGatewayConfigResponse
|
|
1747
|
+
* @throws OciError when an error occurs
|
|
1748
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/DeleteDatabaseToolsDatabaseApiGatewayConfig.ts.html |here} to see how to use DeleteDatabaseToolsDatabaseApiGatewayConfig API.
|
|
1749
|
+
*/
|
|
1750
|
+
deleteDatabaseToolsDatabaseApiGatewayConfig(deleteDatabaseToolsDatabaseApiGatewayConfigRequest) {
|
|
1751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1752
|
+
if (this.logger)
|
|
1753
|
+
this.logger.debug("Calling operation DatabaseToolsClient#deleteDatabaseToolsDatabaseApiGatewayConfig.");
|
|
1754
|
+
const operationName = "deleteDatabaseToolsDatabaseApiGatewayConfig";
|
|
1755
|
+
const apiReferenceLink = "";
|
|
1756
|
+
const pathParams = {
|
|
1757
|
+
"{databaseToolsDatabaseApiGatewayConfigId}": deleteDatabaseToolsDatabaseApiGatewayConfigRequest.databaseToolsDatabaseApiGatewayConfigId
|
|
1758
|
+
};
|
|
1759
|
+
const queryParams = {
|
|
1760
|
+
"isLockOverride": deleteDatabaseToolsDatabaseApiGatewayConfigRequest.isLockOverride
|
|
1761
|
+
};
|
|
1762
|
+
let headerParams = {
|
|
1763
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1764
|
+
"if-match": deleteDatabaseToolsDatabaseApiGatewayConfigRequest.ifMatch,
|
|
1765
|
+
"opc-request-id": deleteDatabaseToolsDatabaseApiGatewayConfigRequest.opcRequestId
|
|
1766
|
+
};
|
|
1767
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1768
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseToolsDatabaseApiGatewayConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1769
|
+
if (this.logger)
|
|
1770
|
+
retrier.logger = this.logger;
|
|
1771
|
+
const request = yield oci_common_1.composeRequest({
|
|
1772
|
+
baseEndpoint: this._endpoint,
|
|
1773
|
+
defaultHeaders: this._defaultHeaders,
|
|
1774
|
+
path: "/databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}",
|
|
1775
|
+
method: "DELETE",
|
|
1776
|
+
pathParams: pathParams,
|
|
1777
|
+
headerParams: headerParams,
|
|
1778
|
+
queryParams: queryParams
|
|
1779
|
+
});
|
|
1780
|
+
try {
|
|
1781
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1782
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1783
|
+
responseObject: {},
|
|
1784
|
+
responseHeaders: [
|
|
1785
|
+
{
|
|
1786
|
+
value: response.headers.get("opc-request-id"),
|
|
1787
|
+
key: "opcRequestId",
|
|
1788
|
+
dataType: "string"
|
|
1789
|
+
}
|
|
1790
|
+
]
|
|
1791
|
+
});
|
|
1792
|
+
return sdkResponse;
|
|
1793
|
+
}
|
|
1794
|
+
catch (err) {
|
|
1795
|
+
throw err;
|
|
1796
|
+
}
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Deletes the specified Database Tools identity resource.
|
|
1801
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1802
|
+
* @param DeleteDatabaseToolsIdentityRequest
|
|
1803
|
+
* @return DeleteDatabaseToolsIdentityResponse
|
|
1804
|
+
* @throws OciError when an error occurs
|
|
1805
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/DeleteDatabaseToolsIdentity.ts.html |here} to see how to use DeleteDatabaseToolsIdentity API.
|
|
1806
|
+
*/
|
|
1807
|
+
deleteDatabaseToolsIdentity(deleteDatabaseToolsIdentityRequest) {
|
|
1808
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1809
|
+
if (this.logger)
|
|
1810
|
+
this.logger.debug("Calling operation DatabaseToolsClient#deleteDatabaseToolsIdentity.");
|
|
1811
|
+
const operationName = "deleteDatabaseToolsIdentity";
|
|
1812
|
+
const apiReferenceLink = "";
|
|
1813
|
+
const pathParams = {
|
|
1814
|
+
"{databaseToolsIdentityId}": deleteDatabaseToolsIdentityRequest.databaseToolsIdentityId
|
|
1815
|
+
};
|
|
1816
|
+
const queryParams = {
|
|
1817
|
+
"isLockOverride": deleteDatabaseToolsIdentityRequest.isLockOverride
|
|
1818
|
+
};
|
|
1819
|
+
let headerParams = {
|
|
1820
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1821
|
+
"if-match": deleteDatabaseToolsIdentityRequest.ifMatch,
|
|
1822
|
+
"opc-request-id": deleteDatabaseToolsIdentityRequest.opcRequestId
|
|
1823
|
+
};
|
|
1824
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1825
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseToolsIdentityRequest.retryConfiguration, specRetryConfiguration);
|
|
1826
|
+
if (this.logger)
|
|
1827
|
+
retrier.logger = this.logger;
|
|
1828
|
+
const request = yield oci_common_1.composeRequest({
|
|
1829
|
+
baseEndpoint: this._endpoint,
|
|
1830
|
+
defaultHeaders: this._defaultHeaders,
|
|
1831
|
+
path: "/databaseToolsIdentities/{databaseToolsIdentityId}",
|
|
1832
|
+
method: "DELETE",
|
|
1833
|
+
pathParams: pathParams,
|
|
1834
|
+
headerParams: headerParams,
|
|
1835
|
+
queryParams: queryParams
|
|
1836
|
+
});
|
|
1837
|
+
try {
|
|
1838
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1839
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1840
|
+
responseObject: {},
|
|
1841
|
+
responseHeaders: [
|
|
1842
|
+
{
|
|
1843
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1844
|
+
key: "opcWorkRequestId",
|
|
1845
|
+
dataType: "string"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
value: response.headers.get("opc-request-id"),
|
|
1849
|
+
key: "opcRequestId",
|
|
1850
|
+
dataType: "string"
|
|
1851
|
+
}
|
|
1852
|
+
]
|
|
1853
|
+
});
|
|
1854
|
+
return sdkResponse;
|
|
1855
|
+
}
|
|
1856
|
+
catch (err) {
|
|
1857
|
+
throw err;
|
|
1858
|
+
}
|
|
1859
|
+
});
|
|
1860
|
+
}
|
|
1861
|
+
/**
|
|
1862
|
+
* Deletes the specified Database Tools MCP server resource.
|
|
1863
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1864
|
+
* @param DeleteDatabaseToolsMcpServerRequest
|
|
1865
|
+
* @return DeleteDatabaseToolsMcpServerResponse
|
|
1866
|
+
* @throws OciError when an error occurs
|
|
1867
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/DeleteDatabaseToolsMcpServer.ts.html |here} to see how to use DeleteDatabaseToolsMcpServer API.
|
|
1868
|
+
*/
|
|
1869
|
+
deleteDatabaseToolsMcpServer(deleteDatabaseToolsMcpServerRequest) {
|
|
1870
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1871
|
+
if (this.logger)
|
|
1872
|
+
this.logger.debug("Calling operation DatabaseToolsClient#deleteDatabaseToolsMcpServer.");
|
|
1873
|
+
const operationName = "deleteDatabaseToolsMcpServer";
|
|
1874
|
+
const apiReferenceLink = "";
|
|
1875
|
+
const pathParams = {
|
|
1876
|
+
"{databaseToolsMcpServerId}": deleteDatabaseToolsMcpServerRequest.databaseToolsMcpServerId
|
|
1877
|
+
};
|
|
1878
|
+
const queryParams = {
|
|
1879
|
+
"isLockOverride": deleteDatabaseToolsMcpServerRequest.isLockOverride
|
|
1880
|
+
};
|
|
1881
|
+
let headerParams = {
|
|
1882
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1883
|
+
"if-match": deleteDatabaseToolsMcpServerRequest.ifMatch,
|
|
1884
|
+
"opc-request-id": deleteDatabaseToolsMcpServerRequest.opcRequestId
|
|
1885
|
+
};
|
|
1886
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1887
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseToolsMcpServerRequest.retryConfiguration, specRetryConfiguration);
|
|
1888
|
+
if (this.logger)
|
|
1889
|
+
retrier.logger = this.logger;
|
|
1890
|
+
const request = yield oci_common_1.composeRequest({
|
|
1891
|
+
baseEndpoint: this._endpoint,
|
|
1892
|
+
defaultHeaders: this._defaultHeaders,
|
|
1893
|
+
path: "/databaseToolsMcpServers/{databaseToolsMcpServerId}",
|
|
1894
|
+
method: "DELETE",
|
|
1895
|
+
pathParams: pathParams,
|
|
1896
|
+
headerParams: headerParams,
|
|
1897
|
+
queryParams: queryParams
|
|
1898
|
+
});
|
|
1899
|
+
try {
|
|
1900
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1901
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1902
|
+
responseObject: {},
|
|
1903
|
+
responseHeaders: [
|
|
1904
|
+
{
|
|
1905
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1906
|
+
key: "opcWorkRequestId",
|
|
1907
|
+
dataType: "string"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
value: response.headers.get("opc-request-id"),
|
|
1911
|
+
key: "opcRequestId",
|
|
1912
|
+
dataType: "string"
|
|
1913
|
+
}
|
|
1914
|
+
]
|
|
1915
|
+
});
|
|
1916
|
+
return sdkResponse;
|
|
1917
|
+
}
|
|
1918
|
+
catch (err) {
|
|
1919
|
+
throw err;
|
|
1920
|
+
}
|
|
1921
|
+
});
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
* Deletes the specified Database Tools MCP Toolset resource.
|
|
1925
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1926
|
+
* @param DeleteDatabaseToolsMcpToolsetRequest
|
|
1927
|
+
* @return DeleteDatabaseToolsMcpToolsetResponse
|
|
1928
|
+
* @throws OciError when an error occurs
|
|
1929
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/DeleteDatabaseToolsMcpToolset.ts.html |here} to see how to use DeleteDatabaseToolsMcpToolset API.
|
|
1930
|
+
*/
|
|
1931
|
+
deleteDatabaseToolsMcpToolset(deleteDatabaseToolsMcpToolsetRequest) {
|
|
1932
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1933
|
+
if (this.logger)
|
|
1934
|
+
this.logger.debug("Calling operation DatabaseToolsClient#deleteDatabaseToolsMcpToolset.");
|
|
1935
|
+
const operationName = "deleteDatabaseToolsMcpToolset";
|
|
1936
|
+
const apiReferenceLink = "";
|
|
1937
|
+
const pathParams = {
|
|
1938
|
+
"{databaseToolsMcpToolsetId}": deleteDatabaseToolsMcpToolsetRequest.databaseToolsMcpToolsetId
|
|
1939
|
+
};
|
|
1940
|
+
const queryParams = {
|
|
1941
|
+
"isLockOverride": deleteDatabaseToolsMcpToolsetRequest.isLockOverride
|
|
1942
|
+
};
|
|
1943
|
+
let headerParams = {
|
|
1944
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1945
|
+
"if-match": deleteDatabaseToolsMcpToolsetRequest.ifMatch,
|
|
1946
|
+
"opc-request-id": deleteDatabaseToolsMcpToolsetRequest.opcRequestId
|
|
1947
|
+
};
|
|
1948
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1949
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseToolsMcpToolsetRequest.retryConfiguration, specRetryConfiguration);
|
|
1950
|
+
if (this.logger)
|
|
1951
|
+
retrier.logger = this.logger;
|
|
1952
|
+
const request = yield oci_common_1.composeRequest({
|
|
1953
|
+
baseEndpoint: this._endpoint,
|
|
1954
|
+
defaultHeaders: this._defaultHeaders,
|
|
1955
|
+
path: "/databaseToolsMcpToolsets/{databaseToolsMcpToolsetId}",
|
|
1956
|
+
method: "DELETE",
|
|
1957
|
+
pathParams: pathParams,
|
|
1958
|
+
headerParams: headerParams,
|
|
1959
|
+
queryParams: queryParams
|
|
1960
|
+
});
|
|
1961
|
+
try {
|
|
1962
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1963
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1964
|
+
responseObject: {},
|
|
1965
|
+
responseHeaders: [
|
|
1966
|
+
{
|
|
1967
|
+
value: response.headers.get("opc-request-id"),
|
|
1968
|
+
key: "opcRequestId",
|
|
1969
|
+
dataType: "string"
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1973
|
+
key: "opcWorkRequestId",
|
|
1974
|
+
dataType: "string"
|
|
1975
|
+
}
|
|
1976
|
+
]
|
|
1977
|
+
});
|
|
1978
|
+
return sdkResponse;
|
|
1979
|
+
}
|
|
1980
|
+
catch (err) {
|
|
1981
|
+
throw err;
|
|
1982
|
+
}
|
|
1983
|
+
});
|
|
1984
|
+
}
|
|
1985
|
+
/**
|
|
1986
|
+
* Deletes the specified Database Tools private endpoint.
|
|
1987
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1988
|
+
* @param DeleteDatabaseToolsPrivateEndpointRequest
|
|
1989
|
+
* @return DeleteDatabaseToolsPrivateEndpointResponse
|
|
1990
|
+
* @throws OciError when an error occurs
|
|
1991
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/DeleteDatabaseToolsPrivateEndpoint.ts.html |here} to see how to use DeleteDatabaseToolsPrivateEndpoint API.
|
|
1992
|
+
*/
|
|
1993
|
+
deleteDatabaseToolsPrivateEndpoint(deleteDatabaseToolsPrivateEndpointRequest) {
|
|
1994
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1995
|
+
if (this.logger)
|
|
1996
|
+
this.logger.debug("Calling operation DatabaseToolsClient#deleteDatabaseToolsPrivateEndpoint.");
|
|
1997
|
+
const operationName = "deleteDatabaseToolsPrivateEndpoint";
|
|
1998
|
+
const apiReferenceLink = "";
|
|
1999
|
+
const pathParams = {
|
|
2000
|
+
"{databaseToolsPrivateEndpointId}": deleteDatabaseToolsPrivateEndpointRequest.databaseToolsPrivateEndpointId
|
|
2001
|
+
};
|
|
2002
|
+
const queryParams = {
|
|
2003
|
+
"isLockOverride": deleteDatabaseToolsPrivateEndpointRequest.isLockOverride
|
|
2004
|
+
};
|
|
2005
|
+
let headerParams = {
|
|
2006
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2007
|
+
"if-match": deleteDatabaseToolsPrivateEndpointRequest.ifMatch,
|
|
2008
|
+
"opc-request-id": deleteDatabaseToolsPrivateEndpointRequest.opcRequestId
|
|
2009
|
+
};
|
|
2010
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2011
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseToolsPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
2012
|
+
if (this.logger)
|
|
2013
|
+
retrier.logger = this.logger;
|
|
2014
|
+
const request = yield oci_common_1.composeRequest({
|
|
2015
|
+
baseEndpoint: this._endpoint,
|
|
2016
|
+
defaultHeaders: this._defaultHeaders,
|
|
2017
|
+
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}",
|
|
2018
|
+
method: "DELETE",
|
|
2019
|
+
pathParams: pathParams,
|
|
2020
|
+
headerParams: headerParams,
|
|
2021
|
+
queryParams: queryParams
|
|
2022
|
+
});
|
|
2023
|
+
try {
|
|
2024
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2025
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2026
|
+
responseObject: {},
|
|
2027
|
+
responseHeaders: [
|
|
2028
|
+
{
|
|
2029
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2030
|
+
key: "opcWorkRequestId",
|
|
2031
|
+
dataType: "string"
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
value: response.headers.get("opc-request-id"),
|
|
2035
|
+
key: "opcRequestId",
|
|
2036
|
+
dataType: "string"
|
|
2037
|
+
}
|
|
2038
|
+
]
|
|
2039
|
+
});
|
|
2040
|
+
return sdkResponse;
|
|
2041
|
+
}
|
|
2042
|
+
catch (err) {
|
|
2043
|
+
throw err;
|
|
2044
|
+
}
|
|
2045
|
+
});
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* Deletes the specified Database Tools SQL Report resource.
|
|
2049
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2050
|
+
* @param DeleteDatabaseToolsSqlReportRequest
|
|
2051
|
+
* @return DeleteDatabaseToolsSqlReportResponse
|
|
2052
|
+
* @throws OciError when an error occurs
|
|
2053
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/DeleteDatabaseToolsSqlReport.ts.html |here} to see how to use DeleteDatabaseToolsSqlReport API.
|
|
2054
|
+
*/
|
|
2055
|
+
deleteDatabaseToolsSqlReport(deleteDatabaseToolsSqlReportRequest) {
|
|
2056
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2057
|
+
if (this.logger)
|
|
2058
|
+
this.logger.debug("Calling operation DatabaseToolsClient#deleteDatabaseToolsSqlReport.");
|
|
2059
|
+
const operationName = "deleteDatabaseToolsSqlReport";
|
|
2060
|
+
const apiReferenceLink = "";
|
|
2061
|
+
const pathParams = {
|
|
2062
|
+
"{databaseToolsSqlReportId}": deleteDatabaseToolsSqlReportRequest.databaseToolsSqlReportId
|
|
2063
|
+
};
|
|
2064
|
+
const queryParams = {
|
|
2065
|
+
"isLockOverride": deleteDatabaseToolsSqlReportRequest.isLockOverride
|
|
2066
|
+
};
|
|
2067
|
+
let headerParams = {
|
|
2068
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2069
|
+
"if-match": deleteDatabaseToolsSqlReportRequest.ifMatch,
|
|
2070
|
+
"opc-request-id": deleteDatabaseToolsSqlReportRequest.opcRequestId
|
|
2071
|
+
};
|
|
2072
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2073
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseToolsSqlReportRequest.retryConfiguration, specRetryConfiguration);
|
|
2074
|
+
if (this.logger)
|
|
2075
|
+
retrier.logger = this.logger;
|
|
2076
|
+
const request = yield oci_common_1.composeRequest({
|
|
2077
|
+
baseEndpoint: this._endpoint,
|
|
2078
|
+
defaultHeaders: this._defaultHeaders,
|
|
2079
|
+
path: "/databaseToolsSqlReports/{databaseToolsSqlReportId}",
|
|
2080
|
+
method: "DELETE",
|
|
2081
|
+
pathParams: pathParams,
|
|
2082
|
+
headerParams: headerParams,
|
|
2083
|
+
queryParams: queryParams
|
|
2084
|
+
});
|
|
2085
|
+
try {
|
|
2086
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2087
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2088
|
+
responseObject: {},
|
|
2089
|
+
responseHeaders: [
|
|
2090
|
+
{
|
|
2091
|
+
value: response.headers.get("opc-request-id"),
|
|
2092
|
+
key: "opcRequestId",
|
|
2093
|
+
dataType: "string"
|
|
2094
|
+
}
|
|
2095
|
+
]
|
|
2096
|
+
});
|
|
2097
|
+
return sdkResponse;
|
|
2098
|
+
}
|
|
2099
|
+
catch (err) {
|
|
2100
|
+
throw err;
|
|
2101
|
+
}
|
|
2102
|
+
});
|
|
2103
|
+
}
|
|
2104
|
+
/**
|
|
2105
|
+
* Gets details of the specified Database Tools connection.
|
|
2106
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2107
|
+
* @param GetDatabaseToolsConnectionRequest
|
|
2108
|
+
* @return GetDatabaseToolsConnectionResponse
|
|
2109
|
+
* @throws OciError when an error occurs
|
|
2110
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetDatabaseToolsConnection.ts.html |here} to see how to use GetDatabaseToolsConnection API.
|
|
2111
|
+
*/
|
|
2112
|
+
getDatabaseToolsConnection(getDatabaseToolsConnectionRequest) {
|
|
2113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2114
|
+
if (this.logger)
|
|
2115
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getDatabaseToolsConnection.");
|
|
2116
|
+
const operationName = "getDatabaseToolsConnection";
|
|
2117
|
+
const apiReferenceLink = "";
|
|
2118
|
+
const pathParams = {
|
|
2119
|
+
"{databaseToolsConnectionId}": getDatabaseToolsConnectionRequest.databaseToolsConnectionId
|
|
2120
|
+
};
|
|
2121
|
+
const queryParams = {};
|
|
2122
|
+
let headerParams = {
|
|
2123
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2124
|
+
"opc-request-id": getDatabaseToolsConnectionRequest.opcRequestId
|
|
2125
|
+
};
|
|
2126
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2127
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseToolsConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
2128
|
+
if (this.logger)
|
|
2129
|
+
retrier.logger = this.logger;
|
|
2130
|
+
const request = yield oci_common_1.composeRequest({
|
|
2131
|
+
baseEndpoint: this._endpoint,
|
|
2132
|
+
defaultHeaders: this._defaultHeaders,
|
|
2133
|
+
path: "/databaseToolsConnections/{databaseToolsConnectionId}",
|
|
2134
|
+
method: "GET",
|
|
2135
|
+
pathParams: pathParams,
|
|
2136
|
+
headerParams: headerParams,
|
|
2137
|
+
queryParams: queryParams
|
|
2138
|
+
});
|
|
2139
|
+
try {
|
|
2140
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2141
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2142
|
+
responseObject: {},
|
|
2143
|
+
body: yield response.json(),
|
|
2144
|
+
bodyKey: "databaseToolsConnection",
|
|
2145
|
+
bodyModel: model.DatabaseToolsConnection,
|
|
2146
|
+
type: "model.DatabaseToolsConnection",
|
|
2147
|
+
responseHeaders: [
|
|
2148
|
+
{
|
|
2149
|
+
value: response.headers.get("etag"),
|
|
2150
|
+
key: "etag",
|
|
2151
|
+
dataType: "string"
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
value: response.headers.get("opc-request-id"),
|
|
2155
|
+
key: "opcRequestId",
|
|
2156
|
+
dataType: "string"
|
|
2157
|
+
}
|
|
2158
|
+
]
|
|
2159
|
+
});
|
|
2160
|
+
return sdkResponse;
|
|
2161
|
+
}
|
|
2162
|
+
catch (err) {
|
|
2163
|
+
throw err;
|
|
2164
|
+
}
|
|
2165
|
+
});
|
|
2166
|
+
}
|
|
2167
|
+
/**
|
|
2168
|
+
* Gets details of the specified Database Tools database API gateway config.
|
|
2169
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2170
|
+
* @param GetDatabaseToolsDatabaseApiGatewayConfigRequest
|
|
2171
|
+
* @return GetDatabaseToolsDatabaseApiGatewayConfigResponse
|
|
2172
|
+
* @throws OciError when an error occurs
|
|
2173
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetDatabaseToolsDatabaseApiGatewayConfig.ts.html |here} to see how to use GetDatabaseToolsDatabaseApiGatewayConfig API.
|
|
2174
|
+
*/
|
|
2175
|
+
getDatabaseToolsDatabaseApiGatewayConfig(getDatabaseToolsDatabaseApiGatewayConfigRequest) {
|
|
2176
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2177
|
+
if (this.logger)
|
|
2178
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getDatabaseToolsDatabaseApiGatewayConfig.");
|
|
2179
|
+
const operationName = "getDatabaseToolsDatabaseApiGatewayConfig";
|
|
2180
|
+
const apiReferenceLink = "";
|
|
2181
|
+
const pathParams = {
|
|
2182
|
+
"{databaseToolsDatabaseApiGatewayConfigId}": getDatabaseToolsDatabaseApiGatewayConfigRequest.databaseToolsDatabaseApiGatewayConfigId
|
|
2183
|
+
};
|
|
2184
|
+
const queryParams = {};
|
|
2185
|
+
let headerParams = {
|
|
2186
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2187
|
+
"opc-request-id": getDatabaseToolsDatabaseApiGatewayConfigRequest.opcRequestId
|
|
2188
|
+
};
|
|
2189
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2190
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseToolsDatabaseApiGatewayConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
2191
|
+
if (this.logger)
|
|
2192
|
+
retrier.logger = this.logger;
|
|
2193
|
+
const request = yield oci_common_1.composeRequest({
|
|
2194
|
+
baseEndpoint: this._endpoint,
|
|
2195
|
+
defaultHeaders: this._defaultHeaders,
|
|
2196
|
+
path: "/databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}",
|
|
2197
|
+
method: "GET",
|
|
2198
|
+
pathParams: pathParams,
|
|
2199
|
+
headerParams: headerParams,
|
|
2200
|
+
queryParams: queryParams
|
|
2201
|
+
});
|
|
2202
|
+
try {
|
|
2203
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2204
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2205
|
+
responseObject: {},
|
|
2206
|
+
body: yield response.json(),
|
|
2207
|
+
bodyKey: "databaseToolsDatabaseApiGatewayConfig",
|
|
2208
|
+
bodyModel: model.DatabaseToolsDatabaseApiGatewayConfig,
|
|
2209
|
+
type: "model.DatabaseToolsDatabaseApiGatewayConfig",
|
|
2210
|
+
responseHeaders: [
|
|
2211
|
+
{
|
|
2212
|
+
value: response.headers.get("etag"),
|
|
2213
|
+
key: "etag",
|
|
2214
|
+
dataType: "string"
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
value: response.headers.get("opc-request-id"),
|
|
2218
|
+
key: "opcRequestId",
|
|
2219
|
+
dataType: "string"
|
|
2220
|
+
}
|
|
2221
|
+
]
|
|
2222
|
+
});
|
|
2223
|
+
return sdkResponse;
|
|
2224
|
+
}
|
|
2225
|
+
catch (err) {
|
|
2226
|
+
throw err;
|
|
2227
|
+
}
|
|
2228
|
+
});
|
|
2229
|
+
}
|
|
2230
|
+
/**
|
|
2231
|
+
* Gets details for the specified Database Tools endpoint service.
|
|
2232
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2233
|
+
* @param GetDatabaseToolsEndpointServiceRequest
|
|
2234
|
+
* @return GetDatabaseToolsEndpointServiceResponse
|
|
2235
|
+
* @throws OciError when an error occurs
|
|
2236
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetDatabaseToolsEndpointService.ts.html |here} to see how to use GetDatabaseToolsEndpointService API.
|
|
2237
|
+
*/
|
|
2238
|
+
getDatabaseToolsEndpointService(getDatabaseToolsEndpointServiceRequest) {
|
|
2239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2240
|
+
if (this.logger)
|
|
2241
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getDatabaseToolsEndpointService.");
|
|
2242
|
+
const operationName = "getDatabaseToolsEndpointService";
|
|
2243
|
+
const apiReferenceLink = "";
|
|
2244
|
+
const pathParams = {
|
|
2245
|
+
"{databaseToolsEndpointServiceId}": getDatabaseToolsEndpointServiceRequest.databaseToolsEndpointServiceId
|
|
2246
|
+
};
|
|
2247
|
+
const queryParams = {};
|
|
2248
|
+
let headerParams = {
|
|
2249
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2250
|
+
"opc-request-id": getDatabaseToolsEndpointServiceRequest.opcRequestId
|
|
2251
|
+
};
|
|
2252
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2253
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseToolsEndpointServiceRequest.retryConfiguration, specRetryConfiguration);
|
|
2254
|
+
if (this.logger)
|
|
2255
|
+
retrier.logger = this.logger;
|
|
2256
|
+
const request = yield oci_common_1.composeRequest({
|
|
2257
|
+
baseEndpoint: this._endpoint,
|
|
2258
|
+
defaultHeaders: this._defaultHeaders,
|
|
2259
|
+
path: "/databaseToolsEndpointServices/{databaseToolsEndpointServiceId}",
|
|
2260
|
+
method: "GET",
|
|
2261
|
+
pathParams: pathParams,
|
|
2262
|
+
headerParams: headerParams,
|
|
2263
|
+
queryParams: queryParams
|
|
2264
|
+
});
|
|
2265
|
+
try {
|
|
2266
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2267
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2268
|
+
responseObject: {},
|
|
2269
|
+
body: yield response.json(),
|
|
2270
|
+
bodyKey: "databaseToolsEndpointService",
|
|
2271
|
+
bodyModel: model.DatabaseToolsEndpointService,
|
|
2272
|
+
type: "model.DatabaseToolsEndpointService",
|
|
2273
|
+
responseHeaders: [
|
|
2274
|
+
{
|
|
2275
|
+
value: response.headers.get("etag"),
|
|
2276
|
+
key: "etag",
|
|
2277
|
+
dataType: "string"
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
value: response.headers.get("opc-request-id"),
|
|
2281
|
+
key: "opcRequestId",
|
|
2282
|
+
dataType: "string"
|
|
2283
|
+
}
|
|
2284
|
+
]
|
|
2285
|
+
});
|
|
2286
|
+
return sdkResponse;
|
|
2287
|
+
}
|
|
2288
|
+
catch (err) {
|
|
2289
|
+
throw err;
|
|
2290
|
+
}
|
|
2291
|
+
});
|
|
2292
|
+
}
|
|
2293
|
+
/**
|
|
2294
|
+
* Gets details of the specified Database Tools identity.
|
|
2295
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2296
|
+
* @param GetDatabaseToolsIdentityRequest
|
|
2297
|
+
* @return GetDatabaseToolsIdentityResponse
|
|
2298
|
+
* @throws OciError when an error occurs
|
|
2299
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetDatabaseToolsIdentity.ts.html |here} to see how to use GetDatabaseToolsIdentity API.
|
|
2300
|
+
*/
|
|
2301
|
+
getDatabaseToolsIdentity(getDatabaseToolsIdentityRequest) {
|
|
2302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2303
|
+
if (this.logger)
|
|
2304
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getDatabaseToolsIdentity.");
|
|
2305
|
+
const operationName = "getDatabaseToolsIdentity";
|
|
2306
|
+
const apiReferenceLink = "";
|
|
2307
|
+
const pathParams = {
|
|
2308
|
+
"{databaseToolsIdentityId}": getDatabaseToolsIdentityRequest.databaseToolsIdentityId
|
|
2309
|
+
};
|
|
2310
|
+
const queryParams = {};
|
|
2311
|
+
let headerParams = {
|
|
2312
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2313
|
+
"opc-request-id": getDatabaseToolsIdentityRequest.opcRequestId
|
|
2314
|
+
};
|
|
2315
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2316
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseToolsIdentityRequest.retryConfiguration, specRetryConfiguration);
|
|
2317
|
+
if (this.logger)
|
|
2318
|
+
retrier.logger = this.logger;
|
|
2319
|
+
const request = yield oci_common_1.composeRequest({
|
|
2320
|
+
baseEndpoint: this._endpoint,
|
|
2321
|
+
defaultHeaders: this._defaultHeaders,
|
|
2322
|
+
path: "/databaseToolsIdentities/{databaseToolsIdentityId}",
|
|
2323
|
+
method: "GET",
|
|
2324
|
+
pathParams: pathParams,
|
|
2325
|
+
headerParams: headerParams,
|
|
2326
|
+
queryParams: queryParams
|
|
2327
|
+
});
|
|
2328
|
+
try {
|
|
2329
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2330
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2331
|
+
responseObject: {},
|
|
2332
|
+
body: yield response.json(),
|
|
2333
|
+
bodyKey: "databaseToolsIdentity",
|
|
2334
|
+
bodyModel: model.DatabaseToolsIdentity,
|
|
2335
|
+
type: "model.DatabaseToolsIdentity",
|
|
2336
|
+
responseHeaders: [
|
|
2337
|
+
{
|
|
2338
|
+
value: response.headers.get("etag"),
|
|
2339
|
+
key: "etag",
|
|
2340
|
+
dataType: "string"
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
value: response.headers.get("opc-request-id"),
|
|
2344
|
+
key: "opcRequestId",
|
|
2345
|
+
dataType: "string"
|
|
2346
|
+
}
|
|
2347
|
+
]
|
|
2348
|
+
});
|
|
2349
|
+
return sdkResponse;
|
|
2350
|
+
}
|
|
2351
|
+
catch (err) {
|
|
2352
|
+
throw err;
|
|
2353
|
+
}
|
|
2354
|
+
});
|
|
2355
|
+
}
|
|
2356
|
+
/**
|
|
2357
|
+
* Gets details of the specified Database Tools MCP server.
|
|
2358
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2359
|
+
* @param GetDatabaseToolsMcpServerRequest
|
|
2360
|
+
* @return GetDatabaseToolsMcpServerResponse
|
|
2361
|
+
* @throws OciError when an error occurs
|
|
2362
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetDatabaseToolsMcpServer.ts.html |here} to see how to use GetDatabaseToolsMcpServer API.
|
|
2363
|
+
*/
|
|
2364
|
+
getDatabaseToolsMcpServer(getDatabaseToolsMcpServerRequest) {
|
|
2365
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2366
|
+
if (this.logger)
|
|
2367
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getDatabaseToolsMcpServer.");
|
|
2368
|
+
const operationName = "getDatabaseToolsMcpServer";
|
|
2369
|
+
const apiReferenceLink = "";
|
|
2370
|
+
const pathParams = {
|
|
2371
|
+
"{databaseToolsMcpServerId}": getDatabaseToolsMcpServerRequest.databaseToolsMcpServerId
|
|
2372
|
+
};
|
|
2373
|
+
const queryParams = {};
|
|
2374
|
+
let headerParams = {
|
|
2375
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2376
|
+
"opc-request-id": getDatabaseToolsMcpServerRequest.opcRequestId
|
|
2377
|
+
};
|
|
2378
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2379
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseToolsMcpServerRequest.retryConfiguration, specRetryConfiguration);
|
|
2380
|
+
if (this.logger)
|
|
2381
|
+
retrier.logger = this.logger;
|
|
2382
|
+
const request = yield oci_common_1.composeRequest({
|
|
2383
|
+
baseEndpoint: this._endpoint,
|
|
2384
|
+
defaultHeaders: this._defaultHeaders,
|
|
2385
|
+
path: "/databaseToolsMcpServers/{databaseToolsMcpServerId}",
|
|
2386
|
+
method: "GET",
|
|
2387
|
+
pathParams: pathParams,
|
|
2388
|
+
headerParams: headerParams,
|
|
2389
|
+
queryParams: queryParams
|
|
2390
|
+
});
|
|
2391
|
+
try {
|
|
2392
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2393
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2394
|
+
responseObject: {},
|
|
2395
|
+
body: yield response.json(),
|
|
2396
|
+
bodyKey: "databaseToolsMcpServer",
|
|
2397
|
+
bodyModel: model.DatabaseToolsMcpServer,
|
|
2398
|
+
type: "model.DatabaseToolsMcpServer",
|
|
2399
|
+
responseHeaders: [
|
|
2400
|
+
{
|
|
2401
|
+
value: response.headers.get("etag"),
|
|
2402
|
+
key: "etag",
|
|
2403
|
+
dataType: "string"
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
value: response.headers.get("opc-request-id"),
|
|
2407
|
+
key: "opcRequestId",
|
|
2408
|
+
dataType: "string"
|
|
2409
|
+
}
|
|
2410
|
+
]
|
|
2411
|
+
});
|
|
2412
|
+
return sdkResponse;
|
|
2413
|
+
}
|
|
2414
|
+
catch (err) {
|
|
2415
|
+
throw err;
|
|
2416
|
+
}
|
|
2417
|
+
});
|
|
2418
|
+
}
|
|
2419
|
+
/**
|
|
2420
|
+
* Gets details of the specified Database Tools MCP Toolset.
|
|
2421
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2422
|
+
* @param GetDatabaseToolsMcpToolsetRequest
|
|
2423
|
+
* @return GetDatabaseToolsMcpToolsetResponse
|
|
2424
|
+
* @throws OciError when an error occurs
|
|
2425
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetDatabaseToolsMcpToolset.ts.html |here} to see how to use GetDatabaseToolsMcpToolset API.
|
|
2426
|
+
*/
|
|
2427
|
+
getDatabaseToolsMcpToolset(getDatabaseToolsMcpToolsetRequest) {
|
|
2428
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2429
|
+
if (this.logger)
|
|
2430
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getDatabaseToolsMcpToolset.");
|
|
2431
|
+
const operationName = "getDatabaseToolsMcpToolset";
|
|
2432
|
+
const apiReferenceLink = "";
|
|
2433
|
+
const pathParams = {
|
|
2434
|
+
"{databaseToolsMcpToolsetId}": getDatabaseToolsMcpToolsetRequest.databaseToolsMcpToolsetId
|
|
2435
|
+
};
|
|
2436
|
+
const queryParams = {};
|
|
2437
|
+
let headerParams = {
|
|
2438
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2439
|
+
"opc-request-id": getDatabaseToolsMcpToolsetRequest.opcRequestId
|
|
2440
|
+
};
|
|
2441
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2442
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseToolsMcpToolsetRequest.retryConfiguration, specRetryConfiguration);
|
|
2443
|
+
if (this.logger)
|
|
2444
|
+
retrier.logger = this.logger;
|
|
2445
|
+
const request = yield oci_common_1.composeRequest({
|
|
2446
|
+
baseEndpoint: this._endpoint,
|
|
2447
|
+
defaultHeaders: this._defaultHeaders,
|
|
2448
|
+
path: "/databaseToolsMcpToolsets/{databaseToolsMcpToolsetId}",
|
|
2449
|
+
method: "GET",
|
|
2450
|
+
pathParams: pathParams,
|
|
2451
|
+
headerParams: headerParams,
|
|
2452
|
+
queryParams: queryParams
|
|
2453
|
+
});
|
|
2454
|
+
try {
|
|
2455
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2456
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2457
|
+
responseObject: {},
|
|
2458
|
+
body: yield response.json(),
|
|
2459
|
+
bodyKey: "databaseToolsMcpToolset",
|
|
2460
|
+
bodyModel: model.DatabaseToolsMcpToolset,
|
|
2461
|
+
type: "model.DatabaseToolsMcpToolset",
|
|
2462
|
+
responseHeaders: [
|
|
2463
|
+
{
|
|
2464
|
+
value: response.headers.get("etag"),
|
|
2465
|
+
key: "etag",
|
|
2466
|
+
dataType: "string"
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
value: response.headers.get("opc-request-id"),
|
|
2470
|
+
key: "opcRequestId",
|
|
2471
|
+
dataType: "string"
|
|
2472
|
+
}
|
|
2473
|
+
]
|
|
2474
|
+
});
|
|
2475
|
+
return sdkResponse;
|
|
2476
|
+
}
|
|
2477
|
+
catch (err) {
|
|
2478
|
+
throw err;
|
|
2479
|
+
}
|
|
2480
|
+
});
|
|
2481
|
+
}
|
|
2482
|
+
/**
|
|
2483
|
+
* Gets details of a specified Database Tools private endpoint.
|
|
2484
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2485
|
+
* @param GetDatabaseToolsPrivateEndpointRequest
|
|
2486
|
+
* @return GetDatabaseToolsPrivateEndpointResponse
|
|
2487
|
+
* @throws OciError when an error occurs
|
|
2488
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetDatabaseToolsPrivateEndpoint.ts.html |here} to see how to use GetDatabaseToolsPrivateEndpoint API.
|
|
2489
|
+
*/
|
|
2490
|
+
getDatabaseToolsPrivateEndpoint(getDatabaseToolsPrivateEndpointRequest) {
|
|
2491
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2492
|
+
if (this.logger)
|
|
2493
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getDatabaseToolsPrivateEndpoint.");
|
|
2494
|
+
const operationName = "getDatabaseToolsPrivateEndpoint";
|
|
2495
|
+
const apiReferenceLink = "";
|
|
2496
|
+
const pathParams = {
|
|
2497
|
+
"{databaseToolsPrivateEndpointId}": getDatabaseToolsPrivateEndpointRequest.databaseToolsPrivateEndpointId
|
|
2498
|
+
};
|
|
2499
|
+
const queryParams = {};
|
|
2500
|
+
let headerParams = {
|
|
2501
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2502
|
+
"opc-request-id": getDatabaseToolsPrivateEndpointRequest.opcRequestId
|
|
2503
|
+
};
|
|
2504
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2505
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseToolsPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
2506
|
+
if (this.logger)
|
|
2507
|
+
retrier.logger = this.logger;
|
|
2508
|
+
const request = yield oci_common_1.composeRequest({
|
|
2509
|
+
baseEndpoint: this._endpoint,
|
|
2510
|
+
defaultHeaders: this._defaultHeaders,
|
|
2511
|
+
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}",
|
|
2512
|
+
method: "GET",
|
|
2513
|
+
pathParams: pathParams,
|
|
2514
|
+
headerParams: headerParams,
|
|
2515
|
+
queryParams: queryParams
|
|
2516
|
+
});
|
|
2517
|
+
try {
|
|
2518
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2519
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2520
|
+
responseObject: {},
|
|
2521
|
+
body: yield response.json(),
|
|
2522
|
+
bodyKey: "databaseToolsPrivateEndpoint",
|
|
2523
|
+
bodyModel: model.DatabaseToolsPrivateEndpoint,
|
|
2524
|
+
type: "model.DatabaseToolsPrivateEndpoint",
|
|
2525
|
+
responseHeaders: [
|
|
2526
|
+
{
|
|
2527
|
+
value: response.headers.get("etag"),
|
|
2528
|
+
key: "etag",
|
|
2529
|
+
dataType: "string"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
value: response.headers.get("opc-request-id"),
|
|
2533
|
+
key: "opcRequestId",
|
|
2534
|
+
dataType: "string"
|
|
2535
|
+
}
|
|
2536
|
+
]
|
|
2537
|
+
});
|
|
2538
|
+
return sdkResponse;
|
|
2539
|
+
}
|
|
2540
|
+
catch (err) {
|
|
2541
|
+
throw err;
|
|
2542
|
+
}
|
|
2543
|
+
});
|
|
2544
|
+
}
|
|
2545
|
+
/**
|
|
2546
|
+
* Gets details of the specified Database Tools SQL report.
|
|
2547
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2548
|
+
* @param GetDatabaseToolsSqlReportRequest
|
|
2549
|
+
* @return GetDatabaseToolsSqlReportResponse
|
|
2550
|
+
* @throws OciError when an error occurs
|
|
2551
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetDatabaseToolsSqlReport.ts.html |here} to see how to use GetDatabaseToolsSqlReport API.
|
|
2552
|
+
*/
|
|
2553
|
+
getDatabaseToolsSqlReport(getDatabaseToolsSqlReportRequest) {
|
|
2554
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2555
|
+
if (this.logger)
|
|
2556
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getDatabaseToolsSqlReport.");
|
|
2557
|
+
const operationName = "getDatabaseToolsSqlReport";
|
|
2558
|
+
const apiReferenceLink = "";
|
|
2559
|
+
const pathParams = {
|
|
2560
|
+
"{databaseToolsSqlReportId}": getDatabaseToolsSqlReportRequest.databaseToolsSqlReportId
|
|
2561
|
+
};
|
|
2562
|
+
const queryParams = {};
|
|
2563
|
+
let headerParams = {
|
|
2564
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2565
|
+
"opc-request-id": getDatabaseToolsSqlReportRequest.opcRequestId
|
|
2566
|
+
};
|
|
2567
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2568
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseToolsSqlReportRequest.retryConfiguration, specRetryConfiguration);
|
|
2569
|
+
if (this.logger)
|
|
2570
|
+
retrier.logger = this.logger;
|
|
2571
|
+
const request = yield oci_common_1.composeRequest({
|
|
2572
|
+
baseEndpoint: this._endpoint,
|
|
2573
|
+
defaultHeaders: this._defaultHeaders,
|
|
2574
|
+
path: "/databaseToolsSqlReports/{databaseToolsSqlReportId}",
|
|
2575
|
+
method: "GET",
|
|
2576
|
+
pathParams: pathParams,
|
|
2577
|
+
headerParams: headerParams,
|
|
2578
|
+
queryParams: queryParams
|
|
2579
|
+
});
|
|
2580
|
+
try {
|
|
2581
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2582
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2583
|
+
responseObject: {},
|
|
2584
|
+
body: yield response.json(),
|
|
2585
|
+
bodyKey: "databaseToolsSqlReport",
|
|
2586
|
+
bodyModel: model.DatabaseToolsSqlReport,
|
|
2587
|
+
type: "model.DatabaseToolsSqlReport",
|
|
2588
|
+
responseHeaders: [
|
|
2589
|
+
{
|
|
2590
|
+
value: response.headers.get("etag"),
|
|
2591
|
+
key: "etag",
|
|
2592
|
+
dataType: "string"
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
value: response.headers.get("opc-request-id"),
|
|
2596
|
+
key: "opcRequestId",
|
|
2597
|
+
dataType: "string"
|
|
2598
|
+
}
|
|
2599
|
+
]
|
|
2600
|
+
});
|
|
2601
|
+
return sdkResponse;
|
|
2602
|
+
}
|
|
2603
|
+
catch (err) {
|
|
2604
|
+
throw err;
|
|
2605
|
+
}
|
|
2606
|
+
});
|
|
2607
|
+
}
|
|
2608
|
+
/**
|
|
2609
|
+
* Gets the status of the specified work request.
|
|
2610
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2611
|
+
* @param GetWorkRequestRequest
|
|
2612
|
+
* @return GetWorkRequestResponse
|
|
1268
2613
|
* @throws OciError when an error occurs
|
|
1269
2614
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1270
2615
|
*/
|
|
1271
|
-
getWorkRequest(getWorkRequestRequest) {
|
|
2616
|
+
getWorkRequest(getWorkRequestRequest) {
|
|
2617
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2618
|
+
if (this.logger)
|
|
2619
|
+
this.logger.debug("Calling operation DatabaseToolsClient#getWorkRequest.");
|
|
2620
|
+
const operationName = "getWorkRequest";
|
|
2621
|
+
const apiReferenceLink = "";
|
|
2622
|
+
const pathParams = {
|
|
2623
|
+
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
2624
|
+
};
|
|
2625
|
+
const queryParams = {};
|
|
2626
|
+
let headerParams = {
|
|
2627
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2628
|
+
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
2629
|
+
};
|
|
2630
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2631
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2632
|
+
if (this.logger)
|
|
2633
|
+
retrier.logger = this.logger;
|
|
2634
|
+
const request = yield oci_common_1.composeRequest({
|
|
2635
|
+
baseEndpoint: this._endpoint,
|
|
2636
|
+
defaultHeaders: this._defaultHeaders,
|
|
2637
|
+
path: "/workRequests/{workRequestId}",
|
|
2638
|
+
method: "GET",
|
|
2639
|
+
pathParams: pathParams,
|
|
2640
|
+
headerParams: headerParams,
|
|
2641
|
+
queryParams: queryParams
|
|
2642
|
+
});
|
|
2643
|
+
try {
|
|
2644
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2645
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2646
|
+
responseObject: {},
|
|
2647
|
+
body: yield response.json(),
|
|
2648
|
+
bodyKey: "workRequest",
|
|
2649
|
+
bodyModel: model.WorkRequest,
|
|
2650
|
+
type: "model.WorkRequest",
|
|
2651
|
+
responseHeaders: [
|
|
2652
|
+
{
|
|
2653
|
+
value: response.headers.get("opc-request-id"),
|
|
2654
|
+
key: "opcRequestId",
|
|
2655
|
+
dataType: "string"
|
|
2656
|
+
},
|
|
2657
|
+
{
|
|
2658
|
+
value: response.headers.get("retry-after"),
|
|
2659
|
+
key: "retryAfter",
|
|
2660
|
+
dataType: "number"
|
|
2661
|
+
}
|
|
2662
|
+
]
|
|
2663
|
+
});
|
|
2664
|
+
return sdkResponse;
|
|
2665
|
+
}
|
|
2666
|
+
catch (err) {
|
|
2667
|
+
throw err;
|
|
2668
|
+
}
|
|
2669
|
+
});
|
|
2670
|
+
}
|
|
2671
|
+
/**
|
|
2672
|
+
* Returns a list of Database Tools connections.
|
|
2673
|
+
*
|
|
2674
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2675
|
+
* @param ListDatabaseToolsConnectionsRequest
|
|
2676
|
+
* @return ListDatabaseToolsConnectionsResponse
|
|
2677
|
+
* @throws OciError when an error occurs
|
|
2678
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsConnections.ts.html |here} to see how to use ListDatabaseToolsConnections API.
|
|
2679
|
+
*/
|
|
2680
|
+
listDatabaseToolsConnections(listDatabaseToolsConnectionsRequest) {
|
|
2681
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2682
|
+
if (this.logger)
|
|
2683
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsConnections.");
|
|
2684
|
+
const operationName = "listDatabaseToolsConnections";
|
|
2685
|
+
const apiReferenceLink = "";
|
|
2686
|
+
const pathParams = {};
|
|
2687
|
+
const queryParams = {
|
|
2688
|
+
"compartmentId": listDatabaseToolsConnectionsRequest.compartmentId,
|
|
2689
|
+
"lifecycleState": listDatabaseToolsConnectionsRequest.lifecycleState,
|
|
2690
|
+
"displayName": listDatabaseToolsConnectionsRequest.displayName,
|
|
2691
|
+
"type": listDatabaseToolsConnectionsRequest.type,
|
|
2692
|
+
"runtimeSupport": listDatabaseToolsConnectionsRequest.runtimeSupport,
|
|
2693
|
+
"runtimeIdentity": listDatabaseToolsConnectionsRequest.runtimeIdentity,
|
|
2694
|
+
"relatedResourceIdentifier": listDatabaseToolsConnectionsRequest.relatedResourceIdentifier,
|
|
2695
|
+
"limit": listDatabaseToolsConnectionsRequest.limit,
|
|
2696
|
+
"page": listDatabaseToolsConnectionsRequest.page,
|
|
2697
|
+
"sortOrder": listDatabaseToolsConnectionsRequest.sortOrder,
|
|
2698
|
+
"sortBy": listDatabaseToolsConnectionsRequest.sortBy
|
|
2699
|
+
};
|
|
2700
|
+
let headerParams = {
|
|
2701
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2702
|
+
"opc-request-id": listDatabaseToolsConnectionsRequest.opcRequestId
|
|
2703
|
+
};
|
|
2704
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2705
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsConnectionsRequest.retryConfiguration, specRetryConfiguration);
|
|
2706
|
+
if (this.logger)
|
|
2707
|
+
retrier.logger = this.logger;
|
|
2708
|
+
const request = yield oci_common_1.composeRequest({
|
|
2709
|
+
baseEndpoint: this._endpoint,
|
|
2710
|
+
defaultHeaders: this._defaultHeaders,
|
|
2711
|
+
path: "/databaseToolsConnections",
|
|
2712
|
+
method: "GET",
|
|
2713
|
+
pathParams: pathParams,
|
|
2714
|
+
headerParams: headerParams,
|
|
2715
|
+
queryParams: queryParams
|
|
2716
|
+
});
|
|
2717
|
+
try {
|
|
2718
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2719
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2720
|
+
responseObject: {},
|
|
2721
|
+
body: yield response.json(),
|
|
2722
|
+
bodyKey: "databaseToolsConnectionCollection",
|
|
2723
|
+
bodyModel: model.DatabaseToolsConnectionCollection,
|
|
2724
|
+
type: "model.DatabaseToolsConnectionCollection",
|
|
2725
|
+
responseHeaders: [
|
|
2726
|
+
{
|
|
2727
|
+
value: response.headers.get("opc-request-id"),
|
|
2728
|
+
key: "opcRequestId",
|
|
2729
|
+
dataType: "string"
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
value: response.headers.get("opc-next-page"),
|
|
2733
|
+
key: "opcNextPage",
|
|
2734
|
+
dataType: "string"
|
|
2735
|
+
}
|
|
2736
|
+
]
|
|
2737
|
+
});
|
|
2738
|
+
return sdkResponse;
|
|
2739
|
+
}
|
|
2740
|
+
catch (err) {
|
|
2741
|
+
throw err;
|
|
2742
|
+
}
|
|
2743
|
+
});
|
|
2744
|
+
}
|
|
2745
|
+
/**
|
|
2746
|
+
* Returns a list of Database Tools database API gateway configs.
|
|
2747
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2748
|
+
* @param ListDatabaseToolsDatabaseApiGatewayConfigsRequest
|
|
2749
|
+
* @return ListDatabaseToolsDatabaseApiGatewayConfigsResponse
|
|
2750
|
+
* @throws OciError when an error occurs
|
|
2751
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsDatabaseApiGatewayConfigs.ts.html |here} to see how to use ListDatabaseToolsDatabaseApiGatewayConfigs API.
|
|
2752
|
+
*/
|
|
2753
|
+
listDatabaseToolsDatabaseApiGatewayConfigs(listDatabaseToolsDatabaseApiGatewayConfigsRequest) {
|
|
2754
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2755
|
+
if (this.logger)
|
|
2756
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsDatabaseApiGatewayConfigs.");
|
|
2757
|
+
const operationName = "listDatabaseToolsDatabaseApiGatewayConfigs";
|
|
2758
|
+
const apiReferenceLink = "";
|
|
2759
|
+
const pathParams = {};
|
|
2760
|
+
const queryParams = {
|
|
2761
|
+
"compartmentId": listDatabaseToolsDatabaseApiGatewayConfigsRequest.compartmentId,
|
|
2762
|
+
"lifecycleState": listDatabaseToolsDatabaseApiGatewayConfigsRequest.lifecycleState,
|
|
2763
|
+
"displayName": listDatabaseToolsDatabaseApiGatewayConfigsRequest.displayName,
|
|
2764
|
+
"limit": listDatabaseToolsDatabaseApiGatewayConfigsRequest.limit,
|
|
2765
|
+
"page": listDatabaseToolsDatabaseApiGatewayConfigsRequest.page,
|
|
2766
|
+
"sortOrder": listDatabaseToolsDatabaseApiGatewayConfigsRequest.sortOrder,
|
|
2767
|
+
"sortBy": listDatabaseToolsDatabaseApiGatewayConfigsRequest.sortBy,
|
|
2768
|
+
"type": listDatabaseToolsDatabaseApiGatewayConfigsRequest.type
|
|
2769
|
+
};
|
|
2770
|
+
let headerParams = {
|
|
2771
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2772
|
+
"opc-request-id": listDatabaseToolsDatabaseApiGatewayConfigsRequest.opcRequestId
|
|
2773
|
+
};
|
|
2774
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2775
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsDatabaseApiGatewayConfigsRequest.retryConfiguration, specRetryConfiguration);
|
|
2776
|
+
if (this.logger)
|
|
2777
|
+
retrier.logger = this.logger;
|
|
2778
|
+
const request = yield oci_common_1.composeRequest({
|
|
2779
|
+
baseEndpoint: this._endpoint,
|
|
2780
|
+
defaultHeaders: this._defaultHeaders,
|
|
2781
|
+
path: "/databaseToolsDatabaseApiGatewayConfigs",
|
|
2782
|
+
method: "GET",
|
|
2783
|
+
pathParams: pathParams,
|
|
2784
|
+
headerParams: headerParams,
|
|
2785
|
+
queryParams: queryParams
|
|
2786
|
+
});
|
|
2787
|
+
try {
|
|
2788
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2789
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2790
|
+
responseObject: {},
|
|
2791
|
+
body: yield response.json(),
|
|
2792
|
+
bodyKey: "databaseToolsDatabaseApiGatewayConfigCollection",
|
|
2793
|
+
bodyModel: model.DatabaseToolsDatabaseApiGatewayConfigCollection,
|
|
2794
|
+
type: "model.DatabaseToolsDatabaseApiGatewayConfigCollection",
|
|
2795
|
+
responseHeaders: [
|
|
2796
|
+
{
|
|
2797
|
+
value: response.headers.get("opc-request-id"),
|
|
2798
|
+
key: "opcRequestId",
|
|
2799
|
+
dataType: "string"
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
value: response.headers.get("opc-next-page"),
|
|
2803
|
+
key: "opcNextPage",
|
|
2804
|
+
dataType: "string"
|
|
2805
|
+
}
|
|
2806
|
+
]
|
|
2807
|
+
});
|
|
2808
|
+
return sdkResponse;
|
|
2809
|
+
}
|
|
2810
|
+
catch (err) {
|
|
2811
|
+
throw err;
|
|
2812
|
+
}
|
|
2813
|
+
});
|
|
2814
|
+
}
|
|
2815
|
+
/**
|
|
2816
|
+
* Returns a list of Database Tools endpoint services.
|
|
2817
|
+
*
|
|
2818
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2819
|
+
* @param ListDatabaseToolsEndpointServicesRequest
|
|
2820
|
+
* @return ListDatabaseToolsEndpointServicesResponse
|
|
2821
|
+
* @throws OciError when an error occurs
|
|
2822
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsEndpointServices.ts.html |here} to see how to use ListDatabaseToolsEndpointServices API.
|
|
2823
|
+
*/
|
|
2824
|
+
listDatabaseToolsEndpointServices(listDatabaseToolsEndpointServicesRequest) {
|
|
2825
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2826
|
+
if (this.logger)
|
|
2827
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsEndpointServices.");
|
|
2828
|
+
const operationName = "listDatabaseToolsEndpointServices";
|
|
2829
|
+
const apiReferenceLink = "";
|
|
2830
|
+
const pathParams = {};
|
|
2831
|
+
const queryParams = {
|
|
2832
|
+
"compartmentId": listDatabaseToolsEndpointServicesRequest.compartmentId,
|
|
2833
|
+
"limit": listDatabaseToolsEndpointServicesRequest.limit,
|
|
2834
|
+
"page": listDatabaseToolsEndpointServicesRequest.page,
|
|
2835
|
+
"sortOrder": listDatabaseToolsEndpointServicesRequest.sortOrder,
|
|
2836
|
+
"sortBy": listDatabaseToolsEndpointServicesRequest.sortBy,
|
|
2837
|
+
"lifecycleState": listDatabaseToolsEndpointServicesRequest.lifecycleState,
|
|
2838
|
+
"displayName": listDatabaseToolsEndpointServicesRequest.displayName,
|
|
2839
|
+
"name": listDatabaseToolsEndpointServicesRequest.name
|
|
2840
|
+
};
|
|
2841
|
+
let headerParams = {
|
|
2842
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2843
|
+
"opc-request-id": listDatabaseToolsEndpointServicesRequest.opcRequestId
|
|
2844
|
+
};
|
|
2845
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2846
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsEndpointServicesRequest.retryConfiguration, specRetryConfiguration);
|
|
2847
|
+
if (this.logger)
|
|
2848
|
+
retrier.logger = this.logger;
|
|
2849
|
+
const request = yield oci_common_1.composeRequest({
|
|
2850
|
+
baseEndpoint: this._endpoint,
|
|
2851
|
+
defaultHeaders: this._defaultHeaders,
|
|
2852
|
+
path: "/databaseToolsEndpointServices",
|
|
2853
|
+
method: "GET",
|
|
2854
|
+
pathParams: pathParams,
|
|
2855
|
+
headerParams: headerParams,
|
|
2856
|
+
queryParams: queryParams
|
|
2857
|
+
});
|
|
2858
|
+
try {
|
|
2859
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2860
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2861
|
+
responseObject: {},
|
|
2862
|
+
body: yield response.json(),
|
|
2863
|
+
bodyKey: "databaseToolsEndpointServiceCollection",
|
|
2864
|
+
bodyModel: model.DatabaseToolsEndpointServiceCollection,
|
|
2865
|
+
type: "model.DatabaseToolsEndpointServiceCollection",
|
|
2866
|
+
responseHeaders: [
|
|
2867
|
+
{
|
|
2868
|
+
value: response.headers.get("opc-request-id"),
|
|
2869
|
+
key: "opcRequestId",
|
|
2870
|
+
dataType: "string"
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
value: response.headers.get("opc-next-page"),
|
|
2874
|
+
key: "opcNextPage",
|
|
2875
|
+
dataType: "string"
|
|
2876
|
+
}
|
|
2877
|
+
]
|
|
2878
|
+
});
|
|
2879
|
+
return sdkResponse;
|
|
2880
|
+
}
|
|
2881
|
+
catch (err) {
|
|
2882
|
+
throw err;
|
|
2883
|
+
}
|
|
2884
|
+
});
|
|
2885
|
+
}
|
|
2886
|
+
/**
|
|
2887
|
+
* Returns a list of Database Tools identities.
|
|
2888
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2889
|
+
* @param ListDatabaseToolsIdentitiesRequest
|
|
2890
|
+
* @return ListDatabaseToolsIdentitiesResponse
|
|
2891
|
+
* @throws OciError when an error occurs
|
|
2892
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsIdentities.ts.html |here} to see how to use ListDatabaseToolsIdentities API.
|
|
2893
|
+
*/
|
|
2894
|
+
listDatabaseToolsIdentities(listDatabaseToolsIdentitiesRequest) {
|
|
2895
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2896
|
+
if (this.logger)
|
|
2897
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsIdentities.");
|
|
2898
|
+
const operationName = "listDatabaseToolsIdentities";
|
|
2899
|
+
const apiReferenceLink = "";
|
|
2900
|
+
const pathParams = {};
|
|
2901
|
+
const queryParams = {
|
|
2902
|
+
"compartmentId": listDatabaseToolsIdentitiesRequest.compartmentId,
|
|
2903
|
+
"lifecycleState": listDatabaseToolsIdentitiesRequest.lifecycleState,
|
|
2904
|
+
"displayName": listDatabaseToolsIdentitiesRequest.displayName,
|
|
2905
|
+
"databaseToolsConnectionId": listDatabaseToolsIdentitiesRequest.databaseToolsConnectionId,
|
|
2906
|
+
"limit": listDatabaseToolsIdentitiesRequest.limit,
|
|
2907
|
+
"page": listDatabaseToolsIdentitiesRequest.page,
|
|
2908
|
+
"sortOrder": listDatabaseToolsIdentitiesRequest.sortOrder,
|
|
2909
|
+
"sortBy": listDatabaseToolsIdentitiesRequest.sortBy,
|
|
2910
|
+
"type": listDatabaseToolsIdentitiesRequest.type
|
|
2911
|
+
};
|
|
2912
|
+
let headerParams = {
|
|
2913
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2914
|
+
"opc-request-id": listDatabaseToolsIdentitiesRequest.opcRequestId
|
|
2915
|
+
};
|
|
2916
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2917
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsIdentitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
2918
|
+
if (this.logger)
|
|
2919
|
+
retrier.logger = this.logger;
|
|
2920
|
+
const request = yield oci_common_1.composeRequest({
|
|
2921
|
+
baseEndpoint: this._endpoint,
|
|
2922
|
+
defaultHeaders: this._defaultHeaders,
|
|
2923
|
+
path: "/databaseToolsIdentities",
|
|
2924
|
+
method: "GET",
|
|
2925
|
+
pathParams: pathParams,
|
|
2926
|
+
headerParams: headerParams,
|
|
2927
|
+
queryParams: queryParams
|
|
2928
|
+
});
|
|
2929
|
+
try {
|
|
2930
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2931
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2932
|
+
responseObject: {},
|
|
2933
|
+
body: yield response.json(),
|
|
2934
|
+
bodyKey: "databaseToolsIdentityCollection",
|
|
2935
|
+
bodyModel: model.DatabaseToolsIdentityCollection,
|
|
2936
|
+
type: "model.DatabaseToolsIdentityCollection",
|
|
2937
|
+
responseHeaders: [
|
|
2938
|
+
{
|
|
2939
|
+
value: response.headers.get("opc-request-id"),
|
|
2940
|
+
key: "opcRequestId",
|
|
2941
|
+
dataType: "string"
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
value: response.headers.get("opc-next-page"),
|
|
2945
|
+
key: "opcNextPage",
|
|
2946
|
+
dataType: "string"
|
|
2947
|
+
}
|
|
2948
|
+
]
|
|
2949
|
+
});
|
|
2950
|
+
return sdkResponse;
|
|
2951
|
+
}
|
|
2952
|
+
catch (err) {
|
|
2953
|
+
throw err;
|
|
2954
|
+
}
|
|
2955
|
+
});
|
|
2956
|
+
}
|
|
2957
|
+
/**
|
|
2958
|
+
* Returns a list of Database Tools MCP servers.
|
|
2959
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2960
|
+
* @param ListDatabaseToolsMcpServersRequest
|
|
2961
|
+
* @return ListDatabaseToolsMcpServersResponse
|
|
2962
|
+
* @throws OciError when an error occurs
|
|
2963
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsMcpServers.ts.html |here} to see how to use ListDatabaseToolsMcpServers API.
|
|
2964
|
+
*/
|
|
2965
|
+
listDatabaseToolsMcpServers(listDatabaseToolsMcpServersRequest) {
|
|
2966
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2967
|
+
if (this.logger)
|
|
2968
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsMcpServers.");
|
|
2969
|
+
const operationName = "listDatabaseToolsMcpServers";
|
|
2970
|
+
const apiReferenceLink = "";
|
|
2971
|
+
const pathParams = {};
|
|
2972
|
+
const queryParams = {
|
|
2973
|
+
"compartmentId": listDatabaseToolsMcpServersRequest.compartmentId,
|
|
2974
|
+
"lifecycleState": listDatabaseToolsMcpServersRequest.lifecycleState,
|
|
2975
|
+
"displayName": listDatabaseToolsMcpServersRequest.displayName,
|
|
2976
|
+
"databaseToolsConnectionId": listDatabaseToolsMcpServersRequest.databaseToolsConnectionId,
|
|
2977
|
+
"relatedResourceIdentifier": listDatabaseToolsMcpServersRequest.relatedResourceIdentifier,
|
|
2978
|
+
"limit": listDatabaseToolsMcpServersRequest.limit,
|
|
2979
|
+
"page": listDatabaseToolsMcpServersRequest.page,
|
|
2980
|
+
"sortOrder": listDatabaseToolsMcpServersRequest.sortOrder,
|
|
2981
|
+
"sortBy": listDatabaseToolsMcpServersRequest.sortBy,
|
|
2982
|
+
"type": listDatabaseToolsMcpServersRequest.type
|
|
2983
|
+
};
|
|
2984
|
+
let headerParams = {
|
|
2985
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2986
|
+
"opc-request-id": listDatabaseToolsMcpServersRequest.opcRequestId
|
|
2987
|
+
};
|
|
2988
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2989
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsMcpServersRequest.retryConfiguration, specRetryConfiguration);
|
|
2990
|
+
if (this.logger)
|
|
2991
|
+
retrier.logger = this.logger;
|
|
2992
|
+
const request = yield oci_common_1.composeRequest({
|
|
2993
|
+
baseEndpoint: this._endpoint,
|
|
2994
|
+
defaultHeaders: this._defaultHeaders,
|
|
2995
|
+
path: "/databaseToolsMcpServers",
|
|
2996
|
+
method: "GET",
|
|
2997
|
+
pathParams: pathParams,
|
|
2998
|
+
headerParams: headerParams,
|
|
2999
|
+
queryParams: queryParams
|
|
3000
|
+
});
|
|
3001
|
+
try {
|
|
3002
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3003
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3004
|
+
responseObject: {},
|
|
3005
|
+
body: yield response.json(),
|
|
3006
|
+
bodyKey: "databaseToolsMcpServerCollection",
|
|
3007
|
+
bodyModel: model.DatabaseToolsMcpServerCollection,
|
|
3008
|
+
type: "model.DatabaseToolsMcpServerCollection",
|
|
3009
|
+
responseHeaders: [
|
|
3010
|
+
{
|
|
3011
|
+
value: response.headers.get("opc-request-id"),
|
|
3012
|
+
key: "opcRequestId",
|
|
3013
|
+
dataType: "string"
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
value: response.headers.get("opc-next-page"),
|
|
3017
|
+
key: "opcNextPage",
|
|
3018
|
+
dataType: "string"
|
|
3019
|
+
}
|
|
3020
|
+
]
|
|
3021
|
+
});
|
|
3022
|
+
return sdkResponse;
|
|
3023
|
+
}
|
|
3024
|
+
catch (err) {
|
|
3025
|
+
throw err;
|
|
3026
|
+
}
|
|
3027
|
+
});
|
|
3028
|
+
}
|
|
3029
|
+
/**
|
|
3030
|
+
* Returns a list of Database Tools Toolset versions
|
|
3031
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3032
|
+
* @param ListDatabaseToolsMcpToolsetVersionsRequest
|
|
3033
|
+
* @return ListDatabaseToolsMcpToolsetVersionsResponse
|
|
3034
|
+
* @throws OciError when an error occurs
|
|
3035
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsMcpToolsetVersions.ts.html |here} to see how to use ListDatabaseToolsMcpToolsetVersions API.
|
|
3036
|
+
*/
|
|
3037
|
+
listDatabaseToolsMcpToolsetVersions(listDatabaseToolsMcpToolsetVersionsRequest) {
|
|
3038
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3039
|
+
if (this.logger)
|
|
3040
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsMcpToolsetVersions.");
|
|
3041
|
+
const operationName = "listDatabaseToolsMcpToolsetVersions";
|
|
3042
|
+
const apiReferenceLink = "";
|
|
3043
|
+
const pathParams = {};
|
|
3044
|
+
const queryParams = {
|
|
3045
|
+
"compartmentId": listDatabaseToolsMcpToolsetVersionsRequest.compartmentId,
|
|
3046
|
+
"databaseToolsMcpServerId": listDatabaseToolsMcpToolsetVersionsRequest.databaseToolsMcpServerId,
|
|
3047
|
+
"displayName": listDatabaseToolsMcpToolsetVersionsRequest.displayName
|
|
3048
|
+
};
|
|
3049
|
+
let headerParams = {
|
|
3050
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3051
|
+
"opc-request-id": listDatabaseToolsMcpToolsetVersionsRequest.opcRequestId
|
|
3052
|
+
};
|
|
3053
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3054
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsMcpToolsetVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
3055
|
+
if (this.logger)
|
|
3056
|
+
retrier.logger = this.logger;
|
|
3057
|
+
const request = yield oci_common_1.composeRequest({
|
|
3058
|
+
baseEndpoint: this._endpoint,
|
|
3059
|
+
defaultHeaders: this._defaultHeaders,
|
|
3060
|
+
path: "/databaseToolsMcpToolsetVersions",
|
|
3061
|
+
method: "GET",
|
|
3062
|
+
pathParams: pathParams,
|
|
3063
|
+
headerParams: headerParams,
|
|
3064
|
+
queryParams: queryParams
|
|
3065
|
+
});
|
|
3066
|
+
try {
|
|
3067
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3068
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3069
|
+
responseObject: {},
|
|
3070
|
+
body: yield response.json(),
|
|
3071
|
+
bodyKey: "databaseToolsMcpToolsetVersionCollection",
|
|
3072
|
+
bodyModel: model.DatabaseToolsMcpToolsetVersionCollection,
|
|
3073
|
+
type: "model.DatabaseToolsMcpToolsetVersionCollection",
|
|
3074
|
+
responseHeaders: [
|
|
3075
|
+
{
|
|
3076
|
+
value: response.headers.get("opc-request-id"),
|
|
3077
|
+
key: "opcRequestId",
|
|
3078
|
+
dataType: "string"
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
value: response.headers.get("opc-next-page"),
|
|
3082
|
+
key: "opcNextPage",
|
|
3083
|
+
dataType: "string"
|
|
3084
|
+
}
|
|
3085
|
+
]
|
|
3086
|
+
});
|
|
3087
|
+
return sdkResponse;
|
|
3088
|
+
}
|
|
3089
|
+
catch (err) {
|
|
3090
|
+
throw err;
|
|
3091
|
+
}
|
|
3092
|
+
});
|
|
3093
|
+
}
|
|
3094
|
+
/**
|
|
3095
|
+
* Returns a list of Database Tools Toolsets.
|
|
3096
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3097
|
+
* @param ListDatabaseToolsMcpToolsetsRequest
|
|
3098
|
+
* @return ListDatabaseToolsMcpToolsetsResponse
|
|
3099
|
+
* @throws OciError when an error occurs
|
|
3100
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsMcpToolsets.ts.html |here} to see how to use ListDatabaseToolsMcpToolsets API.
|
|
3101
|
+
*/
|
|
3102
|
+
listDatabaseToolsMcpToolsets(listDatabaseToolsMcpToolsetsRequest) {
|
|
3103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3104
|
+
if (this.logger)
|
|
3105
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsMcpToolsets.");
|
|
3106
|
+
const operationName = "listDatabaseToolsMcpToolsets";
|
|
3107
|
+
const apiReferenceLink = "";
|
|
3108
|
+
const pathParams = {};
|
|
3109
|
+
const queryParams = {
|
|
3110
|
+
"compartmentId": listDatabaseToolsMcpToolsetsRequest.compartmentId,
|
|
3111
|
+
"lifecycleState": listDatabaseToolsMcpToolsetsRequest.lifecycleState,
|
|
3112
|
+
"displayName": listDatabaseToolsMcpToolsetsRequest.displayName,
|
|
3113
|
+
"limit": listDatabaseToolsMcpToolsetsRequest.limit,
|
|
3114
|
+
"page": listDatabaseToolsMcpToolsetsRequest.page,
|
|
3115
|
+
"sortOrder": listDatabaseToolsMcpToolsetsRequest.sortOrder,
|
|
3116
|
+
"sortBy": listDatabaseToolsMcpToolsetsRequest.sortBy,
|
|
3117
|
+
"type": listDatabaseToolsMcpToolsetsRequest.type,
|
|
3118
|
+
"databaseToolsMcpServerId": listDatabaseToolsMcpToolsetsRequest.databaseToolsMcpServerId
|
|
3119
|
+
};
|
|
3120
|
+
let headerParams = {
|
|
3121
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3122
|
+
"opc-request-id": listDatabaseToolsMcpToolsetsRequest.opcRequestId
|
|
3123
|
+
};
|
|
3124
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3125
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsMcpToolsetsRequest.retryConfiguration, specRetryConfiguration);
|
|
3126
|
+
if (this.logger)
|
|
3127
|
+
retrier.logger = this.logger;
|
|
3128
|
+
const request = yield oci_common_1.composeRequest({
|
|
3129
|
+
baseEndpoint: this._endpoint,
|
|
3130
|
+
defaultHeaders: this._defaultHeaders,
|
|
3131
|
+
path: "/databaseToolsMcpToolsets",
|
|
3132
|
+
method: "GET",
|
|
3133
|
+
pathParams: pathParams,
|
|
3134
|
+
headerParams: headerParams,
|
|
3135
|
+
queryParams: queryParams
|
|
3136
|
+
});
|
|
3137
|
+
try {
|
|
3138
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3139
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3140
|
+
responseObject: {},
|
|
3141
|
+
body: yield response.json(),
|
|
3142
|
+
bodyKey: "databaseToolsMcpToolsetCollection",
|
|
3143
|
+
bodyModel: model.DatabaseToolsMcpToolsetCollection,
|
|
3144
|
+
type: "model.DatabaseToolsMcpToolsetCollection",
|
|
3145
|
+
responseHeaders: [
|
|
3146
|
+
{
|
|
3147
|
+
value: response.headers.get("opc-request-id"),
|
|
3148
|
+
key: "opcRequestId",
|
|
3149
|
+
dataType: "string"
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
value: response.headers.get("opc-next-page"),
|
|
3153
|
+
key: "opcNextPage",
|
|
3154
|
+
dataType: "string"
|
|
3155
|
+
}
|
|
3156
|
+
]
|
|
3157
|
+
});
|
|
3158
|
+
return sdkResponse;
|
|
3159
|
+
}
|
|
3160
|
+
catch (err) {
|
|
3161
|
+
throw err;
|
|
3162
|
+
}
|
|
3163
|
+
});
|
|
3164
|
+
}
|
|
3165
|
+
/**
|
|
3166
|
+
* Returns a list of Database Tools private endpoints.
|
|
3167
|
+
*
|
|
3168
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3169
|
+
* @param ListDatabaseToolsPrivateEndpointsRequest
|
|
3170
|
+
* @return ListDatabaseToolsPrivateEndpointsResponse
|
|
3171
|
+
* @throws OciError when an error occurs
|
|
3172
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsPrivateEndpoints.ts.html |here} to see how to use ListDatabaseToolsPrivateEndpoints API.
|
|
3173
|
+
*/
|
|
3174
|
+
listDatabaseToolsPrivateEndpoints(listDatabaseToolsPrivateEndpointsRequest) {
|
|
3175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3176
|
+
if (this.logger)
|
|
3177
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsPrivateEndpoints.");
|
|
3178
|
+
const operationName = "listDatabaseToolsPrivateEndpoints";
|
|
3179
|
+
const apiReferenceLink = "";
|
|
3180
|
+
const pathParams = {};
|
|
3181
|
+
const queryParams = {
|
|
3182
|
+
"compartmentId": listDatabaseToolsPrivateEndpointsRequest.compartmentId,
|
|
3183
|
+
"subnetId": listDatabaseToolsPrivateEndpointsRequest.subnetId,
|
|
3184
|
+
"limit": listDatabaseToolsPrivateEndpointsRequest.limit,
|
|
3185
|
+
"page": listDatabaseToolsPrivateEndpointsRequest.page,
|
|
3186
|
+
"sortOrder": listDatabaseToolsPrivateEndpointsRequest.sortOrder,
|
|
3187
|
+
"sortBy": listDatabaseToolsPrivateEndpointsRequest.sortBy,
|
|
3188
|
+
"endpointServiceId": listDatabaseToolsPrivateEndpointsRequest.endpointServiceId,
|
|
3189
|
+
"lifecycleState": listDatabaseToolsPrivateEndpointsRequest.lifecycleState,
|
|
3190
|
+
"displayName": listDatabaseToolsPrivateEndpointsRequest.displayName
|
|
3191
|
+
};
|
|
3192
|
+
let headerParams = {
|
|
3193
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3194
|
+
"opc-request-id": listDatabaseToolsPrivateEndpointsRequest.opcRequestId
|
|
3195
|
+
};
|
|
3196
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3197
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsPrivateEndpointsRequest.retryConfiguration, specRetryConfiguration);
|
|
3198
|
+
if (this.logger)
|
|
3199
|
+
retrier.logger = this.logger;
|
|
3200
|
+
const request = yield oci_common_1.composeRequest({
|
|
3201
|
+
baseEndpoint: this._endpoint,
|
|
3202
|
+
defaultHeaders: this._defaultHeaders,
|
|
3203
|
+
path: "/databaseToolsPrivateEndpoints",
|
|
3204
|
+
method: "GET",
|
|
3205
|
+
pathParams: pathParams,
|
|
3206
|
+
headerParams: headerParams,
|
|
3207
|
+
queryParams: queryParams
|
|
3208
|
+
});
|
|
3209
|
+
try {
|
|
3210
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3211
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3212
|
+
responseObject: {},
|
|
3213
|
+
body: yield response.json(),
|
|
3214
|
+
bodyKey: "databaseToolsPrivateEndpointCollection",
|
|
3215
|
+
bodyModel: model.DatabaseToolsPrivateEndpointCollection,
|
|
3216
|
+
type: "model.DatabaseToolsPrivateEndpointCollection",
|
|
3217
|
+
responseHeaders: [
|
|
3218
|
+
{
|
|
3219
|
+
value: response.headers.get("opc-request-id"),
|
|
3220
|
+
key: "opcRequestId",
|
|
3221
|
+
dataType: "string"
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
value: response.headers.get("opc-next-page"),
|
|
3225
|
+
key: "opcNextPage",
|
|
3226
|
+
dataType: "string"
|
|
3227
|
+
}
|
|
3228
|
+
]
|
|
3229
|
+
});
|
|
3230
|
+
return sdkResponse;
|
|
3231
|
+
}
|
|
3232
|
+
catch (err) {
|
|
3233
|
+
throw err;
|
|
3234
|
+
}
|
|
3235
|
+
});
|
|
3236
|
+
}
|
|
3237
|
+
/**
|
|
3238
|
+
* Returns a list of Database Tools SQL reports.
|
|
3239
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3240
|
+
* @param ListDatabaseToolsSqlReportsRequest
|
|
3241
|
+
* @return ListDatabaseToolsSqlReportsResponse
|
|
3242
|
+
* @throws OciError when an error occurs
|
|
3243
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListDatabaseToolsSqlReports.ts.html |here} to see how to use ListDatabaseToolsSqlReports API.
|
|
3244
|
+
*/
|
|
3245
|
+
listDatabaseToolsSqlReports(listDatabaseToolsSqlReportsRequest) {
|
|
3246
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3247
|
+
if (this.logger)
|
|
3248
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listDatabaseToolsSqlReports.");
|
|
3249
|
+
const operationName = "listDatabaseToolsSqlReports";
|
|
3250
|
+
const apiReferenceLink = "";
|
|
3251
|
+
const pathParams = {};
|
|
3252
|
+
const queryParams = {
|
|
3253
|
+
"compartmentId": listDatabaseToolsSqlReportsRequest.compartmentId,
|
|
3254
|
+
"lifecycleState": listDatabaseToolsSqlReportsRequest.lifecycleState,
|
|
3255
|
+
"displayName": listDatabaseToolsSqlReportsRequest.displayName,
|
|
3256
|
+
"limit": listDatabaseToolsSqlReportsRequest.limit,
|
|
3257
|
+
"page": listDatabaseToolsSqlReportsRequest.page,
|
|
3258
|
+
"sortOrder": listDatabaseToolsSqlReportsRequest.sortOrder,
|
|
3259
|
+
"sortBy": listDatabaseToolsSqlReportsRequest.sortBy,
|
|
3260
|
+
"type": listDatabaseToolsSqlReportsRequest.type
|
|
3261
|
+
};
|
|
3262
|
+
let headerParams = {
|
|
3263
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3264
|
+
"opc-request-id": listDatabaseToolsSqlReportsRequest.opcRequestId
|
|
3265
|
+
};
|
|
3266
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3267
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDatabaseToolsSqlReportsRequest.retryConfiguration, specRetryConfiguration);
|
|
3268
|
+
if (this.logger)
|
|
3269
|
+
retrier.logger = this.logger;
|
|
3270
|
+
const request = yield oci_common_1.composeRequest({
|
|
3271
|
+
baseEndpoint: this._endpoint,
|
|
3272
|
+
defaultHeaders: this._defaultHeaders,
|
|
3273
|
+
path: "/databaseToolsSqlReports",
|
|
3274
|
+
method: "GET",
|
|
3275
|
+
pathParams: pathParams,
|
|
3276
|
+
headerParams: headerParams,
|
|
3277
|
+
queryParams: queryParams
|
|
3278
|
+
});
|
|
3279
|
+
try {
|
|
3280
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3281
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3282
|
+
responseObject: {},
|
|
3283
|
+
body: yield response.json(),
|
|
3284
|
+
bodyKey: "databaseToolsSqlReportCollection",
|
|
3285
|
+
bodyModel: model.DatabaseToolsSqlReportCollection,
|
|
3286
|
+
type: "model.DatabaseToolsSqlReportCollection",
|
|
3287
|
+
responseHeaders: [
|
|
3288
|
+
{
|
|
3289
|
+
value: response.headers.get("opc-request-id"),
|
|
3290
|
+
key: "opcRequestId",
|
|
3291
|
+
dataType: "string"
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
value: response.headers.get("opc-next-page"),
|
|
3295
|
+
key: "opcNextPage",
|
|
3296
|
+
dataType: "string"
|
|
3297
|
+
}
|
|
3298
|
+
]
|
|
3299
|
+
});
|
|
3300
|
+
return sdkResponse;
|
|
3301
|
+
}
|
|
3302
|
+
catch (err) {
|
|
3303
|
+
throw err;
|
|
3304
|
+
}
|
|
3305
|
+
});
|
|
3306
|
+
}
|
|
3307
|
+
/**
|
|
3308
|
+
* Returns a paginated list of errors for the specified work request.
|
|
3309
|
+
*
|
|
3310
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3311
|
+
* @param ListWorkRequestErrorsRequest
|
|
3312
|
+
* @return ListWorkRequestErrorsResponse
|
|
3313
|
+
* @throws OciError when an error occurs
|
|
3314
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3315
|
+
*/
|
|
3316
|
+
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1272
3317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1273
3318
|
if (this.logger)
|
|
1274
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1275
|
-
const operationName = "
|
|
1276
|
-
const apiReferenceLink = "
|
|
3319
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listWorkRequestErrors.");
|
|
3320
|
+
const operationName = "listWorkRequestErrors";
|
|
3321
|
+
const apiReferenceLink = "";
|
|
1277
3322
|
const pathParams = {
|
|
1278
|
-
"{workRequestId}":
|
|
3323
|
+
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
3324
|
+
};
|
|
3325
|
+
const queryParams = {
|
|
3326
|
+
"sortOrder": listWorkRequestErrorsRequest.sortOrder,
|
|
3327
|
+
"sortBy": listWorkRequestErrorsRequest.sortBy,
|
|
3328
|
+
"page": listWorkRequestErrorsRequest.page,
|
|
3329
|
+
"limit": listWorkRequestErrorsRequest.limit
|
|
1279
3330
|
};
|
|
1280
|
-
const queryParams = {};
|
|
1281
3331
|
let headerParams = {
|
|
1282
3332
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1283
|
-
"opc-request-id":
|
|
3333
|
+
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1284
3334
|
};
|
|
1285
3335
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1286
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3336
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1287
3337
|
if (this.logger)
|
|
1288
3338
|
retrier.logger = this.logger;
|
|
1289
3339
|
const request = yield oci_common_1.composeRequest({
|
|
1290
3340
|
baseEndpoint: this._endpoint,
|
|
1291
3341
|
defaultHeaders: this._defaultHeaders,
|
|
1292
|
-
path: "/workRequests/{workRequestId}",
|
|
3342
|
+
path: "/workRequests/{workRequestId}/errors",
|
|
1293
3343
|
method: "GET",
|
|
1294
3344
|
pathParams: pathParams,
|
|
1295
3345
|
headerParams: headerParams,
|
|
@@ -1300,19 +3350,88 @@ class DatabaseToolsClient {
|
|
|
1300
3350
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1301
3351
|
responseObject: {},
|
|
1302
3352
|
body: yield response.json(),
|
|
1303
|
-
bodyKey: "
|
|
1304
|
-
bodyModel: model.
|
|
1305
|
-
type: "model.
|
|
3353
|
+
bodyKey: "workRequestErrorCollection",
|
|
3354
|
+
bodyModel: model.WorkRequestErrorCollection,
|
|
3355
|
+
type: "model.WorkRequestErrorCollection",
|
|
1306
3356
|
responseHeaders: [
|
|
3357
|
+
{
|
|
3358
|
+
value: response.headers.get("opc-next-page"),
|
|
3359
|
+
key: "opcNextPage",
|
|
3360
|
+
dataType: "string"
|
|
3361
|
+
},
|
|
1307
3362
|
{
|
|
1308
3363
|
value: response.headers.get("opc-request-id"),
|
|
1309
3364
|
key: "opcRequestId",
|
|
1310
3365
|
dataType: "string"
|
|
3366
|
+
}
|
|
3367
|
+
]
|
|
3368
|
+
});
|
|
3369
|
+
return sdkResponse;
|
|
3370
|
+
}
|
|
3371
|
+
catch (err) {
|
|
3372
|
+
throw err;
|
|
3373
|
+
}
|
|
3374
|
+
});
|
|
3375
|
+
}
|
|
3376
|
+
/**
|
|
3377
|
+
* Returns a paginated list of logs for the specified work request.
|
|
3378
|
+
*
|
|
3379
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3380
|
+
* @param ListWorkRequestLogsRequest
|
|
3381
|
+
* @return ListWorkRequestLogsResponse
|
|
3382
|
+
* @throws OciError when an error occurs
|
|
3383
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3384
|
+
*/
|
|
3385
|
+
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3386
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3387
|
+
if (this.logger)
|
|
3388
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listWorkRequestLogs.");
|
|
3389
|
+
const operationName = "listWorkRequestLogs";
|
|
3390
|
+
const apiReferenceLink = "";
|
|
3391
|
+
const pathParams = {
|
|
3392
|
+
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
3393
|
+
};
|
|
3394
|
+
const queryParams = {
|
|
3395
|
+
"sortOrder": listWorkRequestLogsRequest.sortOrder,
|
|
3396
|
+
"sortBy": listWorkRequestLogsRequest.sortBy,
|
|
3397
|
+
"page": listWorkRequestLogsRequest.page,
|
|
3398
|
+
"limit": listWorkRequestLogsRequest.limit
|
|
3399
|
+
};
|
|
3400
|
+
let headerParams = {
|
|
3401
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3402
|
+
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
3403
|
+
};
|
|
3404
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3405
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3406
|
+
if (this.logger)
|
|
3407
|
+
retrier.logger = this.logger;
|
|
3408
|
+
const request = yield oci_common_1.composeRequest({
|
|
3409
|
+
baseEndpoint: this._endpoint,
|
|
3410
|
+
defaultHeaders: this._defaultHeaders,
|
|
3411
|
+
path: "/workRequests/{workRequestId}/logs",
|
|
3412
|
+
method: "GET",
|
|
3413
|
+
pathParams: pathParams,
|
|
3414
|
+
headerParams: headerParams,
|
|
3415
|
+
queryParams: queryParams
|
|
3416
|
+
});
|
|
3417
|
+
try {
|
|
3418
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3419
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3420
|
+
responseObject: {},
|
|
3421
|
+
body: yield response.json(),
|
|
3422
|
+
bodyKey: "workRequestLogEntryCollection",
|
|
3423
|
+
bodyModel: model.WorkRequestLogEntryCollection,
|
|
3424
|
+
type: "model.WorkRequestLogEntryCollection",
|
|
3425
|
+
responseHeaders: [
|
|
3426
|
+
{
|
|
3427
|
+
value: response.headers.get("opc-next-page"),
|
|
3428
|
+
key: "opcNextPage",
|
|
3429
|
+
dataType: "string"
|
|
1311
3430
|
},
|
|
1312
3431
|
{
|
|
1313
|
-
value: response.headers.get("
|
|
1314
|
-
key: "
|
|
1315
|
-
dataType: "
|
|
3432
|
+
value: response.headers.get("opc-request-id"),
|
|
3433
|
+
key: "opcRequestId",
|
|
3434
|
+
dataType: "string"
|
|
1316
3435
|
}
|
|
1317
3436
|
]
|
|
1318
3437
|
});
|
|
@@ -1324,47 +3443,169 @@ class DatabaseToolsClient {
|
|
|
1324
3443
|
});
|
|
1325
3444
|
}
|
|
1326
3445
|
/**
|
|
1327
|
-
*
|
|
3446
|
+
* Lists the work requests in a compartment.
|
|
1328
3447
|
*
|
|
1329
3448
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1330
|
-
* @param
|
|
1331
|
-
* @return
|
|
3449
|
+
* @param ListWorkRequestsRequest
|
|
3450
|
+
* @return ListWorkRequestsResponse
|
|
3451
|
+
* @throws OciError when an error occurs
|
|
3452
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3453
|
+
*/
|
|
3454
|
+
listWorkRequests(listWorkRequestsRequest) {
|
|
3455
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3456
|
+
if (this.logger)
|
|
3457
|
+
this.logger.debug("Calling operation DatabaseToolsClient#listWorkRequests.");
|
|
3458
|
+
const operationName = "listWorkRequests";
|
|
3459
|
+
const apiReferenceLink = "";
|
|
3460
|
+
const pathParams = {};
|
|
3461
|
+
const queryParams = {
|
|
3462
|
+
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
3463
|
+
"resourceIdentifier": listWorkRequestsRequest.resourceIdentifier,
|
|
3464
|
+
"sortOrder": listWorkRequestsRequest.sortOrder,
|
|
3465
|
+
"sortBy": listWorkRequestsRequest.sortBy,
|
|
3466
|
+
"page": listWorkRequestsRequest.page,
|
|
3467
|
+
"limit": listWorkRequestsRequest.limit
|
|
3468
|
+
};
|
|
3469
|
+
let headerParams = {
|
|
3470
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3471
|
+
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
3472
|
+
};
|
|
3473
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3474
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3475
|
+
if (this.logger)
|
|
3476
|
+
retrier.logger = this.logger;
|
|
3477
|
+
const request = yield oci_common_1.composeRequest({
|
|
3478
|
+
baseEndpoint: this._endpoint,
|
|
3479
|
+
defaultHeaders: this._defaultHeaders,
|
|
3480
|
+
path: "/workRequests",
|
|
3481
|
+
method: "GET",
|
|
3482
|
+
pathParams: pathParams,
|
|
3483
|
+
headerParams: headerParams,
|
|
3484
|
+
queryParams: queryParams
|
|
3485
|
+
});
|
|
3486
|
+
try {
|
|
3487
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3488
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3489
|
+
responseObject: {},
|
|
3490
|
+
body: yield response.json(),
|
|
3491
|
+
bodyKey: "workRequestCollection",
|
|
3492
|
+
bodyModel: model.WorkRequestCollection,
|
|
3493
|
+
type: "model.WorkRequestCollection",
|
|
3494
|
+
responseHeaders: [
|
|
3495
|
+
{
|
|
3496
|
+
value: response.headers.get("opc-request-id"),
|
|
3497
|
+
key: "opcRequestId",
|
|
3498
|
+
dataType: "string"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
value: response.headers.get("opc-next-page"),
|
|
3502
|
+
key: "opcNextPage",
|
|
3503
|
+
dataType: "string"
|
|
3504
|
+
}
|
|
3505
|
+
]
|
|
3506
|
+
});
|
|
3507
|
+
return sdkResponse;
|
|
3508
|
+
}
|
|
3509
|
+
catch (err) {
|
|
3510
|
+
throw err;
|
|
3511
|
+
}
|
|
3512
|
+
});
|
|
3513
|
+
}
|
|
3514
|
+
/**
|
|
3515
|
+
* Refresh Database Tools identity credential.
|
|
3516
|
+
*
|
|
3517
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3518
|
+
* @param RefreshDatabaseToolsIdentityCredentialRequest
|
|
3519
|
+
* @return RefreshDatabaseToolsIdentityCredentialResponse
|
|
3520
|
+
* @throws OciError when an error occurs
|
|
3521
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/RefreshDatabaseToolsIdentityCredential.ts.html |here} to see how to use RefreshDatabaseToolsIdentityCredential API.
|
|
3522
|
+
*/
|
|
3523
|
+
refreshDatabaseToolsIdentityCredential(refreshDatabaseToolsIdentityCredentialRequest) {
|
|
3524
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3525
|
+
if (this.logger)
|
|
3526
|
+
this.logger.debug("Calling operation DatabaseToolsClient#refreshDatabaseToolsIdentityCredential.");
|
|
3527
|
+
const operationName = "refreshDatabaseToolsIdentityCredential";
|
|
3528
|
+
const apiReferenceLink = "";
|
|
3529
|
+
const pathParams = {
|
|
3530
|
+
"{databaseToolsIdentityId}": refreshDatabaseToolsIdentityCredentialRequest.databaseToolsIdentityId
|
|
3531
|
+
};
|
|
3532
|
+
const queryParams = {};
|
|
3533
|
+
let headerParams = {
|
|
3534
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3535
|
+
"if-match": refreshDatabaseToolsIdentityCredentialRequest.ifMatch,
|
|
3536
|
+
"opc-request-id": refreshDatabaseToolsIdentityCredentialRequest.opcRequestId
|
|
3537
|
+
};
|
|
3538
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3539
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, refreshDatabaseToolsIdentityCredentialRequest.retryConfiguration, specRetryConfiguration);
|
|
3540
|
+
if (this.logger)
|
|
3541
|
+
retrier.logger = this.logger;
|
|
3542
|
+
const request = yield oci_common_1.composeRequest({
|
|
3543
|
+
baseEndpoint: this._endpoint,
|
|
3544
|
+
defaultHeaders: this._defaultHeaders,
|
|
3545
|
+
path: "/databaseToolsIdentities/{databaseToolsIdentityId}/actions/refreshCredential",
|
|
3546
|
+
method: "POST",
|
|
3547
|
+
bodyContent: common.ObjectSerializer.serialize(refreshDatabaseToolsIdentityCredentialRequest.refreshDatabaseToolsIdentityCredentialDetails, "RefreshDatabaseToolsIdentityCredentialDetails", model.RefreshDatabaseToolsIdentityCredentialDetails.getJsonObj),
|
|
3548
|
+
pathParams: pathParams,
|
|
3549
|
+
headerParams: headerParams,
|
|
3550
|
+
queryParams: queryParams
|
|
3551
|
+
});
|
|
3552
|
+
try {
|
|
3553
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3554
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3555
|
+
responseObject: {},
|
|
3556
|
+
responseHeaders: [
|
|
3557
|
+
{
|
|
3558
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3559
|
+
key: "opcWorkRequestId",
|
|
3560
|
+
dataType: "string"
|
|
3561
|
+
},
|
|
3562
|
+
{
|
|
3563
|
+
value: response.headers.get("opc-request-id"),
|
|
3564
|
+
key: "opcRequestId",
|
|
3565
|
+
dataType: "string"
|
|
3566
|
+
}
|
|
3567
|
+
]
|
|
3568
|
+
});
|
|
3569
|
+
return sdkResponse;
|
|
3570
|
+
}
|
|
3571
|
+
catch (err) {
|
|
3572
|
+
throw err;
|
|
3573
|
+
}
|
|
3574
|
+
});
|
|
3575
|
+
}
|
|
3576
|
+
/**
|
|
3577
|
+
* Removes a lock from a DatabaseToolsConnection resource.
|
|
3578
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3579
|
+
* @param RemoveDatabaseToolsConnectionLockRequest
|
|
3580
|
+
* @return RemoveDatabaseToolsConnectionLockResponse
|
|
1332
3581
|
* @throws OciError when an error occurs
|
|
1333
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
3582
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/RemoveDatabaseToolsConnectionLock.ts.html |here} to see how to use RemoveDatabaseToolsConnectionLock API.
|
|
1334
3583
|
*/
|
|
1335
|
-
|
|
3584
|
+
removeDatabaseToolsConnectionLock(removeDatabaseToolsConnectionLockRequest) {
|
|
1336
3585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1337
3586
|
if (this.logger)
|
|
1338
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1339
|
-
const operationName = "
|
|
1340
|
-
const apiReferenceLink = "
|
|
1341
|
-
const pathParams = {
|
|
1342
|
-
|
|
1343
|
-
"compartmentId": listDatabaseToolsConnectionsRequest.compartmentId,
|
|
1344
|
-
"lifecycleState": listDatabaseToolsConnectionsRequest.lifecycleState,
|
|
1345
|
-
"displayName": listDatabaseToolsConnectionsRequest.displayName,
|
|
1346
|
-
"type": listDatabaseToolsConnectionsRequest.type,
|
|
1347
|
-
"runtimeSupport": listDatabaseToolsConnectionsRequest.runtimeSupport,
|
|
1348
|
-
"runtimeIdentity": listDatabaseToolsConnectionsRequest.runtimeIdentity,
|
|
1349
|
-
"relatedResourceIdentifier": listDatabaseToolsConnectionsRequest.relatedResourceIdentifier,
|
|
1350
|
-
"limit": listDatabaseToolsConnectionsRequest.limit,
|
|
1351
|
-
"page": listDatabaseToolsConnectionsRequest.page,
|
|
1352
|
-
"sortOrder": listDatabaseToolsConnectionsRequest.sortOrder,
|
|
1353
|
-
"sortBy": listDatabaseToolsConnectionsRequest.sortBy
|
|
3587
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsConnectionLock.");
|
|
3588
|
+
const operationName = "removeDatabaseToolsConnectionLock";
|
|
3589
|
+
const apiReferenceLink = "";
|
|
3590
|
+
const pathParams = {
|
|
3591
|
+
"{databaseToolsConnectionId}": removeDatabaseToolsConnectionLockRequest.databaseToolsConnectionId
|
|
1354
3592
|
};
|
|
3593
|
+
const queryParams = {};
|
|
1355
3594
|
let headerParams = {
|
|
1356
3595
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1357
|
-
"opc-request-id":
|
|
3596
|
+
"opc-request-id": removeDatabaseToolsConnectionLockRequest.opcRequestId,
|
|
3597
|
+
"if-match": removeDatabaseToolsConnectionLockRequest.ifMatch
|
|
1358
3598
|
};
|
|
1359
|
-
const specRetryConfiguration = common.
|
|
1360
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3599
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3600
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsConnectionLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1361
3601
|
if (this.logger)
|
|
1362
3602
|
retrier.logger = this.logger;
|
|
1363
3603
|
const request = yield oci_common_1.composeRequest({
|
|
1364
3604
|
baseEndpoint: this._endpoint,
|
|
1365
3605
|
defaultHeaders: this._defaultHeaders,
|
|
1366
|
-
path: "/databaseToolsConnections",
|
|
1367
|
-
method: "
|
|
3606
|
+
path: "/databaseToolsConnections/{databaseToolsConnectionId}/actions/removeLock",
|
|
3607
|
+
method: "POST",
|
|
3608
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsConnectionLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1368
3609
|
pathParams: pathParams,
|
|
1369
3610
|
headerParams: headerParams,
|
|
1370
3611
|
queryParams: queryParams
|
|
@@ -1374,9 +3615,9 @@ class DatabaseToolsClient {
|
|
|
1374
3615
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1375
3616
|
responseObject: {},
|
|
1376
3617
|
body: yield response.json(),
|
|
1377
|
-
bodyKey: "
|
|
1378
|
-
bodyModel: model.
|
|
1379
|
-
type: "model.
|
|
3618
|
+
bodyKey: "databaseToolsConnection",
|
|
3619
|
+
bodyModel: model.DatabaseToolsConnection,
|
|
3620
|
+
type: "model.DatabaseToolsConnection",
|
|
1380
3621
|
responseHeaders: [
|
|
1381
3622
|
{
|
|
1382
3623
|
value: response.headers.get("opc-request-id"),
|
|
@@ -1384,8 +3625,8 @@ class DatabaseToolsClient {
|
|
|
1384
3625
|
dataType: "string"
|
|
1385
3626
|
},
|
|
1386
3627
|
{
|
|
1387
|
-
value: response.headers.get("
|
|
1388
|
-
key: "
|
|
3628
|
+
value: response.headers.get("etag"),
|
|
3629
|
+
key: "etag",
|
|
1389
3630
|
dataType: "string"
|
|
1390
3631
|
}
|
|
1391
3632
|
]
|
|
@@ -1398,44 +3639,38 @@ class DatabaseToolsClient {
|
|
|
1398
3639
|
});
|
|
1399
3640
|
}
|
|
1400
3641
|
/**
|
|
1401
|
-
*
|
|
1402
|
-
*
|
|
1403
|
-
*
|
|
1404
|
-
* @
|
|
1405
|
-
* @return ListDatabaseToolsEndpointServicesResponse
|
|
3642
|
+
* Removes a lock from a DatabaseToolsDatabaseApiGatewayConfig resource.
|
|
3643
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3644
|
+
* @param RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest
|
|
3645
|
+
* @return RemoveDatabaseToolsDatabaseApiGatewayConfigLockResponse
|
|
1406
3646
|
* @throws OciError when an error occurs
|
|
1407
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
3647
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/RemoveDatabaseToolsDatabaseApiGatewayConfigLock.ts.html |here} to see how to use RemoveDatabaseToolsDatabaseApiGatewayConfigLock API.
|
|
1408
3648
|
*/
|
|
1409
|
-
|
|
3649
|
+
removeDatabaseToolsDatabaseApiGatewayConfigLock(removeDatabaseToolsDatabaseApiGatewayConfigLockRequest) {
|
|
1410
3650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1411
3651
|
if (this.logger)
|
|
1412
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1413
|
-
const operationName = "
|
|
1414
|
-
const apiReferenceLink = "
|
|
1415
|
-
const pathParams = {
|
|
1416
|
-
|
|
1417
|
-
"compartmentId": listDatabaseToolsEndpointServicesRequest.compartmentId,
|
|
1418
|
-
"limit": listDatabaseToolsEndpointServicesRequest.limit,
|
|
1419
|
-
"page": listDatabaseToolsEndpointServicesRequest.page,
|
|
1420
|
-
"sortOrder": listDatabaseToolsEndpointServicesRequest.sortOrder,
|
|
1421
|
-
"sortBy": listDatabaseToolsEndpointServicesRequest.sortBy,
|
|
1422
|
-
"lifecycleState": listDatabaseToolsEndpointServicesRequest.lifecycleState,
|
|
1423
|
-
"displayName": listDatabaseToolsEndpointServicesRequest.displayName,
|
|
1424
|
-
"name": listDatabaseToolsEndpointServicesRequest.name
|
|
3652
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsDatabaseApiGatewayConfigLock.");
|
|
3653
|
+
const operationName = "removeDatabaseToolsDatabaseApiGatewayConfigLock";
|
|
3654
|
+
const apiReferenceLink = "";
|
|
3655
|
+
const pathParams = {
|
|
3656
|
+
"{databaseToolsDatabaseApiGatewayConfigId}": removeDatabaseToolsDatabaseApiGatewayConfigLockRequest.databaseToolsDatabaseApiGatewayConfigId
|
|
1425
3657
|
};
|
|
3658
|
+
const queryParams = {};
|
|
1426
3659
|
let headerParams = {
|
|
1427
3660
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1428
|
-
"opc-request-id":
|
|
3661
|
+
"opc-request-id": removeDatabaseToolsDatabaseApiGatewayConfigLockRequest.opcRequestId,
|
|
3662
|
+
"if-match": removeDatabaseToolsDatabaseApiGatewayConfigLockRequest.ifMatch
|
|
1429
3663
|
};
|
|
1430
|
-
const specRetryConfiguration = common.
|
|
1431
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3664
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3665
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsDatabaseApiGatewayConfigLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1432
3666
|
if (this.logger)
|
|
1433
3667
|
retrier.logger = this.logger;
|
|
1434
3668
|
const request = yield oci_common_1.composeRequest({
|
|
1435
3669
|
baseEndpoint: this._endpoint,
|
|
1436
3670
|
defaultHeaders: this._defaultHeaders,
|
|
1437
|
-
path: "/
|
|
1438
|
-
method: "
|
|
3671
|
+
path: "/databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}/actions/removeLock",
|
|
3672
|
+
method: "POST",
|
|
3673
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsDatabaseApiGatewayConfigLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1439
3674
|
pathParams: pathParams,
|
|
1440
3675
|
headerParams: headerParams,
|
|
1441
3676
|
queryParams: queryParams
|
|
@@ -1445,9 +3680,9 @@ class DatabaseToolsClient {
|
|
|
1445
3680
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1446
3681
|
responseObject: {},
|
|
1447
3682
|
body: yield response.json(),
|
|
1448
|
-
bodyKey: "
|
|
1449
|
-
bodyModel: model.
|
|
1450
|
-
type: "model.
|
|
3683
|
+
bodyKey: "databaseToolsDatabaseApiGatewayConfig",
|
|
3684
|
+
bodyModel: model.DatabaseToolsDatabaseApiGatewayConfig,
|
|
3685
|
+
type: "model.DatabaseToolsDatabaseApiGatewayConfig",
|
|
1451
3686
|
responseHeaders: [
|
|
1452
3687
|
{
|
|
1453
3688
|
value: response.headers.get("opc-request-id"),
|
|
@@ -1455,8 +3690,8 @@ class DatabaseToolsClient {
|
|
|
1455
3690
|
dataType: "string"
|
|
1456
3691
|
},
|
|
1457
3692
|
{
|
|
1458
|
-
value: response.headers.get("
|
|
1459
|
-
key: "
|
|
3693
|
+
value: response.headers.get("etag"),
|
|
3694
|
+
key: "etag",
|
|
1460
3695
|
dataType: "string"
|
|
1461
3696
|
}
|
|
1462
3697
|
]
|
|
@@ -1469,44 +3704,38 @@ class DatabaseToolsClient {
|
|
|
1469
3704
|
});
|
|
1470
3705
|
}
|
|
1471
3706
|
/**
|
|
1472
|
-
*
|
|
1473
|
-
* This operation
|
|
1474
|
-
* @param
|
|
1475
|
-
* @return
|
|
3707
|
+
* Removes a lock from a DatabaseToolsIdentity resource.
|
|
3708
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3709
|
+
* @param RemoveDatabaseToolsIdentityLockRequest
|
|
3710
|
+
* @return RemoveDatabaseToolsIdentityLockResponse
|
|
1476
3711
|
* @throws OciError when an error occurs
|
|
1477
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
3712
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/RemoveDatabaseToolsIdentityLock.ts.html |here} to see how to use RemoveDatabaseToolsIdentityLock API.
|
|
1478
3713
|
*/
|
|
1479
|
-
|
|
3714
|
+
removeDatabaseToolsIdentityLock(removeDatabaseToolsIdentityLockRequest) {
|
|
1480
3715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1481
3716
|
if (this.logger)
|
|
1482
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1483
|
-
const operationName = "
|
|
1484
|
-
const apiReferenceLink = "
|
|
1485
|
-
const pathParams = {
|
|
1486
|
-
|
|
1487
|
-
"compartmentId": listDatabaseToolsIdentitiesRequest.compartmentId,
|
|
1488
|
-
"lifecycleState": listDatabaseToolsIdentitiesRequest.lifecycleState,
|
|
1489
|
-
"displayName": listDatabaseToolsIdentitiesRequest.displayName,
|
|
1490
|
-
"databaseToolsConnectionId": listDatabaseToolsIdentitiesRequest.databaseToolsConnectionId,
|
|
1491
|
-
"limit": listDatabaseToolsIdentitiesRequest.limit,
|
|
1492
|
-
"page": listDatabaseToolsIdentitiesRequest.page,
|
|
1493
|
-
"sortOrder": listDatabaseToolsIdentitiesRequest.sortOrder,
|
|
1494
|
-
"sortBy": listDatabaseToolsIdentitiesRequest.sortBy,
|
|
1495
|
-
"type": listDatabaseToolsIdentitiesRequest.type
|
|
3717
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsIdentityLock.");
|
|
3718
|
+
const operationName = "removeDatabaseToolsIdentityLock";
|
|
3719
|
+
const apiReferenceLink = "";
|
|
3720
|
+
const pathParams = {
|
|
3721
|
+
"{databaseToolsIdentityId}": removeDatabaseToolsIdentityLockRequest.databaseToolsIdentityId
|
|
1496
3722
|
};
|
|
3723
|
+
const queryParams = {};
|
|
1497
3724
|
let headerParams = {
|
|
1498
3725
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1499
|
-
"opc-request-id":
|
|
3726
|
+
"opc-request-id": removeDatabaseToolsIdentityLockRequest.opcRequestId,
|
|
3727
|
+
"if-match": removeDatabaseToolsIdentityLockRequest.ifMatch
|
|
1500
3728
|
};
|
|
1501
|
-
const specRetryConfiguration = common.
|
|
1502
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3729
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3730
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsIdentityLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1503
3731
|
if (this.logger)
|
|
1504
3732
|
retrier.logger = this.logger;
|
|
1505
3733
|
const request = yield oci_common_1.composeRequest({
|
|
1506
3734
|
baseEndpoint: this._endpoint,
|
|
1507
3735
|
defaultHeaders: this._defaultHeaders,
|
|
1508
|
-
path: "/databaseToolsIdentities",
|
|
1509
|
-
method: "
|
|
3736
|
+
path: "/databaseToolsIdentities/{databaseToolsIdentityId}/actions/removeLock",
|
|
3737
|
+
method: "POST",
|
|
3738
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsIdentityLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1510
3739
|
pathParams: pathParams,
|
|
1511
3740
|
headerParams: headerParams,
|
|
1512
3741
|
queryParams: queryParams
|
|
@@ -1516,9 +3745,9 @@ class DatabaseToolsClient {
|
|
|
1516
3745
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1517
3746
|
responseObject: {},
|
|
1518
3747
|
body: yield response.json(),
|
|
1519
|
-
bodyKey: "
|
|
1520
|
-
bodyModel: model.
|
|
1521
|
-
type: "model.
|
|
3748
|
+
bodyKey: "databaseToolsIdentity",
|
|
3749
|
+
bodyModel: model.DatabaseToolsIdentity,
|
|
3750
|
+
type: "model.DatabaseToolsIdentity",
|
|
1522
3751
|
responseHeaders: [
|
|
1523
3752
|
{
|
|
1524
3753
|
value: response.headers.get("opc-request-id"),
|
|
@@ -1526,8 +3755,8 @@ class DatabaseToolsClient {
|
|
|
1526
3755
|
dataType: "string"
|
|
1527
3756
|
},
|
|
1528
3757
|
{
|
|
1529
|
-
value: response.headers.get("
|
|
1530
|
-
key: "
|
|
3758
|
+
value: response.headers.get("etag"),
|
|
3759
|
+
key: "etag",
|
|
1531
3760
|
dataType: "string"
|
|
1532
3761
|
}
|
|
1533
3762
|
]
|
|
@@ -1540,45 +3769,38 @@ class DatabaseToolsClient {
|
|
|
1540
3769
|
});
|
|
1541
3770
|
}
|
|
1542
3771
|
/**
|
|
1543
|
-
*
|
|
1544
|
-
*
|
|
1545
|
-
*
|
|
1546
|
-
* @
|
|
1547
|
-
* @return ListDatabaseToolsPrivateEndpointsResponse
|
|
3772
|
+
* Removes a lock from a DatabaseToolsMcpServer resource.
|
|
3773
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3774
|
+
* @param RemoveDatabaseToolsMcpServerLockRequest
|
|
3775
|
+
* @return RemoveDatabaseToolsMcpServerLockResponse
|
|
1548
3776
|
* @throws OciError when an error occurs
|
|
1549
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
3777
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/RemoveDatabaseToolsMcpServerLock.ts.html |here} to see how to use RemoveDatabaseToolsMcpServerLock API.
|
|
1550
3778
|
*/
|
|
1551
|
-
|
|
3779
|
+
removeDatabaseToolsMcpServerLock(removeDatabaseToolsMcpServerLockRequest) {
|
|
1552
3780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1553
3781
|
if (this.logger)
|
|
1554
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1555
|
-
const operationName = "
|
|
1556
|
-
const apiReferenceLink = "
|
|
1557
|
-
const pathParams = {
|
|
1558
|
-
|
|
1559
|
-
"compartmentId": listDatabaseToolsPrivateEndpointsRequest.compartmentId,
|
|
1560
|
-
"subnetId": listDatabaseToolsPrivateEndpointsRequest.subnetId,
|
|
1561
|
-
"limit": listDatabaseToolsPrivateEndpointsRequest.limit,
|
|
1562
|
-
"page": listDatabaseToolsPrivateEndpointsRequest.page,
|
|
1563
|
-
"sortOrder": listDatabaseToolsPrivateEndpointsRequest.sortOrder,
|
|
1564
|
-
"sortBy": listDatabaseToolsPrivateEndpointsRequest.sortBy,
|
|
1565
|
-
"endpointServiceId": listDatabaseToolsPrivateEndpointsRequest.endpointServiceId,
|
|
1566
|
-
"lifecycleState": listDatabaseToolsPrivateEndpointsRequest.lifecycleState,
|
|
1567
|
-
"displayName": listDatabaseToolsPrivateEndpointsRequest.displayName
|
|
3782
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsMcpServerLock.");
|
|
3783
|
+
const operationName = "removeDatabaseToolsMcpServerLock";
|
|
3784
|
+
const apiReferenceLink = "";
|
|
3785
|
+
const pathParams = {
|
|
3786
|
+
"{databaseToolsMcpServerId}": removeDatabaseToolsMcpServerLockRequest.databaseToolsMcpServerId
|
|
1568
3787
|
};
|
|
3788
|
+
const queryParams = {};
|
|
1569
3789
|
let headerParams = {
|
|
1570
3790
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1571
|
-
"opc-request-id":
|
|
3791
|
+
"opc-request-id": removeDatabaseToolsMcpServerLockRequest.opcRequestId,
|
|
3792
|
+
"if-match": removeDatabaseToolsMcpServerLockRequest.ifMatch
|
|
1572
3793
|
};
|
|
1573
|
-
const specRetryConfiguration = common.
|
|
1574
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3794
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3795
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsMcpServerLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1575
3796
|
if (this.logger)
|
|
1576
3797
|
retrier.logger = this.logger;
|
|
1577
3798
|
const request = yield oci_common_1.composeRequest({
|
|
1578
3799
|
baseEndpoint: this._endpoint,
|
|
1579
3800
|
defaultHeaders: this._defaultHeaders,
|
|
1580
|
-
path: "/
|
|
1581
|
-
method: "
|
|
3801
|
+
path: "/databaseToolsMcpServers/{databaseToolsMcpServerId}/actions/removeLock",
|
|
3802
|
+
method: "POST",
|
|
3803
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsMcpServerLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1582
3804
|
pathParams: pathParams,
|
|
1583
3805
|
headerParams: headerParams,
|
|
1584
3806
|
queryParams: queryParams
|
|
@@ -1588,9 +3810,9 @@ class DatabaseToolsClient {
|
|
|
1588
3810
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1589
3811
|
responseObject: {},
|
|
1590
3812
|
body: yield response.json(),
|
|
1591
|
-
bodyKey: "
|
|
1592
|
-
bodyModel: model.
|
|
1593
|
-
type: "model.
|
|
3813
|
+
bodyKey: "databaseToolsMcpServer",
|
|
3814
|
+
bodyModel: model.DatabaseToolsMcpServer,
|
|
3815
|
+
type: "model.DatabaseToolsMcpServer",
|
|
1594
3816
|
responseHeaders: [
|
|
1595
3817
|
{
|
|
1596
3818
|
value: response.headers.get("opc-request-id"),
|
|
@@ -1598,8 +3820,8 @@ class DatabaseToolsClient {
|
|
|
1598
3820
|
dataType: "string"
|
|
1599
3821
|
},
|
|
1600
3822
|
{
|
|
1601
|
-
value: response.headers.get("
|
|
1602
|
-
key: "
|
|
3823
|
+
value: response.headers.get("etag"),
|
|
3824
|
+
key: "etag",
|
|
1603
3825
|
dataType: "string"
|
|
1604
3826
|
}
|
|
1605
3827
|
]
|
|
@@ -1612,42 +3834,38 @@ class DatabaseToolsClient {
|
|
|
1612
3834
|
});
|
|
1613
3835
|
}
|
|
1614
3836
|
/**
|
|
1615
|
-
*
|
|
1616
|
-
*
|
|
1617
|
-
*
|
|
1618
|
-
* @
|
|
1619
|
-
* @return ListWorkRequestErrorsResponse
|
|
3837
|
+
* Removes a lock from a DatabaseToolsMcpToolset resource.
|
|
3838
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3839
|
+
* @param RemoveDatabaseToolsMcpToolsetLockRequest
|
|
3840
|
+
* @return RemoveDatabaseToolsMcpToolsetLockResponse
|
|
1620
3841
|
* @throws OciError when an error occurs
|
|
1621
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
3842
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/RemoveDatabaseToolsMcpToolsetLock.ts.html |here} to see how to use RemoveDatabaseToolsMcpToolsetLock API.
|
|
1622
3843
|
*/
|
|
1623
|
-
|
|
3844
|
+
removeDatabaseToolsMcpToolsetLock(removeDatabaseToolsMcpToolsetLockRequest) {
|
|
1624
3845
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1625
3846
|
if (this.logger)
|
|
1626
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1627
|
-
const operationName = "
|
|
1628
|
-
const apiReferenceLink = "
|
|
3847
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsMcpToolsetLock.");
|
|
3848
|
+
const operationName = "removeDatabaseToolsMcpToolsetLock";
|
|
3849
|
+
const apiReferenceLink = "";
|
|
1629
3850
|
const pathParams = {
|
|
1630
|
-
"{
|
|
1631
|
-
};
|
|
1632
|
-
const queryParams = {
|
|
1633
|
-
"sortOrder": listWorkRequestErrorsRequest.sortOrder,
|
|
1634
|
-
"sortBy": listWorkRequestErrorsRequest.sortBy,
|
|
1635
|
-
"page": listWorkRequestErrorsRequest.page,
|
|
1636
|
-
"limit": listWorkRequestErrorsRequest.limit
|
|
3851
|
+
"{databaseToolsMcpToolsetId}": removeDatabaseToolsMcpToolsetLockRequest.databaseToolsMcpToolsetId
|
|
1637
3852
|
};
|
|
3853
|
+
const queryParams = {};
|
|
1638
3854
|
let headerParams = {
|
|
1639
3855
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1640
|
-
"opc-request-id":
|
|
3856
|
+
"opc-request-id": removeDatabaseToolsMcpToolsetLockRequest.opcRequestId,
|
|
3857
|
+
"if-match": removeDatabaseToolsMcpToolsetLockRequest.ifMatch
|
|
1641
3858
|
};
|
|
1642
|
-
const specRetryConfiguration = common.
|
|
1643
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3859
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3860
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsMcpToolsetLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1644
3861
|
if (this.logger)
|
|
1645
3862
|
retrier.logger = this.logger;
|
|
1646
3863
|
const request = yield oci_common_1.composeRequest({
|
|
1647
3864
|
baseEndpoint: this._endpoint,
|
|
1648
3865
|
defaultHeaders: this._defaultHeaders,
|
|
1649
|
-
path: "/
|
|
1650
|
-
method: "
|
|
3866
|
+
path: "/databaseToolsMcpToolsets/{databaseToolsMcpToolsetId}/actions/removeLock",
|
|
3867
|
+
method: "POST",
|
|
3868
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsMcpToolsetLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1651
3869
|
pathParams: pathParams,
|
|
1652
3870
|
headerParams: headerParams,
|
|
1653
3871
|
queryParams: queryParams
|
|
@@ -1657,18 +3875,18 @@ class DatabaseToolsClient {
|
|
|
1657
3875
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1658
3876
|
responseObject: {},
|
|
1659
3877
|
body: yield response.json(),
|
|
1660
|
-
bodyKey: "
|
|
1661
|
-
bodyModel: model.
|
|
1662
|
-
type: "model.
|
|
3878
|
+
bodyKey: "databaseToolsMcpToolset",
|
|
3879
|
+
bodyModel: model.DatabaseToolsMcpToolset,
|
|
3880
|
+
type: "model.DatabaseToolsMcpToolset",
|
|
1663
3881
|
responseHeaders: [
|
|
1664
3882
|
{
|
|
1665
|
-
value: response.headers.get("opc-
|
|
1666
|
-
key: "
|
|
3883
|
+
value: response.headers.get("opc-request-id"),
|
|
3884
|
+
key: "opcRequestId",
|
|
1667
3885
|
dataType: "string"
|
|
1668
3886
|
},
|
|
1669
3887
|
{
|
|
1670
|
-
value: response.headers.get("
|
|
1671
|
-
key: "
|
|
3888
|
+
value: response.headers.get("etag"),
|
|
3889
|
+
key: "etag",
|
|
1672
3890
|
dataType: "string"
|
|
1673
3891
|
}
|
|
1674
3892
|
]
|
|
@@ -1681,42 +3899,38 @@ class DatabaseToolsClient {
|
|
|
1681
3899
|
});
|
|
1682
3900
|
}
|
|
1683
3901
|
/**
|
|
1684
|
-
*
|
|
1685
|
-
*
|
|
1686
|
-
*
|
|
1687
|
-
* @
|
|
1688
|
-
* @return ListWorkRequestLogsResponse
|
|
3902
|
+
* Removes a lock from a DatabaseToolsPrivateEndpoint resource.
|
|
3903
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3904
|
+
* @param RemoveDatabaseToolsPrivateEndpointLockRequest
|
|
3905
|
+
* @return RemoveDatabaseToolsPrivateEndpointLockResponse
|
|
1689
3906
|
* @throws OciError when an error occurs
|
|
1690
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
3907
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/RemoveDatabaseToolsPrivateEndpointLock.ts.html |here} to see how to use RemoveDatabaseToolsPrivateEndpointLock API.
|
|
1691
3908
|
*/
|
|
1692
|
-
|
|
3909
|
+
removeDatabaseToolsPrivateEndpointLock(removeDatabaseToolsPrivateEndpointLockRequest) {
|
|
1693
3910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1694
3911
|
if (this.logger)
|
|
1695
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1696
|
-
const operationName = "
|
|
1697
|
-
const apiReferenceLink = "
|
|
3912
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsPrivateEndpointLock.");
|
|
3913
|
+
const operationName = "removeDatabaseToolsPrivateEndpointLock";
|
|
3914
|
+
const apiReferenceLink = "";
|
|
1698
3915
|
const pathParams = {
|
|
1699
|
-
"{
|
|
1700
|
-
};
|
|
1701
|
-
const queryParams = {
|
|
1702
|
-
"sortOrder": listWorkRequestLogsRequest.sortOrder,
|
|
1703
|
-
"sortBy": listWorkRequestLogsRequest.sortBy,
|
|
1704
|
-
"page": listWorkRequestLogsRequest.page,
|
|
1705
|
-
"limit": listWorkRequestLogsRequest.limit
|
|
3916
|
+
"{databaseToolsPrivateEndpointId}": removeDatabaseToolsPrivateEndpointLockRequest.databaseToolsPrivateEndpointId
|
|
1706
3917
|
};
|
|
3918
|
+
const queryParams = {};
|
|
1707
3919
|
let headerParams = {
|
|
1708
3920
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1709
|
-
"opc-request-id":
|
|
3921
|
+
"opc-request-id": removeDatabaseToolsPrivateEndpointLockRequest.opcRequestId,
|
|
3922
|
+
"if-match": removeDatabaseToolsPrivateEndpointLockRequest.ifMatch
|
|
1710
3923
|
};
|
|
1711
|
-
const specRetryConfiguration = common.
|
|
1712
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3924
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3925
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsPrivateEndpointLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1713
3926
|
if (this.logger)
|
|
1714
3927
|
retrier.logger = this.logger;
|
|
1715
3928
|
const request = yield oci_common_1.composeRequest({
|
|
1716
3929
|
baseEndpoint: this._endpoint,
|
|
1717
3930
|
defaultHeaders: this._defaultHeaders,
|
|
1718
|
-
path: "/
|
|
1719
|
-
method: "
|
|
3931
|
+
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}/actions/removeLock",
|
|
3932
|
+
method: "POST",
|
|
3933
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsPrivateEndpointLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1720
3934
|
pathParams: pathParams,
|
|
1721
3935
|
headerParams: headerParams,
|
|
1722
3936
|
queryParams: queryParams
|
|
@@ -1726,18 +3940,18 @@ class DatabaseToolsClient {
|
|
|
1726
3940
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1727
3941
|
responseObject: {},
|
|
1728
3942
|
body: yield response.json(),
|
|
1729
|
-
bodyKey: "
|
|
1730
|
-
bodyModel: model.
|
|
1731
|
-
type: "model.
|
|
3943
|
+
bodyKey: "databaseToolsPrivateEndpoint",
|
|
3944
|
+
bodyModel: model.DatabaseToolsPrivateEndpoint,
|
|
3945
|
+
type: "model.DatabaseToolsPrivateEndpoint",
|
|
1732
3946
|
responseHeaders: [
|
|
1733
3947
|
{
|
|
1734
|
-
value: response.headers.get("opc-
|
|
1735
|
-
key: "
|
|
3948
|
+
value: response.headers.get("opc-request-id"),
|
|
3949
|
+
key: "opcRequestId",
|
|
1736
3950
|
dataType: "string"
|
|
1737
3951
|
},
|
|
1738
3952
|
{
|
|
1739
|
-
value: response.headers.get("
|
|
1740
|
-
key: "
|
|
3953
|
+
value: response.headers.get("etag"),
|
|
3954
|
+
key: "etag",
|
|
1741
3955
|
dataType: "string"
|
|
1742
3956
|
}
|
|
1743
3957
|
]
|
|
@@ -1750,42 +3964,38 @@ class DatabaseToolsClient {
|
|
|
1750
3964
|
});
|
|
1751
3965
|
}
|
|
1752
3966
|
/**
|
|
1753
|
-
*
|
|
1754
|
-
*
|
|
1755
|
-
*
|
|
1756
|
-
* @
|
|
1757
|
-
* @return ListWorkRequestsResponse
|
|
3967
|
+
* Removes a lock from a DatabaseToolsSqlReport resource.
|
|
3968
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3969
|
+
* @param RemoveDatabaseToolsSqlReportLockRequest
|
|
3970
|
+
* @return RemoveDatabaseToolsSqlReportLockResponse
|
|
1758
3971
|
* @throws OciError when an error occurs
|
|
1759
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
3972
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/RemoveDatabaseToolsSqlReportLock.ts.html |here} to see how to use RemoveDatabaseToolsSqlReportLock API.
|
|
1760
3973
|
*/
|
|
1761
|
-
|
|
3974
|
+
removeDatabaseToolsSqlReportLock(removeDatabaseToolsSqlReportLockRequest) {
|
|
1762
3975
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1763
3976
|
if (this.logger)
|
|
1764
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1765
|
-
const operationName = "
|
|
1766
|
-
const apiReferenceLink = "
|
|
1767
|
-
const pathParams = {
|
|
1768
|
-
|
|
1769
|
-
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
1770
|
-
"resourceIdentifier": listWorkRequestsRequest.resourceIdentifier,
|
|
1771
|
-
"sortOrder": listWorkRequestsRequest.sortOrder,
|
|
1772
|
-
"sortBy": listWorkRequestsRequest.sortBy,
|
|
1773
|
-
"page": listWorkRequestsRequest.page,
|
|
1774
|
-
"limit": listWorkRequestsRequest.limit
|
|
3977
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsSqlReportLock.");
|
|
3978
|
+
const operationName = "removeDatabaseToolsSqlReportLock";
|
|
3979
|
+
const apiReferenceLink = "";
|
|
3980
|
+
const pathParams = {
|
|
3981
|
+
"{databaseToolsSqlReportId}": removeDatabaseToolsSqlReportLockRequest.databaseToolsSqlReportId
|
|
1775
3982
|
};
|
|
3983
|
+
const queryParams = {};
|
|
1776
3984
|
let headerParams = {
|
|
1777
3985
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1778
|
-
"opc-request-id":
|
|
3986
|
+
"opc-request-id": removeDatabaseToolsSqlReportLockRequest.opcRequestId,
|
|
3987
|
+
"if-match": removeDatabaseToolsSqlReportLockRequest.ifMatch
|
|
1779
3988
|
};
|
|
1780
|
-
const specRetryConfiguration = common.
|
|
1781
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3989
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3990
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsSqlReportLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1782
3991
|
if (this.logger)
|
|
1783
3992
|
retrier.logger = this.logger;
|
|
1784
3993
|
const request = yield oci_common_1.composeRequest({
|
|
1785
3994
|
baseEndpoint: this._endpoint,
|
|
1786
3995
|
defaultHeaders: this._defaultHeaders,
|
|
1787
|
-
path: "/
|
|
1788
|
-
method: "
|
|
3996
|
+
path: "/databaseToolsSqlReports/{databaseToolsSqlReportId}/actions/removeLock",
|
|
3997
|
+
method: "POST",
|
|
3998
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsSqlReportLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1789
3999
|
pathParams: pathParams,
|
|
1790
4000
|
headerParams: headerParams,
|
|
1791
4001
|
queryParams: queryParams
|
|
@@ -1795,9 +4005,9 @@ class DatabaseToolsClient {
|
|
|
1795
4005
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1796
4006
|
responseObject: {},
|
|
1797
4007
|
body: yield response.json(),
|
|
1798
|
-
bodyKey: "
|
|
1799
|
-
bodyModel: model.
|
|
1800
|
-
type: "model.
|
|
4008
|
+
bodyKey: "databaseToolsSqlReport",
|
|
4009
|
+
bodyModel: model.DatabaseToolsSqlReport,
|
|
4010
|
+
type: "model.DatabaseToolsSqlReport",
|
|
1801
4011
|
responseHeaders: [
|
|
1802
4012
|
{
|
|
1803
4013
|
value: response.headers.get("opc-request-id"),
|
|
@@ -1805,8 +4015,8 @@ class DatabaseToolsClient {
|
|
|
1805
4015
|
dataType: "string"
|
|
1806
4016
|
},
|
|
1807
4017
|
{
|
|
1808
|
-
value: response.headers.get("
|
|
1809
|
-
key: "
|
|
4018
|
+
value: response.headers.get("etag"),
|
|
4019
|
+
key: "etag",
|
|
1810
4020
|
dataType: "string"
|
|
1811
4021
|
}
|
|
1812
4022
|
]
|
|
@@ -1819,39 +4029,40 @@ class DatabaseToolsClient {
|
|
|
1819
4029
|
});
|
|
1820
4030
|
}
|
|
1821
4031
|
/**
|
|
1822
|
-
*
|
|
1823
|
-
*
|
|
4032
|
+
* Updates the specified Database Tools connection.
|
|
1824
4033
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1825
|
-
* @param
|
|
1826
|
-
* @return
|
|
4034
|
+
* @param UpdateDatabaseToolsConnectionRequest
|
|
4035
|
+
* @return UpdateDatabaseToolsConnectionResponse
|
|
1827
4036
|
* @throws OciError when an error occurs
|
|
1828
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
4037
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/UpdateDatabaseToolsConnection.ts.html |here} to see how to use UpdateDatabaseToolsConnection API.
|
|
1829
4038
|
*/
|
|
1830
|
-
|
|
4039
|
+
updateDatabaseToolsConnection(updateDatabaseToolsConnectionRequest) {
|
|
1831
4040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1832
4041
|
if (this.logger)
|
|
1833
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1834
|
-
const operationName = "
|
|
1835
|
-
const apiReferenceLink = "
|
|
4042
|
+
this.logger.debug("Calling operation DatabaseToolsClient#updateDatabaseToolsConnection.");
|
|
4043
|
+
const operationName = "updateDatabaseToolsConnection";
|
|
4044
|
+
const apiReferenceLink = "";
|
|
1836
4045
|
const pathParams = {
|
|
1837
|
-
"{
|
|
4046
|
+
"{databaseToolsConnectionId}": updateDatabaseToolsConnectionRequest.databaseToolsConnectionId
|
|
4047
|
+
};
|
|
4048
|
+
const queryParams = {
|
|
4049
|
+
"isLockOverride": updateDatabaseToolsConnectionRequest.isLockOverride
|
|
1838
4050
|
};
|
|
1839
|
-
const queryParams = {};
|
|
1840
4051
|
let headerParams = {
|
|
1841
4052
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1842
|
-
"if-match":
|
|
1843
|
-
"opc-request-id":
|
|
4053
|
+
"if-match": updateDatabaseToolsConnectionRequest.ifMatch,
|
|
4054
|
+
"opc-request-id": updateDatabaseToolsConnectionRequest.opcRequestId
|
|
1844
4055
|
};
|
|
1845
4056
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1846
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4057
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseToolsConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
1847
4058
|
if (this.logger)
|
|
1848
4059
|
retrier.logger = this.logger;
|
|
1849
4060
|
const request = yield oci_common_1.composeRequest({
|
|
1850
4061
|
baseEndpoint: this._endpoint,
|
|
1851
4062
|
defaultHeaders: this._defaultHeaders,
|
|
1852
|
-
path: "/
|
|
1853
|
-
method: "
|
|
1854
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
4063
|
+
path: "/databaseToolsConnections/{databaseToolsConnectionId}",
|
|
4064
|
+
method: "PUT",
|
|
4065
|
+
bodyContent: common.ObjectSerializer.serialize(updateDatabaseToolsConnectionRequest.updateDatabaseToolsConnectionDetails, "UpdateDatabaseToolsConnectionDetails", model.UpdateDatabaseToolsConnectionDetails.getJsonObj),
|
|
1855
4066
|
pathParams: pathParams,
|
|
1856
4067
|
headerParams: headerParams,
|
|
1857
4068
|
queryParams: queryParams
|
|
@@ -1881,38 +4092,40 @@ class DatabaseToolsClient {
|
|
|
1881
4092
|
});
|
|
1882
4093
|
}
|
|
1883
4094
|
/**
|
|
1884
|
-
*
|
|
4095
|
+
* Updates the specified Database Tools database API gateway config.
|
|
1885
4096
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1886
|
-
* @param
|
|
1887
|
-
* @return
|
|
4097
|
+
* @param UpdateDatabaseToolsDatabaseApiGatewayConfigRequest
|
|
4098
|
+
* @return UpdateDatabaseToolsDatabaseApiGatewayConfigResponse
|
|
1888
4099
|
* @throws OciError when an error occurs
|
|
1889
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
4100
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/UpdateDatabaseToolsDatabaseApiGatewayConfig.ts.html |here} to see how to use UpdateDatabaseToolsDatabaseApiGatewayConfig API.
|
|
1890
4101
|
*/
|
|
1891
|
-
|
|
4102
|
+
updateDatabaseToolsDatabaseApiGatewayConfig(updateDatabaseToolsDatabaseApiGatewayConfigRequest) {
|
|
1892
4103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1893
4104
|
if (this.logger)
|
|
1894
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1895
|
-
const operationName = "
|
|
1896
|
-
const apiReferenceLink = "
|
|
4105
|
+
this.logger.debug("Calling operation DatabaseToolsClient#updateDatabaseToolsDatabaseApiGatewayConfig.");
|
|
4106
|
+
const operationName = "updateDatabaseToolsDatabaseApiGatewayConfig";
|
|
4107
|
+
const apiReferenceLink = "";
|
|
1897
4108
|
const pathParams = {
|
|
1898
|
-
"{
|
|
4109
|
+
"{databaseToolsDatabaseApiGatewayConfigId}": updateDatabaseToolsDatabaseApiGatewayConfigRequest.databaseToolsDatabaseApiGatewayConfigId
|
|
4110
|
+
};
|
|
4111
|
+
const queryParams = {
|
|
4112
|
+
"isLockOverride": updateDatabaseToolsDatabaseApiGatewayConfigRequest.isLockOverride
|
|
1899
4113
|
};
|
|
1900
|
-
const queryParams = {};
|
|
1901
4114
|
let headerParams = {
|
|
1902
4115
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1903
|
-
"
|
|
1904
|
-
"
|
|
4116
|
+
"if-match": updateDatabaseToolsDatabaseApiGatewayConfigRequest.ifMatch,
|
|
4117
|
+
"opc-request-id": updateDatabaseToolsDatabaseApiGatewayConfigRequest.opcRequestId
|
|
1905
4118
|
};
|
|
1906
4119
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1907
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4120
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseToolsDatabaseApiGatewayConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1908
4121
|
if (this.logger)
|
|
1909
4122
|
retrier.logger = this.logger;
|
|
1910
4123
|
const request = yield oci_common_1.composeRequest({
|
|
1911
4124
|
baseEndpoint: this._endpoint,
|
|
1912
4125
|
defaultHeaders: this._defaultHeaders,
|
|
1913
|
-
path: "/
|
|
1914
|
-
method: "
|
|
1915
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
4126
|
+
path: "/databaseToolsDatabaseApiGatewayConfigs/{databaseToolsDatabaseApiGatewayConfigId}",
|
|
4127
|
+
method: "PUT",
|
|
4128
|
+
bodyContent: common.ObjectSerializer.serialize(updateDatabaseToolsDatabaseApiGatewayConfigRequest.updateDatabaseToolsDatabaseApiGatewayConfigDetails, "UpdateDatabaseToolsDatabaseApiGatewayConfigDetails", model.UpdateDatabaseToolsDatabaseApiGatewayConfigDetails.getJsonObj),
|
|
1916
4129
|
pathParams: pathParams,
|
|
1917
4130
|
headerParams: headerParams,
|
|
1918
4131
|
queryParams: queryParams
|
|
@@ -1922,18 +4135,18 @@ class DatabaseToolsClient {
|
|
|
1922
4135
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1923
4136
|
responseObject: {},
|
|
1924
4137
|
body: yield response.json(),
|
|
1925
|
-
bodyKey: "
|
|
1926
|
-
bodyModel: model.
|
|
1927
|
-
type: "model.
|
|
4138
|
+
bodyKey: "databaseToolsDatabaseApiGatewayConfig",
|
|
4139
|
+
bodyModel: model.DatabaseToolsDatabaseApiGatewayConfig,
|
|
4140
|
+
type: "model.DatabaseToolsDatabaseApiGatewayConfig",
|
|
1928
4141
|
responseHeaders: [
|
|
1929
4142
|
{
|
|
1930
|
-
value: response.headers.get("
|
|
1931
|
-
key: "
|
|
4143
|
+
value: response.headers.get("etag"),
|
|
4144
|
+
key: "etag",
|
|
1932
4145
|
dataType: "string"
|
|
1933
4146
|
},
|
|
1934
4147
|
{
|
|
1935
|
-
value: response.headers.get("
|
|
1936
|
-
key: "
|
|
4148
|
+
value: response.headers.get("opc-request-id"),
|
|
4149
|
+
key: "opcRequestId",
|
|
1937
4150
|
dataType: "string"
|
|
1938
4151
|
}
|
|
1939
4152
|
]
|
|
@@ -1946,38 +4159,40 @@ class DatabaseToolsClient {
|
|
|
1946
4159
|
});
|
|
1947
4160
|
}
|
|
1948
4161
|
/**
|
|
1949
|
-
*
|
|
4162
|
+
* Updates the specified Database Tools identity.
|
|
1950
4163
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1951
|
-
* @param
|
|
1952
|
-
* @return
|
|
4164
|
+
* @param UpdateDatabaseToolsIdentityRequest
|
|
4165
|
+
* @return UpdateDatabaseToolsIdentityResponse
|
|
1953
4166
|
* @throws OciError when an error occurs
|
|
1954
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
4167
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/UpdateDatabaseToolsIdentity.ts.html |here} to see how to use UpdateDatabaseToolsIdentity API.
|
|
1955
4168
|
*/
|
|
1956
|
-
|
|
4169
|
+
updateDatabaseToolsIdentity(updateDatabaseToolsIdentityRequest) {
|
|
1957
4170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1958
4171
|
if (this.logger)
|
|
1959
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
1960
|
-
const operationName = "
|
|
1961
|
-
const apiReferenceLink = "
|
|
4172
|
+
this.logger.debug("Calling operation DatabaseToolsClient#updateDatabaseToolsIdentity.");
|
|
4173
|
+
const operationName = "updateDatabaseToolsIdentity";
|
|
4174
|
+
const apiReferenceLink = "";
|
|
1962
4175
|
const pathParams = {
|
|
1963
|
-
"{databaseToolsIdentityId}":
|
|
4176
|
+
"{databaseToolsIdentityId}": updateDatabaseToolsIdentityRequest.databaseToolsIdentityId
|
|
4177
|
+
};
|
|
4178
|
+
const queryParams = {
|
|
4179
|
+
"isLockOverride": updateDatabaseToolsIdentityRequest.isLockOverride
|
|
1964
4180
|
};
|
|
1965
|
-
const queryParams = {};
|
|
1966
4181
|
let headerParams = {
|
|
1967
4182
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1968
|
-
"
|
|
1969
|
-
"
|
|
4183
|
+
"if-match": updateDatabaseToolsIdentityRequest.ifMatch,
|
|
4184
|
+
"opc-request-id": updateDatabaseToolsIdentityRequest.opcRequestId
|
|
1970
4185
|
};
|
|
1971
4186
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1972
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4187
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseToolsIdentityRequest.retryConfiguration, specRetryConfiguration);
|
|
1973
4188
|
if (this.logger)
|
|
1974
4189
|
retrier.logger = this.logger;
|
|
1975
4190
|
const request = yield oci_common_1.composeRequest({
|
|
1976
4191
|
baseEndpoint: this._endpoint,
|
|
1977
4192
|
defaultHeaders: this._defaultHeaders,
|
|
1978
|
-
path: "/databaseToolsIdentities/{databaseToolsIdentityId}
|
|
1979
|
-
method: "
|
|
1980
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
4193
|
+
path: "/databaseToolsIdentities/{databaseToolsIdentityId}",
|
|
4194
|
+
method: "PUT",
|
|
4195
|
+
bodyContent: common.ObjectSerializer.serialize(updateDatabaseToolsIdentityRequest.updateDatabaseToolsIdentityDetails, "UpdateDatabaseToolsIdentityDetails", model.UpdateDatabaseToolsIdentityDetails.getJsonObj),
|
|
1981
4196
|
pathParams: pathParams,
|
|
1982
4197
|
headerParams: headerParams,
|
|
1983
4198
|
queryParams: queryParams
|
|
@@ -1986,19 +4201,15 @@ class DatabaseToolsClient {
|
|
|
1986
4201
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1987
4202
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1988
4203
|
responseObject: {},
|
|
1989
|
-
body: yield response.json(),
|
|
1990
|
-
bodyKey: "databaseToolsIdentity",
|
|
1991
|
-
bodyModel: model.DatabaseToolsIdentity,
|
|
1992
|
-
type: "model.DatabaseToolsIdentity",
|
|
1993
4204
|
responseHeaders: [
|
|
1994
4205
|
{
|
|
1995
|
-
value: response.headers.get("opc-request-id"),
|
|
1996
|
-
key: "
|
|
4206
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4207
|
+
key: "opcWorkRequestId",
|
|
1997
4208
|
dataType: "string"
|
|
1998
4209
|
},
|
|
1999
4210
|
{
|
|
2000
|
-
value: response.headers.get("
|
|
2001
|
-
key: "
|
|
4211
|
+
value: response.headers.get("opc-request-id"),
|
|
4212
|
+
key: "opcRequestId",
|
|
2002
4213
|
dataType: "string"
|
|
2003
4214
|
}
|
|
2004
4215
|
]
|
|
@@ -2011,38 +4222,40 @@ class DatabaseToolsClient {
|
|
|
2011
4222
|
});
|
|
2012
4223
|
}
|
|
2013
4224
|
/**
|
|
2014
|
-
*
|
|
4225
|
+
* Updates the specified Database Tools MCP server.
|
|
2015
4226
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2016
|
-
* @param
|
|
2017
|
-
* @return
|
|
4227
|
+
* @param UpdateDatabaseToolsMcpServerRequest
|
|
4228
|
+
* @return UpdateDatabaseToolsMcpServerResponse
|
|
2018
4229
|
* @throws OciError when an error occurs
|
|
2019
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
4230
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/UpdateDatabaseToolsMcpServer.ts.html |here} to see how to use UpdateDatabaseToolsMcpServer API.
|
|
2020
4231
|
*/
|
|
2021
|
-
|
|
4232
|
+
updateDatabaseToolsMcpServer(updateDatabaseToolsMcpServerRequest) {
|
|
2022
4233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2023
4234
|
if (this.logger)
|
|
2024
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
2025
|
-
const operationName = "
|
|
2026
|
-
const apiReferenceLink = "
|
|
4235
|
+
this.logger.debug("Calling operation DatabaseToolsClient#updateDatabaseToolsMcpServer.");
|
|
4236
|
+
const operationName = "updateDatabaseToolsMcpServer";
|
|
4237
|
+
const apiReferenceLink = "";
|
|
2027
4238
|
const pathParams = {
|
|
2028
|
-
"{
|
|
4239
|
+
"{databaseToolsMcpServerId}": updateDatabaseToolsMcpServerRequest.databaseToolsMcpServerId
|
|
4240
|
+
};
|
|
4241
|
+
const queryParams = {
|
|
4242
|
+
"isLockOverride": updateDatabaseToolsMcpServerRequest.isLockOverride
|
|
2029
4243
|
};
|
|
2030
|
-
const queryParams = {};
|
|
2031
4244
|
let headerParams = {
|
|
2032
4245
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2033
|
-
"
|
|
2034
|
-
"
|
|
4246
|
+
"if-match": updateDatabaseToolsMcpServerRequest.ifMatch,
|
|
4247
|
+
"opc-request-id": updateDatabaseToolsMcpServerRequest.opcRequestId
|
|
2035
4248
|
};
|
|
2036
4249
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2037
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4250
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseToolsMcpServerRequest.retryConfiguration, specRetryConfiguration);
|
|
2038
4251
|
if (this.logger)
|
|
2039
4252
|
retrier.logger = this.logger;
|
|
2040
4253
|
const request = yield oci_common_1.composeRequest({
|
|
2041
4254
|
baseEndpoint: this._endpoint,
|
|
2042
4255
|
defaultHeaders: this._defaultHeaders,
|
|
2043
|
-
path: "/
|
|
2044
|
-
method: "
|
|
2045
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
4256
|
+
path: "/databaseToolsMcpServers/{databaseToolsMcpServerId}",
|
|
4257
|
+
method: "PUT",
|
|
4258
|
+
bodyContent: common.ObjectSerializer.serialize(updateDatabaseToolsMcpServerRequest.updateDatabaseToolsMcpServerDetails, "UpdateDatabaseToolsMcpServerDetails", model.UpdateDatabaseToolsMcpServerDetails.getJsonObj),
|
|
2046
4259
|
pathParams: pathParams,
|
|
2047
4260
|
headerParams: headerParams,
|
|
2048
4261
|
queryParams: queryParams
|
|
@@ -2051,19 +4264,15 @@ class DatabaseToolsClient {
|
|
|
2051
4264
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2052
4265
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2053
4266
|
responseObject: {},
|
|
2054
|
-
body: yield response.json(),
|
|
2055
|
-
bodyKey: "databaseToolsPrivateEndpoint",
|
|
2056
|
-
bodyModel: model.DatabaseToolsPrivateEndpoint,
|
|
2057
|
-
type: "model.DatabaseToolsPrivateEndpoint",
|
|
2058
4267
|
responseHeaders: [
|
|
2059
4268
|
{
|
|
2060
|
-
value: response.headers.get("opc-request-id"),
|
|
2061
|
-
key: "
|
|
4269
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4270
|
+
key: "opcWorkRequestId",
|
|
2062
4271
|
dataType: "string"
|
|
2063
4272
|
},
|
|
2064
4273
|
{
|
|
2065
|
-
value: response.headers.get("
|
|
2066
|
-
key: "
|
|
4274
|
+
value: response.headers.get("opc-request-id"),
|
|
4275
|
+
key: "opcRequestId",
|
|
2067
4276
|
dataType: "string"
|
|
2068
4277
|
}
|
|
2069
4278
|
]
|
|
@@ -2076,40 +4285,40 @@ class DatabaseToolsClient {
|
|
|
2076
4285
|
});
|
|
2077
4286
|
}
|
|
2078
4287
|
/**
|
|
2079
|
-
* Updates the specified Database Tools
|
|
4288
|
+
* Updates the specified Database Tools MCP Toolset.
|
|
2080
4289
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2081
|
-
* @param
|
|
2082
|
-
* @return
|
|
4290
|
+
* @param UpdateDatabaseToolsMcpToolsetRequest
|
|
4291
|
+
* @return UpdateDatabaseToolsMcpToolsetResponse
|
|
2083
4292
|
* @throws OciError when an error occurs
|
|
2084
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
4293
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/UpdateDatabaseToolsMcpToolset.ts.html |here} to see how to use UpdateDatabaseToolsMcpToolset API.
|
|
2085
4294
|
*/
|
|
2086
|
-
|
|
4295
|
+
updateDatabaseToolsMcpToolset(updateDatabaseToolsMcpToolsetRequest) {
|
|
2087
4296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2088
4297
|
if (this.logger)
|
|
2089
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
2090
|
-
const operationName = "
|
|
2091
|
-
const apiReferenceLink = "
|
|
4298
|
+
this.logger.debug("Calling operation DatabaseToolsClient#updateDatabaseToolsMcpToolset.");
|
|
4299
|
+
const operationName = "updateDatabaseToolsMcpToolset";
|
|
4300
|
+
const apiReferenceLink = "";
|
|
2092
4301
|
const pathParams = {
|
|
2093
|
-
"{
|
|
4302
|
+
"{databaseToolsMcpToolsetId}": updateDatabaseToolsMcpToolsetRequest.databaseToolsMcpToolsetId
|
|
2094
4303
|
};
|
|
2095
4304
|
const queryParams = {
|
|
2096
|
-
"isLockOverride":
|
|
4305
|
+
"isLockOverride": updateDatabaseToolsMcpToolsetRequest.isLockOverride
|
|
2097
4306
|
};
|
|
2098
4307
|
let headerParams = {
|
|
2099
4308
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2100
|
-
"if-match":
|
|
2101
|
-
"opc-request-id":
|
|
4309
|
+
"if-match": updateDatabaseToolsMcpToolsetRequest.ifMatch,
|
|
4310
|
+
"opc-request-id": updateDatabaseToolsMcpToolsetRequest.opcRequestId
|
|
2102
4311
|
};
|
|
2103
4312
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2104
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4313
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseToolsMcpToolsetRequest.retryConfiguration, specRetryConfiguration);
|
|
2105
4314
|
if (this.logger)
|
|
2106
4315
|
retrier.logger = this.logger;
|
|
2107
4316
|
const request = yield oci_common_1.composeRequest({
|
|
2108
4317
|
baseEndpoint: this._endpoint,
|
|
2109
4318
|
defaultHeaders: this._defaultHeaders,
|
|
2110
|
-
path: "/
|
|
4319
|
+
path: "/databaseToolsMcpToolsets/{databaseToolsMcpToolsetId}",
|
|
2111
4320
|
method: "PUT",
|
|
2112
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
4321
|
+
bodyContent: common.ObjectSerializer.serialize(updateDatabaseToolsMcpToolsetRequest.updateDatabaseToolsMcpToolsetDetails, "UpdateDatabaseToolsMcpToolsetDetails", model.UpdateDatabaseToolsMcpToolsetDetails.getJsonObj),
|
|
2113
4322
|
pathParams: pathParams,
|
|
2114
4323
|
headerParams: headerParams,
|
|
2115
4324
|
queryParams: queryParams
|
|
@@ -2139,40 +4348,40 @@ class DatabaseToolsClient {
|
|
|
2139
4348
|
});
|
|
2140
4349
|
}
|
|
2141
4350
|
/**
|
|
2142
|
-
* Updates the specified Database Tools
|
|
4351
|
+
* Updates the specified Database Tools private endpoint.
|
|
2143
4352
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2144
|
-
* @param
|
|
2145
|
-
* @return
|
|
4353
|
+
* @param UpdateDatabaseToolsPrivateEndpointRequest
|
|
4354
|
+
* @return UpdateDatabaseToolsPrivateEndpointResponse
|
|
2146
4355
|
* @throws OciError when an error occurs
|
|
2147
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
4356
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/UpdateDatabaseToolsPrivateEndpoint.ts.html |here} to see how to use UpdateDatabaseToolsPrivateEndpoint API.
|
|
2148
4357
|
*/
|
|
2149
|
-
|
|
4358
|
+
updateDatabaseToolsPrivateEndpoint(updateDatabaseToolsPrivateEndpointRequest) {
|
|
2150
4359
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2151
4360
|
if (this.logger)
|
|
2152
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
2153
|
-
const operationName = "
|
|
2154
|
-
const apiReferenceLink = "
|
|
4361
|
+
this.logger.debug("Calling operation DatabaseToolsClient#updateDatabaseToolsPrivateEndpoint.");
|
|
4362
|
+
const operationName = "updateDatabaseToolsPrivateEndpoint";
|
|
4363
|
+
const apiReferenceLink = "";
|
|
2155
4364
|
const pathParams = {
|
|
2156
|
-
"{
|
|
4365
|
+
"{databaseToolsPrivateEndpointId}": updateDatabaseToolsPrivateEndpointRequest.databaseToolsPrivateEndpointId
|
|
2157
4366
|
};
|
|
2158
4367
|
const queryParams = {
|
|
2159
|
-
"isLockOverride":
|
|
4368
|
+
"isLockOverride": updateDatabaseToolsPrivateEndpointRequest.isLockOverride
|
|
2160
4369
|
};
|
|
2161
4370
|
let headerParams = {
|
|
2162
4371
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2163
|
-
"if-match":
|
|
2164
|
-
"opc-request-id":
|
|
4372
|
+
"if-match": updateDatabaseToolsPrivateEndpointRequest.ifMatch,
|
|
4373
|
+
"opc-request-id": updateDatabaseToolsPrivateEndpointRequest.opcRequestId
|
|
2165
4374
|
};
|
|
2166
4375
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2167
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4376
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseToolsPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
2168
4377
|
if (this.logger)
|
|
2169
4378
|
retrier.logger = this.logger;
|
|
2170
4379
|
const request = yield oci_common_1.composeRequest({
|
|
2171
4380
|
baseEndpoint: this._endpoint,
|
|
2172
4381
|
defaultHeaders: this._defaultHeaders,
|
|
2173
|
-
path: "/
|
|
4382
|
+
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}",
|
|
2174
4383
|
method: "PUT",
|
|
2175
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
4384
|
+
bodyContent: common.ObjectSerializer.serialize(updateDatabaseToolsPrivateEndpointRequest.updateDatabaseToolsPrivateEndpointDetails, "UpdateDatabaseToolsPrivateEndpointDetails", model.UpdateDatabaseToolsPrivateEndpointDetails.getJsonObj),
|
|
2176
4385
|
pathParams: pathParams,
|
|
2177
4386
|
headerParams: headerParams,
|
|
2178
4387
|
queryParams: queryParams
|
|
@@ -2202,40 +4411,40 @@ class DatabaseToolsClient {
|
|
|
2202
4411
|
});
|
|
2203
4412
|
}
|
|
2204
4413
|
/**
|
|
2205
|
-
* Updates the specified Database Tools
|
|
4414
|
+
* Updates the specified Database Tools SQL Report.
|
|
2206
4415
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2207
|
-
* @param
|
|
2208
|
-
* @return
|
|
4416
|
+
* @param UpdateDatabaseToolsSqlReportRequest
|
|
4417
|
+
* @return UpdateDatabaseToolsSqlReportResponse
|
|
2209
4418
|
* @throws OciError when an error occurs
|
|
2210
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/
|
|
4419
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasetools/UpdateDatabaseToolsSqlReport.ts.html |here} to see how to use UpdateDatabaseToolsSqlReport API.
|
|
2211
4420
|
*/
|
|
2212
|
-
|
|
4421
|
+
updateDatabaseToolsSqlReport(updateDatabaseToolsSqlReportRequest) {
|
|
2213
4422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2214
4423
|
if (this.logger)
|
|
2215
|
-
this.logger.debug("Calling operation DatabaseToolsClient#
|
|
2216
|
-
const operationName = "
|
|
2217
|
-
const apiReferenceLink = "
|
|
4424
|
+
this.logger.debug("Calling operation DatabaseToolsClient#updateDatabaseToolsSqlReport.");
|
|
4425
|
+
const operationName = "updateDatabaseToolsSqlReport";
|
|
4426
|
+
const apiReferenceLink = "";
|
|
2218
4427
|
const pathParams = {
|
|
2219
|
-
"{
|
|
4428
|
+
"{databaseToolsSqlReportId}": updateDatabaseToolsSqlReportRequest.databaseToolsSqlReportId
|
|
2220
4429
|
};
|
|
2221
4430
|
const queryParams = {
|
|
2222
|
-
"isLockOverride":
|
|
4431
|
+
"isLockOverride": updateDatabaseToolsSqlReportRequest.isLockOverride
|
|
2223
4432
|
};
|
|
2224
4433
|
let headerParams = {
|
|
2225
4434
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2226
|
-
"if-match":
|
|
2227
|
-
"opc-request-id":
|
|
4435
|
+
"if-match": updateDatabaseToolsSqlReportRequest.ifMatch,
|
|
4436
|
+
"opc-request-id": updateDatabaseToolsSqlReportRequest.opcRequestId
|
|
2228
4437
|
};
|
|
2229
4438
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2230
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4439
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDatabaseToolsSqlReportRequest.retryConfiguration, specRetryConfiguration);
|
|
2231
4440
|
if (this.logger)
|
|
2232
4441
|
retrier.logger = this.logger;
|
|
2233
4442
|
const request = yield oci_common_1.composeRequest({
|
|
2234
4443
|
baseEndpoint: this._endpoint,
|
|
2235
4444
|
defaultHeaders: this._defaultHeaders,
|
|
2236
|
-
path: "/
|
|
4445
|
+
path: "/databaseToolsSqlReports/{databaseToolsSqlReportId}",
|
|
2237
4446
|
method: "PUT",
|
|
2238
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
4447
|
+
bodyContent: common.ObjectSerializer.serialize(updateDatabaseToolsSqlReportRequest.updateDatabaseToolsSqlReportDetails, "UpdateDatabaseToolsSqlReportDetails", model.UpdateDatabaseToolsSqlReportDetails.getJsonObj),
|
|
2239
4448
|
pathParams: pathParams,
|
|
2240
4449
|
headerParams: headerParams,
|
|
2241
4450
|
queryParams: queryParams
|
|
@@ -2244,10 +4453,14 @@ class DatabaseToolsClient {
|
|
|
2244
4453
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2245
4454
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2246
4455
|
responseObject: {},
|
|
4456
|
+
body: yield response.json(),
|
|
4457
|
+
bodyKey: "databaseToolsSqlReport",
|
|
4458
|
+
bodyModel: model.DatabaseToolsSqlReport,
|
|
4459
|
+
type: "model.DatabaseToolsSqlReport",
|
|
2247
4460
|
responseHeaders: [
|
|
2248
4461
|
{
|
|
2249
|
-
value: response.headers.get("
|
|
2250
|
-
key: "
|
|
4462
|
+
value: response.headers.get("etag"),
|
|
4463
|
+
key: "etag",
|
|
2251
4464
|
dataType: "string"
|
|
2252
4465
|
},
|
|
2253
4466
|
{
|
|
@@ -2278,7 +4491,7 @@ class DatabaseToolsClient {
|
|
|
2278
4491
|
if (this.logger)
|
|
2279
4492
|
this.logger.debug("Calling operation DatabaseToolsClient#validateDatabaseToolsConnection.");
|
|
2280
4493
|
const operationName = "validateDatabaseToolsConnection";
|
|
2281
|
-
const apiReferenceLink = "
|
|
4494
|
+
const apiReferenceLink = "";
|
|
2282
4495
|
const pathParams = {
|
|
2283
4496
|
"{databaseToolsConnectionId}": validateDatabaseToolsConnectionRequest.databaseToolsConnectionId
|
|
2284
4497
|
};
|
|
@@ -2340,7 +4553,7 @@ class DatabaseToolsClient {
|
|
|
2340
4553
|
if (this.logger)
|
|
2341
4554
|
this.logger.debug("Calling operation DatabaseToolsClient#validateDatabaseToolsIdentityCredential.");
|
|
2342
4555
|
const operationName = "validateDatabaseToolsIdentityCredential";
|
|
2343
|
-
const apiReferenceLink = "
|
|
4556
|
+
const apiReferenceLink = "";
|
|
2344
4557
|
const pathParams = {
|
|
2345
4558
|
"{databaseToolsIdentityId}": validateDatabaseToolsIdentityCredentialRequest.databaseToolsIdentityId
|
|
2346
4559
|
};
|