oci-databasetools 2.70.4 → 2.72.0
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/lib/client.d.ts +57 -21
- package/lib/client.js +305 -33
- package/lib/client.js.map +1 -1
- package/lib/model/add-resource-lock-details.d.ts +41 -0
- package/lib/model/add-resource-lock-details.js +34 -0
- package/lib/model/add-resource-lock-details.js.map +1 -0
- package/lib/model/connection-type.d.ts +2 -0
- package/lib/model/connection-type.js +2 -0
- package/lib/model/connection-type.js.map +1 -1
- package/lib/model/create-database-tools-connection-details.d.ts +9 -0
- package/lib/model/create-database-tools-connection-details.js +22 -2
- package/lib/model/create-database-tools-connection-details.js.map +1 -1
- package/lib/model/create-database-tools-connection-generic-jdbc-details.d.ts +45 -0
- package/lib/model/create-database-tools-connection-generic-jdbc-details.js +72 -0
- package/lib/model/create-database-tools-connection-generic-jdbc-details.js.map +1 -0
- package/lib/model/create-database-tools-connection-my-sql-details.d.ts +3 -3
- package/lib/model/create-database-tools-connection-oracle-database-details.d.ts +4 -3
- package/lib/model/create-database-tools-connection-oracle-database-details.js +6 -0
- 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 +50 -0
- package/lib/model/create-database-tools-connection-postgresql-details.js +78 -0
- package/lib/model/create-database-tools-connection-postgresql-details.js.map +1 -0
- package/lib/model/create-database-tools-private-endpoint-details.d.ts +5 -0
- package/lib/model/create-database-tools-private-endpoint-details.js +34 -2
- package/lib/model/create-database-tools-private-endpoint-details.js.map +1 -1
- package/lib/model/create-database-tools-related-resource-postgresql-details.d.ts +30 -0
- package/lib/model/create-database-tools-related-resource-postgresql-details.js +29 -0
- package/lib/model/create-database-tools-related-resource-postgresql-details.js.map +1 -0
- package/lib/model/database-tools-connection-generic-jdbc-summary.d.ts +45 -0
- package/lib/model/database-tools-connection-generic-jdbc-summary.js +72 -0
- package/lib/model/database-tools-connection-generic-jdbc-summary.js.map +1 -0
- package/lib/model/database-tools-connection-generic-jdbc.d.ts +45 -0
- package/lib/model/database-tools-connection-generic-jdbc.js +72 -0
- package/lib/model/database-tools-connection-generic-jdbc.js.map +1 -0
- package/lib/model/database-tools-connection-my-sql-summary.d.ts +1 -1
- package/lib/model/database-tools-connection-my-sql.d.ts +1 -1
- package/lib/model/database-tools-connection-oracle-database-proxy-client-details.d.ts +22 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-details.js +72 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-details.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-details.d.ts +24 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-details.js +54 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-details.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-summary.d.ts +24 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-summary.js +54 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy-summary.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy.d.ts +24 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy.js +54 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-no-proxy.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-summary.d.ts +22 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-summary.js +72 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-summary.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-details.d.ts +33 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-details.js +62 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-details.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-summary.d.ts +33 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-summary.js +62 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name-summary.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name.d.ts +33 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name.js +62 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client-user-name.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client.d.ts +22 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client.js +72 -0
- package/lib/model/database-tools-connection-oracle-database-proxy-client.js.map +1 -0
- package/lib/model/database-tools-connection-oracle-database-summary.d.ts +2 -1
- package/lib/model/database-tools-connection-oracle-database-summary.js +6 -0
- package/lib/model/database-tools-connection-oracle-database-summary.js.map +1 -1
- package/lib/model/database-tools-connection-oracle-database.d.ts +2 -1
- package/lib/model/database-tools-connection-oracle-database.js +6 -0
- package/lib/model/database-tools-connection-oracle-database.js.map +1 -1
- package/lib/model/database-tools-connection-postgresql-summary.d.ts +50 -0
- package/lib/model/database-tools-connection-postgresql-summary.js +78 -0
- package/lib/model/database-tools-connection-postgresql-summary.js.map +1 -0
- package/lib/model/database-tools-connection-postgresql.d.ts +50 -0
- package/lib/model/database-tools-connection-postgresql.js +78 -0
- package/lib/model/database-tools-connection-postgresql.js.map +1 -0
- package/lib/model/database-tools-connection-summary.d.ts +8 -0
- package/lib/model/database-tools-connection-summary.js +22 -2
- package/lib/model/database-tools-connection-summary.js.map +1 -1
- package/lib/model/database-tools-connection.d.ts +8 -0
- package/lib/model/database-tools-connection.js +22 -2
- package/lib/model/database-tools-connection.js.map +1 -1
- package/lib/model/database-tools-key-store-content-generic-jdbc-details.d.ts +22 -0
- package/lib/model/database-tools-key-store-content-generic-jdbc-details.js +68 -0
- package/lib/model/database-tools-key-store-content-generic-jdbc-details.js.map +1 -0
- package/lib/model/database-tools-key-store-content-generic-jdbc-summary.d.ts +22 -0
- package/lib/model/database-tools-key-store-content-generic-jdbc-summary.js +68 -0
- package/lib/model/database-tools-key-store-content-generic-jdbc-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-content-generic-jdbc.d.ts +22 -0
- package/lib/model/database-tools-key-store-content-generic-jdbc.js +68 -0
- package/lib/model/database-tools-key-store-content-generic-jdbc.js.map +1 -0
- package/lib/model/database-tools-key-store-content-postgresql-details.d.ts +22 -0
- package/lib/model/database-tools-key-store-content-postgresql-details.js +68 -0
- package/lib/model/database-tools-key-store-content-postgresql-details.js.map +1 -0
- package/lib/model/database-tools-key-store-content-postgresql-summary.d.ts +22 -0
- package/lib/model/database-tools-key-store-content-postgresql-summary.js +68 -0
- package/lib/model/database-tools-key-store-content-postgresql-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-content-postgresql.d.ts +22 -0
- package/lib/model/database-tools-key-store-content-postgresql.js +68 -0
- package/lib/model/database-tools-key-store-content-postgresql.js.map +1 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-details.d.ts +28 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-details.js +54 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-details.js.map +1 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-summary.d.ts +28 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-summary.js +54 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc.d.ts +28 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc.js +54 -0
- package/lib/model/database-tools-key-store-content-secret-id-generic-jdbc.js.map +1 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-details.d.ts +28 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-details.js +54 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-details.js.map +1 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-summary.d.ts +28 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-summary.js +54 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql.d.ts +28 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql.js +54 -0
- package/lib/model/database-tools-key-store-content-secret-id-postgresql.js.map +1 -0
- package/lib/model/database-tools-key-store-generic-jdbc-details.d.ts +28 -0
- package/lib/model/database-tools-key-store-generic-jdbc-details.js +63 -0
- package/lib/model/database-tools-key-store-generic-jdbc-details.js.map +1 -0
- package/lib/model/database-tools-key-store-generic-jdbc-summary.d.ts +28 -0
- package/lib/model/database-tools-key-store-generic-jdbc-summary.js +63 -0
- package/lib/model/database-tools-key-store-generic-jdbc-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-generic-jdbc.d.ts +28 -0
- package/lib/model/database-tools-key-store-generic-jdbc.js +63 -0
- package/lib/model/database-tools-key-store-generic-jdbc.js.map +1 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc-details.d.ts +22 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc-details.js +68 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc-details.js.map +1 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc-summary.d.ts +22 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc-summary.js +68 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc.d.ts +22 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc.js +68 -0
- package/lib/model/database-tools-key-store-password-generic-jdbc.js.map +1 -0
- package/lib/model/database-tools-key-store-password-postgresql-details.d.ts +22 -0
- package/lib/model/database-tools-key-store-password-postgresql-details.js +68 -0
- package/lib/model/database-tools-key-store-password-postgresql-details.js.map +1 -0
- package/lib/model/database-tools-key-store-password-postgresql-summary.d.ts +22 -0
- package/lib/model/database-tools-key-store-password-postgresql-summary.js +68 -0
- package/lib/model/database-tools-key-store-password-postgresql-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-password-postgresql.d.ts +22 -0
- package/lib/model/database-tools-key-store-password-postgresql.js +68 -0
- package/lib/model/database-tools-key-store-password-postgresql.js.map +1 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-details.d.ts +28 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-details.js +54 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-details.js.map +1 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-summary.d.ts +28 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-summary.js +54 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc.d.ts +28 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc.js +54 -0
- package/lib/model/database-tools-key-store-password-secret-id-generic-jdbc.js.map +1 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-details.d.ts +28 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-details.js +54 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-details.js.map +1 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-summary.d.ts +28 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-summary.js +54 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql.d.ts +28 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql.js +54 -0
- package/lib/model/database-tools-key-store-password-secret-id-postgresql.js.map +1 -0
- package/lib/model/database-tools-key-store-postgresql-details.d.ts +28 -0
- package/lib/model/database-tools-key-store-postgresql-details.js +63 -0
- package/lib/model/database-tools-key-store-postgresql-details.js.map +1 -0
- package/lib/model/database-tools-key-store-postgresql-summary.d.ts +28 -0
- package/lib/model/database-tools-key-store-postgresql-summary.js +63 -0
- package/lib/model/database-tools-key-store-postgresql-summary.js.map +1 -0
- package/lib/model/database-tools-key-store-postgresql.d.ts +28 -0
- package/lib/model/database-tools-key-store-postgresql.js +63 -0
- package/lib/model/database-tools-key-store-postgresql.js.map +1 -0
- package/lib/model/database-tools-private-endpoint-summary.d.ts +4 -0
- package/lib/model/database-tools-private-endpoint-summary.js +10 -0
- package/lib/model/database-tools-private-endpoint-summary.js.map +1 -1
- package/lib/model/database-tools-private-endpoint.d.ts +4 -0
- package/lib/model/database-tools-private-endpoint.js +10 -0
- package/lib/model/database-tools-private-endpoint.js.map +1 -1
- package/lib/model/database-tools-related-resource-postgresql.d.ts +30 -0
- package/lib/model/database-tools-related-resource-postgresql.js +29 -0
- package/lib/model/database-tools-related-resource-postgresql.js.map +1 -0
- package/lib/model/index.d.ts +120 -0
- package/lib/model/index.js +124 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/key-store-type-generic-jdbc.d.ts +33 -0
- package/lib/model/key-store-type-generic-jdbc.js +44 -0
- package/lib/model/key-store-type-generic-jdbc.js.map +1 -0
- package/lib/model/key-store-type-postgresql.d.ts +29 -0
- package/lib/model/key-store-type-postgresql.js +40 -0
- package/lib/model/key-store-type-postgresql.js.map +1 -0
- package/lib/model/lifecycle-state.d.ts +1 -0
- package/lib/model/lifecycle-state.js +1 -0
- package/lib/model/lifecycle-state.js.map +1 -1
- package/lib/model/proxy-authentication-type.d.ts +28 -0
- package/lib/model/proxy-authentication-type.js +39 -0
- package/lib/model/proxy-authentication-type.js.map +1 -0
- package/lib/model/related-resource-entity-type-postgresql.d.ts +27 -0
- package/lib/model/related-resource-entity-type-postgresql.js +38 -0
- package/lib/model/related-resource-entity-type-postgresql.js.map +1 -0
- package/lib/model/remove-resource-lock-details.d.ts +41 -0
- package/lib/model/remove-resource-lock-details.js +34 -0
- package/lib/model/remove-resource-lock-details.js.map +1 -0
- package/lib/model/resource-lock.d.ts +52 -0
- package/lib/model/resource-lock.js +39 -0
- package/lib/model/resource-lock.js.map +1 -0
- package/lib/model/runtime-support.d.ts +28 -0
- package/lib/model/runtime-support.js +39 -0
- package/lib/model/runtime-support.js.map +1 -0
- package/lib/model/update-database-tools-connection-details.js +8 -0
- package/lib/model/update-database-tools-connection-details.js.map +1 -1
- package/lib/model/update-database-tools-connection-generic-jdbc-details.d.ts +45 -0
- package/lib/model/update-database-tools-connection-generic-jdbc-details.js +72 -0
- package/lib/model/update-database-tools-connection-generic-jdbc-details.js.map +1 -0
- package/lib/model/update-database-tools-connection-oracle-database-details.d.ts +1 -0
- package/lib/model/update-database-tools-connection-oracle-database-details.js +6 -0
- 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 +50 -0
- package/lib/model/update-database-tools-connection-postgresql-details.js +78 -0
- package/lib/model/update-database-tools-connection-postgresql-details.js.map +1 -0
- package/lib/model/update-database-tools-related-resource-postgresql-details.d.ts +30 -0
- package/lib/model/update-database-tools-related-resource-postgresql-details.js +29 -0
- package/lib/model/update-database-tools-related-resource-postgresql-details.js.map +1 -0
- package/lib/model/validate-database-tools-connection-details.js +4 -0
- package/lib/model/validate-database-tools-connection-details.js.map +1 -1
- package/lib/model/validate-database-tools-connection-my-sql-result.d.ts +1 -1
- package/lib/model/validate-database-tools-connection-oracle-database-result.d.ts +1 -1
- package/lib/model/validate-database-tools-connection-postgresql-details.d.ts +24 -0
- package/lib/model/validate-database-tools-connection-postgresql-details.js +54 -0
- package/lib/model/validate-database-tools-connection-postgresql-details.js.map +1 -0
- package/lib/model/validate-database-tools-connection-postgresql-result.d.ts +32 -0
- package/lib/model/validate-database-tools-connection-postgresql-result.js +54 -0
- package/lib/model/validate-database-tools-connection-postgresql-result.js.map +1 -0
- package/lib/model/validate-database-tools-connection-result.js +4 -0
- package/lib/model/validate-database-tools-connection-result.js.map +1 -1
- package/lib/request/add-database-tools-connection-lock-request.d.ts +40 -0
- package/lib/request/add-database-tools-connection-lock-request.js +15 -0
- package/lib/request/add-database-tools-connection-lock-request.js.map +1 -0
- package/lib/request/add-database-tools-private-endpoint-lock-request.d.ts +40 -0
- package/lib/request/add-database-tools-private-endpoint-lock-request.js +15 -0
- package/lib/request/add-database-tools-private-endpoint-lock-request.js.map +1 -0
- package/lib/request/change-database-tools-connection-compartment-request.d.ts +3 -8
- package/lib/request/change-database-tools-private-endpoint-compartment-request.d.ts +3 -8
- package/lib/request/create-database-tools-connection-request.d.ts +11 -9
- package/lib/request/create-database-tools-private-endpoint-request.d.ts +10 -8
- package/lib/request/delete-database-tools-connection-request.d.ts +5 -1
- package/lib/request/delete-database-tools-private-endpoint-request.d.ts +5 -1
- package/lib/request/get-database-tools-connection-request.d.ts +1 -1
- package/lib/request/get-database-tools-endpoint-service-request.d.ts +1 -1
- package/lib/request/get-database-tools-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +8 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-database-tools-connections-request.d.ts +9 -1
- package/lib/request/list-database-tools-connections-request.js.map +1 -1
- package/lib/request/list-database-tools-endpoint-services-request.d.ts +1 -1
- package/lib/request/list-database-tools-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/remove-database-tools-connection-lock-request.d.ts +40 -0
- package/lib/request/remove-database-tools-connection-lock-request.js +15 -0
- package/lib/request/remove-database-tools-connection-lock-request.js.map +1 -0
- package/lib/request/remove-database-tools-private-endpoint-lock-request.d.ts +40 -0
- package/lib/request/remove-database-tools-private-endpoint-lock-request.js +15 -0
- package/lib/request/remove-database-tools-private-endpoint-lock-request.js.map +1 -0
- package/lib/request/update-database-tools-connection-request.d.ts +6 -2
- package/lib/request/update-database-tools-private-endpoint-request.d.ts +5 -1
- package/lib/request/validate-database-tools-connection-request.d.ts +2 -2
- package/lib/response/add-database-tools-connection-lock-response.d.ts +30 -0
- package/lib/response/add-database-tools-connection-lock-response.js +15 -0
- package/lib/response/add-database-tools-connection-lock-response.js.map +1 -0
- package/lib/response/add-database-tools-private-endpoint-lock-response.d.ts +30 -0
- package/lib/response/add-database-tools-private-endpoint-lock-response.js +15 -0
- package/lib/response/add-database-tools-private-endpoint-lock-response.js.map +1 -0
- package/lib/response/index.d.ts +8 -0
- package/lib/response/remove-database-tools-connection-lock-response.d.ts +30 -0
- package/lib/response/remove-database-tools-connection-lock-response.js +15 -0
- package/lib/response/remove-database-tools-connection-lock-response.js.map +1 -0
- package/lib/response/remove-database-tools-private-endpoint-lock-response.d.ts +30 -0
- package/lib/response/remove-database-tools-private-endpoint-lock-response.js +15 -0
- package/lib/response/remove-database-tools-private-endpoint-lock-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -177,6 +177,136 @@ class DatabaseToolsClient {
|
|
|
177
177
|
}
|
|
178
178
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
179
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* Adds a lock to a DatabaseToolsConnection resource.
|
|
182
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
183
|
+
* @param AddDatabaseToolsConnectionLockRequest
|
|
184
|
+
* @return AddDatabaseToolsConnectionLockResponse
|
|
185
|
+
* @throws OciError when an error occurs
|
|
186
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/AddDatabaseToolsConnectionLock.ts.html |here} to see how to use AddDatabaseToolsConnectionLock API.
|
|
187
|
+
*/
|
|
188
|
+
addDatabaseToolsConnectionLock(addDatabaseToolsConnectionLockRequest) {
|
|
189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
+
if (this.logger)
|
|
191
|
+
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsConnectionLock.");
|
|
192
|
+
const operationName = "addDatabaseToolsConnectionLock";
|
|
193
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-tools/20201005/DatabaseToolsConnection/AddDatabaseToolsConnectionLock";
|
|
194
|
+
const pathParams = {
|
|
195
|
+
"{databaseToolsConnectionId}": addDatabaseToolsConnectionLockRequest.databaseToolsConnectionId
|
|
196
|
+
};
|
|
197
|
+
const queryParams = {};
|
|
198
|
+
let headerParams = {
|
|
199
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
200
|
+
"opc-request-id": addDatabaseToolsConnectionLockRequest.opcRequestId,
|
|
201
|
+
"if-match": addDatabaseToolsConnectionLockRequest.ifMatch
|
|
202
|
+
};
|
|
203
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
204
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDatabaseToolsConnectionLockRequest.retryConfiguration, specRetryConfiguration);
|
|
205
|
+
if (this.logger)
|
|
206
|
+
retrier.logger = this.logger;
|
|
207
|
+
const request = yield oci_common_1.composeRequest({
|
|
208
|
+
baseEndpoint: this._endpoint,
|
|
209
|
+
defaultHeaders: this._defaultHeaders,
|
|
210
|
+
path: "/databaseToolsConnections/{databaseToolsConnectionId}/actions/addLock",
|
|
211
|
+
method: "POST",
|
|
212
|
+
bodyContent: common.ObjectSerializer.serialize(addDatabaseToolsConnectionLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
213
|
+
pathParams: pathParams,
|
|
214
|
+
headerParams: headerParams,
|
|
215
|
+
queryParams: queryParams
|
|
216
|
+
});
|
|
217
|
+
try {
|
|
218
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
219
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
220
|
+
responseObject: {},
|
|
221
|
+
body: yield response.json(),
|
|
222
|
+
bodyKey: "databaseToolsConnection",
|
|
223
|
+
bodyModel: model.DatabaseToolsConnection,
|
|
224
|
+
type: "model.DatabaseToolsConnection",
|
|
225
|
+
responseHeaders: [
|
|
226
|
+
{
|
|
227
|
+
value: response.headers.get("opc-request-id"),
|
|
228
|
+
key: "opcRequestId",
|
|
229
|
+
dataType: "string"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
value: response.headers.get("etag"),
|
|
233
|
+
key: "etag",
|
|
234
|
+
dataType: "string"
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
});
|
|
238
|
+
return sdkResponse;
|
|
239
|
+
}
|
|
240
|
+
catch (err) {
|
|
241
|
+
throw err;
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Adds a lock to a DatabaseToolsPrivateEndpoint resource.
|
|
247
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
248
|
+
* @param AddDatabaseToolsPrivateEndpointLockRequest
|
|
249
|
+
* @return AddDatabaseToolsPrivateEndpointLockResponse
|
|
250
|
+
* @throws OciError when an error occurs
|
|
251
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/AddDatabaseToolsPrivateEndpointLock.ts.html |here} to see how to use AddDatabaseToolsPrivateEndpointLock API.
|
|
252
|
+
*/
|
|
253
|
+
addDatabaseToolsPrivateEndpointLock(addDatabaseToolsPrivateEndpointLockRequest) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
if (this.logger)
|
|
256
|
+
this.logger.debug("Calling operation DatabaseToolsClient#addDatabaseToolsPrivateEndpointLock.");
|
|
257
|
+
const operationName = "addDatabaseToolsPrivateEndpointLock";
|
|
258
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-tools/20201005/DatabaseToolsPrivateEndpoint/AddDatabaseToolsPrivateEndpointLock";
|
|
259
|
+
const pathParams = {
|
|
260
|
+
"{databaseToolsPrivateEndpointId}": addDatabaseToolsPrivateEndpointLockRequest.databaseToolsPrivateEndpointId
|
|
261
|
+
};
|
|
262
|
+
const queryParams = {};
|
|
263
|
+
let headerParams = {
|
|
264
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
265
|
+
"opc-request-id": addDatabaseToolsPrivateEndpointLockRequest.opcRequestId,
|
|
266
|
+
"if-match": addDatabaseToolsPrivateEndpointLockRequest.ifMatch
|
|
267
|
+
};
|
|
268
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
269
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addDatabaseToolsPrivateEndpointLockRequest.retryConfiguration, specRetryConfiguration);
|
|
270
|
+
if (this.logger)
|
|
271
|
+
retrier.logger = this.logger;
|
|
272
|
+
const request = yield oci_common_1.composeRequest({
|
|
273
|
+
baseEndpoint: this._endpoint,
|
|
274
|
+
defaultHeaders: this._defaultHeaders,
|
|
275
|
+
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}/actions/addLock",
|
|
276
|
+
method: "POST",
|
|
277
|
+
bodyContent: common.ObjectSerializer.serialize(addDatabaseToolsPrivateEndpointLockRequest.addResourceLockDetails, "AddResourceLockDetails", model.AddResourceLockDetails.getJsonObj),
|
|
278
|
+
pathParams: pathParams,
|
|
279
|
+
headerParams: headerParams,
|
|
280
|
+
queryParams: queryParams
|
|
281
|
+
});
|
|
282
|
+
try {
|
|
283
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
284
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
285
|
+
responseObject: {},
|
|
286
|
+
body: yield response.json(),
|
|
287
|
+
bodyKey: "databaseToolsPrivateEndpoint",
|
|
288
|
+
bodyModel: model.DatabaseToolsPrivateEndpoint,
|
|
289
|
+
type: "model.DatabaseToolsPrivateEndpoint",
|
|
290
|
+
responseHeaders: [
|
|
291
|
+
{
|
|
292
|
+
value: response.headers.get("opc-request-id"),
|
|
293
|
+
key: "opcRequestId",
|
|
294
|
+
dataType: "string"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
value: response.headers.get("etag"),
|
|
298
|
+
key: "etag",
|
|
299
|
+
dataType: "string"
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
});
|
|
303
|
+
return sdkResponse;
|
|
304
|
+
}
|
|
305
|
+
catch (err) {
|
|
306
|
+
throw err;
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
}
|
|
180
310
|
/**
|
|
181
311
|
* Moves the specified Database Tools connection to a different compartment in the same tenancy.
|
|
182
312
|
* For information about moving resources between compartments, see
|
|
@@ -186,7 +316,7 @@ class DatabaseToolsClient {
|
|
|
186
316
|
* @param ChangeDatabaseToolsConnectionCompartmentRequest
|
|
187
317
|
* @return ChangeDatabaseToolsConnectionCompartmentResponse
|
|
188
318
|
* @throws OciError when an error occurs
|
|
189
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
319
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ChangeDatabaseToolsConnectionCompartment.ts.html |here} to see how to use ChangeDatabaseToolsConnectionCompartment API.
|
|
190
320
|
*/
|
|
191
321
|
changeDatabaseToolsConnectionCompartment(changeDatabaseToolsConnectionCompartmentRequest) {
|
|
192
322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -197,12 +327,13 @@ class DatabaseToolsClient {
|
|
|
197
327
|
const pathParams = {
|
|
198
328
|
"{databaseToolsConnectionId}": changeDatabaseToolsConnectionCompartmentRequest.databaseToolsConnectionId
|
|
199
329
|
};
|
|
200
|
-
const queryParams = {
|
|
330
|
+
const queryParams = {
|
|
331
|
+
"isLockOverride": changeDatabaseToolsConnectionCompartmentRequest.isLockOverride
|
|
332
|
+
};
|
|
201
333
|
let headerParams = {
|
|
202
334
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
203
335
|
"if-match": changeDatabaseToolsConnectionCompartmentRequest.ifMatch,
|
|
204
|
-
"opc-request-id": changeDatabaseToolsConnectionCompartmentRequest.opcRequestId
|
|
205
|
-
"opc-retry-token": changeDatabaseToolsConnectionCompartmentRequest.opcRetryToken
|
|
336
|
+
"opc-request-id": changeDatabaseToolsConnectionCompartmentRequest.opcRequestId
|
|
206
337
|
};
|
|
207
338
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
208
339
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsConnectionCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -251,7 +382,7 @@ class DatabaseToolsClient {
|
|
|
251
382
|
* @param ChangeDatabaseToolsPrivateEndpointCompartmentRequest
|
|
252
383
|
* @return ChangeDatabaseToolsPrivateEndpointCompartmentResponse
|
|
253
384
|
* @throws OciError when an error occurs
|
|
254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ChangeDatabaseToolsPrivateEndpointCompartment.ts.html |here} to see how to use ChangeDatabaseToolsPrivateEndpointCompartment API.
|
|
255
386
|
*/
|
|
256
387
|
changeDatabaseToolsPrivateEndpointCompartment(changeDatabaseToolsPrivateEndpointCompartmentRequest) {
|
|
257
388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -262,12 +393,13 @@ class DatabaseToolsClient {
|
|
|
262
393
|
const pathParams = {
|
|
263
394
|
"{databaseToolsPrivateEndpointId}": changeDatabaseToolsPrivateEndpointCompartmentRequest.databaseToolsPrivateEndpointId
|
|
264
395
|
};
|
|
265
|
-
const queryParams = {
|
|
396
|
+
const queryParams = {
|
|
397
|
+
"isLockOverride": changeDatabaseToolsPrivateEndpointCompartmentRequest.isLockOverride
|
|
398
|
+
};
|
|
266
399
|
let headerParams = {
|
|
267
400
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
268
401
|
"if-match": changeDatabaseToolsPrivateEndpointCompartmentRequest.ifMatch,
|
|
269
|
-
"opc-request-id": changeDatabaseToolsPrivateEndpointCompartmentRequest.opcRequestId
|
|
270
|
-
"opc-retry-token": changeDatabaseToolsPrivateEndpointCompartmentRequest.opcRetryToken
|
|
402
|
+
"opc-request-id": changeDatabaseToolsPrivateEndpointCompartmentRequest.opcRequestId
|
|
271
403
|
};
|
|
272
404
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
273
405
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDatabaseToolsPrivateEndpointCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -310,11 +442,11 @@ class DatabaseToolsClient {
|
|
|
310
442
|
/**
|
|
311
443
|
* Creates a new Database Tools connection.
|
|
312
444
|
*
|
|
313
|
-
* This operation
|
|
445
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
314
446
|
* @param CreateDatabaseToolsConnectionRequest
|
|
315
447
|
* @return CreateDatabaseToolsConnectionResponse
|
|
316
448
|
* @throws OciError when an error occurs
|
|
317
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/CreateDatabaseToolsConnection.ts.html |here} to see how to use CreateDatabaseToolsConnection API.
|
|
318
450
|
*/
|
|
319
451
|
createDatabaseToolsConnection(createDatabaseToolsConnectionRequest) {
|
|
320
452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -329,7 +461,7 @@ class DatabaseToolsClient {
|
|
|
329
461
|
"opc-retry-token": createDatabaseToolsConnectionRequest.opcRetryToken,
|
|
330
462
|
"opc-request-id": createDatabaseToolsConnectionRequest.opcRequestId
|
|
331
463
|
};
|
|
332
|
-
const specRetryConfiguration = common.
|
|
464
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
333
465
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsConnectionRequest.retryConfiguration, specRetryConfiguration);
|
|
334
466
|
if (this.logger)
|
|
335
467
|
retrier.logger = this.logger;
|
|
@@ -384,11 +516,11 @@ class DatabaseToolsClient {
|
|
|
384
516
|
/**
|
|
385
517
|
* Creates a new Database Tools private endpoint.
|
|
386
518
|
*
|
|
387
|
-
* This operation
|
|
519
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
388
520
|
* @param CreateDatabaseToolsPrivateEndpointRequest
|
|
389
521
|
* @return CreateDatabaseToolsPrivateEndpointResponse
|
|
390
522
|
* @throws OciError when an error occurs
|
|
391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/CreateDatabaseToolsPrivateEndpoint.ts.html |here} to see how to use CreateDatabaseToolsPrivateEndpoint API.
|
|
392
524
|
*/
|
|
393
525
|
createDatabaseToolsPrivateEndpoint(createDatabaseToolsPrivateEndpointRequest) {
|
|
394
526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -403,7 +535,7 @@ class DatabaseToolsClient {
|
|
|
403
535
|
"opc-retry-token": createDatabaseToolsPrivateEndpointRequest.opcRetryToken,
|
|
404
536
|
"opc-request-id": createDatabaseToolsPrivateEndpointRequest.opcRequestId
|
|
405
537
|
};
|
|
406
|
-
const specRetryConfiguration = common.
|
|
538
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
407
539
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDatabaseToolsPrivateEndpointRequest.retryConfiguration, specRetryConfiguration);
|
|
408
540
|
if (this.logger)
|
|
409
541
|
retrier.logger = this.logger;
|
|
@@ -461,7 +593,7 @@ class DatabaseToolsClient {
|
|
|
461
593
|
* @param DeleteDatabaseToolsConnectionRequest
|
|
462
594
|
* @return DeleteDatabaseToolsConnectionResponse
|
|
463
595
|
* @throws OciError when an error occurs
|
|
464
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
596
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/DeleteDatabaseToolsConnection.ts.html |here} to see how to use DeleteDatabaseToolsConnection API.
|
|
465
597
|
*/
|
|
466
598
|
deleteDatabaseToolsConnection(deleteDatabaseToolsConnectionRequest) {
|
|
467
599
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -472,7 +604,9 @@ class DatabaseToolsClient {
|
|
|
472
604
|
const pathParams = {
|
|
473
605
|
"{databaseToolsConnectionId}": deleteDatabaseToolsConnectionRequest.databaseToolsConnectionId
|
|
474
606
|
};
|
|
475
|
-
const queryParams = {
|
|
607
|
+
const queryParams = {
|
|
608
|
+
"isLockOverride": deleteDatabaseToolsConnectionRequest.isLockOverride
|
|
609
|
+
};
|
|
476
610
|
let headerParams = {
|
|
477
611
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
478
612
|
"if-match": deleteDatabaseToolsConnectionRequest.ifMatch,
|
|
@@ -521,7 +655,7 @@ class DatabaseToolsClient {
|
|
|
521
655
|
* @param DeleteDatabaseToolsPrivateEndpointRequest
|
|
522
656
|
* @return DeleteDatabaseToolsPrivateEndpointResponse
|
|
523
657
|
* @throws OciError when an error occurs
|
|
524
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/DeleteDatabaseToolsPrivateEndpoint.ts.html |here} to see how to use DeleteDatabaseToolsPrivateEndpoint API.
|
|
525
659
|
*/
|
|
526
660
|
deleteDatabaseToolsPrivateEndpoint(deleteDatabaseToolsPrivateEndpointRequest) {
|
|
527
661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -532,7 +666,9 @@ class DatabaseToolsClient {
|
|
|
532
666
|
const pathParams = {
|
|
533
667
|
"{databaseToolsPrivateEndpointId}": deleteDatabaseToolsPrivateEndpointRequest.databaseToolsPrivateEndpointId
|
|
534
668
|
};
|
|
535
|
-
const queryParams = {
|
|
669
|
+
const queryParams = {
|
|
670
|
+
"isLockOverride": deleteDatabaseToolsPrivateEndpointRequest.isLockOverride
|
|
671
|
+
};
|
|
536
672
|
let headerParams = {
|
|
537
673
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
538
674
|
"if-match": deleteDatabaseToolsPrivateEndpointRequest.ifMatch,
|
|
@@ -581,7 +717,7 @@ class DatabaseToolsClient {
|
|
|
581
717
|
* @param GetDatabaseToolsConnectionRequest
|
|
582
718
|
* @return GetDatabaseToolsConnectionResponse
|
|
583
719
|
* @throws OciError when an error occurs
|
|
584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/GetDatabaseToolsConnection.ts.html |here} to see how to use GetDatabaseToolsConnection API.
|
|
585
721
|
*/
|
|
586
722
|
getDatabaseToolsConnection(getDatabaseToolsConnectionRequest) {
|
|
587
723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -644,7 +780,7 @@ class DatabaseToolsClient {
|
|
|
644
780
|
* @param GetDatabaseToolsEndpointServiceRequest
|
|
645
781
|
* @return GetDatabaseToolsEndpointServiceResponse
|
|
646
782
|
* @throws OciError when an error occurs
|
|
647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
783
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/GetDatabaseToolsEndpointService.ts.html |here} to see how to use GetDatabaseToolsEndpointService API.
|
|
648
784
|
*/
|
|
649
785
|
getDatabaseToolsEndpointService(getDatabaseToolsEndpointServiceRequest) {
|
|
650
786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -707,7 +843,7 @@ class DatabaseToolsClient {
|
|
|
707
843
|
* @param GetDatabaseToolsPrivateEndpointRequest
|
|
708
844
|
* @return GetDatabaseToolsPrivateEndpointResponse
|
|
709
845
|
* @throws OciError when an error occurs
|
|
710
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
846
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/GetDatabaseToolsPrivateEndpoint.ts.html |here} to see how to use GetDatabaseToolsPrivateEndpoint API.
|
|
711
847
|
*/
|
|
712
848
|
getDatabaseToolsPrivateEndpoint(getDatabaseToolsPrivateEndpointRequest) {
|
|
713
849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -770,7 +906,7 @@ class DatabaseToolsClient {
|
|
|
770
906
|
* @param GetWorkRequestRequest
|
|
771
907
|
* @return GetWorkRequestResponse
|
|
772
908
|
* @throws OciError when an error occurs
|
|
773
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
909
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
774
910
|
*/
|
|
775
911
|
getWorkRequest(getWorkRequestRequest) {
|
|
776
912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -834,7 +970,7 @@ class DatabaseToolsClient {
|
|
|
834
970
|
* @param ListDatabaseToolsConnectionsRequest
|
|
835
971
|
* @return ListDatabaseToolsConnectionsResponse
|
|
836
972
|
* @throws OciError when an error occurs
|
|
837
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
973
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ListDatabaseToolsConnections.ts.html |here} to see how to use ListDatabaseToolsConnections API.
|
|
838
974
|
*/
|
|
839
975
|
listDatabaseToolsConnections(listDatabaseToolsConnectionsRequest) {
|
|
840
976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -848,6 +984,8 @@ class DatabaseToolsClient {
|
|
|
848
984
|
"lifecycleState": listDatabaseToolsConnectionsRequest.lifecycleState,
|
|
849
985
|
"displayName": listDatabaseToolsConnectionsRequest.displayName,
|
|
850
986
|
"type": listDatabaseToolsConnectionsRequest.type,
|
|
987
|
+
"runtimeSupport": listDatabaseToolsConnectionsRequest.runtimeSupport,
|
|
988
|
+
"relatedResourceIdentifier": listDatabaseToolsConnectionsRequest.relatedResourceIdentifier,
|
|
851
989
|
"limit": listDatabaseToolsConnectionsRequest.limit,
|
|
852
990
|
"page": listDatabaseToolsConnectionsRequest.page,
|
|
853
991
|
"sortOrder": listDatabaseToolsConnectionsRequest.sortOrder,
|
|
@@ -905,7 +1043,7 @@ class DatabaseToolsClient {
|
|
|
905
1043
|
* @param ListDatabaseToolsEndpointServicesRequest
|
|
906
1044
|
* @return ListDatabaseToolsEndpointServicesResponse
|
|
907
1045
|
* @throws OciError when an error occurs
|
|
908
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ListDatabaseToolsEndpointServices.ts.html |here} to see how to use ListDatabaseToolsEndpointServices API.
|
|
909
1047
|
*/
|
|
910
1048
|
listDatabaseToolsEndpointServices(listDatabaseToolsEndpointServicesRequest) {
|
|
911
1049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -976,7 +1114,7 @@ class DatabaseToolsClient {
|
|
|
976
1114
|
* @param ListDatabaseToolsPrivateEndpointsRequest
|
|
977
1115
|
* @return ListDatabaseToolsPrivateEndpointsResponse
|
|
978
1116
|
* @throws OciError when an error occurs
|
|
979
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1117
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ListDatabaseToolsPrivateEndpoints.ts.html |here} to see how to use ListDatabaseToolsPrivateEndpoints API.
|
|
980
1118
|
*/
|
|
981
1119
|
listDatabaseToolsPrivateEndpoints(listDatabaseToolsPrivateEndpointsRequest) {
|
|
982
1120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1048,7 +1186,7 @@ class DatabaseToolsClient {
|
|
|
1048
1186
|
* @param ListWorkRequestErrorsRequest
|
|
1049
1187
|
* @return ListWorkRequestErrorsResponse
|
|
1050
1188
|
* @throws OciError when an error occurs
|
|
1051
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1189
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1052
1190
|
*/
|
|
1053
1191
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1054
1192
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1117,7 +1255,7 @@ class DatabaseToolsClient {
|
|
|
1117
1255
|
* @param ListWorkRequestLogsRequest
|
|
1118
1256
|
* @return ListWorkRequestLogsResponse
|
|
1119
1257
|
* @throws OciError when an error occurs
|
|
1120
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1121
1259
|
*/
|
|
1122
1260
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1123
1261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1186,7 +1324,7 @@ class DatabaseToolsClient {
|
|
|
1186
1324
|
* @param ListWorkRequestsRequest
|
|
1187
1325
|
* @return ListWorkRequestsResponse
|
|
1188
1326
|
* @throws OciError when an error occurs
|
|
1189
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1190
1328
|
*/
|
|
1191
1329
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1192
1330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1248,13 +1386,143 @@ class DatabaseToolsClient {
|
|
|
1248
1386
|
}
|
|
1249
1387
|
});
|
|
1250
1388
|
}
|
|
1389
|
+
/**
|
|
1390
|
+
* Removes a lock from a DatabaseToolsConnection resource.
|
|
1391
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1392
|
+
* @param RemoveDatabaseToolsConnectionLockRequest
|
|
1393
|
+
* @return RemoveDatabaseToolsConnectionLockResponse
|
|
1394
|
+
* @throws OciError when an error occurs
|
|
1395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/RemoveDatabaseToolsConnectionLock.ts.html |here} to see how to use RemoveDatabaseToolsConnectionLock API.
|
|
1396
|
+
*/
|
|
1397
|
+
removeDatabaseToolsConnectionLock(removeDatabaseToolsConnectionLockRequest) {
|
|
1398
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1399
|
+
if (this.logger)
|
|
1400
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsConnectionLock.");
|
|
1401
|
+
const operationName = "removeDatabaseToolsConnectionLock";
|
|
1402
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-tools/20201005/DatabaseToolsConnection/RemoveDatabaseToolsConnectionLock";
|
|
1403
|
+
const pathParams = {
|
|
1404
|
+
"{databaseToolsConnectionId}": removeDatabaseToolsConnectionLockRequest.databaseToolsConnectionId
|
|
1405
|
+
};
|
|
1406
|
+
const queryParams = {};
|
|
1407
|
+
let headerParams = {
|
|
1408
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1409
|
+
"opc-request-id": removeDatabaseToolsConnectionLockRequest.opcRequestId,
|
|
1410
|
+
"if-match": removeDatabaseToolsConnectionLockRequest.ifMatch
|
|
1411
|
+
};
|
|
1412
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1413
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsConnectionLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1414
|
+
if (this.logger)
|
|
1415
|
+
retrier.logger = this.logger;
|
|
1416
|
+
const request = yield oci_common_1.composeRequest({
|
|
1417
|
+
baseEndpoint: this._endpoint,
|
|
1418
|
+
defaultHeaders: this._defaultHeaders,
|
|
1419
|
+
path: "/databaseToolsConnections/{databaseToolsConnectionId}/actions/removeLock",
|
|
1420
|
+
method: "POST",
|
|
1421
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsConnectionLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1422
|
+
pathParams: pathParams,
|
|
1423
|
+
headerParams: headerParams,
|
|
1424
|
+
queryParams: queryParams
|
|
1425
|
+
});
|
|
1426
|
+
try {
|
|
1427
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1428
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1429
|
+
responseObject: {},
|
|
1430
|
+
body: yield response.json(),
|
|
1431
|
+
bodyKey: "databaseToolsConnection",
|
|
1432
|
+
bodyModel: model.DatabaseToolsConnection,
|
|
1433
|
+
type: "model.DatabaseToolsConnection",
|
|
1434
|
+
responseHeaders: [
|
|
1435
|
+
{
|
|
1436
|
+
value: response.headers.get("opc-request-id"),
|
|
1437
|
+
key: "opcRequestId",
|
|
1438
|
+
dataType: "string"
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
value: response.headers.get("etag"),
|
|
1442
|
+
key: "etag",
|
|
1443
|
+
dataType: "string"
|
|
1444
|
+
}
|
|
1445
|
+
]
|
|
1446
|
+
});
|
|
1447
|
+
return sdkResponse;
|
|
1448
|
+
}
|
|
1449
|
+
catch (err) {
|
|
1450
|
+
throw err;
|
|
1451
|
+
}
|
|
1452
|
+
});
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* Removes a lock from a DatabaseToolsPrivateEndpoint resource.
|
|
1456
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1457
|
+
* @param RemoveDatabaseToolsPrivateEndpointLockRequest
|
|
1458
|
+
* @return RemoveDatabaseToolsPrivateEndpointLockResponse
|
|
1459
|
+
* @throws OciError when an error occurs
|
|
1460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/RemoveDatabaseToolsPrivateEndpointLock.ts.html |here} to see how to use RemoveDatabaseToolsPrivateEndpointLock API.
|
|
1461
|
+
*/
|
|
1462
|
+
removeDatabaseToolsPrivateEndpointLock(removeDatabaseToolsPrivateEndpointLockRequest) {
|
|
1463
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1464
|
+
if (this.logger)
|
|
1465
|
+
this.logger.debug("Calling operation DatabaseToolsClient#removeDatabaseToolsPrivateEndpointLock.");
|
|
1466
|
+
const operationName = "removeDatabaseToolsPrivateEndpointLock";
|
|
1467
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-tools/20201005/DatabaseToolsPrivateEndpoint/RemoveDatabaseToolsPrivateEndpointLock";
|
|
1468
|
+
const pathParams = {
|
|
1469
|
+
"{databaseToolsPrivateEndpointId}": removeDatabaseToolsPrivateEndpointLockRequest.databaseToolsPrivateEndpointId
|
|
1470
|
+
};
|
|
1471
|
+
const queryParams = {};
|
|
1472
|
+
let headerParams = {
|
|
1473
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1474
|
+
"opc-request-id": removeDatabaseToolsPrivateEndpointLockRequest.opcRequestId,
|
|
1475
|
+
"if-match": removeDatabaseToolsPrivateEndpointLockRequest.ifMatch
|
|
1476
|
+
};
|
|
1477
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1478
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeDatabaseToolsPrivateEndpointLockRequest.retryConfiguration, specRetryConfiguration);
|
|
1479
|
+
if (this.logger)
|
|
1480
|
+
retrier.logger = this.logger;
|
|
1481
|
+
const request = yield oci_common_1.composeRequest({
|
|
1482
|
+
baseEndpoint: this._endpoint,
|
|
1483
|
+
defaultHeaders: this._defaultHeaders,
|
|
1484
|
+
path: "/databaseToolsPrivateEndpoints/{databaseToolsPrivateEndpointId}/actions/removeLock",
|
|
1485
|
+
method: "POST",
|
|
1486
|
+
bodyContent: common.ObjectSerializer.serialize(removeDatabaseToolsPrivateEndpointLockRequest.removeResourceLockDetails, "RemoveResourceLockDetails", model.RemoveResourceLockDetails.getJsonObj),
|
|
1487
|
+
pathParams: pathParams,
|
|
1488
|
+
headerParams: headerParams,
|
|
1489
|
+
queryParams: queryParams
|
|
1490
|
+
});
|
|
1491
|
+
try {
|
|
1492
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1493
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1494
|
+
responseObject: {},
|
|
1495
|
+
body: yield response.json(),
|
|
1496
|
+
bodyKey: "databaseToolsPrivateEndpoint",
|
|
1497
|
+
bodyModel: model.DatabaseToolsPrivateEndpoint,
|
|
1498
|
+
type: "model.DatabaseToolsPrivateEndpoint",
|
|
1499
|
+
responseHeaders: [
|
|
1500
|
+
{
|
|
1501
|
+
value: response.headers.get("opc-request-id"),
|
|
1502
|
+
key: "opcRequestId",
|
|
1503
|
+
dataType: "string"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
value: response.headers.get("etag"),
|
|
1507
|
+
key: "etag",
|
|
1508
|
+
dataType: "string"
|
|
1509
|
+
}
|
|
1510
|
+
]
|
|
1511
|
+
});
|
|
1512
|
+
return sdkResponse;
|
|
1513
|
+
}
|
|
1514
|
+
catch (err) {
|
|
1515
|
+
throw err;
|
|
1516
|
+
}
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1251
1519
|
/**
|
|
1252
1520
|
* Updates the specified Database Tools connection.
|
|
1253
1521
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1254
1522
|
* @param UpdateDatabaseToolsConnectionRequest
|
|
1255
1523
|
* @return UpdateDatabaseToolsConnectionResponse
|
|
1256
1524
|
* @throws OciError when an error occurs
|
|
1257
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/UpdateDatabaseToolsConnection.ts.html |here} to see how to use UpdateDatabaseToolsConnection API.
|
|
1258
1526
|
*/
|
|
1259
1527
|
updateDatabaseToolsConnection(updateDatabaseToolsConnectionRequest) {
|
|
1260
1528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1265,7 +1533,9 @@ class DatabaseToolsClient {
|
|
|
1265
1533
|
const pathParams = {
|
|
1266
1534
|
"{databaseToolsConnectionId}": updateDatabaseToolsConnectionRequest.databaseToolsConnectionId
|
|
1267
1535
|
};
|
|
1268
|
-
const queryParams = {
|
|
1536
|
+
const queryParams = {
|
|
1537
|
+
"isLockOverride": updateDatabaseToolsConnectionRequest.isLockOverride
|
|
1538
|
+
};
|
|
1269
1539
|
let headerParams = {
|
|
1270
1540
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1271
1541
|
"if-match": updateDatabaseToolsConnectionRequest.ifMatch,
|
|
@@ -1315,7 +1585,7 @@ class DatabaseToolsClient {
|
|
|
1315
1585
|
* @param UpdateDatabaseToolsPrivateEndpointRequest
|
|
1316
1586
|
* @return UpdateDatabaseToolsPrivateEndpointResponse
|
|
1317
1587
|
* @throws OciError when an error occurs
|
|
1318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/UpdateDatabaseToolsPrivateEndpoint.ts.html |here} to see how to use UpdateDatabaseToolsPrivateEndpoint API.
|
|
1319
1589
|
*/
|
|
1320
1590
|
updateDatabaseToolsPrivateEndpoint(updateDatabaseToolsPrivateEndpointRequest) {
|
|
1321
1591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1326,7 +1596,9 @@ class DatabaseToolsClient {
|
|
|
1326
1596
|
const pathParams = {
|
|
1327
1597
|
"{databaseToolsPrivateEndpointId}": updateDatabaseToolsPrivateEndpointRequest.databaseToolsPrivateEndpointId
|
|
1328
1598
|
};
|
|
1329
|
-
const queryParams = {
|
|
1599
|
+
const queryParams = {
|
|
1600
|
+
"isLockOverride": updateDatabaseToolsPrivateEndpointRequest.isLockOverride
|
|
1601
|
+
};
|
|
1330
1602
|
let headerParams = {
|
|
1331
1603
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1332
1604
|
"if-match": updateDatabaseToolsPrivateEndpointRequest.ifMatch,
|
|
@@ -1377,7 +1649,7 @@ class DatabaseToolsClient {
|
|
|
1377
1649
|
* @param ValidateDatabaseToolsConnectionRequest
|
|
1378
1650
|
* @return ValidateDatabaseToolsConnectionResponse
|
|
1379
1651
|
* @throws OciError when an error occurs
|
|
1380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1652
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/databasetools/ValidateDatabaseToolsConnection.ts.html |here} to see how to use ValidateDatabaseToolsConnection API.
|
|
1381
1653
|
*/
|
|
1382
1654
|
validateDatabaseToolsConnection(validateDatabaseToolsConnectionRequest) {
|
|
1383
1655
|
return __awaiter(this, void 0, void 0, function* () {
|