Introduction
IBM® watsonx.data is a data management solution for collecting, storing, querying, and analyzing all your enterprise data (structured, semi-structured, and unstructured) with a single unified data platform. It provides a flexible and reliable platform that is optimized to work on open data formats.
The api are in beta state and expected to change.
Endpoint URLs
The base URLs come from the service instance. To find the URL, view the service credentials by clicking the name of the service in the Resource list. Use the value of the URL. Add the method to form the complete API endpoint for your request.
Authentication
Required Purpose: To work with the API, you must use an IBM Cloud Identity and Access Management (IAM) access token. The token is used to determine the actions that a user or service ID has access to when they use the API.
You can generate an IAM token for an authenticated user or service ID by using the IAM Identity Services API. IAM tokens are generated by using the user or service ID's API key. For more information, see Generating an IBM Cloud IAM token by using an API key.
To use the API, add a valid IAM token to the HTTP Authorization request header, for example, -H 'Authorization: Bearer {TOKEN}'
.
To retrieve your access token:
curl -X POST "https://iam.cloud.ibm.com/identity/token" --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' --data-urlencode 'grant_type=urn:ibm:params:oauth:grant-type:apikey' --data-urlencode 'apikey={API_KEY}'
Replace {API_KEY}
with your IAM API key.
Auditing
Required if applicable Purpose: Describes that the API generates auditing events that can be consumed by the Activity Tracker service, and links to your related product docs for more information. Required only if any of the API's methods is enabled to generate auditing events.
Example:
You can monitor API activity within your account by using the IBM Cloud Activity Tracker service. Whenever an API method is called, an event is generated that you can then track and audit from within Activity Tracker. The specific event type is listed for each individual method.
For more information about how to track Certificate Manager activity, see Auditing events for Certificate Manager.
Error handling
This API uses standard HTTP response codes to indicate whether a method completed successfully. A 200
response indicates success. A 400
type response indicates a failure, and a 500
type response indicates an internal system error.
HTTP Error Code | Description | Recovery |
---|---|---|
200 |
Success | The request was successful. |
201 |
Created | The requested resource successfully created in a synchronous manner. |
204 |
No Content | The server successfully processed the request and is not returning any content. |
400 |
Bad Request | The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request. |
401 |
Unauthorized | You are not authorized to make this request. Log in to IBM Cloud and try again. If this error persists, contact the account owner to check your permissions. |
403 |
Forbidden | The supplied authentication is not authorized to access '{namespace}'. |
404 |
Not Found | The requested resource could not be found. |
409 |
Conflict | The entity is already in the requested state. |
500 |
Internal Server Error | Your request could not be processed. Wait a few minutes and try again. |
Pagination
Some API requests might return many results. To avoid performance issues, these results are returned one page at a time, with a limited number of results on each page. GET requests for the following resources use pagination:
/v1/statement
For the request that uses pagination, the response does include following urls to make subsequent requests :
infoUri
: The URL for requesting the first page of results.nextUri
: The URL for requesting the next page of results.
Methods
Get bucket registrations
Get list of registered buckets
Get list of registered buckets.
Get list of registered buckets.
Get list of registered buckets.
Get list of registered buckets.
GET /bucket_registrations
(watsonxData *WatsonxDataV2) ListBucketRegistrations(listBucketRegistrationsOptions *ListBucketRegistrationsOptions) (result *BucketRegistrationCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListBucketRegistrationsWithContext(ctx context.Context, listBucketRegistrationsOptions *ListBucketRegistrationsOptions) (result *BucketRegistrationCollection, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistrationCollection> listBucketRegistrations(ListBucketRegistrationsOptions listBucketRegistrationsOptions)
list_bucket_registrations(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listBucketRegistrations(params)
Request
Instantiate the ListBucketRegistrationsOptions
struct and set the fields to provide parameter values for the ListBucketRegistrations
method.
Use the ListBucketRegistrationsOptions.Builder
to create a ListBucketRegistrationsOptions
object that contains the parameter values for the listBucketRegistrations
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListBucketRegistrations options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listBucketRegistrations options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations"
let res; try { res = await watsonxDataService.listBucketRegistrations({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListBucketRegistrationsOptions listBucketRegistrationsOptions = new ListBucketRegistrationsOptions.Builder() .build(); Response<BucketRegistrationCollection> response = watsonxDataService.listBucketRegistrations(listBucketRegistrationsOptions).execute(); BucketRegistrationCollection bucketRegistrationCollection = response.getResult(); System.out.println(bucketRegistrationCollection);
response = watsonx_data_service.list_bucket_registrations() bucket_registration_collection = response.get_result() print(json.dumps(bucket_registration_collection, indent=2))
Response
List bucket registrations
Buckets
Possible values: 0 ≤ number of items ≤ 10000
List bucket registrations.
Buckets.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
BucketDetails
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
BucketRegistrations
List bucket registrations.
Buckets.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucketDetails
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
bucketRegistrations
List bucket registrations.
Buckets.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
bucket_registrations
List bucket registrations.
Buckets.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
bucket_registrations
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "bucket_registrations": [ { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "iceberg_catalog", "catalog_tags": [] }, "bucket_details": { "bucket_name": "iceberg-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "iceberg-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }, { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [] }, "bucket_details": { "bucket_name": "hive-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "hive-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] } ] }
{ "bucket_registrations": [ { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "iceberg_catalog", "catalog_tags": [] }, "bucket_details": { "bucket_name": "iceberg-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "iceberg-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }, { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [] }, "bucket_details": { "bucket_name": "hive-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "hive-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] } ] }
Register bucket
Register a new bucket
Register a new bucket.
Register a new bucket.
Register a new bucket.
Register a new bucket.
POST /bucket_registrations
(watsonxData *WatsonxDataV2) CreateBucketRegistration(createBucketRegistrationOptions *CreateBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateBucketRegistrationWithContext(ctx context.Context, createBucketRegistrationOptions *CreateBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistration> createBucketRegistration(CreateBucketRegistrationOptions createBucketRegistrationOptions)
create_bucket_registration(
self,
bucket_details: 'BucketDetails',
bucket_type: str,
description: str,
managed_by: str,
*,
associated_catalog: Optional['BucketCatalog'] = None,
bucket_display_name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[List[str]] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createBucketRegistration(params)
Request
Instantiate the CreateBucketRegistrationOptions
struct and set the fields to provide parameter values for the CreateBucketRegistration
method.
Use the CreateBucketRegistrationOptions.Builder
to create a CreateBucketRegistrationOptions
object that contains the parameter values for the createBucketRegistration
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
bucket details
bucket type
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
ibm_cos
bucket description
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
COS bucket for customer data
managed by
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
ibm
bucket catalog
Examples:Viewbucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
sample-bucket-displayname
region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateBucketRegistration options.
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
BucketDetails
bucket type.
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewregion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createBucketRegistration options.
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucketDetails
bucket type.
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewregion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket type.
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:value_source_lines_htmlbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlmanaged by.
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:value_source_lines_htmlbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlregion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmltags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucketDetails
bucket type.
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:value_source_lines_htmlbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlmanaged by.
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:value_source_lines_htmlbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlregion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmltags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "bucket_details": { "access_key": "<access_key>", "bucket_name": "sample-bucket", "endpoint": "https://s3.{region}.cloud-object-storage.appdomain.cloud/", "secret_key": "secret_key" }, "bucket_display_name": "sample-bucket-displayname", "bucket_tags": [ "read customer data", "write customer data'" ], "bucket_type": "ibm_cos", "catalog_name": "sampleCatalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "description": "COS bucket for customer data", "managed_by": "ibm", "region": "us-south", "state": "active", "table_type": "iceberg" }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations"
// Request models needed by this operation. // BucketDetails const bucketDetailsModel = { bucket_name: 'sample-bucket', }; const params = { bucketDetails: bucketDetailsModel, bucketType: 'ibm_cos', description: 'COS bucket for customer data', managedBy: 'ibm', }; let res; try { res = await watsonxDataService.createBucketRegistration(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
BucketDetails bucketDetailsModel = new BucketDetails.Builder() .bucketName("sample-bucket") .build(); CreateBucketRegistrationOptions createBucketRegistrationOptions = new CreateBucketRegistrationOptions.Builder() .bucketDetails(bucketDetailsModel) .bucketType("ibm_cos") .description("COS bucket for customer data") .managedBy("ibm") .build(); Response<BucketRegistration> response = watsonxDataService.createBucketRegistration(createBucketRegistrationOptions).execute(); BucketRegistration bucketRegistration = response.getResult(); System.out.println(bucketRegistration);
bucket_details_model = { 'bucket_name': 'sample-bucket', } response = watsonx_data_service.create_bucket_registration( bucket_details=bucket_details_model, bucket_type='ibm_cos', description='COS bucket for customer data', managed_by='ibm', ) bucket_registration = response.get_result() print(json.dumps(bucket_registration, indent=2))
Response
Bucket
bucket catalog
Examples:Viewbucket type
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
ibm_cos
Username who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Creation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
1686120645
bucket description
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
COS bucket for customer data
managed by
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
ibm
mark bucket active or inactive
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
active
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewbucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
sample-bucket-displayname
bucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
samplebucket123
Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
.*
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
BucketDetails
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucketDetails
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Get bucket
Get a registered bucket
Get a registered bucket.
Get a registered bucket.
Get a registered bucket.
Get a registered bucket.
GET /bucket_registrations/{bucket_id}
(watsonxData *WatsonxDataV2) GetBucketRegistration(getBucketRegistrationOptions *GetBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetBucketRegistrationWithContext(ctx context.Context, getBucketRegistrationOptions *GetBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistration> getBucketRegistration(GetBucketRegistrationOptions getBucketRegistrationOptions)
get_bucket_registration(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getBucketRegistration(params)
Request
Instantiate the GetBucketRegistrationOptions
struct and set the fields to provide parameter values for the GetBucketRegistration
method.
Use the GetBucketRegistrationOptions.Builder
to create a GetBucketRegistrationOptions
object that contains the parameter values for the getBucketRegistration
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
const params = { bucketId: 'testString', }; let res; try { res = await watsonxDataService.getBucketRegistration(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetBucketRegistrationOptions getBucketRegistrationOptions = new GetBucketRegistrationOptions.Builder() .bucketId("testString") .build(); Response<BucketRegistration> response = watsonxDataService.getBucketRegistration(getBucketRegistrationOptions).execute(); BucketRegistration bucketRegistration = response.getResult(); System.out.println(bucketRegistration);
response = watsonx_data_service.get_bucket_registration( bucket_id='testString', ) bucket_registration = response.get_result() print(json.dumps(bucket_registration, indent=2))
Response
Bucket
bucket catalog
Examples:Viewbucket type
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
ibm_cos
Username who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Creation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
1686120645
bucket description
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
COS bucket for customer data
managed by
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
ibm
mark bucket active or inactive
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
active
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewbucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
sample-bucket-displayname
bucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
samplebucket123
Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
.*
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
BucketDetails
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucketDetails
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Unregister Bucket
Unregister a bucket
Unregister a bucket.
Unregister a bucket.
Unregister a bucket.
Unregister a bucket.
DELETE /bucket_registrations/{bucket_id}
(watsonxData *WatsonxDataV2) DeleteBucketRegistration(deleteBucketRegistrationOptions *DeleteBucketRegistrationOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteBucketRegistrationWithContext(ctx context.Context, deleteBucketRegistrationOptions *DeleteBucketRegistrationOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteBucketRegistration(DeleteBucketRegistrationOptions deleteBucketRegistrationOptions)
delete_bucket_registration(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteBucketRegistration(params)
Request
Instantiate the DeleteBucketRegistrationOptions
struct and set the fields to provide parameter values for the DeleteBucketRegistration
method.
Use the DeleteBucketRegistrationOptions.Builder
to create a DeleteBucketRegistrationOptions
object that contains the parameter values for the deleteBucketRegistration
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
const params = { bucketId: 'testString', }; try { await watsonxDataService.deleteBucketRegistration(params); } catch (err) { console.warn(err); }
DeleteBucketRegistrationOptions deleteBucketRegistrationOptions = new DeleteBucketRegistrationOptions.Builder() .bucketId("testString") .build(); Response<Void> response = watsonxDataService.deleteBucketRegistration(deleteBucketRegistrationOptions).execute();
response = watsonx_data_service.delete_bucket_registration( bucket_id='testString', )
Update bucket
Update bucket details & credentials
Update bucket details & credentials.
Update bucket details & credentials.
Update bucket details & credentials.
Update bucket details & credentials.
PATCH /bucket_registrations/{bucket_id}
(watsonxData *WatsonxDataV2) UpdateBucketRegistration(updateBucketRegistrationOptions *UpdateBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateBucketRegistrationWithContext(ctx context.Context, updateBucketRegistrationOptions *UpdateBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistration> updateBucketRegistration(UpdateBucketRegistrationOptions updateBucketRegistrationOptions)
update_bucket_registration(
self,
bucket_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateBucketRegistration(params)
Request
Instantiate the UpdateBucketRegistrationOptions
struct and set the fields to provide parameter values for the UpdateBucketRegistration
method.
Use the UpdateBucketRegistrationOptions.Builder
to create a UpdateBucketRegistrationOptions
object that contains the parameter values for the updateBucketRegistration
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
sample-bucket-displayname
modified description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
COS bucket for customer data
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "access_key": "<access_key>", "bucket_display_name": "sample-bucket-displayname", "description": "COS bucket for customer data", "secret_key": "<secret_key>", "tags": [ "testbucket", "userbucket" ] }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { bucketId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateBucketRegistration(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateBucketRegistrationOptions updateBucketRegistrationOptions = new UpdateBucketRegistrationOptions.Builder() .bucketId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<BucketRegistration> response = watsonxDataService.updateBucketRegistration(updateBucketRegistrationOptions).execute(); BucketRegistration bucketRegistration = response.getResult(); System.out.println(bucketRegistration);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_bucket_registration( bucket_id='testString', body=[json_patch_operation_model], ) bucket_registration = response.get_result() print(json.dumps(bucket_registration, indent=2))
Response
Bucket
bucket catalog
Examples:Viewbucket type
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
ibm_cos
Username who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Creation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
1686120645
bucket description
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
COS bucket for customer data
managed by
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
ibm
mark bucket active or inactive
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
active
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewbucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
sample-bucket-displayname
bucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
samplebucket123
Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
.*
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
BucketDetails
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucketDetails
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Bucket.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
bucket details.
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewactual bucket name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:ViewSecret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_details
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewbucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewbucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewUsername who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewbucket description.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewmanaged by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewRegion where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Activate Bucket
Activate a registered bucket
Activate a registered bucket.
Activate a registered bucket.
Activate a registered bucket.
Activate a registered bucket.
POST /bucket_registrations/{bucket_id}/activate
(watsonxData *WatsonxDataV2) CreateActivateBucket(createActivateBucketOptions *CreateActivateBucketOptions) (result *CreateActivateBucketCreatedBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateActivateBucketWithContext(ctx context.Context, createActivateBucketOptions *CreateActivateBucketOptions) (result *CreateActivateBucketCreatedBody, response *core.DetailedResponse, err error)
ServiceCall<CreateActivateBucketCreatedBody> createActivateBucket(CreateActivateBucketOptions createActivateBucketOptions)
create_activate_bucket(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createActivateBucket(params)
Request
Instantiate the CreateActivateBucketOptions
struct and set the fields to provide parameter values for the CreateActivateBucket
method.
Use the CreateActivateBucketOptions.Builder
to create a CreateActivateBucketOptions
object that contains the parameter values for the createActivateBucket
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateActivateBucket options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createActivateBucket options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -d "" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/activate"
const params = { bucketId: 'testString', }; let res; try { res = await watsonxDataService.createActivateBucket(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateActivateBucketOptions createActivateBucketOptions = new CreateActivateBucketOptions.Builder() .bucketId("testString") .build(); Response<CreateActivateBucketCreatedBody> response = watsonxDataService.createActivateBucket(createActivateBucketOptions).execute(); CreateActivateBucketCreatedBody createActivateBucketCreatedBody = response.getResult(); System.out.println(createActivateBucketCreatedBody);
response = watsonx_data_service.create_activate_bucket( bucket_id='testString', ) create_activate_bucket_created_body = response.get_result() print(json.dumps(create_activate_bucket_created_body, indent=2))
Response
Activate bucket
Response of success
Examples:View
Activate bucket.
Response of success.
Examples:ViewMessage.
Message code.
Response
Activate bucket.
Response of success.
Examples:ViewMessage.
Message code.
response
Activate bucket.
Response of success.
Examples:ViewMessage.
Message code.
response
Activate bucket.
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "Activate bucket", "message_code": "success" } }
{ "response": { "message": "Activate bucket", "message_code": "success" } }
Deactivate Bucket
Deactivate a bucket
Deactivate a bucket.
Deactivate a bucket.
Deactivate a bucket.
Deactivate a bucket.
DELETE /bucket_registrations/{bucket_id}/deactivate
(watsonxData *WatsonxDataV2) DeleteDeactivateBucket(deleteDeactivateBucketOptions *DeleteDeactivateBucketOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteDeactivateBucketWithContext(ctx context.Context, deleteDeactivateBucketOptions *DeleteDeactivateBucketOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteDeactivateBucket(DeleteDeactivateBucketOptions deleteDeactivateBucketOptions)
delete_deactivate_bucket(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteDeactivateBucket(params)
Request
Instantiate the DeleteDeactivateBucketOptions
struct and set the fields to provide parameter values for the DeleteDeactivateBucket
method.
Use the DeleteDeactivateBucketOptions.Builder
to create a DeleteDeactivateBucketOptions
object that contains the parameter values for the deleteDeactivateBucket
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteDeactivateBucket options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteDeactivateBucket options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/deactivate"
const params = { bucketId: 'testString', }; try { await watsonxDataService.deleteDeactivateBucket(params); } catch (err) { console.warn(err); }
DeleteDeactivateBucketOptions deleteDeactivateBucketOptions = new DeleteDeactivateBucketOptions.Builder() .bucketId("testString") .build(); Response<Void> response = watsonxDataService.deleteDeactivateBucket(deleteDeactivateBucketOptions).execute();
response = watsonx_data_service.delete_deactivate_bucket( bucket_id='testString', )
List bucket objects
Fetch all objects from a given bucket
Fetch all objects from a given bucket.
Fetch all objects from a given bucket.
Fetch all objects from a given bucket.
Fetch all objects from a given bucket.
GET /bucket_registrations/{bucket_id}/objects
(watsonxData *WatsonxDataV2) ListBucketObjects(listBucketObjectsOptions *ListBucketObjectsOptions) (result *BucketRegistrationObjectCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListBucketObjectsWithContext(ctx context.Context, listBucketObjectsOptions *ListBucketObjectsOptions) (result *BucketRegistrationObjectCollection, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistrationObjectCollection> listBucketObjects(ListBucketObjectsOptions listBucketObjectsOptions)
list_bucket_objects(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listBucketObjects(params)
Request
Instantiate the ListBucketObjectsOptions
struct and set the fields to provide parameter values for the ListBucketObjects
method.
Use the ListBucketObjectsOptions.Builder
to create a ListBucketObjectsOptions
object that contains the parameter values for the listBucketObjects
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListBucketObjects options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listBucketObjects options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/objects"
const params = { bucketId: 'testString', }; let res; try { res = await watsonxDataService.listBucketObjects(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListBucketObjectsOptions listBucketObjectsOptions = new ListBucketObjectsOptions.Builder() .bucketId("testString") .build(); Response<BucketRegistrationObjectCollection> response = watsonxDataService.listBucketObjects(listBucketObjectsOptions).execute(); BucketRegistrationObjectCollection bucketRegistrationObjectCollection = response.getResult(); System.out.println(bucketRegistrationObjectCollection);
response = watsonx_data_service.list_bucket_objects( bucket_id='testString', ) bucket_registration_object_collection = response.get_result() print(json.dumps(bucket_registration_object_collection, indent=2))
Response
List bucket objects
bucket object
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-/]+
List bucket objects.
bucket object.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\/]+/
List bucket objects.
bucket object.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\/]+/
List bucket objects.
bucket object.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\/]+/
List bucket objects.
bucket object.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\/]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "objects": [ "/path/file1.json", "/path/file2.txt", "/path/file3.csv", "/path/file4.parquet" ] }
{ "objects": [ "/path/file1.json", "/path/file2.txt", "/path/file3.csv", "/path/file4.parquet" ] }
Check bucket credentials to be valid
Check whether provided bucket credentials are valid or not
Check whether provided bucket credentials are valid or not.
Check whether provided bucket credentials are valid or not.
Check whether provided bucket credentials are valid or not.
Check whether provided bucket credentials are valid or not.
POST /test_bucket_connection
(watsonxData *WatsonxDataV2) TestBucketConnection(testBucketConnectionOptions *TestBucketConnectionOptions) (result *TestBucketConnectionOKBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) TestBucketConnectionWithContext(ctx context.Context, testBucketConnectionOptions *TestBucketConnectionOptions) (result *TestBucketConnectionOKBody, response *core.DetailedResponse, err error)
ServiceCall<TestBucketConnectionOKBody> testBucketConnection(TestBucketConnectionOptions testBucketConnectionOptions)
test_bucket_connection(
self,
access_key: str,
bucket_name: str,
bucket_type: str,
endpoint: str,
region: str,
secret_key: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
testBucketConnection(params)
Request
Instantiate the TestBucketConnectionOptions
struct and set the fields to provide parameter values for the TestBucketConnection
method.
Use the TestBucketConnectionOptions.Builder
to create a TestBucketConnectionOptions
object that contains the parameter values for the testBucketConnection
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Check if given credentials for the bucket are valid
access key to access the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<access_key>
name of the bucket to be checked
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sample-bucket
type of bucket that is selected
Allowable values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm_cos
endpoint to reach the bucket
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[a-zA-Z0-9\-:/@?=.]+
Example:
https://s3.<region>.cloud-object-storage.appdomain.cloud/
bucket region
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
secret key to access the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
secret_key
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The TestBucketConnection options.
access key to access the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewname of the bucket to be checked.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewtype of bucket that is selected.
Allowable values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewendpoint to reach the bucket.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/@?=.]+/
Examples:Viewbucket region.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewsecret key to access the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The testBucketConnection options.
access key to access the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewname of the bucket to be checked.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewtype of bucket that is selected.
Allowable values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewendpoint to reach the bucket.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/@?=.]+/
Examples:Viewbucket region.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewsecret key to access the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
access key to access the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:value_source_lines_htmlname of the bucket to be checked.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:value_source_lines_htmltype of bucket that is selected.
Allowable values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlendpoint to reach the bucket.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/@?=.]+/
Examples:value_source_lines_htmlbucket region.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlsecret key to access the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
access key to access the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:value_source_lines_htmlname of the bucket to be checked.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:value_source_lines_htmltype of bucket that is selected.
Allowable values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlendpoint to reach the bucket.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/@?=.]+/
Examples:value_source_lines_htmlbucket region.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlsecret key to access the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "access_key": "<access_key>", "bucket_name": "sample-bucket", "bucket_type": "ibm_cos", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "region": "us-south", "secret_key": "<secret_key>" }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/test_bucket_connection"
const params = { accessKey: '<access_key>', bucketName: 'sample-bucket', bucketType: 'ibm_cos', endpoint: 'https://s3.<region>.cloud-object-storage.appdomain.cloud/', region: 'us-south', secretKey: 'secret_key', }; let res; try { res = await watsonxDataService.testBucketConnection(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
TestBucketConnectionOptions testBucketConnectionOptions = new TestBucketConnectionOptions.Builder() .accessKey("<access_key>") .bucketName("sample-bucket") .bucketType("ibm_cos") .endpoint("https://s3.<region>.cloud-object-storage.appdomain.cloud/") .region("us-south") .secretKey("secret_key") .build(); Response<TestBucketConnectionOKBody> response = watsonxDataService.testBucketConnection(testBucketConnectionOptions).execute(); TestBucketConnectionOKBody testBucketConnectionOkBody = response.getResult(); System.out.println(testBucketConnectionOkBody);
response = watsonx_data_service.test_bucket_connection( access_key='<access_key>', bucket_name='sample-bucket', bucket_type='ibm_cos', endpoint='https://s3.<region>.cloud-object-storage.appdomain.cloud/', region='us-south', secret_key='secret_key', ) test_bucket_connection_ok_body = response.get_result() print(json.dumps(test_bucket_connection_ok_body, indent=2))
Response
ValidateBucketRegistrationCredentials OK
object defining the response of checking if the credentials of a bucket are valid
Response of success
Examples:View
ValidateBucketRegistrationCredentials OK.
object defining the response of checking if the credentials of a bucket are valid.
bucket credentials are valid or not.
Examples:Viewmessage response as per the credentials validated.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
BucketStatus
Response of success.
Examples:ViewMessage.
Message code.
Response
ValidateBucketRegistrationCredentials OK.
object defining the response of checking if the credentials of a bucket are valid.
bucket credentials are valid or not.
Examples:Viewmessage response as per the credentials validated.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucketStatus
Response of success.
Examples:ViewMessage.
Message code.
response
ValidateBucketRegistrationCredentials OK.
object defining the response of checking if the credentials of a bucket are valid.
bucket credentials are valid or not.
Examples:Viewmessage response as per the credentials validated.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_status
Response of success.
Examples:ViewMessage.
Message code.
response
ValidateBucketRegistrationCredentials OK.
object defining the response of checking if the credentials of a bucket are valid.
bucket credentials are valid or not.
Examples:Viewmessage response as per the credentials validated.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
bucket_status
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal Server Error
{ "bucket_status": { "state": true, "state_message": "Credentials provided for <bucket-name> bucket are correct." }, "response": { "message": "Test bucket connection", "message_code": "success" } }
{ "bucket_status": { "state": true, "state_message": "Credentials provided for <bucket-name> bucket are correct." }, "response": { "message": "Test bucket connection", "message_code": "success" } }
Add/Create database with driver
Add or create a new database with driver
Add or create a new database with driver.
Add or create a new database with driver.
Add or create a new database with driver.
Add or create a new database with driver.
POST /database_driver_registrations
(watsonxData *WatsonxDataV2) CreateDriverDatabaseCatalog(createDriverDatabaseCatalogOptions *CreateDriverDatabaseCatalogOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateDriverDatabaseCatalogWithContext(ctx context.Context, createDriverDatabaseCatalogOptions *CreateDriverDatabaseCatalogOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
ServiceCall<DatabaseRegistration> createDriverDatabaseCatalog(CreateDriverDatabaseCatalogOptions createDriverDatabaseCatalogOptions)
create_driver_database_catalog(
self,
driver: BinaryIO,
driver_file_name: str,
database_display_name: str,
database_type: str,
catalog_name: str,
hostname: str,
port: str,
username: str,
password: str,
database_name: str,
*,
driver_content_type: Optional[str] = None,
certificate: Optional[str] = None,
certificate_extension: Optional[str] = None,
ssl: Optional[str] = None,
description: Optional[str] = None,
created_on: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createDriverDatabaseCatalog(params)
Request
Instantiate the CreateDriverDatabaseCatalogOptions
struct and set the fields to provide parameter values for the CreateDriverDatabaseCatalog
method.
Use the CreateDriverDatabaseCatalogOptions.Builder
to create a CreateDriverDatabaseCatalogOptions
object that contains the parameter values for the createDriverDatabaseCatalog
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Form Parameters
Driver file to upload
Possible values: 1 ≤ length ≤ 104857600
Name of the driver file
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Connector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Host name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Port
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Username
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Psssword
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Database name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
contents of a pem/crt file
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
^[a-zA-Z0-9\-]+
extension of the certificate file
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
SSL Mode
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Database description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Created on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateDriverDatabaseCatalog options.
Driver file to upload.
Possible values: 1 ≤ length ≤ 104857600
Name of the driver file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Host name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Port.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
The content type of driver.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
SSL Mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createDriverDatabaseCatalog options.
Driver file to upload.
Possible values: 1 ≤ length ≤ 104857600
Name of the driver file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Host name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Port.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
The content type of driver. Values for this parameter can be obtained from the HttpMediaType class.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
SSL Mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Driver file to upload.
Possible values: 1 ≤ length ≤ 104857600
Name of the driver file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Host name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Port.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
The content type of driver.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
SSL Mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Driver file to upload.
Possible values: 1 ≤ length ≤ 104857600
Name of the driver file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Host name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Port.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
The content type of driver.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
SSL Mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: multipart/form-data" -F "port = t" -F "driver = " -F "database_display_name = t" -F "ssl = " -F "database_name =" -F "catalog_name =t" -F "hostname =t" -F "username =" -F "created_on =" -F "driver_file_name =" -F "certificate =" -F "certificate_extension =" -F "password =" -F "description =" -F "database_type =t" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/database_driver_registrations"
const params = { driver: Buffer.from('This is a mock file.'), driverFileName: 'testString', databaseDisplayName: 'testString', databaseType: 'testString', catalogName: 'testString', hostname: 'testString', port: 'testString', username: 'testString', password: 'testString', databaseName: 'testString', }; let res; try { res = await watsonxDataService.createDriverDatabaseCatalog(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateDriverDatabaseCatalogOptions createDriverDatabaseCatalogOptions = new CreateDriverDatabaseCatalogOptions.Builder() .driver(new java.io.ByteArrayInputStream("This is a mock file.".getBytes())) .driverFileName("testString") .databaseDisplayName("testString") .databaseType("testString") .catalogName("testString") .hostname("testString") .port("testString") .username("testString") .password("testString") .databaseName("testString") .build(); Response<DatabaseRegistration> response = watsonxDataService.createDriverDatabaseCatalog(createDriverDatabaseCatalogOptions).execute(); DatabaseRegistration databaseRegistration = response.getResult(); System.out.println(databaseRegistration);
response = watsonx_data_service.create_driver_database_catalog( driver=io.BytesIO(b'This is a mock file.').getvalue(), driver_file_name='testString', database_display_name='testString', database_type='testString', catalog_name='testString', hostname='testString', port='testString', username='testString', password='testString', database_name='testString', ) database_registration = response.get_result() print(json.dumps(database_registration, indent=2))
Response
database registration object
database details
Database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_database
Connector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
actions
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog
Examples:ViewCatalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sampleCatalog
Created by
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
user1@bim.com
Created on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1686792721
Database ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_database_id
This will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewDatabase description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Description of the external Database
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
DatabaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
DatabaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
databaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
Get databases
Get list of databases
Get list of databases.
Get list of databases.
Get list of databases.
Get list of databases.
GET /database_registrations
(watsonxData *WatsonxDataV2) ListDatabaseRegistrations(listDatabaseRegistrationsOptions *ListDatabaseRegistrationsOptions) (result *DatabaseRegistrationCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListDatabaseRegistrationsWithContext(ctx context.Context, listDatabaseRegistrationsOptions *ListDatabaseRegistrationsOptions) (result *DatabaseRegistrationCollection, response *core.DetailedResponse, err error)
ServiceCall<DatabaseRegistrationCollection> listDatabaseRegistrations(ListDatabaseRegistrationsOptions listDatabaseRegistrationsOptions)
list_database_registrations(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listDatabaseRegistrations(params)
Request
Instantiate the ListDatabaseRegistrationsOptions
struct and set the fields to provide parameter values for the ListDatabaseRegistrations
method.
Use the ListDatabaseRegistrationsOptions.Builder
to create a ListDatabaseRegistrationsOptions
object that contains the parameter values for the listDatabaseRegistrations
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListDatabaseRegistrations options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listDatabaseRegistrations options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/database_registrations"
let res; try { res = await watsonxDataService.listDatabaseRegistrations({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListDatabaseRegistrationsOptions listDatabaseRegistrationsOptions = new ListDatabaseRegistrationsOptions.Builder() .build(); Response<DatabaseRegistrationCollection> response = watsonxDataService.listDatabaseRegistrations(listDatabaseRegistrationsOptions).execute(); DatabaseRegistrationCollection databaseRegistrationCollection = response.getResult(); System.out.println(databaseRegistrationCollection);
response = watsonx_data_service.list_database_registrations() database_registration_collection = response.get_result() print(json.dumps(database_registration_collection, indent=2))
Response
list database registrations
Database body
Possible values: 0 ≤ number of items ≤ 10000
list database registrations.
Database body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewactions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
DatabaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
DatabaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
DatabaseRegistrations
list database registrations.
Database body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewactions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
databaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
databaseRegistrations
list database registrations.
Database body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewactions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_registrations
list database registrations.
Database body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewactions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_registrations
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "database_registrations": [ { "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "hive" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://ps.fyre.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the external Database", "tags": [ "testdatabase", "userdatabase" ] } ] }
{ "database_registrations": [ { "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "hive" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://ps.fyre.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the external Database", "tags": [ "testdatabase", "userdatabase" ] } ] }
Add/Create database
Add or create a new database
Add or create a new database.
Add or create a new database.
Add or create a new database.
Add or create a new database.
POST /database_registrations
(watsonxData *WatsonxDataV2) CreateDatabaseRegistration(createDatabaseRegistrationOptions *CreateDatabaseRegistrationOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateDatabaseRegistrationWithContext(ctx context.Context, createDatabaseRegistrationOptions *CreateDatabaseRegistrationOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
ServiceCall<DatabaseRegistration> createDatabaseRegistration(CreateDatabaseRegistrationOptions createDatabaseRegistrationOptions)
create_database_registration(
self,
database_display_name: str,
database_type: str,
*,
associated_catalog: Optional['DatabaseCatalog'] = None,
created_on: Optional[str] = None,
database_details: Optional['DatabaseDetails'] = None,
database_properties: Optional[List['DatabaseRegistrationPrototypeDatabasePropertiesItems']] = None,
description: Optional[str] = None,
tags: Optional[List[str]] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createDatabaseRegistration(params)
Request
Instantiate the CreateDatabaseRegistrationOptions
struct and set the fields to provide parameter values for the CreateDatabaseRegistration
method.
Use the CreateDatabaseRegistrationOptions.Builder
to create a CreateDatabaseRegistrationOptions
object that contains the parameter values for the createDatabaseRegistration
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
Database display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
new_database
Connector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
db2
database catalog
Examples:ViewCreated on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1686792721
database details
This will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewDatabase description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
db2 extenal database description
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateDatabaseRegistration options.
Database display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewConnector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
DatabaseDetails
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
DatabaseProperties
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createDatabaseRegistration options.
Database display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewConnector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
databaseProperties
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Database display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlConnector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmldatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmldatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:value_source_lines_htmlWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmltags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Database display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlConnector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmldatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmldatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:value_source_lines_htmlWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
databaseProperties
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmltags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "catalog_name": "sampleCatalog", "created_on": 0, "database_details": { "certificate": "contents of a pem/crt file", "certificate_extension": "pem/crt", "database_name": "new_database", "hostname": "db2@<hostname>.com", "hosts": "abc.com:1234,xyz.com:4321", "password": "samplepassword", "port": 4553, "sasl": true, "ssl": true, "tables": "kafka_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_properties": [ { "encrypt": true, "key": "abc", "value": "xyz" } ], "database_type": "db2", "description": "db2 extenal database description", "tags": [ "tag_1", "tag_2" ] }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/database_registrations"
const params = { databaseDisplayName: 'new_database', databaseType: 'db2', }; let res; try { res = await watsonxDataService.createDatabaseRegistration(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateDatabaseRegistrationOptions createDatabaseRegistrationOptions = new CreateDatabaseRegistrationOptions.Builder() .databaseDisplayName("new_database") .databaseType("db2") .build(); Response<DatabaseRegistration> response = watsonxDataService.createDatabaseRegistration(createDatabaseRegistrationOptions).execute(); DatabaseRegistration databaseRegistration = response.getResult(); System.out.println(databaseRegistration);
response = watsonx_data_service.create_database_registration( database_display_name='new_database', database_type='db2', ) database_registration = response.get_result() print(json.dumps(database_registration, indent=2))
Response
database registration object
database details
Database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_database
Connector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
actions
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog
Examples:ViewCatalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sampleCatalog
Created by
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
user1@bim.com
Created on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1686792721
Database ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_database_id
This will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewDatabase description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Description of the external Database
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
DatabaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
DatabaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
databaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
Get database
Get a registered databases
Get a registered databases.
Get a registered databases.
Get a registered databases.
Get a registered databases.
GET /database_registrations/{database_id}
(watsonxData *WatsonxDataV2) GetDatabase(getDatabaseOptions *GetDatabaseOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetDatabaseWithContext(ctx context.Context, getDatabaseOptions *GetDatabaseOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
ServiceCall<DatabaseRegistration> getDatabase(GetDatabaseOptions getDatabaseOptions)
get_database(
self,
database_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getDatabase(params)
Request
Instantiate the GetDatabaseOptions
struct and set the fields to provide parameter values for the GetDatabase
method.
Use the GetDatabaseOptions.Builder
to create a GetDatabaseOptions
object that contains the parameter values for the getDatabase
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
database id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetDatabase options.
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getDatabase options.
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/database_registrations/{database_id}"
const params = { databaseId: 'testString', }; let res; try { res = await watsonxDataService.getDatabase(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetDatabaseOptions getDatabaseOptions = new GetDatabaseOptions.Builder() .databaseId("testString") .build(); Response<DatabaseRegistration> response = watsonxDataService.getDatabase(getDatabaseOptions).execute(); DatabaseRegistration databaseRegistration = response.getResult(); System.out.println(databaseRegistration);
response = watsonx_data_service.get_database( database_id='testString', ) database_registration = response.get_result() print(json.dumps(database_registration, indent=2))
Response
database registration object
database details
Database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_database
Connector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
actions
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog
Examples:ViewCatalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sampleCatalog
Created by
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
user1@bim.com
Created on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1686792721
Database ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_database_id
This will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewDatabase description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Description of the external Database
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
DatabaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
DatabaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
databaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
Delete database
Delete a database
Delete a database.
Delete a database.
Delete a database.
Delete a database.
DELETE /database_registrations/{database_id}
(watsonxData *WatsonxDataV2) DeleteDatabaseCatalog(deleteDatabaseCatalogOptions *DeleteDatabaseCatalogOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteDatabaseCatalogWithContext(ctx context.Context, deleteDatabaseCatalogOptions *DeleteDatabaseCatalogOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteDatabaseCatalog(DeleteDatabaseCatalogOptions deleteDatabaseCatalogOptions)
delete_database_catalog(
self,
database_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteDatabaseCatalog(params)
Request
Instantiate the DeleteDatabaseCatalogOptions
struct and set the fields to provide parameter values for the DeleteDatabaseCatalog
method.
Use the DeleteDatabaseCatalogOptions.Builder
to create a DeleteDatabaseCatalogOptions
object that contains the parameter values for the deleteDatabaseCatalog
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
database id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteDatabaseCatalog options.
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteDatabaseCatalog options.
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/database_registrations/{database_id}"
const params = { databaseId: 'testString', }; try { await watsonxDataService.deleteDatabaseCatalog(params); } catch (err) { console.warn(err); }
DeleteDatabaseCatalogOptions deleteDatabaseCatalogOptions = new DeleteDatabaseCatalogOptions.Builder() .databaseId("testString") .build(); Response<Void> response = watsonxDataService.deleteDatabaseCatalog(deleteDatabaseCatalogOptions).execute();
response = watsonx_data_service.delete_database_catalog( database_id='testString', )
Update database
Update database details
Update database details.
Update database details.
Update database details.
Update database details.
PATCH /database_registrations/{database_id}
(watsonxData *WatsonxDataV2) UpdateDatabase(updateDatabaseOptions *UpdateDatabaseOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateDatabaseWithContext(ctx context.Context, updateDatabaseOptions *UpdateDatabaseOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
ServiceCall<DatabaseRegistration> updateDatabase(UpdateDatabaseOptions updateDatabaseOptions)
update_database(
self,
database_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateDatabase(params)
Request
Instantiate the UpdateDatabaseOptions
struct and set the fields to provide parameter values for the UpdateDatabase
method.
Use the UpdateDatabaseOptions.Builder
to create a UpdateDatabaseOptions
object that contains the parameter values for the updateDatabase
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
database id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
New database details
New database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
new_database
New database description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
External database description
New tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 10000, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateDatabase options.
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateDatabase options.
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
database id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json-patch+json" -d '{ "database_details": { "password": "samplepassword", "username": "sampleuser" }, "database_display_name": "new_database", "description": "External database description", "tags": [ "testdatabase", "userdatabase" ] }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/database_registrations/{database_id}"
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { databaseId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateDatabase(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateDatabaseOptions updateDatabaseOptions = new UpdateDatabaseOptions.Builder() .databaseId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<DatabaseRegistration> response = watsonxDataService.updateDatabase(updateDatabaseOptions).execute(); DatabaseRegistration databaseRegistration = response.getResult(); System.out.println(databaseRegistration);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_database( database_id='testString', body=[json_patch_operation_model], ) database_registration = response.get_result() print(json.dumps(database_registration, indent=2))
Response
database registration object
database details
Database display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_database
Connector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
actions
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog
Examples:ViewCatalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sampleCatalog
Created by
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
user1@bim.com
Created on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1686792721
Database ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_database_id
This will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewDatabase description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Description of the external Database
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
AssociatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
DatabaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
DatabaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associatedCatalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
databaseProperties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database registration object.
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewdatabase catalog.
Examples:Viewcatalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewcatalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewcatalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
associated_catalog
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewCreated by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewdatabase details.
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:Viewextension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewHostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewString of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Possible values: 1 ≤ value ≤ 65535
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewThis will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewWether the value is to be encrypted before storing.
Examples:ViewKey of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:ViewValue of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
database_properties
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDatabase description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewtags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
Validate database connection
API to validate the database connection
API to validate the database connection.
API to validate the database connection.
API to validate the database connection.
API to validate the database connection.
POST /test_database_connection
(watsonxData *WatsonxDataV2) ValidateDatabaseConnection(validateDatabaseConnectionOptions *ValidateDatabaseConnectionOptions) (result *TestDatabaseConnectionResponse, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ValidateDatabaseConnectionWithContext(ctx context.Context, validateDatabaseConnectionOptions *ValidateDatabaseConnectionOptions) (result *TestDatabaseConnectionResponse, response *core.DetailedResponse, err error)
ServiceCall<TestDatabaseConnectionResponse> validateDatabaseConnection(ValidateDatabaseConnectionOptions validateDatabaseConnectionOptions)
validate_database_connection(
self,
database_details: 'ValidateDatabaseBodyDatabaseDetails',
database_type: str,
*,
certificate: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
validateDatabaseConnection(params)
Request
Instantiate the ValidateDatabaseConnectionOptions
struct and set the fields to provide parameter values for the ValidateDatabaseConnection
method.
Use the ValidateDatabaseConnectionOptions.Builder
to create a ValidateDatabaseConnectionOptions
object that contains the parameter values for the validateDatabaseConnection
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
database details
Type of db connection
Allowable values: [
mysql
,postgresql
,netezza
,db2
,mongodb
,kafka
,sqlserver
,mycustomdb
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
contents of a pem/crt file
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
^[a-zA-Z0-9\-=]+
Example:
contents of a pem/crt file
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ValidateDatabaseConnection options.
database details.
db name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
DatabaseDetails
Type of db connection.
Allowable values: [
mysql
,postgresql
,netezza
,db2
,mongodb
,kafka
,sqlserver
,mycustomdb
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcontents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The validateDatabaseConnection options.
database details.
db name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
Type of db connection.
Allowable values: [
mysql
,postgresql
,netezza
,db2
,mongodb
,kafka
,sqlserver
,mycustomdb
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcontents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
database details.
db name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
database_details
Type of db connection.
Allowable values: [
mysql
,postgresql
,netezza
,db2
,mongodb
,kafka
,sqlserver
,mycustomdb
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlcontents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
database details.
db name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHost name.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:ViewPsssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewPort.
Examples:ViewSASL Mode.
Examples:ViewSSL Mode.
Examples:ViewOnly for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewUsername.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVerify certificate.
Examples:View
databaseDetails
Type of db connection.
Allowable values: [
mysql
,postgresql
,netezza
,db2
,mongodb
,kafka
,sqlserver
,mycustomdb
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlcontents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "certificate": "contents of a pem/crt file", "database_details": { "database_name": "sampledatabase", "hostname": "db2@hostname.com", "password": "samplepassword", "port": 4553, "sasl": true, "ssl": true, "tables": "kafka_table_name", "username": "sampleuser" }, "database_type": "netezza", }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/test_database_connection"
// Request models needed by this operation. // ValidateDatabaseBodyDatabaseDetails const validateDatabaseBodyDatabaseDetailsModel = { hostname: 'db2@hostname.com', port: 4553, }; const params = { databaseDetails: validateDatabaseBodyDatabaseDetailsModel, databaseType: 'netezza', }; let res; try { res = await watsonxDataService.validateDatabaseConnection(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ValidateDatabaseBodyDatabaseDetails validateDatabaseBodyDatabaseDetailsModel = new ValidateDatabaseBodyDatabaseDetails.Builder() .hostname("db2@hostname.com") .port(Long.valueOf("4553")) .build(); ValidateDatabaseConnectionOptions validateDatabaseConnectionOptions = new ValidateDatabaseConnectionOptions.Builder() .databaseDetails(validateDatabaseBodyDatabaseDetailsModel) .databaseType("netezza") .build(); Response<TestDatabaseConnectionResponse> response = watsonxDataService.validateDatabaseConnection(validateDatabaseConnectionOptions).execute(); TestDatabaseConnectionResponse testDatabaseConnectionResponse = response.getResult(); System.out.println(testDatabaseConnectionResponse);
validate_database_body_database_details_model = { 'hostname': 'db2@hostname.com', 'port': 4553, } response = watsonx_data_service.validate_database_connection( database_details=validate_database_body_database_details_model, database_type='netezza', ) test_database_connection_response = response.get_result() print(json.dumps(test_database_connection_response, indent=2))
Response
Success response
check connection response details are valid or not
Success response.
check connection response details are valid or not.
Whether the connection details are valid or not.
Connection message received by connector libraries for failed connection.
ConnectionResponse
Success response.
check connection response details are valid or not.
Whether the connection details are valid or not.
Connection message received by connector libraries for failed connection.
connectionResponse
Success response.
check connection response details are valid or not.
Whether the connection details are valid or not.
Connection message received by connector libraries for failed connection.
connection_response
Success response.
check connection response details are valid or not.
Whether the connection details are valid or not.
Connection message received by connector libraries for failed connection.
connection_response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "connection_response": { "state": true, "state_message": "connection successful" } }
{ "connection_response": { "state": true, "state_message": "connection successful" } }
Get list of db2 engines
Get list of all db2 engines
Get list of all db2 engines.
Get list of all db2 engines.
Get list of all db2 engines.
Get list of all db2 engines.
GET /db2_engines
(watsonxData *WatsonxDataV2) ListDb2Engines(listDb2EnginesOptions *ListDb2EnginesOptions) (result *Db2EngineCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListDb2EnginesWithContext(ctx context.Context, listDb2EnginesOptions *ListDb2EnginesOptions) (result *Db2EngineCollection, response *core.DetailedResponse, err error)
ServiceCall<Db2EngineCollection> listDb2Engines(ListDb2EnginesOptions listDb2EnginesOptions)
list_db2_engines(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listDb2Engines(params)
Request
Instantiate the ListDb2EnginesOptions
struct and set the fields to provide parameter values for the ListDb2Engines
method.
Use the ListDb2EnginesOptions.Builder
to create a ListDb2EnginesOptions
object that contains the parameter values for the listDb2Engines
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListDb2Engines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listDb2Engines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/db2_engines"
let res; try { res = await watsonxDataService.listDb2Engines({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListDb2EnginesOptions listDb2EnginesOptions = new ListDb2EnginesOptions.Builder() .build(); Response<Db2EngineCollection> response = watsonxDataService.listDb2Engines(listDb2EnginesOptions).execute(); Db2EngineCollection db2EngineCollection = response.getResult(); System.out.println(db2EngineCollection);
response = watsonx_data_service.list_db2_engines() db2_engine_collection = response.get_result() print(json.dumps(db2_engine_collection, indent=2))
Response
list db2 engines
list db2 engines
Possible values: 0 ≤ number of items ≤ 10000
list db2 engines.
list db2 engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Db2Engines
list db2 engines.
list db2 engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
db2Engines
list db2 engines.
list db2 engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
db2_engines
list db2 engines.
list db2 engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
db2_engines
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "db2_engines": [ { "created_by": "user@test.com", "created_on": 1700322436, "description": "db2 engine for running sql queries", "engine_details": { "connection_string": "jdbc:db2://<hostname>:<port>/<database>", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "db2", "engine_id": "db2505", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" } ] }
{ "db2_engines": [ { "created_by": "user@test.com", "created_on": 1700322436, "description": "db2 engine for running sql queries", "engine_details": { "connection_string": "jdbc:db2://<hostname>:<port>/<database>", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "db2", "engine_id": "db2505", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" } ] }
Create db2 engine
Create a new db2 engine
Create a new db2 engine.
Create a new db2 engine.
Create a new db2 engine.
Create a new db2 engine.
POST /db2_engines
(watsonxData *WatsonxDataV2) CreateDb2Engine(createDb2EngineOptions *CreateDb2EngineOptions) (result *Db2Engine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateDb2EngineWithContext(ctx context.Context, createDb2EngineOptions *CreateDb2EngineOptions) (result *Db2Engine, response *core.DetailedResponse, err error)
ServiceCall<Db2Engine> createDb2Engine(CreateDb2EngineOptions createDb2EngineOptions)
create_db2_engine(
self,
origin: str,
type: str,
*,
description: Optional[str] = None,
engine_details: Optional['Db2EngineDetailsBody'] = None,
engine_display_name: Optional[str] = None,
tags: Optional[List[str]] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createDb2Engine(params)
Request
Instantiate the CreateDb2EngineOptions
struct and set the fields to provide parameter values for the CreateDb2Engine
method.
Use the CreateDb2EngineOptions.Builder
to create a CreateDb2EngineOptions
object that contains the parameter values for the createDb2Engine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create db2 engine body
Origin - created or registered
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
external
Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
db2
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
db2 engine description
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateDb2Engine options.
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createDb2Engine options.
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "description": "db2 engine description", "engine_details": { "connection_string": "1.2.3.4" }, "engine_display_name": "sampleEngine", "origin": "external", "tags": [ "tag1", "tag2" ], "type": "db2" }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/db2_engines"
const params = { origin: 'external', type: 'db2', }; let res; try { res = await watsonxDataService.createDb2Engine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateDb2EngineOptions createDb2EngineOptions = new CreateDb2EngineOptions.Builder() .origin("external") .type("db2") .build(); Response<Db2Engine> response = watsonxDataService.createDb2Engine(createDb2EngineOptions).execute(); Db2Engine db2Engine = response.getResult(); System.out.println(db2Engine);
response = watsonx_data_service.create_db2_engine( origin='external', type='db2', ) db2_engine = response.get_result() print(json.dumps(db2_engine, indent=2))
Response
Db2 engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
db2 engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
xyz-db2-01-db2-svc
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Engine port
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
REGISTERED
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
db2
Db2 engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Db2 engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Db2 engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Db2 engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "Db2Engine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for db2 engine.", "engine_details": { "connection_string\"": "jdbc:db2://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample db2 Engine Display Name", "engine_id": "sample db2 Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" }
{ "Db2Engine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for db2 engine.", "engine_details": { "connection_string\"": "jdbc:db2://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample db2 Engine Display Name", "engine_id": "sample db2 Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" }
Delete db2 engine
Delete a db2 engine
Delete a db2 engine.
Delete a db2 engine.
Delete a db2 engine.
Delete a db2 engine.
DELETE /db2_engines/{engine_id}
(watsonxData *WatsonxDataV2) DeleteDb2Engine(deleteDb2EngineOptions *DeleteDb2EngineOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteDb2EngineWithContext(ctx context.Context, deleteDb2EngineOptions *DeleteDb2EngineOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteDb2Engine(DeleteDb2EngineOptions deleteDb2EngineOptions)
delete_db2_engine(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteDb2Engine(params)
Request
Instantiate the DeleteDb2EngineOptions
struct and set the fields to provide parameter values for the DeleteDb2Engine
method.
Use the DeleteDb2EngineOptions.Builder
to create a DeleteDb2EngineOptions
object that contains the parameter values for the deleteDb2Engine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteDb2Engine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteDb2Engine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/db2_engines/{engine_id}"
const params = { engineId: 'testString', }; try { await watsonxDataService.deleteDb2Engine(params); } catch (err) { console.warn(err); }
DeleteDb2EngineOptions deleteDb2EngineOptions = new DeleteDb2EngineOptions.Builder() .engineId("testString") .build(); Response<Void> response = watsonxDataService.deleteDb2Engine(deleteDb2EngineOptions).execute();
response = watsonx_data_service.delete_db2_engine( engine_id='testString', )
Update db2 engine
Update details of db2 engine
Update details of db2 engine.
Update details of db2 engine.
Update details of db2 engine.
Update details of db2 engine.
PATCH /db2_engines/{engine_id}
(watsonxData *WatsonxDataV2) UpdateDb2Engine(updateDb2EngineOptions *UpdateDb2EngineOptions) (result *Db2Engine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateDb2EngineWithContext(ctx context.Context, updateDb2EngineOptions *UpdateDb2EngineOptions) (result *Db2Engine, response *core.DetailedResponse, err error)
ServiceCall<Db2Engine> updateDb2Engine(UpdateDb2EngineOptions updateDb2EngineOptions)
update_db2_engine(
self,
engine_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateDb2Engine(params)
Request
Instantiate the UpdateDb2EngineOptions
struct and set the fields to provide parameter values for the UpdateDb2Engine
method.
Use the UpdateDb2EngineOptions.Builder
to create a UpdateDb2EngineOptions
object that contains the parameter values for the updateDb2Engine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Update Engine Body
Modified description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
db2 engine updated description
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateDb2Engine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateDb2Engine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json-patch+json" -d '{ "description": "db2 engine updated description", "engine_display_name": "sampleEngine", "tags": [ "tag1", "tag2" ] }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/db2_engines/{engine_id}"
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { engineId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateDb2Engine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateDb2EngineOptions updateDb2EngineOptions = new UpdateDb2EngineOptions.Builder() .engineId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<Db2Engine> response = watsonxDataService.updateDb2Engine(updateDb2EngineOptions).execute(); Db2Engine db2Engine = response.getResult(); System.out.println(db2Engine);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_db2_engine( engine_id='testString', body=[json_patch_operation_model], ) db2_engine = response.get_result() print(json.dumps(db2_engine, indent=2))
Response
Db2 engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
db2 engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
xyz-db2-01-db2-svc
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Engine port
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
REGISTERED
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
db2
Db2 engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Db2 engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Db2 engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Db2 engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "Db2Engine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for db2 engine.", "engine_details": { "connection_string\"": "jdbc:db2://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample db2 Engine Display Name", "engine_id": "sample db2 Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" }
{ "Db2Engine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for db2 engine.", "engine_details": { "connection_string\"": "jdbc:db2://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample db2 Engine Display Name", "engine_id": "sample db2 Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "db2" }
Get all engines
Get all engine details
Get all engine details.
Get all engine details.
Get all engine details.
Get all engine details.
GET /engines
(watsonxData *WatsonxDataV2) GetEngines(getEnginesOptions *GetEnginesOptions) (result *Engines, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetEnginesWithContext(ctx context.Context, getEnginesOptions *GetEnginesOptions) (result *Engines, response *core.DetailedResponse, err error)
ServiceCall<Engines> getEngines(GetEnginesOptions getEnginesOptions)
get_engines(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getEngines(params)
Request
Instantiate the GetEnginesOptions
struct and set the fields to provide parameter values for the GetEngines
method.
Use the GetEnginesOptions.Builder
to create a GetEnginesOptions
object that contains the parameter values for the getEngines
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/engines"
let res; try { res = await watsonxDataService.getEngines({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetEnginesOptions getEnginesOptions = new GetEnginesOptions.Builder() .build(); Response<Engines> response = watsonxDataService.getEngines(getEnginesOptions).execute(); Engines engines = response.getResult(); System.out.println(engines);
response = watsonx_data_service.get_engines() engines = response.get_result() print(json.dumps(engines, indent=2))
Response
List all engines
All engine details
List all engines.
All engine details.
list of db2 engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Db2Engines
list of milvus engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
MilvusServices
list of netezza engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
NetezzaEngines
list of prestissimo engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
Endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
PrestissimoEngines
list of presto engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Worker
PrestoEngines
list of spark engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
Endpoints
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
SparkEngines
Engines
List all engines.
All engine details.
list of db2 engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
db2Engines
list of milvus engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvusServices
list of netezza engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
netezzaEngines
list of prestissimo engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
prestissimoEngines
list of presto engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
prestoEngines
list of spark engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
sparkEngines
engines
List all engines.
All engine details.
list of db2 engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
db2_engines
list of milvus engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus_services
list of netezza engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
netezza_engines
list of prestissimo engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
prestissimo_engines
list of presto engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
presto_engines
list of spark engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
spark_engines
engines
List all engines.
All engine details.
list of db2 engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
db2_engines
list of milvus engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus_services
list of netezza engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
netezza_engines
list of prestissimo engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
prestissimo_engines
list of presto engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
presto_engines
list of spark engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
spark_engines
engines
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "engines": { "db2_engines": [], "milvus_engines": [], "netezza_engines": [], "prestissimo_engines": [], "presto_engines": [], "spark_engines": [] } }
{ "engines": { "db2_engines": [], "milvus_engines": [], "netezza_engines": [], "prestissimo_engines": [], "presto_engines": [], "spark_engines": [] } }
Get deployments
Get list of all deployments
Get list of all deployments.
Get list of all deployments.
Get list of all deployments.
Get list of all deployments.
GET /instance
(watsonxData *WatsonxDataV2) GetDeployments(getDeploymentsOptions *GetDeploymentsOptions) (result *GetDeploymentsOKBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetDeploymentsWithContext(ctx context.Context, getDeploymentsOptions *GetDeploymentsOptions) (result *GetDeploymentsOKBody, response *core.DetailedResponse, err error)
ServiceCall<GetDeploymentsOKBody> getDeployments(GetDeploymentsOptions getDeploymentsOptions)
get_deployments(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getDeployments(params)
Request
Instantiate the GetDeploymentsOptions
struct and set the fields to provide parameter values for the GetDeployments
method.
Use the GetDeploymentsOptions.Builder
to create a GetDeploymentsOptions
object that contains the parameter values for the getDeployments
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetDeployments options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getDeployments options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/instance' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
let res; try { res = await watsonxDataService.getDeployments({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetDeploymentsOptions getDeploymentsOptions = new GetDeploymentsOptions.Builder() .build(); Response<GetDeploymentsOKBody> response = watsonxDataService.getDeployments(getDeploymentsOptions).execute(); GetDeploymentsOKBody getDeploymentsOkBody = response.getResult(); System.out.println(getDeploymentsOkBody);
response = watsonx_data_service.get_deployments() get_deployments_ok_body = response.get_result() print(json.dumps(get_deployments_ok_body, indent=2))
Response
Response body structure for get deployments
DeploymentsResponse
Response of success
Examples:View
Response body structure for get deployments.
DeploymentsResponse.
Deployment.
Cloud type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEnable private endpoints.
Examples:ViewEnable public endpoints.
Examples:ViewParameter for UI to validate if console is used for the first time.
Examples:ViewFormation id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewId.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewPlan id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewPlatform options.
Backup encryption key crn.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewDisk encryption key crn.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewKey protect key id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
PlatformOptions
Region.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewResource group crn for the formation.
Examples:ViewType.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Deployment
Deploymentresponse
Response of success.
Examples:ViewMessage.
Message code.
Response
Response body structure for get deployments.
DeploymentsResponse.
Deployment.
Cloud type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEnable private endpoints.
Examples:ViewEnable public endpoints.
Examples:ViewParameter for UI to validate if console is used for the first time.
Examples:ViewFormation id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewId.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewPlan id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewPlatform options.
Backup encryption key crn.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewDisk encryption key crn.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewKey protect key id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
platformOptions
Region.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewResource group crn for the formation.
Examples:ViewType.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
deployment
deploymentresponse
Response of success.
Examples:ViewMessage.
Message code.
response
Response body structure for get deployments.
DeploymentsResponse.
Deployment.
Cloud type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEnable private endpoints.
Examples:ViewEnable public endpoints.
Examples:ViewParameter for UI to validate if console is used for the first time.
Examples:ViewFormation id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewId.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewPlan id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewPlatform options.
Backup encryption key crn.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewDisk encryption key crn.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewKey protect key id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
platform_options
Region.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewResource group crn for the formation.
Examples:ViewType.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
deployment
deploymentresponse
Response of success.
Examples:ViewMessage.
Message code.
response
Response body structure for get deployments.
DeploymentsResponse.
Deployment.
Cloud type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEnable private endpoints.
Examples:ViewEnable public endpoints.
Examples:ViewParameter for UI to validate if console is used for the first time.
Examples:ViewFormation id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewId.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewPlan id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewPlatform options.
Backup encryption key crn.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewDisk encryption key crn.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewKey protect key id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
platform_options
Region.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewResource group crn for the formation.
Examples:ViewType.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
deployment
deploymentresponse
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "deploymentresponse": { "deployment": { "cloud_type": "aws", "enable_private_endpoints": true, "enable_public_endpoints": true, "first_time_use": false, "formation_id": "new_form_id", "id": "dep_id", "plan_id": "new_plan_id", "platform_options": { "backup_encryption_key_crn": "2nf8f8b3kd8wknfkf", "disk_encryption_key_crn": "hjdkd8wjnnd93ujd9", "key_protect_key_id": "8ndkenkwjdciendj" }, "region": "us-south", "type": "deployment_type", "version": "1.0.2" } }, "response": { "message": "get instance", "message_code": "success" } }
{ "deploymentresponse": { "deployment": { "cloud_type": "aws", "enable_private_endpoints": true, "enable_public_endpoints": true, "first_time_use": false, "formation_id": "new_form_id", "id": "dep_id", "plan_id": "new_plan_id", "platform_options": { "backup_encryption_key_crn": "2nf8f8b3kd8wknfkf", "disk_encryption_key_crn": "hjdkd8wjnnd93ujd9", "key_protect_key_id": "8ndkenkwjdciendj" }, "region": "us-south", "type": "deployment_type", "version": "1.0.2" } }, "response": { "message": "get instance", "message_code": "success" } }
Get list of netezza engines
Get list of all netezza engines
Get list of all netezza engines.
Get list of all netezza engines.
Get list of all netezza engines.
Get list of all netezza engines.
GET /netezza_engines
(watsonxData *WatsonxDataV2) ListNetezzaEngines(listNetezzaEnginesOptions *ListNetezzaEnginesOptions) (result *NetezzaEngineCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListNetezzaEnginesWithContext(ctx context.Context, listNetezzaEnginesOptions *ListNetezzaEnginesOptions) (result *NetezzaEngineCollection, response *core.DetailedResponse, err error)
ServiceCall<NetezzaEngineCollection> listNetezzaEngines(ListNetezzaEnginesOptions listNetezzaEnginesOptions)
list_netezza_engines(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listNetezzaEngines(params)
Request
Instantiate the ListNetezzaEnginesOptions
struct and set the fields to provide parameter values for the ListNetezzaEngines
method.
Use the ListNetezzaEnginesOptions.Builder
to create a ListNetezzaEnginesOptions
object that contains the parameter values for the listNetezzaEngines
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListNetezzaEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listNetezzaEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/netezza_engines"
let res; try { res = await watsonxDataService.listNetezzaEngines({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListNetezzaEnginesOptions listNetezzaEnginesOptions = new ListNetezzaEnginesOptions.Builder() .build(); Response<NetezzaEngineCollection> response = watsonxDataService.listNetezzaEngines(listNetezzaEnginesOptions).execute(); NetezzaEngineCollection netezzaEngineCollection = response.getResult(); System.out.println(netezzaEngineCollection);
response = watsonx_data_service.list_netezza_engines() netezza_engine_collection = response.get_result() print(json.dumps(netezza_engine_collection, indent=2))
Response
list Netezza engines
list Netezza engines
Possible values: 0 ≤ number of items ≤ 10000
list Netezza engines.
list Netezza engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
NetezzaEngines
list Netezza engines.
list Netezza engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
netezzaEngines
list Netezza engines.
list Netezza engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
netezza_engines
list Netezza engines.
list Netezza engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
netezza_engines
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "netezza_engines": [ { "created_by": "user@test.com", "created_on": 1700322469, "description": "netezza engine for running sql queries", "engine_details": { "connection_string": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "netezza", "engine_id": "netezza170", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" } ] }
{ "netezza_engines": [ { "created_by": "user@test.com", "created_on": 1700322469, "description": "netezza engine for running sql queries", "engine_details": { "connection_string": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "netezza", "engine_id": "netezza170", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" } ] }
Create netezza engine
Create a new netezza engine
Create a new netezza engine.
Create a new netezza engine.
Create a new netezza engine.
Create a new netezza engine.
POST /netezza_engines
(watsonxData *WatsonxDataV2) CreateNetezzaEngine(createNetezzaEngineOptions *CreateNetezzaEngineOptions) (result *NetezzaEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateNetezzaEngineWithContext(ctx context.Context, createNetezzaEngineOptions *CreateNetezzaEngineOptions) (result *NetezzaEngine, response *core.DetailedResponse, err error)
ServiceCall<NetezzaEngine> createNetezzaEngine(CreateNetezzaEngineOptions createNetezzaEngineOptions)
create_netezza_engine(
self,
origin: str,
type: str,
*,
description: Optional[str] = None,
engine_details: Optional['NetezzaEngineDetailsBody'] = None,
engine_display_name: Optional[str] = None,
tags: Optional[List[str]] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createNetezzaEngine(params)
Request
Instantiate the CreateNetezzaEngineOptions
struct and set the fields to provide parameter values for the CreateNetezzaEngine
method.
Use the CreateNetezzaEngineOptions.Builder
to create a CreateNetezzaEngineOptions
object that contains the parameter values for the createNetezzaEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create netezza engine body
Origin - created or registered
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
external
Engine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
netezza engine description
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateNetezzaEngine options.
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createNetezzaEngine options.
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json" -d '{ "description": "netezza engine description", "engine_details": { "connection_string": "1.2.3.4" }, "engine_display_name": "sampleEngine", "origin": "external", "tags": [ "tag1", "tag2" ], "type": "netezza" }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/netezza_engines"
const params = { origin: 'external', type: 'netezza', }; let res; try { res = await watsonxDataService.createNetezzaEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateNetezzaEngineOptions createNetezzaEngineOptions = new CreateNetezzaEngineOptions.Builder() .origin("external") .type("netezza") .build(); Response<NetezzaEngine> response = watsonxDataService.createNetezzaEngine(createNetezzaEngineOptions).execute(); NetezzaEngine netezzaEngine = response.getResult(); System.out.println(netezzaEngine);
response = watsonx_data_service.create_netezza_engine( origin='external', type='netezza', ) netezza_engine = response.get_result() print(json.dumps(netezza_engine, indent=2))
Response
Netezza engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
netezza engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
xyz-netezza-01-netezza-svc
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Engine port
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
REGISTERED
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
Netezza engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Netezza engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Netezza engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Netezza engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "NetezzaEngine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for netezza engine.", "engine_details": { "connection_string\"": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample Netezza Engine Display Name", "engine_id": "sample Netezza Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" }
{ "NetezzaEngine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for netezza engine.", "engine_details": { "connection_string\"": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample Netezza Engine Display Name", "engine_id": "sample Netezza Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" }
Delete netezza engine
Delete a netezza engine
Delete a netezza engine.
Delete a netezza engine.
Delete a netezza engine.
Delete a netezza engine.
DELETE /netezza_engines/{engine_id}
(watsonxData *WatsonxDataV2) DeleteNetezzaEngine(deleteNetezzaEngineOptions *DeleteNetezzaEngineOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteNetezzaEngineWithContext(ctx context.Context, deleteNetezzaEngineOptions *DeleteNetezzaEngineOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteNetezzaEngine(DeleteNetezzaEngineOptions deleteNetezzaEngineOptions)
delete_netezza_engine(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteNetezzaEngine(params)
Request
Instantiate the DeleteNetezzaEngineOptions
struct and set the fields to provide parameter values for the DeleteNetezzaEngine
method.
Use the DeleteNetezzaEngineOptions.Builder
to create a DeleteNetezzaEngineOptions
object that contains the parameter values for the deleteNetezzaEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteNetezzaEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteNetezzaEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */* " -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/netezza_engines/{engine_id}"
const params = { engineId: 'testString', }; try { await watsonxDataService.deleteNetezzaEngine(params); } catch (err) { console.warn(err); }
DeleteNetezzaEngineOptions deleteNetezzaEngineOptions = new DeleteNetezzaEngineOptions.Builder() .engineId("testString") .build(); Response<Void> response = watsonxDataService.deleteNetezzaEngine(deleteNetezzaEngineOptions).execute();
response = watsonx_data_service.delete_netezza_engine( engine_id='testString', )
Update netezza engine
Update details of netezza engine
Update details of netezza engine.
Update details of netezza engine.
Update details of netezza engine.
Update details of netezza engine.
PATCH /netezza_engines/{engine_id}
(watsonxData *WatsonxDataV2) UpdateNetezzaEngine(updateNetezzaEngineOptions *UpdateNetezzaEngineOptions) (result *NetezzaEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateNetezzaEngineWithContext(ctx context.Context, updateNetezzaEngineOptions *UpdateNetezzaEngineOptions) (result *NetezzaEngine, response *core.DetailedResponse, err error)
ServiceCall<NetezzaEngine> updateNetezzaEngine(UpdateNetezzaEngineOptions updateNetezzaEngineOptions)
update_netezza_engine(
self,
engine_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateNetezzaEngine(params)
Request
Instantiate the UpdateNetezzaEngineOptions
struct and set the fields to provide parameter values for the UpdateNetezzaEngine
method.
Use the UpdateNetezzaEngineOptions.Builder
to create a UpdateNetezzaEngineOptions
object that contains the parameter values for the updateNetezzaEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Update Engine Body
Modified description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
netezza engine updated description
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateNetezzaEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateNetezzaEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -H "Content-Type: application/json-patch+json" -d '{ "description": "netezza engine updated description", "engine_display_name": "sampleEngine", "tags": [ "tag1", "tag2" ] }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/netezza_engines/{engine_id}"
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { engineId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateNetezzaEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateNetezzaEngineOptions updateNetezzaEngineOptions = new UpdateNetezzaEngineOptions.Builder() .engineId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<NetezzaEngine> response = watsonxDataService.updateNetezzaEngine(updateNetezzaEngineOptions).execute(); NetezzaEngine netezzaEngine = response.getResult(); System.out.println(netezzaEngine);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_netezza_engine( engine_id='testString', body=[json_patch_operation_model], ) netezza_engine = response.get_result() print(json.dumps(netezza_engine, indent=2))
Response
Netezza engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
netezza engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
xyz-netezza-01-netezza-svc
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Engine port
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
REGISTERED
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
Netezza engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Netezza engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Netezza engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Netezza engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "NetezzaEngine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for netezza engine.", "engine_details": { "connection_string\"": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample Netezza Engine Display Name", "engine_id": "sample Netezza Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" }
{ "NetezzaEngine": null, "created_by": "user@test.com", "created_on": 1700322469, "description": "updated description for netezza engine.", "engine_details": { "connection_string\"": "jdbc:netezza://localhost:5480/database", "metastore_host": "thrift://mh-connection-string-sample.com" }, "engine_display_name": "sample Netezza Engine Display Name", "engine_id": "sample Netezza Engine Name", "origin": "external", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "netezza" }
List other engines
list all other engine details
list all other engine details.
list all other engine details.
list all other engine details.
list all other engine details.
GET /other_engines
(watsonxData *WatsonxDataV2) ListOtherEngines(listOtherEnginesOptions *ListOtherEnginesOptions) (result *OtherEngineCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListOtherEnginesWithContext(ctx context.Context, listOtherEnginesOptions *ListOtherEnginesOptions) (result *OtherEngineCollection, response *core.DetailedResponse, err error)
ServiceCall<OtherEngineCollection> listOtherEngines(ListOtherEnginesOptions listOtherEnginesOptions)
list_other_engines(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listOtherEngines(params)
Request
Instantiate the ListOtherEnginesOptions
struct and set the fields to provide parameter values for the ListOtherEngines
method.
Use the ListOtherEnginesOptions.Builder
to create a ListOtherEnginesOptions
object that contains the parameter values for the listOtherEngines
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListOtherEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listOtherEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/other_engines"
let res; try { res = await watsonxDataService.listOtherEngines({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListOtherEnginesOptions listOtherEnginesOptions = new ListOtherEnginesOptions.Builder() .build(); Response<OtherEngineCollection> response = watsonxDataService.listOtherEngines(listOtherEnginesOptions).execute(); OtherEngineCollection otherEngineCollection = response.getResult(); System.out.println(otherEngineCollection);
response = watsonx_data_service.list_other_engines() other_engine_collection = response.get_result() print(json.dumps(other_engine_collection, indent=2))
Response
list other engines
list other engines
Possible values: 0 ≤ number of items ≤ 10000
list other engines.
list other engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewcreated time in epoch format.
engine description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
external engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmetastore host - not required while registering an engine.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Vieworigin.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
OtherEngines
list other engines.
list other engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewcreated time in epoch format.
engine description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
external engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmetastore host - not required while registering an engine.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Vieworigin.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
otherEngines
list other engines.
list other engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewcreated time in epoch format.
engine description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
external engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmetastore host - not required while registering an engine.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Vieworigin.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
other_engines
list other engines.
list other engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewcreated time in epoch format.
engine description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
external engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmetastore host - not required while registering an engine.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Vieworigin.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
other_engines
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "other_engines": [ { "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "other engine for running queries", "engine_details": { "connection_string": "https://other-connection-string-sample.com", "engine_type": "netezza" }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "external", "status": "registered", "type": "other" } ] }
{ "other_engines": [ { "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "other engine for running queries", "engine_details": { "connection_string": "https://other-connection-string-sample.com", "engine_type": "netezza" }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "external", "status": "registered", "type": "other" } ] }
Create other engine
Create a new engine
Create a new engine.
Create a new engine.
Create a new engine.
Create a new engine.
POST /other_engines
(watsonxData *WatsonxDataV2) CreateOtherEngine(createOtherEngineOptions *CreateOtherEngineOptions) (result *OtherEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateOtherEngineWithContext(ctx context.Context, createOtherEngineOptions *CreateOtherEngineOptions) (result *OtherEngine, response *core.DetailedResponse, err error)
ServiceCall<OtherEngine> createOtherEngine(CreateOtherEngineOptions createOtherEngineOptions)
create_other_engine(
self,
engine_details: 'OtherEngineDetailsBody',
engine_display_name: str,
*,
description: Optional[str] = None,
origin: Optional[str] = None,
tags: Optional[List[str]] = None,
type: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createOtherEngine(params)
Request
Instantiate the CreateOtherEngineOptions
struct and set the fields to provide parameter values for the CreateOtherEngine
method.
Use the CreateOtherEngineOptions.Builder
to create a CreateOtherEngineOptions
object that contains the parameter values for the createOtherEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create other Engine Body
External engine details
engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine01
engine description
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
external engine description
Origin - created or registered
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
external
other engine tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
netezza
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateOtherEngine options.
External engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewOrigin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewother engine tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createOtherEngine options.
External engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewOrigin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewother engine tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
External engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlengine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlOrigin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlother engine tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
External engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlengine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlOrigin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlother engine tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "content-type: application/json" -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -d '{ "description": "external engine description", "engine_details": { "connection_string": "1.2.3.4", "engine_type": "netezza", "metastore_host": "1.2.3.4" }, "engine_display_name": "sampleEngine01", "tags": [ "tag1", "tag2" ] }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/other_engines"
// Request models needed by this operation. // OtherEngineDetailsBody const otherEngineDetailsBodyModel = { connection_string: '1.2.3.4', engine_type: 'netezza', }; const params = { engineDetails: otherEngineDetailsBodyModel, engineDisplayName: 'sampleEngine01', }; let res; try { res = await watsonxDataService.createOtherEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
OtherEngineDetailsBody otherEngineDetailsBodyModel = new OtherEngineDetailsBody.Builder() .connectionString("1.2.3.4") .engineType("netezza") .build(); CreateOtherEngineOptions createOtherEngineOptions = new CreateOtherEngineOptions.Builder() .engineDetails(otherEngineDetailsBodyModel) .engineDisplayName("sampleEngine01") .build(); Response<OtherEngine> response = watsonxDataService.createOtherEngine(createOtherEngineOptions).execute(); OtherEngine otherEngine = response.getResult(); System.out.println(otherEngine);
other_engine_details_body_model = { 'connection_string': '1.2.3.4', 'engine_type': 'netezza', } response = watsonx_data_service.create_other_engine( engine_details=other_engine_details_body_model, engine_display_name='sampleEngine01', ) other_engine = response.get_result() print(json.dumps(other_engine, indent=2))
Response
external engine details
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewcreated user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
created time in epoch format
engine description
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
xyz-netezza-01-netezza-svc
origin
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Engine port
engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
registered
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
external
external engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewcreated time in epoch format.
engine description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
external engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmetastore host - not required while registering an engine.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Vieworigin.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
external engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewcreated time in epoch format.
engine description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
external engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmetastore host - not required while registering an engine.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Vieworigin.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
external engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewcreated time in epoch format.
engine description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
external engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmetastore host - not required while registering an engine.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Vieworigin.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
external engine details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewcreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewcreated time in epoch format.
engine description.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
external engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/?=#.]+/
Examples:ViewActual engine type.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmetastore host - not required while registering an engine.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewengine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Vieworigin.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
engine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like presto, netezza, external,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "OtherEngine": { "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "other engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "external", "status": "registered", "type": "other" } }
{ "OtherEngine": { "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "other engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "external", "status": "registered", "type": "other" } }
Delete engine
Delete an engine from lakehouse
Delete an engine from lakehouse.
Delete an engine from lakehouse.
Delete an engine from lakehouse.
Delete an engine from lakehouse.
DELETE /other_engines/{engine_id}
(watsonxData *WatsonxDataV2) DeleteOtherEngine(deleteOtherEngineOptions *DeleteOtherEngineOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteOtherEngineWithContext(ctx context.Context, deleteOtherEngineOptions *DeleteOtherEngineOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteOtherEngine(DeleteOtherEngineOptions deleteOtherEngineOptions)
delete_other_engine(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteOtherEngine(params)
Request
Instantiate the DeleteOtherEngineOptions
struct and set the fields to provide parameter values for the DeleteOtherEngine
method.
Use the DeleteOtherEngineOptions.Builder
to create a DeleteOtherEngineOptions
object that contains the parameter values for the deleteOtherEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteOtherEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteOtherEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/other_engines/{engine_id}"
const params = { engineId: 'testString', }; try { await watsonxDataService.deleteOtherEngine(params); } catch (err) { console.warn(err); }
DeleteOtherEngineOptions deleteOtherEngineOptions = new DeleteOtherEngineOptions.Builder() .engineId("testString") .build(); Response<Void> response = watsonxDataService.deleteOtherEngine(deleteOtherEngineOptions).execute();
response = watsonx_data_service.delete_other_engine( engine_id='testString', )
Get list of prestissimo engines
Get list of all prestissimo engines
Get list of all prestissimo engines.
Get list of all prestissimo engines.
Get list of all prestissimo engines.
Get list of all prestissimo engines.
GET /prestissimo_engines
(watsonxData *WatsonxDataV2) ListPrestissimoEngines(listPrestissimoEnginesOptions *ListPrestissimoEnginesOptions) (result *PrestissimoEngineCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListPrestissimoEnginesWithContext(ctx context.Context, listPrestissimoEnginesOptions *ListPrestissimoEnginesOptions) (result *PrestissimoEngineCollection, response *core.DetailedResponse, err error)
ServiceCall<PrestissimoEngineCollection> listPrestissimoEngines(ListPrestissimoEnginesOptions listPrestissimoEnginesOptions)
list_prestissimo_engines(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listPrestissimoEngines(params)
Request
Instantiate the ListPrestissimoEnginesOptions
struct and set the fields to provide parameter values for the ListPrestissimoEngines
method.
Use the ListPrestissimoEnginesOptions.Builder
to create a ListPrestissimoEnginesOptions
object that contains the parameter values for the listPrestissimoEngines
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListPrestissimoEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listPrestissimoEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
let res; try { res = await watsonxDataService.listPrestissimoEngines({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListPrestissimoEnginesOptions listPrestissimoEnginesOptions = new ListPrestissimoEnginesOptions.Builder() .build(); Response<PrestissimoEngineCollection> response = watsonxDataService.listPrestissimoEngines(listPrestissimoEnginesOptions).execute(); PrestissimoEngineCollection prestissimoEngineCollection = response.getResult(); System.out.println(prestissimoEngineCollection);
response = watsonx_data_service.list_prestissimo_engines() prestissimo_engine_collection = response.get_result() print(json.dumps(prestissimo_engine_collection, indent=2))
Response
list Prestissimo Engines
list prestissimo engines
Possible values: 0 ≤ number of items ≤ 10000
list Prestissimo Engines.
list prestissimo engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
Endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
PrestissimoEngines
list Prestissimo Engines.
list prestissimo engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
prestissimoEngines
list Prestissimo Engines.
list prestissimo engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
prestissimo_engines
list Prestissimo Engines.
list prestissimo engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
prestissimo_engines
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "prestissimo_engines": [ { "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "prestissimo511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "prestissimo511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "prestissimo", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } } ] }
{ "prestissimo_engines": [ { "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "prestissimo511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "prestissimo511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "prestissimo", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } } ] }
Create prestissimo engine
Create a new prestissimo engine
Create a new prestissimo engine.
Create a new prestissimo engine.
Create a new prestissimo engine.
Create a new prestissimo engine.
POST /prestissimo_engines
(watsonxData *WatsonxDataV2) CreatePrestissimoEngine(createPrestissimoEngineOptions *CreatePrestissimoEngineOptions) (result *PrestissimoEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreatePrestissimoEngineWithContext(ctx context.Context, createPrestissimoEngineOptions *CreatePrestissimoEngineOptions) (result *PrestissimoEngine, response *core.DetailedResponse, err error)
ServiceCall<PrestissimoEngine> createPrestissimoEngine(CreatePrestissimoEngineOptions createPrestissimoEngineOptions)
create_prestissimo_engine(
self,
origin: str,
type: str,
*,
associated_catalogs: Optional[List[str]] = None,
description: Optional[str] = None,
engine_details: Optional['PrestissimoEngineDetails'] = None,
engine_display_name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[List[str]] = None,
version: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createPrestissimoEngine(params)
Request
Instantiate the CreatePrestissimoEngineOptions
struct and set the fields to provide parameter values for the CreatePrestissimoEngine
method.
Use the CreatePrestissimoEngineOptions.Builder
to create a CreatePrestissimoEngineOptions
object that contains the parameter values for the createPrestissimoEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create Engine Body
Origin - created or registered
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
native
Engine type prestissimo, others like netezza
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
prestissimo
Associated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
prestissimo engine description
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Region (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
us-south
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewVersion like 0.278 for prestissimo or else
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
1.2.3
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreatePrestissimoEngine options.
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type prestissimo, others like netezza.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
Endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Allowable values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewRegion (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion like 0.278 for prestissimo or else.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createPrestissimoEngine options.
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type prestissimo, others like netezza.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Allowable values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewRegion (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion like 0.278 for prestissimo or else.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlEngine type prestissimo, others like netezza.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlEngine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Allowable values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlRegion (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlVersion like 0.278 for prestissimo or else.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlEngine type prestissimo, others like netezza.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlEngine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Allowable values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlRegion (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlVersion like 0.278 for prestissimo or else.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { origin: 'native', type: 'prestissimo', }; let res; try { res = await watsonxDataService.createPrestissimoEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreatePrestissimoEngineOptions createPrestissimoEngineOptions = new CreatePrestissimoEngineOptions.Builder() .origin("native") .type("prestissimo") .build(); Response<PrestissimoEngine> response = watsonxDataService.createPrestissimoEngine(createPrestissimoEngineOptions).execute(); PrestissimoEngine prestissimoEngine = response.getResult(); System.out.println(prestissimoEngine);
response = watsonx_data_service.create_prestissimo_engine( origin='native', type='prestissimo', ) prestissimo_engine = response.get_result() print(json.dumps(prestissimo_engine, indent=2))
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.com
Engine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewAssociated catalog
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Node details
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
prestissimo engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine123
Group ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
new_group_id
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
xyz-prestissimo-01-prestissimo-svc
Origin - place holder
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
native
Engine port
Region - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
us-south
Size config
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
starter
Engine status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
prestissimo
Version of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
1.2.0
Node details
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
Endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
Get prestissimo engine
Get details of one prestissimo engine
Get details of one prestissimo engine.
Get details of one prestissimo engine.
Get details of one prestissimo engine.
Get details of one prestissimo engine.
GET /prestissimo_engines/{engine_id}
(watsonxData *WatsonxDataV2) GetPrestissimoEngine(getPrestissimoEngineOptions *GetPrestissimoEngineOptions) (result *PrestissimoEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetPrestissimoEngineWithContext(ctx context.Context, getPrestissimoEngineOptions *GetPrestissimoEngineOptions) (result *PrestissimoEngine, response *core.DetailedResponse, err error)
ServiceCall<PrestissimoEngine> getPrestissimoEngine(GetPrestissimoEngineOptions getPrestissimoEngineOptions)
get_prestissimo_engine(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getPrestissimoEngine(params)
Request
Instantiate the GetPrestissimoEngineOptions
struct and set the fields to provide parameter values for the GetPrestissimoEngine
method.
Use the GetPrestissimoEngineOptions.Builder
to create a GetPrestissimoEngineOptions
object that contains the parameter values for the getPrestissimoEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetPrestissimoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getPrestissimoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.getPrestissimoEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetPrestissimoEngineOptions getPrestissimoEngineOptions = new GetPrestissimoEngineOptions.Builder() .engineId("testString") .build(); Response<PrestissimoEngine> response = watsonxDataService.getPrestissimoEngine(getPrestissimoEngineOptions).execute(); PrestissimoEngine prestissimoEngine = response.getResult(); System.out.println(prestissimoEngine);
response = watsonx_data_service.get_prestissimo_engine( engine_id='testString', ) prestissimo_engine = response.get_result() print(json.dumps(prestissimo_engine, indent=2))
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.com
Engine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewAssociated catalog
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Node details
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
prestissimo engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine123
Group ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
new_group_id
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
xyz-prestissimo-01-prestissimo-svc
Origin - place holder
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
native
Engine port
Region - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
us-south
Size config
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
starter
Engine status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
prestissimo
Version of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
1.2.0
Node details
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
Endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
Delete prestissimo engine
Delete a prestissimo engine
Delete a prestissimo engine.
Delete a prestissimo engine.
Delete a prestissimo engine.
Delete a prestissimo engine.
DELETE /prestissimo_engines/{engine_id}
(watsonxData *WatsonxDataV2) DeletePrestissimoEngine(deletePrestissimoEngineOptions *DeletePrestissimoEngineOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeletePrestissimoEngineWithContext(ctx context.Context, deletePrestissimoEngineOptions *DeletePrestissimoEngineOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deletePrestissimoEngine(DeletePrestissimoEngineOptions deletePrestissimoEngineOptions)
delete_prestissimo_engine(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deletePrestissimoEngine(params)
Request
Instantiate the DeletePrestissimoEngineOptions
struct and set the fields to provide parameter values for the DeletePrestissimoEngine
method.
Use the DeletePrestissimoEngineOptions.Builder
to create a DeletePrestissimoEngineOptions
object that contains the parameter values for the deletePrestissimoEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeletePrestissimoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deletePrestissimoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', }; try { await watsonxDataService.deletePrestissimoEngine(params); } catch (err) { console.warn(err); }
DeletePrestissimoEngineOptions deletePrestissimoEngineOptions = new DeletePrestissimoEngineOptions.Builder() .engineId("testString") .build(); Response<Void> response = watsonxDataService.deletePrestissimoEngine(deletePrestissimoEngineOptions).execute();
response = watsonx_data_service.delete_prestissimo_engine( engine_id='testString', )
Update prestissimo engine
Update details of prestissimo engine
Update details of prestissimo engine.
Update details of prestissimo engine.
Update details of prestissimo engine.
Update details of prestissimo engine.
PATCH /prestissimo_engines/{engine_id}
(watsonxData *WatsonxDataV2) UpdatePrestissimoEngine(updatePrestissimoEngineOptions *UpdatePrestissimoEngineOptions) (result *PrestissimoEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdatePrestissimoEngineWithContext(ctx context.Context, updatePrestissimoEngineOptions *UpdatePrestissimoEngineOptions) (result *PrestissimoEngine, response *core.DetailedResponse, err error)
ServiceCall<PrestissimoEngine> updatePrestissimoEngine(UpdatePrestissimoEngineOptions updatePrestissimoEngineOptions)
update_prestissimo_engine(
self,
engine_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updatePrestissimoEngine(params)
Request
Instantiate the UpdatePrestissimoEngineOptions
struct and set the fields to provide parameter values for the UpdatePrestissimoEngine
method.
Use the UpdatePrestissimoEngineOptions.Builder
to create a UpdatePrestissimoEngineOptions
object that contains the parameter values for the updatePrestissimoEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Update prestissimo engine body
Modified description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
updated description for prestissimo engine
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdatePrestissimoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update prestissimo engine body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updatePrestissimoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update prestissimo engine body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update prestissimo engine body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update prestissimo engine body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { engineId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updatePrestissimoEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdatePrestissimoEngineOptions updatePrestissimoEngineOptions = new UpdatePrestissimoEngineOptions.Builder() .engineId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<PrestissimoEngine> response = watsonxDataService.updatePrestissimoEngine(updatePrestissimoEngineOptions).execute(); PrestissimoEngine prestissimoEngine = response.getResult(); System.out.println(prestissimoEngine);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_prestissimo_engine( engine_id='testString', body=[json_patch_operation_model], ) prestissimo_engine = response.get_result() print(json.dumps(prestissimo_engine, indent=2))
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.com
Engine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewAssociated catalog
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Node details
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
prestissimo engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine123
Group ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
new_group_id
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
xyz-prestissimo-01-prestissimo-svc
Origin - place holder
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
native
Engine port
Region - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
us-south
Size config
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
starter
Engine status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
prestissimo
Version of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
1.2.0
Node details
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
Endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewAssociated catalog.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewwatsonx.data build version.
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Endpoints.
Application API.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHistory server endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark jobs V4 endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSpark kernel endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewView history server.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Wxd application endpoint.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:View
endpoints
Instance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewMetastore host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewOrigin - place holder.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine port.
Region - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
{ "actions": [ "update", "delete" ], "associated_catalogs": [ "hive_data" ], "coordinator": { "node_type": "worker", "quantity": 1 }, "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "prestissimo engine for running sql queries", "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "new_group_id", "host_name": "your-hostname.apps.your-domain.com", "origin": "native", "region": "us-south", "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "version": "1.2.0", "worker": { "node_type": "worker", "quantity": 1 } }
Get prestissimo engine catalogs
Get list of all catalogs attached a prestissimo engine
Get list of all catalogs attached a prestissimo engine.
Get list of all catalogs attached a prestissimo engine.
Get list of all catalogs attached a prestissimo engine.
Get list of all catalogs attached a prestissimo engine.
GET /prestissimo_engines/{engine_id}/catalogs
(watsonxData *WatsonxDataV2) ListPrestissimoEngineCatalogs(listPrestissimoEngineCatalogsOptions *ListPrestissimoEngineCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListPrestissimoEngineCatalogsWithContext(ctx context.Context, listPrestissimoEngineCatalogsOptions *ListPrestissimoEngineCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
ServiceCall<CatalogCollection> listPrestissimoEngineCatalogs(ListPrestissimoEngineCatalogsOptions listPrestissimoEngineCatalogsOptions)
list_prestissimo_engine_catalogs(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listPrestissimoEngineCatalogs(params)
Request
Instantiate the ListPrestissimoEngineCatalogsOptions
struct and set the fields to provide parameter values for the ListPrestissimoEngineCatalogs
method.
Use the ListPrestissimoEngineCatalogsOptions.Builder
to create a ListPrestissimoEngineCatalogsOptions
object that contains the parameter values for the listPrestissimoEngineCatalogs
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListPrestissimoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listPrestissimoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.listPrestissimoEngineCatalogs(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListPrestissimoEngineCatalogsOptions listPrestissimoEngineCatalogsOptions = new ListPrestissimoEngineCatalogsOptions.Builder() .engineId("testString") .build(); Response<CatalogCollection> response = watsonxDataService.listPrestissimoEngineCatalogs(listPrestissimoEngineCatalogsOptions).execute(); CatalogCollection catalogCollection = response.getResult(); System.out.println(catalogCollection);
response = watsonx_data_service.list_prestissimo_engine_catalogs( engine_id='testString', ) catalog_collection = response.get_result() print(json.dumps(catalog_collection, indent=2))
Response
GetCatalogs OK
Catalogs
Possible values: 0 ≤ number of items ≤ 10000
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "catalogs": [] }
{ "catalogs": [] }
Associate catalogs to a prestissimo engine
Associate one or more catalogs to a prestissimo engine
Associate one or more catalogs to a prestissimo engine.
Associate one or more catalogs to a prestissimo engine.
Associate one or more catalogs to a prestissimo engine.
Associate one or more catalogs to a prestissimo engine.
PUT /prestissimo_engines/{engine_id}/catalogs
(watsonxData *WatsonxDataV2) ReplacePrestissimoEngineCatalogs(replacePrestissimoEngineCatalogsOptions *ReplacePrestissimoEngineCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ReplacePrestissimoEngineCatalogsWithContext(ctx context.Context, replacePrestissimoEngineCatalogsOptions *ReplacePrestissimoEngineCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
ServiceCall<CatalogCollection> replacePrestissimoEngineCatalogs(ReplacePrestissimoEngineCatalogsOptions replacePrestissimoEngineCatalogsOptions)
replace_prestissimo_engine_catalogs(
self,
engine_id: str,
catalog_names: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
replacePrestissimoEngineCatalogs(params)
Request
Instantiate the ReplacePrestissimoEngineCatalogsOptions
struct and set the fields to provide parameter values for the ReplacePrestissimoEngineCatalogs
method.
Use the ReplacePrestissimoEngineCatalogsOptions.Builder
to create a ReplacePrestissimoEngineCatalogsOptions
object that contains the parameter values for the replacePrestissimoEngineCatalogs
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Query Parameters
comma separated catalog names
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_,]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ReplacePrestissimoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
comma separated catalog names.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+$/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The replacePrestissimoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
comma separated catalog names.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+$/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
comma separated catalog names.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+$/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
comma separated catalog names.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+$/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', catalogNames: 'testString', }; let res; try { res = await watsonxDataService.replacePrestissimoEngineCatalogs(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ReplacePrestissimoEngineCatalogsOptions replacePrestissimoEngineCatalogsOptions = new ReplacePrestissimoEngineCatalogsOptions.Builder() .engineId("testString") .catalogNames("testString") .build(); Response<CatalogCollection> response = watsonxDataService.replacePrestissimoEngineCatalogs(replacePrestissimoEngineCatalogsOptions).execute(); CatalogCollection catalogCollection = response.getResult(); System.out.println(catalogCollection);
response = watsonx_data_service.replace_prestissimo_engine_catalogs( engine_id='testString', catalog_names='testString', ) catalog_collection = response.get_result() print(json.dumps(catalog_collection, indent=2))
Response
GetCatalogs OK
Catalogs
Possible values: 0 ≤ number of items ≤ 10000
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "catalogs": [] }
{ "catalogs": [] }
Disassociate catalogs from a prestissimo engine
Disassociate one or more catalogs from a prestissimo engine
Disassociate one or more catalogs from a prestissimo engine.
Disassociate one or more catalogs from a prestissimo engine.
Disassociate one or more catalogs from a prestissimo engine.
Disassociate one or more catalogs from a prestissimo engine.
DELETE /prestissimo_engines/{engine_id}/catalogs
(watsonxData *WatsonxDataV2) DeletePrestissimoEngineCatalogs(deletePrestissimoEngineCatalogsOptions *DeletePrestissimoEngineCatalogsOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeletePrestissimoEngineCatalogsWithContext(ctx context.Context, deletePrestissimoEngineCatalogsOptions *DeletePrestissimoEngineCatalogsOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deletePrestissimoEngineCatalogs(DeletePrestissimoEngineCatalogsOptions deletePrestissimoEngineCatalogsOptions)
delete_prestissimo_engine_catalogs(
self,
engine_id: str,
catalog_names: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deletePrestissimoEngineCatalogs(params)
Request
Instantiate the DeletePrestissimoEngineCatalogsOptions
struct and set the fields to provide parameter values for the DeletePrestissimoEngineCatalogs
method.
Use the DeletePrestissimoEngineCatalogsOptions.Builder
to create a DeletePrestissimoEngineCatalogsOptions
object that contains the parameter values for the deletePrestissimoEngineCatalogs
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Query Parameters
Catalog id(s) to be stopped, comma separated
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-,_]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeletePrestissimoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-,_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deletePrestissimoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-,_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-,_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-,_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', catalogNames: 'testString', }; try { await watsonxDataService.deletePrestissimoEngineCatalogs(params); } catch (err) { console.warn(err); }
DeletePrestissimoEngineCatalogsOptions deletePrestissimoEngineCatalogsOptions = new DeletePrestissimoEngineCatalogsOptions.Builder() .engineId("testString") .catalogNames("testString") .build(); Response<Void> response = watsonxDataService.deletePrestissimoEngineCatalogs(deletePrestissimoEngineCatalogsOptions).execute();
response = watsonx_data_service.delete_prestissimo_engine_catalogs( engine_id='testString', catalog_names='testString', )
Get prestissimo engine catalog
Get catalog attached to a prestissimo engine
Get catalog attached to a prestissimo engine.
Get catalog attached to a prestissimo engine.
Get catalog attached to a prestissimo engine.
Get catalog attached to a prestissimo engine.
GET /prestissimo_engines/{engine_id}/catalogs/{catalog_id}
(watsonxData *WatsonxDataV2) GetPrestissimoEngineCatalog(getPrestissimoEngineCatalogOptions *GetPrestissimoEngineCatalogOptions) (result *Catalog, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetPrestissimoEngineCatalogWithContext(ctx context.Context, getPrestissimoEngineCatalogOptions *GetPrestissimoEngineCatalogOptions) (result *Catalog, response *core.DetailedResponse, err error)
ServiceCall<Catalog> getPrestissimoEngineCatalog(GetPrestissimoEngineCatalogOptions getPrestissimoEngineCatalogOptions)
get_prestissimo_engine_catalog(
self,
engine_id: str,
catalog_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getPrestissimoEngineCatalog(params)
Request
Instantiate the GetPrestissimoEngineCatalogOptions
struct and set the fields to provide parameter values for the GetPrestissimoEngineCatalog
method.
Use the GetPrestissimoEngineCatalogOptions.Builder
to create a GetPrestissimoEngineCatalogOptions
object that contains the parameter values for the getPrestissimoEngineCatalog
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
catalog id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetPrestissimoEngineCatalog options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getPrestissimoEngineCatalog options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', catalogId: 'testString', }; let res; try { res = await watsonxDataService.getPrestissimoEngineCatalog(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetPrestissimoEngineCatalogOptions getPrestissimoEngineCatalogOptions = new GetPrestissimoEngineCatalogOptions.Builder() .engineId("testString") .catalogId("testString") .build(); Response<Catalog> response = watsonxDataService.getPrestissimoEngineCatalog(getPrestissimoEngineCatalogOptions).execute(); Catalog catalog = response.getResult(); System.out.println(catalog);
response = watsonx_data_service.get_prestissimo_engine_catalog( engine_id='testString', catalog_id='testString', ) catalog = response.get_result() print(json.dumps(catalog, indent=2))
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sampleCatalog
Table type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
iceberg
Created by
Example:
<username>@<domain>.com
Created on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1602839833
Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Iceberg catalog description
IBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
s3a://samplehost.com
Last sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1602839833
Managed by
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Catalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
glue
IBM thrift uri port
Example:
3232
Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Sync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Table registration was successful
Tables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+
, 1 ≤ length ≤ 1000Examples:ViewSync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
SUCCESS
Tags
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
thrift://samplehost-catalog:4354
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
Pause prestissimo engine
Pause a running prestissimo engine
Pause a running prestissimo engine.
Pause a running prestissimo engine.
Pause a running prestissimo engine.
Pause a running prestissimo engine.
POST /prestissimo_engines/{engine_id}/pause
(watsonxData *WatsonxDataV2) CreatePrestissimoEnginePause(createPrestissimoEnginePauseOptions *CreatePrestissimoEnginePauseOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreatePrestissimoEnginePauseWithContext(ctx context.Context, createPrestissimoEnginePauseOptions *CreatePrestissimoEnginePauseOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
ServiceCall<SuccessResponse> createPrestissimoEnginePause(CreatePrestissimoEnginePauseOptions createPrestissimoEnginePauseOptions)
create_prestissimo_engine_pause(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createPrestissimoEnginePause(params)
Request
Instantiate the CreatePrestissimoEnginePauseOptions
struct and set the fields to provide parameter values for the CreatePrestissimoEnginePause
method.
Use the CreatePrestissimoEnginePauseOptions.Builder
to create a CreatePrestissimoEnginePauseOptions
object that contains the parameter values for the createPrestissimoEnginePause
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreatePrestissimoEnginePause options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createPrestissimoEnginePause options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.createPrestissimoEnginePause(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreatePrestissimoEnginePauseOptions createPrestissimoEnginePauseOptions = new CreatePrestissimoEnginePauseOptions.Builder() .engineId("testString") .build(); Response<SuccessResponse> response = watsonxDataService.createPrestissimoEnginePause(createPrestissimoEnginePauseOptions).execute(); SuccessResponse successResponse = response.getResult(); System.out.println(successResponse);
response = watsonx_data_service.create_prestissimo_engine_pause( engine_id='testString', ) success_response = response.get_result() print(json.dumps(success_response, indent=2))
Response
Response of success
Message
Message code
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "Successful message", "message_code": "success" }
{ "message": "Successful message", "message_code": "success" }
Explain query
Explain a query statement
Explain a query statement.
Explain a query statement.
Explain a query statement.
Explain a query statement.
POST /prestissimo_engines/{engine_id}/query_explain
(watsonxData *WatsonxDataV2) RunPrestissimoExplainStatement(runPrestissimoExplainStatementOptions *RunPrestissimoExplainStatementOptions) (result *ResultPrestissimoExplainStatement, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) RunPrestissimoExplainStatementWithContext(ctx context.Context, runPrestissimoExplainStatementOptions *RunPrestissimoExplainStatementOptions) (result *ResultPrestissimoExplainStatement, response *core.DetailedResponse, err error)
ServiceCall<ResultPrestissimoExplainStatement> runPrestissimoExplainStatement(RunPrestissimoExplainStatementOptions runPrestissimoExplainStatementOptions)
run_prestissimo_explain_statement(
self,
engine_id: str,
statement: str,
*,
format: Optional[str] = None,
type: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
runPrestissimoExplainStatement(params)
Request
Instantiate the RunPrestissimoExplainStatementOptions
struct and set the fields to provide parameter values for the RunPrestissimoExplainStatement
method.
Use the RunPrestissimoExplainStatementOptions.Builder
to create a RunPrestissimoExplainStatementOptions
object that contains the parameter values for the runPrestissimoExplainStatement
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
Presto query to determine explain plan
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
show schemas in catalog_name
Format
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
json
Type
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
io
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The RunPrestissimoExplainStatement options.
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to determine explain plan.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewFormat.
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType.
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The runPrestissimoExplainStatement options.
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to determine explain plan.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewFormat.
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType.
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to determine explain plan.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlFormat.
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlType.
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to determine explain plan.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlFormat.
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlType.
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', statement: 'show schemas in catalog_name', }; let res; try { res = await watsonxDataService.runPrestissimoExplainStatement(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
RunPrestissimoExplainStatementOptions runPrestissimoExplainStatementOptions = new RunPrestissimoExplainStatementOptions.Builder() .engineId("testString") .statement("show schemas in catalog_name") .build(); Response<ResultPrestissimoExplainStatement> response = watsonxDataService.runPrestissimoExplainStatement(runPrestissimoExplainStatementOptions).execute(); ResultPrestissimoExplainStatement resultPrestissimoExplainStatement = response.getResult(); System.out.println(resultPrestissimoExplainStatement);
response = watsonx_data_service.run_prestissimo_explain_statement( engine_id='testString', statement='show schemas in catalog_name', ) result_prestissimo_explain_statement = response.get_result() print(json.dumps(result_prestissimo_explain_statement, indent=2))
Response
ExplainStatement OK
Result
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-z0-9\-]+
ExplainStatement OK.
Result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
ExplainStatement OK.
Result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
ExplainStatement OK.
Result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
ExplainStatement OK.
Result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "result": "explain statement" }
{ "result": "explain statement" }
Explain analyze
Return query metrics after query is complete
Return query metrics after query is complete.
Return query metrics after query is complete.
Return query metrics after query is complete.
Return query metrics after query is complete.
POST /prestissimo_engines/{engine_id}/query_explain_analyze
(watsonxData *WatsonxDataV2) RunPrestissimoExplainAnalyzeStatement(runPrestissimoExplainAnalyzeStatementOptions *RunPrestissimoExplainAnalyzeStatementOptions) (result *ResultRunPrestissimoExplainAnalyzeStatement, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) RunPrestissimoExplainAnalyzeStatementWithContext(ctx context.Context, runPrestissimoExplainAnalyzeStatementOptions *RunPrestissimoExplainAnalyzeStatementOptions) (result *ResultRunPrestissimoExplainAnalyzeStatement, response *core.DetailedResponse, err error)
ServiceCall<ResultRunPrestissimoExplainAnalyzeStatement> runPrestissimoExplainAnalyzeStatement(RunPrestissimoExplainAnalyzeStatementOptions runPrestissimoExplainAnalyzeStatementOptions)
run_prestissimo_explain_analyze_statement(
self,
engine_id: str,
statement: str,
*,
verbose: Optional[bool] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
runPrestissimoExplainAnalyzeStatement(params)
Request
Instantiate the RunPrestissimoExplainAnalyzeStatementOptions
struct and set the fields to provide parameter values for the RunPrestissimoExplainAnalyzeStatement
method.
Use the RunPrestissimoExplainAnalyzeStatementOptions.Builder
to create a RunPrestissimoExplainAnalyzeStatementOptions
object that contains the parameter values for the runPrestissimoExplainAnalyzeStatement
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
Presto query to show explain analyze
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
show schemas in catalog_name
Verbose
Example:
true
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The RunPrestissimoExplainAnalyzeStatement options.
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to show explain analyze.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewVerbose.
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The runPrestissimoExplainAnalyzeStatement options.
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to show explain analyze.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewVerbose.
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to show explain analyze.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlVerbose.
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to show explain analyze.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlVerbose.
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', statement: 'show schemas in catalog_name', }; let res; try { res = await watsonxDataService.runPrestissimoExplainAnalyzeStatement(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
RunPrestissimoExplainAnalyzeStatementOptions runPrestissimoExplainAnalyzeStatementOptions = new RunPrestissimoExplainAnalyzeStatementOptions.Builder() .engineId("testString") .statement("show schemas in catalog_name") .build(); Response<ResultRunPrestissimoExplainAnalyzeStatement> response = watsonxDataService.runPrestissimoExplainAnalyzeStatement(runPrestissimoExplainAnalyzeStatementOptions).execute(); ResultRunPrestissimoExplainAnalyzeStatement resultRunPrestissimoExplainAnalyzeStatement = response.getResult(); System.out.println(resultRunPrestissimoExplainAnalyzeStatement);
response = watsonx_data_service.run_prestissimo_explain_analyze_statement( engine_id='testString', statement='show schemas in catalog_name', ) result_run_prestissimo_explain_analyze_statement = response.get_result() print(json.dumps(result_run_prestissimo_explain_analyze_statement, indent=2))
Response
explainAnalyzeStatement OK
explainAnalyzeStatement result
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-z0-9\-]+
explainAnalyzeStatement OK.
explainAnalyzeStatement result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
explainAnalyzeStatement OK.
explainAnalyzeStatement result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
explainAnalyzeStatement OK.
explainAnalyzeStatement result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
explainAnalyzeStatement OK.
explainAnalyzeStatement result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "result": "explain statement" }
{ "result": "explain statement" }
Restart a prestissimo engine
Restart an existing prestissimo engine
Restart an existing prestissimo engine.
Restart an existing prestissimo engine.
Restart an existing prestissimo engine.
Restart an existing prestissimo engine.
POST /prestissimo_engines/{engine_id}/restart
(watsonxData *WatsonxDataV2) CreatePrestissimoEngineRestart(createPrestissimoEngineRestartOptions *CreatePrestissimoEngineRestartOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreatePrestissimoEngineRestartWithContext(ctx context.Context, createPrestissimoEngineRestartOptions *CreatePrestissimoEngineRestartOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
ServiceCall<SuccessResponse> createPrestissimoEngineRestart(CreatePrestissimoEngineRestartOptions createPrestissimoEngineRestartOptions)
create_prestissimo_engine_restart(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createPrestissimoEngineRestart(params)
Request
Instantiate the CreatePrestissimoEngineRestartOptions
struct and set the fields to provide parameter values for the CreatePrestissimoEngineRestart
method.
Use the CreatePrestissimoEngineRestartOptions.Builder
to create a CreatePrestissimoEngineRestartOptions
object that contains the parameter values for the createPrestissimoEngineRestart
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreatePrestissimoEngineRestart options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createPrestissimoEngineRestart options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.createPrestissimoEngineRestart(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreatePrestissimoEngineRestartOptions createPrestissimoEngineRestartOptions = new CreatePrestissimoEngineRestartOptions.Builder() .engineId("testString") .build(); Response<SuccessResponse> response = watsonxDataService.createPrestissimoEngineRestart(createPrestissimoEngineRestartOptions).execute(); SuccessResponse successResponse = response.getResult(); System.out.println(successResponse);
response = watsonx_data_service.create_prestissimo_engine_restart( engine_id='testString', ) success_response = response.get_result() print(json.dumps(success_response, indent=2))
Response
Response of success
Message
Message code
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "Successful message", "message_code": "success" }
{ "message": "Successful message", "message_code": "success" }
Resume prestissimo engine
Resume a paused prestissimo engine
Resume a paused prestissimo engine.
Resume a paused prestissimo engine.
Resume a paused prestissimo engine.
Resume a paused prestissimo engine.
POST /prestissimo_engines/{engine_id}/resume
(watsonxData *WatsonxDataV2) CreatePrestissimoEngineResume(createPrestissimoEngineResumeOptions *CreatePrestissimoEngineResumeOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreatePrestissimoEngineResumeWithContext(ctx context.Context, createPrestissimoEngineResumeOptions *CreatePrestissimoEngineResumeOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
ServiceCall<SuccessResponse> createPrestissimoEngineResume(CreatePrestissimoEngineResumeOptions createPrestissimoEngineResumeOptions)
create_prestissimo_engine_resume(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createPrestissimoEngineResume(params)
Request
Instantiate the CreatePrestissimoEngineResumeOptions
struct and set the fields to provide parameter values for the CreatePrestissimoEngineResume
method.
Use the CreatePrestissimoEngineResumeOptions.Builder
to create a CreatePrestissimoEngineResumeOptions
object that contains the parameter values for the createPrestissimoEngineResume
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreatePrestissimoEngineResume options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createPrestissimoEngineResume options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.createPrestissimoEngineResume(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreatePrestissimoEngineResumeOptions createPrestissimoEngineResumeOptions = new CreatePrestissimoEngineResumeOptions.Builder() .engineId("testString") .build(); Response<SuccessResponse> response = watsonxDataService.createPrestissimoEngineResume(createPrestissimoEngineResumeOptions).execute(); SuccessResponse successResponse = response.getResult(); System.out.println(successResponse);
response = watsonx_data_service.create_prestissimo_engine_resume( engine_id='testString', ) success_response = response.get_result() print(json.dumps(success_response, indent=2))
Response
Response of success
Message
Message code
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "Successful message", "message_code": "success" }
{ "message": "Successful message", "message_code": "success" }
Scale a prestissimo engine
Scale an existing prestissimo engine
Scale an existing prestissimo engine.
Scale an existing prestissimo engine.
Scale an existing prestissimo engine.
Scale an existing prestissimo engine.
POST /prestissimo_engines/{engine_id}/scale
(watsonxData *WatsonxDataV2) CreatePrestissimoEngineScale(createPrestissimoEngineScaleOptions *CreatePrestissimoEngineScaleOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreatePrestissimoEngineScaleWithContext(ctx context.Context, createPrestissimoEngineScaleOptions *CreatePrestissimoEngineScaleOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
ServiceCall<SuccessResponse> createPrestissimoEngineScale(CreatePrestissimoEngineScaleOptions createPrestissimoEngineScaleOptions)
create_prestissimo_engine_scale(
self,
engine_id: str,
*,
coordinator: Optional['PrestissimoNodeDescriptionBody'] = None,
worker: Optional['PrestissimoNodeDescriptionBody'] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createPrestissimoEngineScale(params)
Request
Instantiate the CreatePrestissimoEngineScaleOptions
struct and set the fields to provide parameter values for the CreatePrestissimoEngineScale
method.
Use the CreatePrestissimoEngineScaleOptions.Builder
to create a CreatePrestissimoEngineScaleOptions
object that contains the parameter values for the createPrestissimoEngineScale
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Scale Engine Body
Node details
Node details
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreatePrestissimoEngineScale options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Node details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Coordinator
Node details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
Worker
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createPrestissimoEngineScale options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Node details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Node details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Node details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Node details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Node details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
coordinator
Node details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewNumber of nodes.
worker
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.createPrestissimoEngineScale(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreatePrestissimoEngineScaleOptions createPrestissimoEngineScaleOptions = new CreatePrestissimoEngineScaleOptions.Builder() .engineId("testString") .build(); Response<SuccessResponse> response = watsonxDataService.createPrestissimoEngineScale(createPrestissimoEngineScaleOptions).execute(); SuccessResponse successResponse = response.getResult(); System.out.println(successResponse);
response = watsonx_data_service.create_prestissimo_engine_scale( engine_id='testString', ) success_response = response.get_result() print(json.dumps(success_response, indent=2))
Response
Response of success
Message
Message code
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "Successful message", "message_code": "success" }
{ "message": "Successful message", "message_code": "success" }
Get list of presto engines
Get list of all presto engines
Get list of all presto engines.
Get list of all presto engines.
Get list of all presto engines.
Get list of all presto engines.
GET /presto_engines
(watsonxData *WatsonxDataV2) ListPrestoEngines(listPrestoEnginesOptions *ListPrestoEnginesOptions) (result *PrestoEngineCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListPrestoEnginesWithContext(ctx context.Context, listPrestoEnginesOptions *ListPrestoEnginesOptions) (result *PrestoEngineCollection, response *core.DetailedResponse, err error)
ServiceCall<PrestoEngineCollection> listPrestoEngines(ListPrestoEnginesOptions listPrestoEnginesOptions)
list_presto_engines(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listPrestoEngines(params)
Request
Instantiate the ListPrestoEnginesOptions
struct and set the fields to provide parameter values for the ListPrestoEngines
method.
Use the ListPrestoEnginesOptions.Builder
to create a ListPrestoEnginesOptions
object that contains the parameter values for the listPrestoEngines
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListPrestoEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listPrestoEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines"
let res; try { res = await watsonxDataService.listPrestoEngines({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListPrestoEnginesOptions listPrestoEnginesOptions = new ListPrestoEnginesOptions.Builder() .build(); Response<PrestoEngineCollection> response = watsonxDataService.listPrestoEngines(listPrestoEnginesOptions).execute(); PrestoEngineCollection prestoEngineCollection = response.getResult(); System.out.println(prestoEngineCollection);
response = watsonx_data_service.list_presto_engines() presto_engine_collection = response.get_result() print(json.dumps(presto_engine_collection, indent=2))
Response
List Presto engines
Presto engine
Possible values: 0 ≤ number of items ≤ 10000
List Presto engines.
Presto engine.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Worker
PrestoEngines
List Presto engines.
Presto engine.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
prestoEngines
List Presto engines.
Presto engine.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
presto_engines
List Presto engines.
Presto engine.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
presto_engines
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "presto_engines": [ { "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } } ] }
{ "presto_engines": [ { "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } } ] }
Create presto engine
Create a new presto engine
Create a new presto engine.
Create a new presto engine.
Create a new presto engine.
Create a new presto engine.
POST /presto_engines
(watsonxData *WatsonxDataV2) CreatePrestoEngine(createPrestoEngineOptions *CreatePrestoEngineOptions) (result *PrestoEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreatePrestoEngineWithContext(ctx context.Context, createPrestoEngineOptions *CreatePrestoEngineOptions) (result *PrestoEngine, response *core.DetailedResponse, err error)
ServiceCall<PrestoEngine> createPrestoEngine(CreatePrestoEngineOptions createPrestoEngineOptions)
create_presto_engine(
self,
origin: str,
type: str,
*,
associated_catalogs: Optional[List[str]] = None,
description: Optional[str] = None,
engine_details: Optional['EngineDetailsBody'] = None,
engine_display_name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[List[str]] = None,
version: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createPrestoEngine(params)
Request
Instantiate the CreatePrestoEngineOptions
struct and set the fields to provide parameter values for the CreatePrestoEngine
method.
Use the CreatePrestoEngineOptions.Builder
to create a CreatePrestoEngineOptions
object that contains the parameter values for the createPrestoEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create Engine Body
Origin - created or registered
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
native
Engine type presto
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
presto
Associated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:ViewEngine description
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
presto engine for running sql queries
Node details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Region (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewVersion like 0.278 for presto or else
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1.2.3
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreatePrestoEngine options.
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Allowable values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewRegion (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion like 0.278 for presto or else.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createPrestoEngine options.
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Allowable values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewRegion (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewVersion like 0.278 for presto or else.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Allowable values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlRegion (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlVersion like 0.278 for presto or else.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Allowable values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlRegion (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlVersion like 0.278 for presto or else.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' \'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines' \-H 'accept: application/json' \-H 'Content-Type: application/json' \-d '{ "associated_catalogs": [ "iceberg_data", "hive_data" ], "description": "presto engine description", "engine_details": { "api_key": "<api_key>", "connection_string": "1.2.3.4", "coordinator": { "node_type": "worker", "quantity": 0 }, "instance_id": "instance_id", "managed_by": "fully/self", "size_config": "starter", "worker": { "node_type": "worker", "quantity": 0 } }, "engine_display_name": "sampleEngine", "first_time_use": true, "origin": "native", "region": "us-south", "tags": [ "tag1", "tag2" ], "type": "presto", "version": "1.2.3"}'
const params = { origin: 'native', type: 'presto', }; let res; try { res = await watsonxDataService.createPrestoEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreatePrestoEngineOptions createPrestoEngineOptions = new CreatePrestoEngineOptions.Builder() .origin("native") .type("presto") .build(); Response<PrestoEngine> response = watsonxDataService.createPrestoEngine(createPrestoEngineOptions).execute(); PrestoEngine prestoEngine = response.getResult(); System.out.println(prestoEngine);
response = watsonx_data_service.create_presto_engine( origin='native', type='presto', ) presto_engine = response.get_result() print(json.dumps(presto_engine, indent=2))
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.com
Engine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:ViewAssociated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
NodeDescription
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
presto engine for running sql queries
Node details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Group ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_group_id
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[a-zA-Z0-9\-:/_.?=@]+
Example:
ibm-lh-lakehouse-presto-01-presto-svc
Origin - created or registered
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
native
Engine port
Region (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
Size config
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
starter
Engine status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type presto
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
presto
Version of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1.2.0
NodeDescription
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
Get presto engine
Get details of one presto engine
Get details of one presto engine.
Get details of one presto engine.
Get details of one presto engine.
Get details of one presto engine.
GET /presto_engines/{engine_id}
(watsonxData *WatsonxDataV2) GetPrestoEngine(getPrestoEngineOptions *GetPrestoEngineOptions) (result *PrestoEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetPrestoEngineWithContext(ctx context.Context, getPrestoEngineOptions *GetPrestoEngineOptions) (result *PrestoEngine, response *core.DetailedResponse, err error)
ServiceCall<PrestoEngine> getPrestoEngine(GetPrestoEngineOptions getPrestoEngineOptions)
get_presto_engine(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getPrestoEngine(params)
Request
Instantiate the GetPrestoEngineOptions
struct and set the fields to provide parameter values for the GetPrestoEngine
method.
Use the GetPrestoEngineOptions.Builder
to create a GetPrestoEngineOptions
object that contains the parameter values for the getPrestoEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetPrestoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getPrestoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.getPrestoEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetPrestoEngineOptions getPrestoEngineOptions = new GetPrestoEngineOptions.Builder() .engineId("testString") .build(); Response<PrestoEngine> response = watsonxDataService.getPrestoEngine(getPrestoEngineOptions).execute(); PrestoEngine prestoEngine = response.getResult(); System.out.println(prestoEngine);
response = watsonx_data_service.get_presto_engine( engine_id='testString', ) presto_engine = response.get_result() print(json.dumps(presto_engine, indent=2))
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.com
Engine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:ViewAssociated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
NodeDescription
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
presto engine for running sql queries
Node details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Group ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_group_id
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[a-zA-Z0-9\-:/_.?=@]+
Example:
ibm-lh-lakehouse-presto-01-presto-svc
Origin - created or registered
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
native
Engine port
Region (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
Size config
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
starter
Engine status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type presto
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
presto
Version of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1.2.0
NodeDescription
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
Delete presto engine
Delete a presto engine
Delete a presto engine.
Delete a presto engine.
Delete a presto engine.
Delete a presto engine.
DELETE /presto_engines/{engine_id}
(watsonxData *WatsonxDataV2) DeleteEngine(deleteEngineOptions *DeleteEngineOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteEngineWithContext(ctx context.Context, deleteEngineOptions *DeleteEngineOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteEngine(DeleteEngineOptions deleteEngineOptions)
delete_engine(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteEngine(params)
Request
Instantiate the DeleteEngineOptions
struct and set the fields to provide parameter values for the DeleteEngine
method.
Use the DeleteEngineOptions.Builder
to create a DeleteEngineOptions
object that contains the parameter values for the deleteEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'DELETE' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}' -H 'accept: */*' -H "AuthInstanceId: {instance id}"
const params = { engineId: 'testString', }; try { await watsonxDataService.deleteEngine(params); } catch (err) { console.warn(err); }
DeleteEngineOptions deleteEngineOptions = new DeleteEngineOptions.Builder() .engineId("testString") .build(); Response<Void> response = watsonxDataService.deleteEngine(deleteEngineOptions).execute();
response = watsonx_data_service.delete_engine( engine_id='testString', )
Update presto engine
Update details of presto engine
Update details of presto engine.
Update details of presto engine.
Update details of presto engine.
Update details of presto engine.
PATCH /presto_engines/{engine_id}
(watsonxData *WatsonxDataV2) UpdatePrestoEngine(updatePrestoEngineOptions *UpdatePrestoEngineOptions) (result *PrestoEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdatePrestoEngineWithContext(ctx context.Context, updatePrestoEngineOptions *UpdatePrestoEngineOptions) (result *PrestoEngine, response *core.DetailedResponse, err error)
ServiceCall<PrestoEngine> updatePrestoEngine(UpdatePrestoEngineOptions updatePrestoEngineOptions)
update_presto_engine(
self,
engine_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updatePrestoEngine(params)
Request
Instantiate the UpdatePrestoEngineOptions
struct and set the fields to provide parameter values for the UpdatePrestoEngine
method.
Use the UpdatePrestoEngineOptions.Builder
to create a UpdatePrestoEngineOptions
object that contains the parameter values for the updatePrestoEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Update Engine Body
Modified description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
updated description for presto engine
Engine display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
sampleEngine
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdatePrestoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updatePrestoEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'PATCH' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}' -H 'accept: application/json' -H 'Content-Type: application/json-patch+json' -H "AuthInstanceId: {instance id}" -d '{ "description": "updated description for presto engine", "engine_display_name": "sampleEngine", "tags": [ "tag1", "tag2" ]}'
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { engineId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updatePrestoEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdatePrestoEngineOptions updatePrestoEngineOptions = new UpdatePrestoEngineOptions.Builder() .engineId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<PrestoEngine> response = watsonxDataService.updatePrestoEngine(updatePrestoEngineOptions).execute(); PrestoEngine prestoEngine = response.getResult(); System.out.println(prestoEngine);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_presto_engine( engine_id='testString', body=[json_patch_operation_model], ) presto_engine = response.get_result() print(json.dumps(presto_engine, indent=2))
Response
EngineDetail
Applicable only for OCP based clusters. This is typically servicename+route
Example:
your-hostname.apps.your-domain.com
Engine status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:ViewAssociated catalogs
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
NodeDescription
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
presto engine for running sql queries
Node details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Group ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
new_group_id
Engine host name. In case of OCP based clusters, this is internal hostname
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
^[a-zA-Z0-9\-:/_.?=@]+
Example:
ibm-lh-lakehouse-presto-01-presto-svc
Origin - created or registered
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
native
Engine port
Region (cloud)
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
us-south
Size config
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
starter
Engine status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewEngine type presto
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
presto
Version of the engine
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1.2.0
NodeDescription
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
Worker
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewAssociated catalogs.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:Viewwatsonx.data build version.
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
Created user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9.:\\\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
coordinator
Instance to access the instance.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: [
starter
,cache_optimized
,compute_optimized
,small
,medium
,large
,custom
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNode details.
Node Type, r5, m, i..
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNumber of nodes.
worker
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplicable only for OCP based clusters. This is typically servicename+route.
Examples:ViewGroup ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine host name. In case of OCP based clusters, this is internal hostname.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/_.?=@]+/
Examples:ViewOrigin - created or registered.
Possible values: [
native
,external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine port.
Region (cloud).
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSize config.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewEngine type presto.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewVersion of the engine.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewNodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
{ "actions": [ "view", "use", "update", "select", "access_ui", "associate", "disassociate", "restart", "pause", "resume", "grant", "revoke", "delete", "create", "scale" ], "associated_catalogs": [ "iceberg_data", "hive_data" ], "build_version": "1.1.0.0.0", "coordinator": { "node_type": "bx2.4x16", "quantity": 1 }, "engine_display_name": "starter", "engine_id": "presto511", "external_host_name": "your-hostname.apps.your-domain.com", "group_id": "presto511", "host_name": "1234-xyz456-abc4321.databases.appdomain.cloud", "origin": "native", "port": 30156, "size_config": "starter", "status": "running", "status_code": 0, "tags": [ "tag1", "tag2" ], "type": "presto", "version": "v0.282", "worker": { "node_type": "bx2.4x16", "quantity": 1 } }
Get presto engine catalogs
Get list of all catalogs attached to a presto engine
Get list of all catalogs attached to a presto engine.
Get list of all catalogs attached to a presto engine.
Get list of all catalogs attached to a presto engine.
Get list of all catalogs attached to a presto engine.
GET /presto_engines/{engine_id}/catalogs
(watsonxData *WatsonxDataV2) ListPrestoEngineCatalogs(listPrestoEngineCatalogsOptions *ListPrestoEngineCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListPrestoEngineCatalogsWithContext(ctx context.Context, listPrestoEngineCatalogsOptions *ListPrestoEngineCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
ServiceCall<CatalogCollection> listPrestoEngineCatalogs(ListPrestoEngineCatalogsOptions listPrestoEngineCatalogsOptions)
list_presto_engine_catalogs(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listPrestoEngineCatalogs(params)
Request
Instantiate the ListPrestoEngineCatalogsOptions
struct and set the fields to provide parameter values for the ListPrestoEngineCatalogs
method.
Use the ListPrestoEngineCatalogsOptions.Builder
to create a ListPrestoEngineCatalogsOptions
object that contains the parameter values for the listPrestoEngineCatalogs
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListPrestoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listPrestoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/catalogs' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.listPrestoEngineCatalogs(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListPrestoEngineCatalogsOptions listPrestoEngineCatalogsOptions = new ListPrestoEngineCatalogsOptions.Builder() .engineId("testString") .build(); Response<CatalogCollection> response = watsonxDataService.listPrestoEngineCatalogs(listPrestoEngineCatalogsOptions).execute(); CatalogCollection catalogCollection = response.getResult(); System.out.println(catalogCollection);
response = watsonx_data_service.list_presto_engine_catalogs( engine_id='testString', ) catalog_collection = response.get_result() print(json.dumps(catalog_collection, indent=2))
Response
GetCatalogs OK
Catalogs
Possible values: 0 ≤ number of items ≤ 10000
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "catalogs": [] }
{ "catalogs": [] }
Associate catalogs to presto engine
Associate one or more catalogs to a presto engine
Associate one or more catalogs to a presto engine.
Associate one or more catalogs to a presto engine.
Associate one or more catalogs to a presto engine.
Associate one or more catalogs to a presto engine.
PUT /presto_engines/{engine_id}/catalogs
(watsonxData *WatsonxDataV2) ReplacePrestoEngineCatalogs(replacePrestoEngineCatalogsOptions *ReplacePrestoEngineCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ReplacePrestoEngineCatalogsWithContext(ctx context.Context, replacePrestoEngineCatalogsOptions *ReplacePrestoEngineCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
ServiceCall<CatalogCollection> replacePrestoEngineCatalogs(ReplacePrestoEngineCatalogsOptions replacePrestoEngineCatalogsOptions)
replace_presto_engine_catalogs(
self,
engine_id: str,
catalog_names: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
replacePrestoEngineCatalogs(params)
Request
Instantiate the ReplacePrestoEngineCatalogsOptions
struct and set the fields to provide parameter values for the ReplacePrestoEngineCatalogs
method.
Use the ReplacePrestoEngineCatalogsOptions.Builder
to create a ReplacePrestoEngineCatalogsOptions
object that contains the parameter values for the replacePrestoEngineCatalogs
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Query Parameters
comma separated catalog names
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_,]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ReplacePrestoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
comma separated catalog names.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+$/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The replacePrestoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
comma separated catalog names.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+$/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
comma separated catalog names.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+$/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
comma separated catalog names.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+$/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'PUT' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/catalogs?catalog_names=catalog_name1' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
const params = { engineId: 'testString', catalogNames: 'testString', }; let res; try { res = await watsonxDataService.replacePrestoEngineCatalogs(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ReplacePrestoEngineCatalogsOptions replacePrestoEngineCatalogsOptions = new ReplacePrestoEngineCatalogsOptions.Builder() .engineId("testString") .catalogNames("testString") .build(); Response<CatalogCollection> response = watsonxDataService.replacePrestoEngineCatalogs(replacePrestoEngineCatalogsOptions).execute(); CatalogCollection catalogCollection = response.getResult(); System.out.println(catalogCollection);
response = watsonx_data_service.replace_presto_engine_catalogs( engine_id='testString', catalog_names='testString', ) catalog_collection = response.get_result() print(json.dumps(catalog_collection, indent=2))
Response
GetCatalogs OK
Catalogs
Possible values: 0 ≤ number of items ≤ 10000
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "catalogs": [] }
{ "catalogs": [] }
Disassociate catalogs from a presto engine
Disassociate one or more catalogs from a presto engine
Disassociate one or more catalogs from a presto engine.
Disassociate one or more catalogs from a presto engine.
Disassociate one or more catalogs from a presto engine.
Disassociate one or more catalogs from a presto engine.
DELETE /presto_engines/{engine_id}/catalogs
(watsonxData *WatsonxDataV2) DeletePrestoEngineCatalogs(deletePrestoEngineCatalogsOptions *DeletePrestoEngineCatalogsOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeletePrestoEngineCatalogsWithContext(ctx context.Context, deletePrestoEngineCatalogsOptions *DeletePrestoEngineCatalogsOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deletePrestoEngineCatalogs(DeletePrestoEngineCatalogsOptions deletePrestoEngineCatalogsOptions)
delete_presto_engine_catalogs(
self,
engine_id: str,
catalog_names: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deletePrestoEngineCatalogs(params)
Request
Instantiate the DeletePrestoEngineCatalogsOptions
struct and set the fields to provide parameter values for the DeletePrestoEngineCatalogs
method.
Use the DeletePrestoEngineCatalogsOptions.Builder
to create a DeletePrestoEngineCatalogsOptions
object that contains the parameter values for the deletePrestoEngineCatalogs
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Query Parameters
Catalog id(s) to be stopped, comma separated
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_,]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeletePrestoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deletePrestoEngineCatalogs options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_,]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'DELETE' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/catalogs?catalog_names=catalog_name1' -H 'accept: */*' -H "AuthInstanceId: {instance id}"
const params = { engineId: 'testString', catalogNames: 'testString', }; try { await watsonxDataService.deletePrestoEngineCatalogs(params); } catch (err) { console.warn(err); }
DeletePrestoEngineCatalogsOptions deletePrestoEngineCatalogsOptions = new DeletePrestoEngineCatalogsOptions.Builder() .engineId("testString") .catalogNames("testString") .build(); Response<Void> response = watsonxDataService.deletePrestoEngineCatalogs(deletePrestoEngineCatalogsOptions).execute();
response = watsonx_data_service.delete_presto_engine_catalogs( engine_id='testString', catalog_names='testString', )
Get presto engine catalog
Get catalog attached to presto engine
Get catalog attached to presto engine.
Get catalog attached to presto engine.
Get catalog attached to presto engine.
Get catalog attached to presto engine.
GET /presto_engines/{engine_id}/catalogs/{catalog_id}
(watsonxData *WatsonxDataV2) GetPrestoEngineCatalog(getPrestoEngineCatalogOptions *GetPrestoEngineCatalogOptions) (result *Catalog, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetPrestoEngineCatalogWithContext(ctx context.Context, getPrestoEngineCatalogOptions *GetPrestoEngineCatalogOptions) (result *Catalog, response *core.DetailedResponse, err error)
ServiceCall<Catalog> getPrestoEngineCatalog(GetPrestoEngineCatalogOptions getPrestoEngineCatalogOptions)
get_presto_engine_catalog(
self,
engine_id: str,
catalog_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getPrestoEngineCatalog(params)
Request
Instantiate the GetPrestoEngineCatalogOptions
struct and set the fields to provide parameter values for the GetPrestoEngineCatalog
method.
Use the GetPrestoEngineCatalogOptions.Builder
to create a GetPrestoEngineCatalogOptions
object that contains the parameter values for the getPrestoEngineCatalog
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
catalog id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetPrestoEngineCatalog options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getPrestoEngineCatalog options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/catalogs/{catalog_id}' -H 'accept: application/json' -H "AuthInstanceId: {instance id}"
const params = { engineId: 'testString', catalogId: 'testString', }; let res; try { res = await watsonxDataService.getPrestoEngineCatalog(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetPrestoEngineCatalogOptions getPrestoEngineCatalogOptions = new GetPrestoEngineCatalogOptions.Builder() .engineId("testString") .catalogId("testString") .build(); Response<Catalog> response = watsonxDataService.getPrestoEngineCatalog(getPrestoEngineCatalogOptions).execute(); Catalog catalog = response.getResult(); System.out.println(catalog);
response = watsonx_data_service.get_presto_engine_catalog( engine_id='testString', catalog_id='testString', ) catalog = response.get_result() print(json.dumps(catalog, indent=2))
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sampleCatalog
Table type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
iceberg
Created by
Example:
<username>@<domain>.com
Created on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1602839833
Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Iceberg catalog description
IBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
s3a://samplehost.com
Last sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1602839833
Managed by
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Catalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
glue
IBM thrift uri port
Example:
3232
Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Sync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Table registration was successful
Tables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+
, 1 ≤ length ≤ 1000Examples:ViewSync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
SUCCESS
Tags
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
thrift://samplehost-catalog:4354
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
Pause presto engine
Pause a running presto engine
Pause a running presto engine.
Pause a running presto engine.
Pause a running presto engine.
Pause a running presto engine.
POST /presto_engines/{engine_id}/pause
(watsonxData *WatsonxDataV2) CreateEnginePause(createEnginePauseOptions *CreateEnginePauseOptions) (result *CreateEnginePauseCreatedBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateEnginePauseWithContext(ctx context.Context, createEnginePauseOptions *CreateEnginePauseOptions) (result *CreateEnginePauseCreatedBody, response *core.DetailedResponse, err error)
ServiceCall<CreateEnginePauseCreatedBody> createEnginePause(CreateEnginePauseOptions createEnginePauseOptions)
create_engine_pause(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createEnginePause(params)
Request
Instantiate the CreateEnginePauseOptions
struct and set the fields to provide parameter values for the CreateEnginePause
method.
Use the CreateEnginePauseOptions.Builder
to create a CreateEnginePauseOptions
object that contains the parameter values for the createEnginePause
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateEnginePause options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createEnginePause options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/pause' -H 'accept: application/json' -H "AuthInstanceId: {instance id}" -d ''
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.createEnginePause(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateEnginePauseOptions createEnginePauseOptions = new CreateEnginePauseOptions.Builder() .engineId("testString") .build(); Response<CreateEnginePauseCreatedBody> response = watsonxDataService.createEnginePause(createEnginePauseOptions).execute(); CreateEnginePauseCreatedBody createEnginePauseCreatedBody = response.getResult(); System.out.println(createEnginePauseCreatedBody);
response = watsonx_data_service.create_engine_pause( engine_id='testString', ) create_engine_pause_created_body = response.get_result() print(json.dumps(create_engine_pause_created_body, indent=2))
Response
Pause
Response of success
Examples:View
Pause.
Response of success.
Examples:ViewMessage.
Message code.
Response
Pause.
Response of success.
Examples:ViewMessage.
Message code.
response
Pause.
Response of success.
Examples:ViewMessage.
Message code.
response
Pause.
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "pause presto engine", "message_code": "success" } }
{ "response": { "message": "pause presto engine", "message_code": "success" } }
Explain presto query
Explain a query statement
Explain a query statement.
Explain a query statement.
Explain a query statement.
Explain a query statement.
POST /presto_engines/{engine_id}/query_explain
(watsonxData *WatsonxDataV2) RunExplainStatement(runExplainStatementOptions *RunExplainStatementOptions) (result *RunExplainStatementOKBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) RunExplainStatementWithContext(ctx context.Context, runExplainStatementOptions *RunExplainStatementOptions) (result *RunExplainStatementOKBody, response *core.DetailedResponse, err error)
ServiceCall<RunExplainStatementOKBody> runExplainStatement(RunExplainStatementOptions runExplainStatementOptions)
run_explain_statement(
self,
engine_id: str,
statement: str,
*,
format: Optional[str] = None,
type: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
runExplainStatement(params)
Request
Instantiate the RunExplainStatementOptions
struct and set the fields to provide parameter values for the RunExplainStatement
method.
Use the RunExplainStatementOptions.Builder
to create a RunExplainStatementOptions
object that contains the parameter values for the runExplainStatement
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
Presto query to determine explain plan
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
show schemas in catalog_name
Format
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
json
Type
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
io
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The RunExplainStatement options.
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to determine explain plan.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewFormat.
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType.
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The runExplainStatement options.
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to determine explain plan.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewFormat.
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType.
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to determine explain plan.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlFormat.
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlType.
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to determine explain plan.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlFormat.
Allowable values: [
,
text
,graphviz
,json
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlType.
Allowable values: [
,
logical
,distributed
,validate
,io
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/query_explain' -H 'accept: application/json' -H 'Content-Type: application/json' -H "AuthInstanceId: {instance id}" -d '{ "format": "json", "statement": "show schemas in catalog_name", "type": "io"}'
const params = { engineId: 'testString', statement: 'show schemas in catalog_name', }; let res; try { res = await watsonxDataService.runExplainStatement(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
RunExplainStatementOptions runExplainStatementOptions = new RunExplainStatementOptions.Builder() .engineId("testString") .statement("show schemas in catalog_name") .build(); Response<RunExplainStatementOKBody> response = watsonxDataService.runExplainStatement(runExplainStatementOptions).execute(); RunExplainStatementOKBody runExplainStatementOkBody = response.getResult(); System.out.println(runExplainStatementOkBody);
response = watsonx_data_service.run_explain_statement( engine_id='testString', statement='show schemas in catalog_name', ) run_explain_statement_ok_body = response.get_result() print(json.dumps(run_explain_statement_ok_body, indent=2))
Response
ExplainStatement OK
Response of success
Examples:ViewResult
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-z0-9\-]+
ExplainStatement OK.
Response of success.
Examples:ViewMessage.
Message code.
Response
Result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
ExplainStatement OK.
Response of success.
Examples:ViewMessage.
Message code.
response
Result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
ExplainStatement OK.
Response of success.
Examples:ViewMessage.
Message code.
response
Result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
ExplainStatement OK.
Response of success.
Examples:ViewMessage.
Message code.
response
Result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "explain statement", "message_code": "success" }, "result": "explain statement" }
{ "response": { "message": "explain statement", "message_code": "success" }, "result": "explain statement" }
Explain presto analyze
Return query metrics after query is complete
Return query metrics after query is complete.
Return query metrics after query is complete.
Return query metrics after query is complete.
Return query metrics after query is complete.
POST /presto_engines/{engine_id}/query_explain_analyze
(watsonxData *WatsonxDataV2) RunExplainAnalyzeStatement(runExplainAnalyzeStatementOptions *RunExplainAnalyzeStatementOptions) (result *RunExplainAnalyzeStatementOKBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) RunExplainAnalyzeStatementWithContext(ctx context.Context, runExplainAnalyzeStatementOptions *RunExplainAnalyzeStatementOptions) (result *RunExplainAnalyzeStatementOKBody, response *core.DetailedResponse, err error)
ServiceCall<RunExplainAnalyzeStatementOKBody> runExplainAnalyzeStatement(RunExplainAnalyzeStatementOptions runExplainAnalyzeStatementOptions)
run_explain_analyze_statement(
self,
engine_id: str,
statement: str,
*,
verbose: Optional[bool] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
runExplainAnalyzeStatement(params)
Request
Instantiate the RunExplainAnalyzeStatementOptions
struct and set the fields to provide parameter values for the RunExplainAnalyzeStatement
method.
Use the RunExplainAnalyzeStatementOptions.Builder
to create a RunExplainAnalyzeStatementOptions
object that contains the parameter values for the runExplainAnalyzeStatement
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
Presto query to show explain analyze
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
show schemas in catalog_name
Verbose
Example:
true
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The RunExplainAnalyzeStatement options.
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to show explain analyze.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewVerbose.
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The runExplainAnalyzeStatement options.
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to show explain analyze.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:ViewVerbose.
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to show explain analyze.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlVerbose.
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Presto query to show explain analyze.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlVerbose.
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/query_explain_analyze' -H 'accept: application/json' -H 'Content-Type: application/json' -H "AuthInstanceId: {instance id}" -d '{ "statement": "show schemas in catalog_name", "verbose": true}'
const params = { engineId: 'testString', statement: 'show schemas in catalog_name', }; let res; try { res = await watsonxDataService.runExplainAnalyzeStatement(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
RunExplainAnalyzeStatementOptions runExplainAnalyzeStatementOptions = new RunExplainAnalyzeStatementOptions.Builder() .engineId("testString") .statement("show schemas in catalog_name") .build(); Response<RunExplainAnalyzeStatementOKBody> response = watsonxDataService.runExplainAnalyzeStatement(runExplainAnalyzeStatementOptions).execute(); RunExplainAnalyzeStatementOKBody runExplainAnalyzeStatementOkBody = response.getResult(); System.out.println(runExplainAnalyzeStatementOkBody);
response = watsonx_data_service.run_explain_analyze_statement( engine_id='testString', statement='show schemas in catalog_name', ) run_explain_analyze_statement_ok_body = response.get_result() print(json.dumps(run_explain_analyze_statement_ok_body, indent=2))
Response
explainAnalyzeStatement OK
Response of success
Examples:ViewexplainAnalyzeStatement result
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-z0-9\-]+
explainAnalyzeStatement OK.
Response of success.
Examples:ViewMessage.
Message code.
Response
explainAnalyzeStatement result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
explainAnalyzeStatement OK.
Response of success.
Examples:ViewMessage.
Message code.
response
explainAnalyzeStatement result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
explainAnalyzeStatement OK.
Response of success.
Examples:ViewMessage.
Message code.
response
explainAnalyzeStatement result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
explainAnalyzeStatement OK.
Response of success.
Examples:ViewMessage.
Message code.
response
explainAnalyzeStatement result.
Possible values: 0 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-z0-9\\-]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "explain presto analyze", "message_code": "success" }, "result": "explain statement" }
{ "response": { "message": "explain presto analyze", "message_code": "success" }, "result": "explain statement" }
Restart a presto engine
Restart an existing presto engine
Restart an existing presto engine.
Restart an existing presto engine.
Restart an existing presto engine.
Restart an existing presto engine.
POST /presto_engines/{engine_id}/restart
(watsonxData *WatsonxDataV2) CreateEngineRestart(createEngineRestartOptions *CreateEngineRestartOptions) (result *CreateEngineRestartCreatedBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateEngineRestartWithContext(ctx context.Context, createEngineRestartOptions *CreateEngineRestartOptions) (result *CreateEngineRestartCreatedBody, response *core.DetailedResponse, err error)
ServiceCall<CreateEngineRestartCreatedBody> createEngineRestart(CreateEngineRestartOptions createEngineRestartOptions)
create_engine_restart(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createEngineRestart(params)
Request
Instantiate the CreateEngineRestartOptions
struct and set the fields to provide parameter values for the CreateEngineRestart
method.
Use the CreateEngineRestartOptions.Builder
to create a CreateEngineRestartOptions
object that contains the parameter values for the createEngineRestart
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateEngineRestart options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createEngineRestart options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/restart' -H 'accept: application/json' -H "AuthInstanceId: {instance id}" -d ''
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.createEngineRestart(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateEngineRestartOptions createEngineRestartOptions = new CreateEngineRestartOptions.Builder() .engineId("testString") .build(); Response<CreateEngineRestartCreatedBody> response = watsonxDataService.createEngineRestart(createEngineRestartOptions).execute(); CreateEngineRestartCreatedBody createEngineRestartCreatedBody = response.getResult(); System.out.println(createEngineRestartCreatedBody);
response = watsonx_data_service.create_engine_restart( engine_id='testString', ) create_engine_restart_created_body = response.get_result() print(json.dumps(create_engine_restart_created_body, indent=2))
Response
restart engine
Response of success
Examples:View
restart engine.
Response of success.
Examples:ViewMessage.
Message code.
Response
restart engine.
Response of success.
Examples:ViewMessage.
Message code.
response
restart engine.
Response of success.
Examples:ViewMessage.
Message code.
response
restart engine.
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "Restart presto engine", "message_code": "success" } }
{ "response": { "message": "Restart presto engine", "message_code": "success" } }
Resume presto engine
Resume a paused presto engine
Resume a paused presto engine.
Resume a paused presto engine.
Resume a paused presto engine.
Resume a paused presto engine.
POST /presto_engines/{engine_id}/resume
(watsonxData *WatsonxDataV2) CreateEngineResume(createEngineResumeOptions *CreateEngineResumeOptions) (result *CreateEngineResumeCreatedBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateEngineResumeWithContext(ctx context.Context, createEngineResumeOptions *CreateEngineResumeOptions) (result *CreateEngineResumeCreatedBody, response *core.DetailedResponse, err error)
ServiceCall<CreateEngineResumeCreatedBody> createEngineResume(CreateEngineResumeOptions createEngineResumeOptions)
create_engine_resume(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createEngineResume(params)
Request
Instantiate the CreateEngineResumeOptions
struct and set the fields to provide parameter values for the CreateEngineResume
method.
Use the CreateEngineResumeOptions.Builder
to create a CreateEngineResumeOptions
object that contains the parameter values for the createEngineResume
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateEngineResume options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createEngineResume options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/resume' -H 'accept: application/json' -H "AuthInstanceId: {instance id}" -d ''
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.createEngineResume(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateEngineResumeOptions createEngineResumeOptions = new CreateEngineResumeOptions.Builder() .engineId("testString") .build(); Response<CreateEngineResumeCreatedBody> response = watsonxDataService.createEngineResume(createEngineResumeOptions).execute(); CreateEngineResumeCreatedBody createEngineResumeCreatedBody = response.getResult(); System.out.println(createEngineResumeCreatedBody);
response = watsonx_data_service.create_engine_resume( engine_id='testString', ) create_engine_resume_created_body = response.get_result() print(json.dumps(create_engine_resume_created_body, indent=2))
Response
resume
Response of success
Examples:View
resume.
Response of success.
Examples:ViewMessage.
Message code.
Response
resume.
Response of success.
Examples:ViewMessage.
Message code.
response
resume.
Response of success.
Examples:ViewMessage.
Message code.
response
resume.
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "resume presto engine", "message_code": "success" } }
{ "response": { "message": "resume presto engine", "message_code": "success" } }
Scale a presto engine
Scale an existing presto engine
Scale an existing presto engine.
Scale an existing presto engine.
Scale an existing presto engine.
Scale an existing presto engine.
POST /presto_engines/{engine_id}/scale
(watsonxData *WatsonxDataV2) CreateEngineScale(createEngineScaleOptions *CreateEngineScaleOptions) (result *CreateEngineScaleCreatedBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateEngineScaleWithContext(ctx context.Context, createEngineScaleOptions *CreateEngineScaleOptions) (result *CreateEngineScaleCreatedBody, response *core.DetailedResponse, err error)
ServiceCall<CreateEngineScaleCreatedBody> createEngineScale(CreateEngineScaleOptions createEngineScaleOptions)
create_engine_scale(
self,
engine_id: str,
*,
coordinator: Optional['NodeDescription'] = None,
worker: Optional['NodeDescription'] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createEngineScale(params)
Request
Instantiate the CreateEngineScaleOptions
struct and set the fields to provide parameter values for the CreateEngineScale
method.
Use the CreateEngineScaleOptions.Builder
to create a CreateEngineScaleOptions
object that contains the parameter values for the createEngineScale
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Scale Engine Body
NodeDescription
NodeDescription
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateEngineScale options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
NodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Coordinator
NodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
Worker
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createEngineScale options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
NodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
NodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
NodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
NodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
NodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
coordinator
NodeDescription.
Node type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewQuantity.
worker
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/presto_engines/{engine_id}/scale' -H 'accept: application/json' -H 'Content-Type: application/json' -H "AuthInstanceId: {instance id}" -d '{ "coordinator": { "node_type": "worker", "quantity": 0 }, "worker": { "node_type": "worker", "quantity": 0 }}'
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.createEngineScale(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateEngineScaleOptions createEngineScaleOptions = new CreateEngineScaleOptions.Builder() .engineId("testString") .build(); Response<CreateEngineScaleCreatedBody> response = watsonxDataService.createEngineScale(createEngineScaleOptions).execute(); CreateEngineScaleCreatedBody createEngineScaleCreatedBody = response.getResult(); System.out.println(createEngineScaleCreatedBody);
response = watsonx_data_service.create_engine_scale( engine_id='testString', ) create_engine_scale_created_body = response.get_result() print(json.dumps(create_engine_scale_created_body, indent=2))
Response
scale engine
Response of success
Examples:View
scale engine.
Response of success.
Examples:ViewMessage.
Message code.
Response
scale engine.
Response of success.
Examples:ViewMessage.
Message code.
response
scale engine.
Response of success.
Examples:ViewMessage.
Message code.
response
scale engine.
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "scale presto engine", "message_code": "success" } }
{ "response": { "message": "scale presto engine", "message_code": "success" } }
List all spark engines
List all spark engines
List all spark engines.
List all spark engines.
List all spark engines.
List all spark engines.
GET /spark_engines
(watsonxData *WatsonxDataV2) ListSparkEngines(listSparkEnginesOptions *ListSparkEnginesOptions) (result *SparkEngineCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListSparkEnginesWithContext(ctx context.Context, listSparkEnginesOptions *ListSparkEnginesOptions) (result *SparkEngineCollection, response *core.DetailedResponse, err error)
ServiceCall<SparkEngineCollection> listSparkEngines(ListSparkEnginesOptions listSparkEnginesOptions)
list_spark_engines(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listSparkEngines(params)
Request
Instantiate the ListSparkEnginesOptions
struct and set the fields to provide parameter values for the ListSparkEngines
method.
Use the ListSparkEnginesOptions.Builder
to create a ListSparkEnginesOptions
object that contains the parameter values for the listSparkEngines
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListSparkEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listSparkEngines options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/spark_engine"
let res; try { res = await watsonxDataService.listSparkEngines({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListSparkEnginesOptions listSparkEnginesOptions = new ListSparkEnginesOptions.Builder() .build(); Response<SparkEngineCollection> response = watsonxDataService.listSparkEngines(listSparkEnginesOptions).execute(); SparkEngineCollection sparkEngineCollection = response.getResult(); System.out.println(sparkEngineCollection);
response = watsonx_data_service.list_spark_engines() spark_engine_collection = response.get_result() print(json.dumps(spark_engine_collection, indent=2))
Response
List spark engines
List spark engines
Possible values: 0 ≤ number of items ≤ 10000
List spark engines.
List spark engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
Endpoints
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
SparkEngines
List spark engines.
List spark engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
sparkEngines
List spark engines.
List spark engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
spark_engines
List spark engines.
List spark engines.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
spark_engines
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "spark_engines": [ { "actions": [ "update", "delete" ], "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "Spark engines for running spark applications", "engine_details": { "connection_string": "https://xyz.<region>.ae.cloud.123.com/v3/analytics_engines/<spark_iae_id>", "endpoints": { "applications_api": "$HOST/v4/analytics_engines/<spark_id>/spark_applications/<application_id>", "history_server_endpoint": "$HOST/v2/spark/v3/instances/<spark_id>/spark_history_server", "spark_access_endpoint": "$HOST/analytics-engine/details/spark-<instance_id>", "spark_jobs_v4_endpoint": "$HOST/v4/analytics_engines/<spark_id>/spark_applications", "spark_kernel_endpoint": "$HOST/v4/analytics_engines/<spark_id>/jkg/api/kernels", "view_history_server": "View history server", "wxd_application_endpoint": "$HOST/v1/<wxd_instance_id>/engines/<engine_id>/applications" } }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "discover", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" } ] }
{ "spark_engines": [ { "actions": [ "update", "delete" ], "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "Spark engines for running spark applications", "engine_details": { "connection_string": "https://xyz.<region>.ae.cloud.123.com/v3/analytics_engines/<spark_iae_id>", "endpoints": { "applications_api": "$HOST/v4/analytics_engines/<spark_id>/spark_applications/<application_id>", "history_server_endpoint": "$HOST/v2/spark/v3/instances/<spark_id>/spark_history_server", "spark_access_endpoint": "$HOST/analytics-engine/details/spark-<instance_id>", "spark_jobs_v4_endpoint": "$HOST/v4/analytics_engines/<spark_id>/spark_applications", "spark_kernel_endpoint": "$HOST/v4/analytics_engines/<spark_id>/jkg/api/kernels", "view_history_server": "View history server", "wxd_application_endpoint": "$HOST/v1/<wxd_instance_id>/engines/<engine_id>/applications" } }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "discover", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" } ] }
Create spark engine
Create a new spark engine
Create a new spark engine.
Create a new spark engine.
Create a new spark engine.
Create a new spark engine.
POST /spark_engines
(watsonxData *WatsonxDataV2) CreateSparkEngine(createSparkEngineOptions *CreateSparkEngineOptions) (result *SparkEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateSparkEngineWithContext(ctx context.Context, createSparkEngineOptions *CreateSparkEngineOptions) (result *SparkEngine, response *core.DetailedResponse, err error)
ServiceCall<SparkEngine> createSparkEngine(CreateSparkEngineOptions createSparkEngineOptions)
create_spark_engine(
self,
origin: str,
type: str,
*,
description: Optional[str] = None,
engine_details: Optional['SparkEngineDetailsPrototype'] = None,
engine_display_name: Optional[str] = None,
tags: Optional[List[str]] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createSparkEngine(params)
Request
Instantiate the CreateSparkEngineOptions
struct and set the fields to provide parameter values for the CreateSparkEngine
method.
Use the CreateSparkEngineOptions.Builder
to create a CreateSparkEngineOptions
object that contains the parameter values for the createSparkEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create spark engine Body
Origin - created or registered
Allowable values: [
external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
external
Engine type spark, others like netezza
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
spark
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
spark engine description
Node details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateSparkEngine options.
Origin - created or registered.
Allowable values: [
external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine type spark, others like netezza.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createSparkEngine options.
Origin - created or registered.
Allowable values: [
external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine type spark, others like netezza.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewNode details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine type spark, others like netezza.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlNode details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - created or registered.
Allowable values: [
external
,discover
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine type spark, others like netezza.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlEngine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlNode details.
api key to work with the saas IAE instance.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewExternal engine connection string.
Possible values: 1 ≤ length ≤ 512, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewInstance to access the instance.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewHow is the spark instance managed.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "content-type: application/json" -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -d '{ "description": "spark engine description", "engine_details": { "api_key": "apikey", "connection_string": "1.2.3.4", "instance_id": "spark-id", "managed_by": "fully/self" }, "engine_display_name": "sampleEngine", "origin": "discover/external", "tags": [ "tag1", "tag2" ], "type": "spark" }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/spark_engines"
const params = { origin: 'external', type: 'spark', }; let res; try { res = await watsonxDataService.createSparkEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateSparkEngineOptions createSparkEngineOptions = new CreateSparkEngineOptions.Builder() .origin("external") .type("spark") .build(); Response<SparkEngine> response = watsonxDataService.createSparkEngine(createSparkEngineOptions).execute(); SparkEngine sparkEngine = response.getResult(); System.out.println(sparkEngine);
response = watsonx_data_service.create_spark_engine( origin='external', type='spark', ) spark_engine = response.get_result() print(json.dumps(spark_engine, indent=2))
Response
EngineDetail
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
spark engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Registered
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
spark
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
Endpoints
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "SparkEngine": { "actions": [ "update", "delete" ], "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "Spark engines for running spark applications", "engine_details": { "connection_string": "https://xyz.<region>.ae.cloud.123.com/v3/analytics_engines/<spark_iae_id>", "endpoints": { "applications_api": "$HOST/v4/analytics_engines/<spark_id>/spark_applications/<application_id>", "history_server_endpoint": "$HOST/v2/spark/v3/instances/<spark_id>/spark_history_server", "spark_access_endpoint": "$HOST/analytics-engine/details/spark-<instance_id>", "spark_jobs_v4_endpoint": "$HOST/v4/analytics_engines/<spark_id>/spark_applications", "spark_kernel_endpoint": "$HOST/v4/analytics_engines/<spark_id>/jkg/api/kernels", "view_history_server": "View history server", "wxd_application_endpoint": "$HOST/v1/<wxd_instance_id>/engines/<engine_id>/applications" } }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "discover", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" } }
{ "SparkEngine": { "actions": [ "update", "delete" ], "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "Spark engines for running spark applications", "engine_details": { "connection_string": "https://xyz.<region>.ae.cloud.123.com/v3/analytics_engines/<spark_iae_id>", "endpoints": { "applications_api": "$HOST/v4/analytics_engines/<spark_id>/spark_applications/<application_id>", "history_server_endpoint": "$HOST/v2/spark/v3/instances/<spark_id>/spark_history_server", "spark_access_endpoint": "$HOST/analytics-engine/details/spark-<instance_id>", "spark_jobs_v4_endpoint": "$HOST/v4/analytics_engines/<spark_id>/spark_applications", "spark_kernel_endpoint": "$HOST/v4/analytics_engines/<spark_id>/jkg/api/kernels", "view_history_server": "View history server", "wxd_application_endpoint": "$HOST/v1/<wxd_instance_id>/engines/<engine_id>/applications" } }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "discover", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" } }
Delete spark engine
Delete a spark engine
Delete a spark engine.
Delete a spark engine.
Delete a spark engine.
Delete a spark engine.
DELETE /spark_engines/{engine_id}
(watsonxData *WatsonxDataV2) DeleteSparkEngine(deleteSparkEngineOptions *DeleteSparkEngineOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteSparkEngineWithContext(ctx context.Context, deleteSparkEngineOptions *DeleteSparkEngineOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteSparkEngine(DeleteSparkEngineOptions deleteSparkEngineOptions)
delete_spark_engine(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteSparkEngine(params)
Request
Instantiate the DeleteSparkEngineOptions
struct and set the fields to provide parameter values for the DeleteSparkEngine
method.
Use the DeleteSparkEngineOptions.Builder
to create a DeleteSparkEngineOptions
object that contains the parameter values for the deleteSparkEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteSparkEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteSparkEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}"
const params = { engineId: 'testString', }; try { await watsonxDataService.deleteSparkEngine(params); } catch (err) { console.warn(err); }
DeleteSparkEngineOptions deleteSparkEngineOptions = new DeleteSparkEngineOptions.Builder() .engineId("testString") .build(); Response<Void> response = watsonxDataService.deleteSparkEngine(deleteSparkEngineOptions).execute();
response = watsonx_data_service.delete_spark_engine( engine_id='testString', )
Update spark engine
Update details of spark engine
Update details of spark engine.
Update details of spark engine.
Update details of spark engine.
Update details of spark engine.
PATCH /spark_engines/{engine_id}
(watsonxData *WatsonxDataV2) UpdateSparkEngine(updateSparkEngineOptions *UpdateSparkEngineOptions) (result *SparkEngine, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateSparkEngineWithContext(ctx context.Context, updateSparkEngineOptions *UpdateSparkEngineOptions) (result *SparkEngine, response *core.DetailedResponse, err error)
ServiceCall<SparkEngine> updateSparkEngine(UpdateSparkEngineOptions updateSparkEngineOptions)
update_spark_engine(
self,
engine_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateSparkEngine(params)
Request
Instantiate the UpdateSparkEngineOptions
struct and set the fields to provide parameter values for the UpdateSparkEngine
method.
Use the UpdateSparkEngineOptions.Builder
to create a UpdateSparkEngineOptions
object that contains the parameter values for the updateSparkEngine
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Update Engine Body
Modified description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
updated description for spark engine
Engine display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
.*
Example:
sampleEngine
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateSparkEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateSparkEngine options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update Engine Body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X PATCH -H "content-type: application/json" -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -d '{ "description": "updated description for spark engine", "engine_display_name": "sampleEngine", "tags": [ "tag1", "tag2" ] }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}"
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { engineId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateSparkEngine(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateSparkEngineOptions updateSparkEngineOptions = new UpdateSparkEngineOptions.Builder() .engineId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<SparkEngine> response = watsonxDataService.updateSparkEngine(updateSparkEngineOptions).execute(); SparkEngine sparkEngine = response.getResult(); System.out.println(sparkEngine);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_spark_engine( engine_id='testString', body=[json_patch_operation_model], ) spark_engine = response.get_result() print(json.dumps(spark_engine, indent=2))
Response
EngineDetail
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:Viewwatsonx.data build version
Example:
1.0.3.0.0
Created user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Engine description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
spark engine for running sql queries
External engine details
Engine display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine
Engine programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleEngine123
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Engine status
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Registered
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
spark
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
Endpoints
EngineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engineDetails
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
EngineDetail.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewwatsonx.data build version.
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Engine description.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExternal engine details.
External engine connection string.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewApplication Endpoints.
Application API.
Examples:ViewHistory server endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewSpark jobs V4 endpoint.
Examples:ViewSpark kernel endpoint.
Examples:ViewView history server.
Wxd application endpoint.
Examples:View
endpoints
engine_details
Engine display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOrigin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewEngine status.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewType like spark, netezza,..
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "SparkEngine": { "actions": [ "update", "delete" ], "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "Spark engines for running spark applications", "engine_details": { "connection_string": "https://xyz.<region>.ae.cloud.123.com/v3/analytics_engines/<spark_iae_id>", "endpoints": { "applications_api": "$HOST/v4/analytics_engines/<spark_id>/spark_applications/<application_id>", "history_server_endpoint": "$HOST/v2/spark/v3/instances/<spark_id>/spark_history_server", "spark_access_endpoint": "$HOST/analytics-engine/details/spark-<instance_id>", "spark_jobs_v4_endpoint": "$HOST/v4/analytics_engines/<spark_id>/spark_applications", "spark_kernel_endpoint": "$HOST/v4/analytics_engines/<spark_id>/jkg/api/kernels", "view_history_server": "View history server", "wxd_application_endpoint": "$HOST/v1/<wxd_instance_id>/engines/<engine_id>/applications" } }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "discover", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" } }
{ "SparkEngine": { "actions": [ "update", "delete" ], "created_by": "<username>@<domain>.com", "created_on": 163788384993, "description": "Spark engines for running spark applications", "engine_details": { "connection_string": "https://xyz.<region>.ae.cloud.123.com/v3/analytics_engines/<spark_iae_id>", "endpoints": { "applications_api": "$HOST/v4/analytics_engines/<spark_id>/spark_applications/<application_id>", "history_server_endpoint": "$HOST/v2/spark/v3/instances/<spark_id>/spark_history_server", "spark_access_endpoint": "$HOST/analytics-engine/details/spark-<instance_id>", "spark_jobs_v4_endpoint": "$HOST/v4/analytics_engines/<spark_id>/spark_applications", "spark_kernel_endpoint": "$HOST/v4/analytics_engines/<spark_id>/jkg/api/kernels", "view_history_server": "View history server", "wxd_application_endpoint": "$HOST/v1/<wxd_instance_id>/engines/<engine_id>/applications" } }, "engine_display_name": "sampleEngine", "engine_id": "sampleEngine123", "origin": "discover", "status": "REGISTERED", "tags": [ "tag1", "tag2" ], "type": "spark" } }
List all applications in a spark engine
List all applications in a spark engine
List all applications in a spark engine.
List all applications in a spark engine.
List all applications in a spark engine.
List all applications in a spark engine.
GET /spark_engines/{engine_id}/applications
(watsonxData *WatsonxDataV2) ListSparkEngineApplications(listSparkEngineApplicationsOptions *ListSparkEngineApplicationsOptions) (result *SparkEngineApplicationStatusCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListSparkEngineApplicationsWithContext(ctx context.Context, listSparkEngineApplicationsOptions *ListSparkEngineApplicationsOptions) (result *SparkEngineApplicationStatusCollection, response *core.DetailedResponse, err error)
ServiceCall<SparkEngineApplicationStatusCollection> listSparkEngineApplications(ListSparkEngineApplicationsOptions listSparkEngineApplicationsOptions)
list_spark_engine_applications(
self,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listSparkEngineApplications(params)
Request
Instantiate the ListSparkEngineApplicationsOptions
struct and set the fields to provide parameter values for the ListSparkEngineApplications
method.
Use the ListSparkEngineApplicationsOptions.Builder
to create a ListSparkEngineApplicationsOptions
object that contains the parameter values for the listSparkEngineApplications
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListSparkEngineApplications options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listSparkEngineApplications options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/applications"
const params = { engineId: 'testString', }; let res; try { res = await watsonxDataService.listSparkEngineApplications(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListSparkEngineApplicationsOptions listSparkEngineApplicationsOptions = new ListSparkEngineApplicationsOptions.Builder() .engineId("testString") .build(); Response<SparkEngineApplicationStatusCollection> response = watsonxDataService.listSparkEngineApplications(listSparkEngineApplicationsOptions).execute(); SparkEngineApplicationStatusCollection sparkEngineApplicationStatusCollection = response.getResult(); System.out.println(sparkEngineApplicationStatusCollection);
response = watsonx_data_service.list_spark_engine_applications( engine_id='testString', ) spark_engine_application_status_collection = response.get_result() print(json.dumps(spark_engine_application_status_collection, indent=2))
Response
Engine Application Detail
Application body
Possible values: 0 ≤ number of items ≤ 10000
Engine Application Detail.
Application body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewApplication Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
Conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
ApplicationDetails
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
Runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
StateDetails
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Applications
Engine Application Detail.
Application body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewApplication Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
applicationDetails
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
stateDetails
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
applications
Engine Application Detail.
Application body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewApplication Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
application_details
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
state_details
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
applications
Engine Application Detail.
Application body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewApplication Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
application_details
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
state_details
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
applications
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "applications": [ { "application_id": "<application_id>", "auto_termination_time": "2020-12-08T10:00:00.000Z", "creation_time": "2020-12-08T10:00:00.000Z", "end_time": "2020-12-08T10:00:00.000Z", "failed_time": "2020-12-08T10:00:00.000Z", "finish_time": "2020-12-08T10:00:00.000Z", "runtime": { "spark_version": "3.3" }, "spark_application_id": "spark-application-16073847388_0001", "spark_application_name": "sample-application-name", "start_time": "2020-12-08T10:00:00.000Z", "state": "running", "submission_time": "2023-11-01T11:18:49.758Z", "template_id": "spark-3.3-jaas-v2-cp4d-template" } ] }
{ "applications": [ { "application_id": "<application_id>", "auto_termination_time": "2020-12-08T10:00:00.000Z", "creation_time": "2020-12-08T10:00:00.000Z", "end_time": "2020-12-08T10:00:00.000Z", "failed_time": "2020-12-08T10:00:00.000Z", "finish_time": "2020-12-08T10:00:00.000Z", "runtime": { "spark_version": "3.3" }, "spark_application_id": "spark-application-16073847388_0001", "spark_application_name": "sample-application-name", "start_time": "2020-12-08T10:00:00.000Z", "state": "running", "submission_time": "2023-11-01T11:18:49.758Z", "template_id": "spark-3.3-jaas-v2-cp4d-template" } ] }
Submit engine applications
Submit engine applications
Submit engine applications.
Submit engine applications.
Submit engine applications.
Submit engine applications.
POST /spark_engines/{engine_id}/applications
(watsonxData *WatsonxDataV2) CreateSparkEngineApplication(createSparkEngineApplicationOptions *CreateSparkEngineApplicationOptions) (result *SparkEngineApplicationStatus, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateSparkEngineApplicationWithContext(ctx context.Context, createSparkEngineApplicationOptions *CreateSparkEngineApplicationOptions) (result *SparkEngineApplicationStatus, response *core.DetailedResponse, err error)
ServiceCall<SparkEngineApplicationStatus> createSparkEngineApplication(CreateSparkEngineApplicationOptions createSparkEngineApplicationOptions)
create_spark_engine_application(
self,
engine_id: str,
application_details: 'SparkApplicationDetails',
*,
job_endpoint: Optional[str] = None,
service_instance_id: Optional[str] = None,
type: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createSparkEngineApplication(params)
Request
Instantiate the CreateSparkEngineApplicationOptions
struct and set the fields to provide parameter values for the CreateSparkEngineApplication
method.
Use the CreateSparkEngineApplicationOptions.Builder
to create a CreateSparkEngineApplicationOptions
object that contains the parameter values for the createSparkEngineApplication
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Create spark application parameters
Application details
Job endpoint
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^.+$
Example:
<host>/v4/analytics_engines/c7b3fccf-badb-46b0-b1ef-9b3154424021/engine_applications
Service Instance ID for POST
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Engine Type
Allowable values: [
iae
,emr
]Example:
iae
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateSparkEngineApplication options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
Conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
ApplicationDetails
Job endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewService Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Engine Type.
Allowable values: [
iae
,emr
]Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createSparkEngineApplication options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
applicationDetails
Job endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewService Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Engine Type.
Allowable values: [
iae
,emr
]Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
application_details
Job endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:value_source_lines_htmlService Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Engine Type.
Allowable values: [
iae
,emr
]Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
applicationDetails
Job endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:value_source_lines_htmlService Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Engine Type.
Allowable values: [
iae
,emr
]Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "content-type: application/json" -H "accept: application/json" -H "AuthInstanceId: {instance_id}" -d '{ "application_details": { "application": "s3://mybucket/wordcount.py", "arguments": [ "people.txt" ], "conf": { "additionalProp1": "key:value", "additionalProp2": "key:value", "additionalProp3": "key:value" }, "env": { "additionalProp1": "key:value", "additionalProp2": "key:value", "additionalProp3": "key:value" }, "name": "SparkApplicaton1" }, "job_endpoint": "<host>/v4/analytics_engines/c7b3fccf-badb-46b0-b1ef-9b3154424021/engine_applications", "service_instance_id": "3FGeNUZqcdu6rOFbaHhGBoNdCHj98UoHd6nUFqkfsKhgacYD8ImM6iSA_F-TjHUdEZuVsoQTmOn", "type": "iae" }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/applications"
// Request models needed by this operation. // SparkApplicationDetailsConf const sparkApplicationDetailsConfModel = { }; // SparkApplicationDetails const sparkApplicationDetailsModel = { application: 's3://mybucket/wordcount.py', arguments: ['people.txt'], conf: sparkApplicationDetailsConfModel, env: { anyKey: 'anyValue' }, }; const params = { engineId: 'testString', applicationDetails: sparkApplicationDetailsModel, }; let res; try { res = await watsonxDataService.createSparkEngineApplication(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
SparkApplicationDetailsConf sparkApplicationDetailsConfModel = new SparkApplicationDetailsConf.Builder() .build(); SparkApplicationDetails sparkApplicationDetailsModel = new SparkApplicationDetails.Builder() .application("s3://mybucket/wordcount.py") .arguments(java.util.Arrays.asList("people.txt")) .conf(sparkApplicationDetailsConfModel) .env(new java.util.HashMap<String, Object>()) .build(); CreateSparkEngineApplicationOptions createSparkEngineApplicationOptions = new CreateSparkEngineApplicationOptions.Builder() .engineId("testString") .applicationDetails(sparkApplicationDetailsModel) .build(); Response<SparkEngineApplicationStatus> response = watsonxDataService.createSparkEngineApplication(createSparkEngineApplicationOptions).execute(); SparkEngineApplicationStatus sparkEngineApplicationStatus = response.getResult(); System.out.println(sparkEngineApplicationStatus);
spark_application_details_conf_model = { } spark_application_details_model = { 'application': 's3://mybucket/wordcount.py', 'arguments': ['people.txt'], 'conf': spark_application_details_conf_model, 'env': {'anyKey': 'anyValue'}, } response = watsonx_data_service.create_spark_engine_application( engine_id='testString', application_details=spark_application_details_model, ) spark_engine_application_status = response.get_result() print(json.dumps(spark_engine_application_status, indent=2))
Response
Engine Application Status
Application Details
Application ID
Example:
cd7cbf1f-8893-4c51-aa3d-d92729f05e99
Auto Termination Time
Example:
2020-12-08T10:00:00.000Z
Creation time
Example:
Saturday 28 October 2023 07:17:06.856+0000
Deployment mode
Example:
stand-alone
End Time
Example:
2020-12-08T10:00:00.000Z
Failed time
Finish time
Example:
Saturday 28 October 2023 07:17:38.966+0000
Application ID
Example:
cd7cbf1f-8893-4c51-aa3d-d92729f05e99
Job endpoint
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^.+$
Example:
<host>/v4/analytics_engines/c7b3fccf-badb-46b0-b1ef-9b3154424021/engine_applications
Return code
Example:
0
application run time
Service Instance ID for POST
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Spark application ID
Example:
app-20231028071726-0000
Spark application name
Example:
PythonWordCount
Start time
Example:
Saturday 28 October 2023 07:17:26.649+0000
Application state
Example:
FINISHED
Application state details
Possible values: 0 ≤ number of items ≤ 10000
Application submission time
Example:
2023-11-01T11:18:49.758Z
Template ID
Example:
spark-3.3-jaas-v2-cp4d-template
Engine Type
Possible values: [
iae
,emr
]Example:
iae
Engine Application Status.
Application Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
Conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
ApplicationDetails
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
Runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
StateDetails
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Engine Application Status.
Application Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
applicationDetails
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
stateDetails
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Engine Application Status.
Application Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
application_details
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
state_details
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Engine Application Status.
Application Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
application_details
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
state_details
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "application": { "application_details": { "application": "/opt/xyz/spark/examples/src/main/python/wordcount.py", "arguments": [ "/opt/xyz/spark/examples/src/main/python/people.txt" ], "conf": { "sparkConfPropKey1": "sparkConfPropvalue1", "sparkConfPropKey2": "sparkConfPropvalue2" }, "env": { "sparkEnvPropKey1": "sparkEnvPropvalue1", "sparkEnvPropKey2": "sparkEnvPropvalue2" }, "name": "SparkApplication1" }, "application_id": "<application_id>", "auto_termination_time": "2023-11-04T15:37:57.775Z", "end_time": "2023-11-01T15:38:07.188Z", "id": "id-ca61-454c-aab3-486d39d8c1d0", "return_code": "1", "spark_application_id": "<spark_application_id>", "spark_application_name": "PythonWordCount", "start_time": "2023-11-01T15:37:57.775Z", "state": "failed", "state_details\"": [ { "code": "server_error", "message": "A server error occurred while submitting or running your application.", "type": "server_error" } ], "submission_time": "2023-11-01T15:37:30.982Z" } }
{ "application": { "application_details": { "application": "/opt/xyz/spark/examples/src/main/python/wordcount.py", "arguments": [ "/opt/xyz/spark/examples/src/main/python/people.txt" ], "conf": { "sparkConfPropKey1": "sparkConfPropvalue1", "sparkConfPropKey2": "sparkConfPropvalue2" }, "env": { "sparkEnvPropKey1": "sparkEnvPropvalue1", "sparkEnvPropKey2": "sparkEnvPropvalue2" }, "name": "SparkApplication1" }, "application_id": "<application_id>", "auto_termination_time": "2023-11-04T15:37:57.775Z", "end_time": "2023-11-01T15:38:07.188Z", "id": "id-ca61-454c-aab3-486d39d8c1d0", "return_code": "1", "spark_application_id": "<spark_application_id>", "spark_application_name": "PythonWordCount", "start_time": "2023-11-01T15:37:57.775Z", "state": "failed", "state_details\"": [ { "code": "server_error", "message": "A server error occurred while submitting or running your application.", "type": "server_error" } ], "submission_time": "2023-11-01T15:37:30.982Z" } }
Stop Spark Applications
Stop a running spark application
Stop a running spark application.
Stop a running spark application.
Stop a running spark application.
Stop a running spark application.
DELETE /spark_engines/{engine_id}/applications
(watsonxData *WatsonxDataV2) DeleteSparkEngineApplications(deleteSparkEngineApplicationsOptions *DeleteSparkEngineApplicationsOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteSparkEngineApplicationsWithContext(ctx context.Context, deleteSparkEngineApplicationsOptions *DeleteSparkEngineApplicationsOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteSparkEngineApplications(DeleteSparkEngineApplicationsOptions deleteSparkEngineApplicationsOptions)
delete_spark_engine_applications(
self,
engine_id: str,
application_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteSparkEngineApplications(params)
Request
Instantiate the DeleteSparkEngineApplicationsOptions
struct and set the fields to provide parameter values for the DeleteSparkEngineApplications
method.
Use the DeleteSparkEngineApplicationsOptions.Builder
to create a DeleteSparkEngineApplicationsOptions
object that contains the parameter values for the deleteSparkEngineApplications
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Query Parameters
Application id(s) to be stopped, comma separated
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteSparkEngineApplications options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteSparkEngineApplications options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application id(s) to be stopped, comma separated.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/applications?application_id={application_id}"
const params = { engineId: 'testString', applicationId: 'testString', }; try { await watsonxDataService.deleteSparkEngineApplications(params); } catch (err) { console.warn(err); }
DeleteSparkEngineApplicationsOptions deleteSparkEngineApplicationsOptions = new DeleteSparkEngineApplicationsOptions.Builder() .engineId("testString") .applicationId("testString") .build(); Response<Void> response = watsonxDataService.deleteSparkEngineApplications(deleteSparkEngineApplicationsOptions).execute();
response = watsonx_data_service.delete_spark_engine_applications( engine_id='testString', application_id='testString', )
Get spark application
Get status of spark application
Get status of spark application.
Get status of spark application.
Get status of spark application.
Get status of spark application.
GET /spark_engines/{engine_id}/applications/{application_id}
(watsonxData *WatsonxDataV2) GetSparkEngineApplicationStatus(getSparkEngineApplicationStatusOptions *GetSparkEngineApplicationStatusOptions) (result *SparkEngineApplicationStatus, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetSparkEngineApplicationStatusWithContext(ctx context.Context, getSparkEngineApplicationStatusOptions *GetSparkEngineApplicationStatusOptions) (result *SparkEngineApplicationStatus, response *core.DetailedResponse, err error)
ServiceCall<SparkEngineApplicationStatus> getSparkEngineApplicationStatus(GetSparkEngineApplicationStatusOptions getSparkEngineApplicationStatusOptions)
get_spark_engine_application_status(
self,
engine_id: str,
application_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getSparkEngineApplicationStatus(params)
Request
Instantiate the GetSparkEngineApplicationStatusOptions
struct and set the fields to provide parameter values for the GetSparkEngineApplicationStatus
method.
Use the GetSparkEngineApplicationStatusOptions.Builder
to create a GetSparkEngineApplicationStatusOptions
object that contains the parameter values for the getSparkEngineApplicationStatus
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
engine id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Application id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetSparkEngineApplicationStatus options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getSparkEngineApplicationStatus options.
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Application id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "content-type: application/json" -H "AuthInstanceId: {instance_id}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/spark_engines/{engine_id}/applications/{application_id}"
const params = { engineId: 'testString', applicationId: 'testString', }; let res; try { res = await watsonxDataService.getSparkEngineApplicationStatus(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetSparkEngineApplicationStatusOptions getSparkEngineApplicationStatusOptions = new GetSparkEngineApplicationStatusOptions.Builder() .engineId("testString") .applicationId("testString") .build(); Response<SparkEngineApplicationStatus> response = watsonxDataService.getSparkEngineApplicationStatus(getSparkEngineApplicationStatusOptions).execute(); SparkEngineApplicationStatus sparkEngineApplicationStatus = response.getResult(); System.out.println(sparkEngineApplicationStatus);
response = watsonx_data_service.get_spark_engine_application_status( engine_id='testString', application_id='testString', ) spark_engine_application_status = response.get_result() print(json.dumps(spark_engine_application_status, indent=2))
Response
Engine Application Status
Application Details
Application ID
Example:
cd7cbf1f-8893-4c51-aa3d-d92729f05e99
Auto Termination Time
Example:
2020-12-08T10:00:00.000Z
Creation time
Example:
Saturday 28 October 2023 07:17:06.856+0000
Deployment mode
Example:
stand-alone
End Time
Example:
2020-12-08T10:00:00.000Z
Failed time
Finish time
Example:
Saturday 28 October 2023 07:17:38.966+0000
Application ID
Example:
cd7cbf1f-8893-4c51-aa3d-d92729f05e99
Job endpoint
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^.+$
Example:
<host>/v4/analytics_engines/c7b3fccf-badb-46b0-b1ef-9b3154424021/engine_applications
Return code
Example:
0
application run time
Service Instance ID for POST
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Spark application ID
Example:
app-20231028071726-0000
Spark application name
Example:
PythonWordCount
Start time
Example:
Saturday 28 October 2023 07:17:26.649+0000
Application state
Example:
FINISHED
Application state details
Possible values: 0 ≤ number of items ≤ 10000
Application submission time
Example:
2023-11-01T11:18:49.758Z
Template ID
Example:
spark-3.3-jaas-v2-cp4d-template
Engine Type
Possible values: [
iae
,emr
]Example:
iae
Engine Application Status.
Application Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
Conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
ApplicationDetails
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
Runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
StateDetails
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Engine Application Status.
Application Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
applicationDetails
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
stateDetails
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Engine Application Status.
Application Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
application_details
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
state_details
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Engine Application Status.
Application Details.
Application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewList of arguments.
Possible values: 1 ≤ number of items ≤ 1000, 1 ≤ length ≤ 1000, Value must match regular expression
/.*/
Application.
Spark application name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore authentication mode.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewHive Metastore plain username.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore password.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore path.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewTruststore type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable SSL for Hive Metastore.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL catalog implementation.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog name.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog type.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewLakehouse catalog URI.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewSQL extensions.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewEnable or disable Iceberg vectorization.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:View
conf
Application.
Display name of the spark application.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
application_details
Application ID.
Examples:ViewAuto Termination Time.
Examples:ViewCreation time.
Examples:ViewDeployment mode.
Examples:ViewEnd Time.
Examples:ViewFailed time.
Finish time.
Examples:ViewApplication ID.
Examples:ViewJob endpoint.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^.+$/
Examples:ViewReturn code.
Examples:Viewapplication run time.
Spark Version.
Examples:View
runtime
Service Instance ID for POST.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+$/
Spark application ID.
Examples:ViewSpark application name.
Examples:ViewStart time.
Examples:ViewApplication state.
Examples:ViewApplication state details.
Possible values: 0 ≤ number of items ≤ 10000
State details code.
State details message.
State details type.
state_details
Application submission time.
Examples:ViewTemplate ID.
Examples:ViewEngine Type.
Possible values: [
iae
,emr
]Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "application": { "application_details": { "application": "/opt/xyz/spark/examples/src/main/python/wordcount.py", "arguments": [ "/opt/xyz/spark/examples/src/main/python/people.txt" ], "conf": { "sparkConfPropKey1": "sparkConfPropvalue1", "sparkConfPropKey2": "sparkConfPropvalue2" }, "env": { "sparkEnvPropKey1": "sparkEnvPropvalue1", "sparkEnvPropKey2": "sparkEnvPropvalue2" }, "name": "SparkApplication1" }, "application_id": "<application_id>", "auto_termination_time": "2023-11-04T15:37:57.775Z", "end_time": "2023-11-01T15:38:07.188Z", "id": "id-ca61-454c-aab3-486d39d8c1d0", "return_code": "1", "spark_application_id": "<spark_application_id>", "spark_application_name": "PythonWordCount", "start_time": "2023-11-01T15:37:57.775Z", "state": "failed", "state_details\"": [ { "code": "server_error", "message": "A server error occurred while submitting or running your application.", "type": "server_error" } ], "submission_time": "2023-11-01T15:37:30.982Z" } }
{ "application": { "application_details": { "application": "/opt/xyz/spark/examples/src/main/python/wordcount.py", "arguments": [ "/opt/xyz/spark/examples/src/main/python/people.txt" ], "conf": { "sparkConfPropKey1": "sparkConfPropvalue1", "sparkConfPropKey2": "sparkConfPropvalue2" }, "env": { "sparkEnvPropKey1": "sparkEnvPropvalue1", "sparkEnvPropKey2": "sparkEnvPropvalue2" }, "name": "SparkApplication1" }, "application_id": "<application_id>", "auto_termination_time": "2023-11-04T15:37:57.775Z", "end_time": "2023-11-01T15:38:07.188Z", "id": "id-ca61-454c-aab3-486d39d8c1d0", "return_code": "1", "spark_application_id": "<spark_application_id>", "spark_application_name": "PythonWordCount", "start_time": "2023-11-01T15:37:57.775Z", "state": "failed", "state_details\"": [ { "code": "server_error", "message": "A server error occurred while submitting or running your application.", "type": "server_error" } ], "submission_time": "2023-11-01T15:37:30.982Z" } }
Readiness API
Verify lhconsole server is up and running
Verify lhconsole server is up and running.
Verify lhconsole server is up and running.
Verify lhconsole server is up and running.
Verify lhconsole server is up and running.
GET /ready
(watsonxData *WatsonxDataV2) TestLHConsole(testLHConsoleOptions *TestLHConsoleOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) TestLHConsoleWithContext(ctx context.Context, testLHConsoleOptions *TestLHConsoleOptions) (result *SuccessResponse, response *core.DetailedResponse, err error)
ServiceCall<SuccessResponse> testLHConsole()
test_lh_console(
self,
**kwargs,
) -> DetailedResponse
testLhConsole(params)
Request
No Request Parameters
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
No Request Parameters
No Request Parameters
No Request Parameters
No Request Parameters
curl -X GET -H "accept: application/json" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/ready"
let res; try { res = await watsonxDataService.testLhConsole({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
TestLHConsoleOptions testLhConsoleOptions = new TestLHConsoleOptions(); Response<SuccessResponse> response = watsonxDataService.testLHConsole(testLhConsoleOptions).execute(); SuccessResponse successResponse = response.getResult(); System.out.println(successResponse);
response = watsonx_data_service.test_lh_console() success_response = response.get_result() print(json.dumps(success_response, indent=2))
Response
Response of success
Message
Message code
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Response of success.
Message.
Message code.
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "message": "Successful message", "message_code": "success" }
{ "message": "Successful message", "message_code": "success" }
List all registered catalogs
List all registered catalogs
List all registered catalogs.
List all registered catalogs.
List all registered catalogs.
List all registered catalogs.
GET /catalogs
(watsonxData *WatsonxDataV2) ListCatalogs(listCatalogsOptions *ListCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListCatalogsWithContext(ctx context.Context, listCatalogsOptions *ListCatalogsOptions) (result *CatalogCollection, response *core.DetailedResponse, err error)
ServiceCall<CatalogCollection> listCatalogs(ListCatalogsOptions listCatalogsOptions)
list_catalogs(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listCatalogs(params)
Request
Instantiate the ListCatalogsOptions
struct and set the fields to provide parameter values for the ListCatalogs
method.
Use the ListCatalogsOptions.Builder
to create a ListCatalogsOptions
object that contains the parameter values for the listCatalogs
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListCatalogs options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listCatalogs options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
let res; try { res = await watsonxDataService.listCatalogs({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListCatalogsOptions listCatalogsOptions = new ListCatalogsOptions.Builder() .build(); Response<CatalogCollection> response = watsonxDataService.listCatalogs(listCatalogsOptions).execute(); CatalogCollection catalogCollection = response.getResult(); System.out.println(catalogCollection);
response = watsonx_data_service.list_catalogs() catalog_collection = response.get_result() print(json.dumps(catalog_collection, indent=2))
Response
GetCatalogs OK
Catalogs
Possible values: 0 ≤ number of items ≤ 10000
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
GetCatalogs OK.
Catalogs.
Possible values: 0 ≤ number of items ≤ 10000
Examples:Viewlist of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
catalogs
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "catalogs": [] }
{ "catalogs": [] }
Get catalog properties by catalog_id
Get catalog properties of a catalog identified by catalog_id
Get catalog properties of a catalog identified by catalog_id.
Get catalog properties of a catalog identified by catalog_id.
Get catalog properties of a catalog identified by catalog_id.
Get catalog properties of a catalog identified by catalog_id.
GET /catalogs/{catalog_id}
(watsonxData *WatsonxDataV2) GetCatalog(getCatalogOptions *GetCatalogOptions) (result *Catalog, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetCatalogWithContext(ctx context.Context, getCatalogOptions *GetCatalogOptions) (result *Catalog, response *core.DetailedResponse, err error)
ServiceCall<Catalog> getCatalog(GetCatalogOptions getCatalogOptions)
get_catalog(
self,
catalog_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getCatalog(params)
Request
Instantiate the GetCatalogOptions
struct and set the fields to provide parameter values for the GetCatalog
method.
Use the GetCatalogOptions.Builder
to create a GetCatalogOptions
object that contains the parameter values for the getCatalog
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog ID
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetCatalog options.
catalog ID.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getCatalog options.
catalog ID.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog ID.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog ID.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
const params = { catalogId: 'testString', }; let res; try { res = await watsonxDataService.getCatalog(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetCatalogOptions getCatalogOptions = new GetCatalogOptions.Builder() .catalogId("testString") .build(); Response<Catalog> response = watsonxDataService.getCatalog(getCatalogOptions).execute(); Catalog catalog = response.getResult(); System.out.println(catalog);
response = watsonx_data_service.get_catalog( catalog_id='testString', ) catalog = response.get_result() print(json.dumps(catalog, indent=2))
Response
Define the catalog details
list of allowed actions
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sampleCatalog
Table type
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
iceberg
Created by
Example:
<username>@<domain>.com
Created on
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1602839833
Description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Iceberg catalog description
IBM thrift uri hostname
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
s3a://samplehost.com
Last sync time
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
1602839833
Managed by
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
ibm
Catalog name
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
glue
IBM thrift uri port
Example:
3232
Catalog status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Sync description
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
Table registration was successful
Tables not sync because data is corrupted
Possible values: 0 ≤ number of items ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-_]+
, 1 ≤ length ≤ 1000Examples:ViewSync status
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
SUCCESS
Tags
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
thrift://samplehost-catalog:4354
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Define the catalog details.
list of allowed actions.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated buckets items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated databases items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewAssociated engines items.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewName for the catalog.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewTable type.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated by.
Examples:ViewCreated on.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewDescription.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri hostname.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewLast sync time.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewManaged by.
Possible values: [
ibm
,customer
]Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCatalog name.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewIBM thrift uri port.
Examples:ViewCatalog status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSync description.
Possible values: 0 ≤ length ≤ 100, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTables not sync because data is corrupted.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewSync status.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 1000
Examples:ViewCustomer thrift uri.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
{ "actions": [ "view", "update", "delete" ], "associated_buckets": [ "ibm_cos_bucket" ], "associated_databases": [ "iceberg_data" ], "associated_engines": [ "presto367" ], "catalog_name": "iceberg_data", "catalog_type": "iceberg", "created_by": "user@domain.com", "created_on": "1700633239", "description": "catalog description", "hostname": "1234-xyz456-abc4321.lakehouse.dev.appdomain.cloud", "port": "31504", "sync_exception": [ "table is corrupted", "table metadata not there" ], "tags": [ "tag1", "tag2" ], "thrift_uri": "thrift://samplehost-catalog:4354" }
List all schemas
List all schemas in catalog
List all schemas in catalog.
List all schemas in catalog.
List all schemas in catalog.
List all schemas in catalog.
GET /catalogs/{catalog_id}/schemas
(watsonxData *WatsonxDataV2) ListSchemas(listSchemasOptions *ListSchemasOptions) (result *ListSchemasOKBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListSchemasWithContext(ctx context.Context, listSchemasOptions *ListSchemasOptions) (result *ListSchemasOKBody, response *core.DetailedResponse, err error)
ServiceCall<ListSchemasOKBody> listSchemas(ListSchemasOptions listSchemasOptions)
list_schemas(
self,
engine_id: str,
catalog_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listSchemas(params)
Request
Instantiate the ListSchemasOptions
struct and set the fields to provide parameter values for the ListSchemas
method.
Use the ListSchemasOptions.Builder
to create a ListSchemasOptions
object that contains the parameter values for the listSchemas
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListSchemas options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listSchemas options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
const params = { engineId: 'testString', catalogId: 'testString', }; let res; try { res = await watsonxDataService.listSchemas(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListSchemasOptions listSchemasOptions = new ListSchemasOptions.Builder() .engineId("testString") .catalogId("testString") .build(); Response<ListSchemasOKBody> response = watsonxDataService.listSchemas(listSchemasOptions).execute(); ListSchemasOKBody listSchemasOkBody = response.getResult(); System.out.println(listSchemasOkBody);
response = watsonx_data_service.list_schemas( engine_id='testString', catalog_id='testString', ) list_schemas_ok_body = response.get_result() print(json.dumps(list_schemas_ok_body, indent=2))
Response
GetSchemas OK
Response of success
Examples:ViewSchemas
Possible values: 0 ≤ number of items ≤ 10000
GetSchemas OK.
Response of success.
Examples:ViewMessage.
Message code.
Response
Schemas.
Possible values: 0 ≤ number of items ≤ 10000
GetSchemas OK.
Response of success.
Examples:ViewMessage.
Message code.
response
Schemas.
Possible values: 0 ≤ number of items ≤ 10000
GetSchemas OK.
Response of success.
Examples:ViewMessage.
Message code.
response
Schemas.
Possible values: 0 ≤ number of items ≤ 10000
GetSchemas OK.
Response of success.
Examples:ViewMessage.
Message code.
response
Schemas.
Possible values: 0 ≤ number of items ≤ 10000
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "create schema", "message_code": "success" }, "schemas": [ "schema1", "schema2" ] }
{ "response": { "message": "create schema", "message_code": "success" }, "schemas": [ "schema1", "schema2" ] }
Create schema
Create a new schema
Create a new schema.
Create a new schema.
Create a new schema.
Create a new schema.
POST /catalogs/{catalog_id}/schemas
(watsonxData *WatsonxDataV2) CreateSchema(createSchemaOptions *CreateSchemaOptions) (result *CreateSchemaCreatedBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateSchemaWithContext(ctx context.Context, createSchemaOptions *CreateSchemaOptions) (result *CreateSchemaCreatedBody, response *core.DetailedResponse, err error)
ServiceCall<CreateSchemaCreatedBody> createSchema(CreateSchemaOptions createSchemaOptions)
create_schema(
self,
engine_id: str,
catalog_id: str,
custom_path: str,
schema_name: str,
*,
bucket_name: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createSchema(params)
Request
Instantiate the CreateSchemaOptions
struct and set the fields to provide parameter values for the CreateSchema
method.
Use the CreateSchemaOptions.Builder
to create a CreateSchemaOptions
object that contains the parameter values for the createSchema
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
Path associated with bucket
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
.*
Example:
sample-path
Schema name
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
SampleSchema1
Bucket associated to metastore where schema will be added
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Example:
sample-bucket
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateSchema options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Path associated with bucket.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/.*/
Examples:ViewSchema name.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewBucket associated to metastore where schema will be added.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createSchema options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Path associated with bucket.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/.*/
Examples:ViewSchema name.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewBucket associated to metastore where schema will be added.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Path associated with bucket.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlSchema name.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlBucket associated to metastore where schema will be added.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Path associated with bucket.
Possible values: 0 ≤ length ≤ 2000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlSchema name.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:value_source_lines_htmlBucket associated to metastore where schema will be added.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/json' -d '{ "bucket_name": "sample-bucket", "custom_path": "sample-path", "schema_name": "SampleSchema1" }'
const params = { engineId: 'testString', catalogId: 'testString', customPath: 'sample-path', schemaName: 'SampleSchema1', }; let res; try { res = await watsonxDataService.createSchema(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateSchemaOptions createSchemaOptions = new CreateSchemaOptions.Builder() .engineId("testString") .catalogId("testString") .customPath("sample-path") .schemaName("SampleSchema1") .build(); Response<CreateSchemaCreatedBody> response = watsonxDataService.createSchema(createSchemaOptions).execute(); CreateSchemaCreatedBody createSchemaCreatedBody = response.getResult(); System.out.println(createSchemaCreatedBody);
response = watsonx_data_service.create_schema( engine_id='testString', catalog_id='testString', custom_path='sample-path', schema_name='SampleSchema1', ) create_schema_created_body = response.get_result() print(json.dumps(create_schema_created_body, indent=2))
Response
success response
Response of success
Examples:View
success response.
Response of success.
Examples:ViewMessage.
Message code.
Response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "create schema", "message_code": "success" } }
{ "response": { "message": "create schema", "message_code": "success" } }
Delete schema
Delete a schema
Delete a schema.
Delete a schema.
Delete a schema.
Delete a schema.
DELETE /catalogs/{catalog_id}/schemas/{schema_id}
(watsonxData *WatsonxDataV2) DeleteSchema(deleteSchemaOptions *DeleteSchemaOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteSchemaWithContext(ctx context.Context, deleteSchemaOptions *DeleteSchemaOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteSchema(DeleteSchemaOptions deleteSchemaOptions)
delete_schema(
self,
engine_id: str,
catalog_id: str,
schema_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteSchema(params)
Request
Instantiate the DeleteSchemaOptions
struct and set the fields to provide parameter values for the DeleteSchema
method.
Use the DeleteSchemaOptions.Builder
to create a DeleteSchemaOptions
object that contains the parameter values for the deleteSchema
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
URL encoded Schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteSchema options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded Schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteSchema options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded Schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded Schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded Schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'DELETE' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}?engine_id={engine_id}' -H 'accept: */*' -H 'AuthInstanceId: {instance_id}'
const params = { engineId: 'testString', catalogId: 'testString', schemaId: 'testString', }; try { await watsonxDataService.deleteSchema(params); } catch (err) { console.warn(err); }
DeleteSchemaOptions deleteSchemaOptions = new DeleteSchemaOptions.Builder() .engineId("testString") .catalogId("testString") .schemaId("testString") .build(); Response<Void> response = watsonxDataService.deleteSchema(deleteSchemaOptions).execute();
response = watsonx_data_service.delete_schema( engine_id='testString', catalog_id='testString', schema_id='testString', )
List all tables
List all tables in a schema in a catalog for a given engine
List all tables in a schema in a catalog for a given engine.
List all tables in a schema in a catalog for a given engine.
List all tables in a schema in a catalog for a given engine.
List all tables in a schema in a catalog for a given engine.
GET /catalogs/{catalog_id}/schemas/{schema_id}/tables
(watsonxData *WatsonxDataV2) ListTables(listTablesOptions *ListTablesOptions) (result *TableCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListTablesWithContext(ctx context.Context, listTablesOptions *ListTablesOptions) (result *TableCollection, response *core.DetailedResponse, err error)
ServiceCall<TableCollection> listTables(ListTablesOptions listTablesOptions)
list_tables(
self,
catalog_id: str,
schema_id: str,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listTables(params)
Request
Instantiate the ListTablesOptions
struct and set the fields to provide parameter values for the ListTables
method.
Use the ListTablesOptions.Builder
to create a ListTablesOptions
object that contains the parameter values for the listTables
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListTables options.
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listTables options.
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
const params = { catalogId: 'testString', schemaId: 'testString', engineId: 'testString', }; let res; try { res = await watsonxDataService.listTables(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListTablesOptions listTablesOptions = new ListTablesOptions.Builder() .catalogId("testString") .schemaId("testString") .engineId("testString") .build(); Response<TableCollection> response = watsonxDataService.listTables(listTablesOptions).execute(); TableCollection tableCollection = response.getResult(); System.out.println(tableCollection);
response = watsonx_data_service.list_tables( catalog_id='testString', schema_id='testString', engine_id='testString', ) table_collection = response.get_result() print(json.dumps(table_collection, indent=2))
Response
tables list
List of the tables present in the schema
Possible values: 0 ≤ number of items ≤ 1000000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
tables list.
List of the tables present in the schema.
Possible values: 0 ≤ number of items ≤ 1000000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
tables list.
List of the tables present in the schema.
Possible values: 0 ≤ number of items ≤ 1000000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
tables list.
List of the tables present in the schema.
Possible values: 0 ≤ number of items ≤ 1000000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
tables list.
List of the tables present in the schema.
Possible values: 0 ≤ number of items ≤ 1000000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "tables": [ "customer_data", "user_data" ] }
{ "tables": [ "customer_data", "user_data" ] }
Get table details
Get details of a given table in a catalog and schema
Get details of a given table in a catalog and schema.
Get details of a given table in a catalog and schema.
Get details of a given table in a catalog and schema.
Get details of a given table in a catalog and schema.
GET /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}
(watsonxData *WatsonxDataV2) GetTable(getTableOptions *GetTableOptions) (result *Table, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetTableWithContext(ctx context.Context, getTableOptions *GetTableOptions) (result *Table, response *core.DetailedResponse, err error)
ServiceCall<Table> getTable(GetTableOptions getTableOptions)
get_table(
self,
catalog_id: str,
schema_id: str,
table_id: str,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getTable(params)
Request
Instantiate the GetTableOptions
struct and set the fields to provide parameter values for the GetTable
method.
Use the GetTableOptions.Builder
to create a GetTableOptions
object that contains the parameter values for the getTable
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
URL encoded table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetTable options.
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getTable options.
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
const params = { catalogId: 'testString', schemaId: 'testString', tableId: 'testString', engineId: 'testString', }; let res; try { res = await watsonxDataService.getTable(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetTableOptions getTableOptions = new GetTableOptions.Builder() .catalogId("testString") .schemaId("testString") .tableId("testString") .engineId("testString") .build(); Response<Table> response = watsonxDataService.getTable(getTableOptions).execute(); Table table = response.getResult(); System.out.println(table);
response = watsonx_data_service.get_table( catalog_id='testString', schema_id='testString', table_id='testString', engine_id='testString', ) table = response.get_result() print(json.dumps(table, indent=2))
Response
GetColumns OK
Columns
Possible values: 0 ≤ number of items ≤ 1000000
Table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
GetColumns OK.
Columns.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Columns
Table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
GetColumns OK.
Columns.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
GetColumns OK.
Columns.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
GetColumns OK.
Columns.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "column_name": "expenses", "comment": "expenses column", "extra": "varchar", "type": "varchar" } ], "table_name": "newtable," }
{ "columns": [ { "column_name": "expenses", "comment": "expenses column", "extra": "varchar", "type": "varchar" } ], "table_name": "newtable," }
Delete table
Delete table for a given schema and catalog
Delete table for a given schema and catalog.
Delete table for a given schema and catalog.
Delete table for a given schema and catalog.
Delete table for a given schema and catalog.
DELETE /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}
(watsonxData *WatsonxDataV2) DeleteTable(deleteTableOptions *DeleteTableOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteTableWithContext(ctx context.Context, deleteTableOptions *DeleteTableOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteTable(DeleteTableOptions deleteTableOptions)
delete_table(
self,
catalog_id: str,
schema_id: str,
table_id: str,
engine_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteTable(params)
Request
Instantiate the DeleteTableOptions
struct and set the fields to provide parameter values for the DeleteTable
method.
Use the DeleteTableOptions.Builder
to create a DeleteTableOptions
object that contains the parameter values for the deleteTable
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
URL encoded table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteTable options.
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteTable options.
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'DELETE' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: */*' -H 'AuthInstanceId: {instance_id}'
const params = { catalogId: 'testString', schemaId: 'testString', tableId: 'testString', engineId: 'testString', }; try { await watsonxDataService.deleteTable(params); } catch (err) { console.warn(err); }
DeleteTableOptions deleteTableOptions = new DeleteTableOptions.Builder() .catalogId("testString") .schemaId("testString") .tableId("testString") .engineId("testString") .build(); Response<Void> response = watsonxDataService.deleteTable(deleteTableOptions).execute();
response = watsonx_data_service.delete_table( catalog_id='testString', schema_id='testString', table_id='testString', engine_id='testString', )
Alter table
Rename table
Rename table.
Rename table.
Rename table.
Rename table.
PATCH /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}
(watsonxData *WatsonxDataV2) UpdateTable(updateTableOptions *UpdateTableOptions) (result *Table, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateTableWithContext(ctx context.Context, updateTableOptions *UpdateTableOptions) (result *Table, response *core.DetailedResponse, err error)
ServiceCall<Table> updateTable(UpdateTableOptions updateTableOptions)
update_table(
self,
catalog_id: str,
schema_id: str,
table_id: str,
engine_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateTable(params)
Request
Instantiate the UpdateTableOptions
struct and set the fields to provide parameter values for the UpdateTable
method.
Use the UpdateTableOptions.Builder
to create a UpdateTableOptions
object that contains the parameter values for the updateTable
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
URL encoded table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
New table name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
updated_table_name
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateTable options.
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateTable options.
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
URL encoded table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'PATCH' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/json-patch+json' -d '{ "new_table_name": "updated_table_name", }'
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { catalogId: 'testString', schemaId: 'testString', tableId: 'testString', engineId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateTable(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateTableOptions updateTableOptions = new UpdateTableOptions.Builder() .catalogId("testString") .schemaId("testString") .tableId("testString") .engineId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<Table> response = watsonxDataService.updateTable(updateTableOptions).execute(); Table table = response.getResult(); System.out.println(table);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_table( catalog_id='testString', schema_id='testString', table_id='testString', engine_id='testString', body=[json_patch_operation_model], ) table = response.get_result() print(json.dumps(table, indent=2))
Response
GetColumns OK
Columns
Possible values: 0 ≤ number of items ≤ 1000000
Table name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
GetColumns OK.
Columns.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Columns
Table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
GetColumns OK.
Columns.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
GetColumns OK.
Columns.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
GetColumns OK.
Columns.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Table name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "column_name": "expenses", "comment": "expenses column", "extra": "varchar", "type": "varchar" } ], "table_name": "newtable," }
{ "columns": [ { "column_name": "expenses", "comment": "expenses column", "extra": "varchar", "type": "varchar" } ], "table_name": "newtable," }
List all columns of a table
List all columns of a table in a given a schema for a given catalog
List all columns of a table in a given a schema for a given catalog.
List all columns of a table in a given a schema for a given catalog.
List all columns of a table in a given a schema for a given catalog.
List all columns of a table in a given a schema for a given catalog.
GET /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns
(watsonxData *WatsonxDataV2) ListColumns(listColumnsOptions *ListColumnsOptions) (result *ColumnCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListColumnsWithContext(ctx context.Context, listColumnsOptions *ListColumnsOptions) (result *ColumnCollection, response *core.DetailedResponse, err error)
ServiceCall<ColumnCollection> listColumns(ListColumnsOptions listColumnsOptions)
list_columns(
self,
engine_id: str,
catalog_id: str,
schema_id: str,
table_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listColumns(params)
Request
Instantiate the ListColumnsOptions
struct and set the fields to provide parameter values for the ListColumns
method.
Use the ListColumnsOptions.Builder
to create a ListColumnsOptions
object that contains the parameter values for the listColumns
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListColumns options.
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listColumns options.
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
const params = { engineId: 'testString', catalogId: 'testString', schemaId: 'testString', tableId: 'testString', }; let res; try { res = await watsonxDataService.listColumns(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListColumnsOptions listColumnsOptions = new ListColumnsOptions.Builder() .engineId("testString") .catalogId("testString") .schemaId("testString") .tableId("testString") .build(); Response<ColumnCollection> response = watsonxDataService.listColumns(listColumnsOptions).execute(); ColumnCollection columnCollection = response.getResult(); System.out.println(columnCollection);
response = watsonx_data_service.list_columns( engine_id='testString', catalog_id='testString', schema_id='testString', table_id='testString', ) column_collection = response.get_result() print(json.dumps(column_collection, indent=2))
Response
list of columns in a table
List of the columns present in the table
Possible values: 0 ≤ number of items ≤ 1000000
list of columns in a table.
List of the columns present in the table.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Columns
list of columns in a table.
List of the columns present in the table.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
list of columns in a table.
List of the columns present in the table.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
list of columns in a table.
List of the columns present in the table.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "column_name": "customer_data" }, { "column_name": "user_data" } ] }
{ "columns": [ { "column_name": "customer_data" }, { "column_name": "user_data" } ] }
Add column(s)
Add one or multiple columns to a table in a schema for a given catalog
Add one or multiple columns to a table in a schema for a given catalog.
Add one or multiple columns to a table in a schema for a given catalog.
Add one or multiple columns to a table in a schema for a given catalog.
Add one or multiple columns to a table in a schema for a given catalog.
POST /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns
(watsonxData *WatsonxDataV2) CreateColumns(createColumnsOptions *CreateColumnsOptions) (result *ColumnCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateColumnsWithContext(ctx context.Context, createColumnsOptions *CreateColumnsOptions) (result *ColumnCollection, response *core.DetailedResponse, err error)
ServiceCall<ColumnCollection> createColumns(CreateColumnsOptions createColumnsOptions)
create_columns(
self,
engine_id: str,
catalog_id: str,
schema_id: str,
table_id: str,
*,
columns: Optional[List['Column']] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createColumns(params)
Request
Instantiate the CreateColumnsOptions
struct and set the fields to provide parameter values for the CreateColumns
method.
Use the CreateColumnsOptions.Builder
to create a CreateColumnsOptions
object that contains the parameter values for the createColumns
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
List of the tables present in the schema
Possible values: 0 ≤ number of items ≤ 1000000
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateColumns options.
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
List of the tables present in the schema.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Columns
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createColumns options.
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
List of the tables present in the schema.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
List of the tables present in the schema.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
List of the tables present in the schema.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'POST' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/json' -d '{ "bucket_name": "sample-bucket", "custom_path": "sample-path", "schema_name": "SampleSchema1" }'
const params = { engineId: 'testString', catalogId: 'testString', schemaId: 'testString', tableId: 'testString', }; let res; try { res = await watsonxDataService.createColumns(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateColumnsOptions createColumnsOptions = new CreateColumnsOptions.Builder() .engineId("testString") .catalogId("testString") .schemaId("testString") .tableId("testString") .build(); Response<ColumnCollection> response = watsonxDataService.createColumns(createColumnsOptions).execute(); ColumnCollection columnCollection = response.getResult(); System.out.println(columnCollection);
response = watsonx_data_service.create_columns( engine_id='testString', catalog_id='testString', schema_id='testString', table_id='testString', ) column_collection = response.get_result() print(json.dumps(column_collection, indent=2))
Response
list of columns in a table
List of the columns present in the table
Possible values: 0 ≤ number of items ≤ 1000000
list of columns in a table.
List of the columns present in the table.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Columns
list of columns in a table.
List of the columns present in the table.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
list of columns in a table.
List of the columns present in the table.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
list of columns in a table.
List of the columns present in the table.
Possible values: 0 ≤ number of items ≤ 1000000
Examples:ViewColumn name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
columns
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "columns": [ { "column_name": "customer_data" }, { "column_name": "user_data" } ] }
{ "columns": [ { "column_name": "customer_data" }, { "column_name": "user_data" } ] }
Delete column
Delete column in a table for a given schema and catalog
Delete column in a table for a given schema and catalog.
Delete column in a table for a given schema and catalog.
Delete column in a table for a given schema and catalog.
Delete column in a table for a given schema and catalog.
DELETE /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns/{column_id}
(watsonxData *WatsonxDataV2) DeleteColumn(deleteColumnOptions *DeleteColumnOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteColumnWithContext(ctx context.Context, deleteColumnOptions *DeleteColumnOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteColumn(DeleteColumnOptions deleteColumnOptions)
delete_column(
self,
engine_id: str,
catalog_id: str,
schema_id: str,
table_id: str,
column_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteColumn(params)
Request
Instantiate the DeleteColumnOptions
struct and set the fields to provide parameter values for the DeleteColumn
method.
Use the DeleteColumnOptions.Builder
to create a DeleteColumnOptions
object that contains the parameter values for the deleteColumn
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteColumn options.
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteColumn options.
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'DELETE' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: */*' -H 'AuthInstanceId: {instance_id}'
const params = { engineId: 'testString', catalogId: 'testString', schemaId: 'testString', tableId: 'testString', columnId: 'testString', }; try { await watsonxDataService.deleteColumn(params); } catch (err) { console.warn(err); }
DeleteColumnOptions deleteColumnOptions = new DeleteColumnOptions.Builder() .engineId("testString") .catalogId("testString") .schemaId("testString") .tableId("testString") .columnId("testString") .build(); Response<Void> response = watsonxDataService.deleteColumn(deleteColumnOptions).execute();
response = watsonx_data_service.delete_column( engine_id='testString', catalog_id='testString', schema_id='testString', table_id='testString', column_id='testString', )
Alter column
Update the given column - rename column
Update the given column - rename column.
Update the given column - rename column.
Update the given column - rename column.
Update the given column - rename column.
PATCH /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/columns/{column_id}
(watsonxData *WatsonxDataV2) UpdateColumn(updateColumnOptions *UpdateColumnOptions) (result *Column, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateColumnWithContext(ctx context.Context, updateColumnOptions *UpdateColumnOptions) (result *Column, response *core.DetailedResponse, err error)
ServiceCall<Column> updateColumn(UpdateColumnOptions updateColumnOptions)
update_column(
self,
engine_id: str,
catalog_id: str,
schema_id: str,
table_id: str,
column_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateColumn(params)
Request
Instantiate the UpdateColumnOptions
struct and set the fields to provide parameter values for the UpdateColumn
method.
Use the UpdateColumnOptions.Builder
to create a UpdateColumnOptions
object that contains the parameter values for the updateColumn
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
URL encoded schema name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-%]+
Query Parameters
engine id
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Request body
Column name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
expenses
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateColumn options.
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateColumn options.
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
engine id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
catalog id.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
URL encoded schema name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-%]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'PATCH' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/json-patch+json' -d '{ "add_columns": [ { "column_comment": "income column", "column_name": "income", "data_type": "varchar" } ], "drop_columns": [ { "column_name": "expenditure" } ], "new_table_name": "updated_table_name", "rename_columns": [ { "column_name": "expenditure", "new_column_name": "expenses" } ] }'
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { engineId: 'testString', catalogId: 'testString', schemaId: 'testString', tableId: 'testString', columnId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateColumn(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateColumnOptions updateColumnOptions = new UpdateColumnOptions.Builder() .engineId("testString") .catalogId("testString") .schemaId("testString") .tableId("testString") .columnId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<Column> response = watsonxDataService.updateColumn(updateColumnOptions).execute(); Column column = response.getResult(); System.out.println(column);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_column( engine_id='testString', catalog_id='testString', schema_id='testString', table_id='testString', column_id='testString', body=[json_patch_operation_model], ) column = response.get_result() print(json.dumps(column, indent=2))
Response
Column
Column name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
expenses
Comment
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
expenses column
Extra
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
varchar
length
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
30
scale
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
.*
Example:
2
Data type
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
varchar
Column.
Column name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Column.
Column name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Column.
Column name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Column.
Column name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewComment.
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:ViewExtra.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewlength.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewscale.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewData type.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "column_name": "expenses,", "comment": "expenses column", "extra": "varchar,", "type": "varchar," }
{ "column_name": "expenses,", "comment": "expenses column", "extra": "varchar,", "type": "varchar," }
Get table snapshots
List all table snapshots
List all table snapshots.
List all table snapshots.
List all table snapshots.
List all table snapshots.
GET /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/snapshots
(watsonxData *WatsonxDataV2) ListTableSnapshots(listTableSnapshotsOptions *ListTableSnapshotsOptions) (result *TableSnapshotCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListTableSnapshotsWithContext(ctx context.Context, listTableSnapshotsOptions *ListTableSnapshotsOptions) (result *TableSnapshotCollection, response *core.DetailedResponse, err error)
ServiceCall<TableSnapshotCollection> listTableSnapshots(ListTableSnapshotsOptions listTableSnapshotsOptions)
list_table_snapshots(
self,
engine_id: str,
catalog_id: str,
schema_id: str,
table_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listTableSnapshots(params)
Request
Instantiate the ListTableSnapshotsOptions
struct and set the fields to provide parameter values for the ListTableSnapshots
method.
Use the ListTableSnapshotsOptions.Builder
to create a ListTableSnapshotsOptions
object that contains the parameter values for the listTableSnapshots
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+
Schema ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Table ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListTableSnapshots options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Schema ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Table ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listTableSnapshots options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Schema ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Table ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Schema ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Table ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Schema ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Table ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'GET' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/snapshots?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
const params = { engineId: 'testString', catalogId: 'testString', schemaId: 'testString', tableId: 'testString', }; let res; try { res = await watsonxDataService.listTableSnapshots(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListTableSnapshotsOptions listTableSnapshotsOptions = new ListTableSnapshotsOptions.Builder() .engineId("testString") .catalogId("testString") .schemaId("testString") .tableId("testString") .build(); Response<TableSnapshotCollection> response = watsonxDataService.listTableSnapshots(listTableSnapshotsOptions).execute(); TableSnapshotCollection tableSnapshotCollection = response.getResult(); System.out.println(tableSnapshotCollection);
response = watsonx_data_service.list_table_snapshots( engine_id='testString', catalog_id='testString', schema_id='testString', table_id='testString', ) table_snapshot_collection = response.get_result() print(json.dumps(table_snapshot_collection, indent=2))
Response
TableSnapshot OK
Snapshots
Possible values: 0 ≤ number of items ≤ 1000000
TableSnapshot OK.
Snapshots.
Possible values: 0 ≤ number of items ≤ 1000000
Committed at.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOperation.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSnapshot id.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSummary.
Snapshots
TableSnapshot OK.
Snapshots.
Possible values: 0 ≤ number of items ≤ 1000000
Committed at.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOperation.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSnapshot id.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSummary.
snapshots
TableSnapshot OK.
Snapshots.
Possible values: 0 ≤ number of items ≤ 1000000
Committed at.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOperation.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSnapshot id.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSummary.
snapshots
TableSnapshot OK.
Snapshots.
Possible values: 0 ≤ number of items ≤ 1000000
Committed at.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewOperation.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSnapshot id.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewSummary.
snapshots
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "snapshots": [ { "committed_at": "1609379392", "operation": "alter", "snapshot_id": "2332342122211222", "summary": {} } ] }
{ "snapshots": [ { "committed_at": "1609379392", "operation": "alter", "snapshot_id": "2332342122211222", "summary": {} } ] }
Rollback snapshot
Rollback to a table snapshot
Rollback to a table snapshot.
Rollback to a table snapshot.
Rollback to a table snapshot.
Rollback to a table snapshot.
PUT /catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/snapshots/{snapshot_id}
(watsonxData *WatsonxDataV2) ReplaceSnapshot(replaceSnapshotOptions *ReplaceSnapshotOptions) (result *ReplaceSnapshotCreatedBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ReplaceSnapshotWithContext(ctx context.Context, replaceSnapshotOptions *ReplaceSnapshotOptions) (result *ReplaceSnapshotCreatedBody, response *core.DetailedResponse, err error)
ServiceCall<ReplaceSnapshotCreatedBody> replaceSnapshot(ReplaceSnapshotOptions replaceSnapshotOptions)
replace_snapshot(
self,
engine_id: str,
catalog_id: str,
schema_id: str,
table_id: str,
snapshot_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
replaceSnapshot(params)
Request
Instantiate the ReplaceSnapshotOptions
struct and set the fields to provide parameter values for the ReplaceSnapshot
method.
Use the ReplaceSnapshotOptions.Builder
to create a ReplaceSnapshotOptions
object that contains the parameter values for the replaceSnapshot
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
Catalog ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Schema ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Table ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
.*
Snapshot ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Query Parameters
Engine name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ReplaceSnapshot options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Schema ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Table ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Snapshot ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The replaceSnapshot options.
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Schema ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Table ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Snapshot ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Schema ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Table ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Snapshot ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Engine name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Catalog ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Schema ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Table ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Snapshot ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'PUT' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/schemas/{schema_id}/tables/{table_id}/snapshots/{snapshot_id}?engine_id={engine_id}' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}'
const params = { engineId: 'testString', catalogId: 'testString', schemaId: 'testString', tableId: 'testString', snapshotId: 'testString', }; let res; try { res = await watsonxDataService.replaceSnapshot(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ReplaceSnapshotOptions replaceSnapshotOptions = new ReplaceSnapshotOptions.Builder() .engineId("testString") .catalogId("testString") .schemaId("testString") .tableId("testString") .snapshotId("testString") .build(); Response<ReplaceSnapshotCreatedBody> response = watsonxDataService.replaceSnapshot(replaceSnapshotOptions).execute(); ReplaceSnapshotCreatedBody replaceSnapshotCreatedBody = response.getResult(); System.out.println(replaceSnapshotCreatedBody);
response = watsonx_data_service.replace_snapshot( engine_id='testString', catalog_id='testString', schema_id='testString', table_id='testString', snapshot_id='testString', ) replace_snapshot_created_body = response.get_result() print(json.dumps(replace_snapshot_created_body, indent=2))
Response
success response
Response of success
Examples:View
success response.
Response of success.
Examples:ViewMessage.
Message code.
Response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "Rollback to a table snapshot", "message_code": "success" } }
{ "response": { "message": "Rollback to a table snapshot", "message_code": "success" } }
External Iceberg table registration
Synchronize the external Iceberg table registration for a catalog identified by catalog_id.
Synchronize the external Iceberg table registration for a catalog identified by catalog_id.
Synchronize the external Iceberg table registration for a catalog identified by catalog_id.
Synchronize the external Iceberg table registration for a catalog identified by catalog_id.
Synchronize the external Iceberg table registration for a catalog identified by catalog_id.
PATCH /catalogs/{catalog_id}/sync
(watsonxData *WatsonxDataV2) UpdateSyncCatalog(updateSyncCatalogOptions *UpdateSyncCatalogOptions) (result *UpdateSyncCatalogOKBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateSyncCatalogWithContext(ctx context.Context, updateSyncCatalogOptions *UpdateSyncCatalogOptions) (result *UpdateSyncCatalogOKBody, response *core.DetailedResponse, err error)
ServiceCall<UpdateSyncCatalogOKBody> updateSyncCatalog(UpdateSyncCatalogOptions updateSyncCatalogOptions)
update_sync_catalog(
self,
catalog_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateSyncCatalog(params)
Request
Instantiate the UpdateSyncCatalogOptions
struct and set the fields to provide parameter values for the UpdateSyncCatalog
method.
Use the UpdateSyncCatalogOptions.Builder
to create a UpdateSyncCatalogOptions
object that contains the parameter values for the updateSyncCatalog
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
catalog ID
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
^[a-zA-Z0-9\-_]+
Request body
Auto add new table
Example:
true
Sync iceberg metadata
Example:
true
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateSyncCatalog options.
catalog ID.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateSyncCatalog options.
catalog ID.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Request body.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog ID.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
catalog ID.
Possible values: 1 ≤ length ≤ 1000, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X 'PATCH' 'https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/catalogs/{catalog_id}/sync' -H 'accept: application/json' -H 'AuthInstanceId: {instance_id}' -H 'Content-Type: application/json-patch+json' -d '{ "auto_add_new_tables": true, "sync_iceberg_md": true }'
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { catalogId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateSyncCatalog(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateSyncCatalogOptions updateSyncCatalogOptions = new UpdateSyncCatalogOptions.Builder() .catalogId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<UpdateSyncCatalogOKBody> response = watsonxDataService.updateSyncCatalog(updateSyncCatalogOptions).execute(); UpdateSyncCatalogOKBody updateSyncCatalogOkBody = response.getResult(); System.out.println(updateSyncCatalogOkBody);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_sync_catalog( catalog_id='testString', body=[json_patch_operation_model], ) update_sync_catalog_ok_body = response.get_result() print(json.dumps(update_sync_catalog_ok_body, indent=2))
Response
success response
Response of success
Examples:View
success response.
Response of success.
Examples:ViewMessage.
Message code.
Response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
success response.
Response of success.
Examples:ViewMessage.
Message code.
response
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "sync catalog", "message_code": "success" } }
{ "response": { "message": "sync catalog", "message_code": "success" } }
Get list of milvus services
Get list milvus services
Get list milvus services.
Get list milvus services.
Get list milvus services.
Get list milvus services.
GET /milvus_services
(watsonxData *WatsonxDataV2) ListMilvusServices(listMilvusServicesOptions *ListMilvusServicesOptions) (result *MilvusServiceCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListMilvusServicesWithContext(ctx context.Context, listMilvusServicesOptions *ListMilvusServicesOptions) (result *MilvusServiceCollection, response *core.DetailedResponse, err error)
ServiceCall<MilvusServiceCollection> listMilvusServices(ListMilvusServicesOptions listMilvusServicesOptions)
list_milvus_services(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listMilvusServices(params)
Request
Instantiate the ListMilvusServicesOptions
struct and set the fields to provide parameter values for the ListMilvusServices
method.
Use the ListMilvusServicesOptions.Builder
to create a ListMilvusServicesOptions
object that contains the parameter values for the listMilvusServices
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListMilvusServices options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listMilvusServices options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
let res; try { res = await watsonxDataService.listMilvusServices({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListMilvusServicesOptions listMilvusServicesOptions = new ListMilvusServicesOptions.Builder() .build(); Response<MilvusServiceCollection> response = watsonxDataService.listMilvusServices(listMilvusServicesOptions).execute(); MilvusServiceCollection milvusServiceCollection = response.getResult(); System.out.println(milvusServiceCollection);
response = watsonx_data_service.list_milvus_services() milvus_service_collection = response.get_result() print(json.dumps(milvus_service_collection, indent=2))
Response
List milvus services
milvus service body
Possible values: 0 ≤ number of items ≤ 10000
List milvus services.
milvus service body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
MilvusServices
List milvus services.
milvus service body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvusServices
List milvus services.
milvus service body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus_services
List milvus services.
milvus service body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:ViewActions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus_services
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "milvus_services": [ { "actions": [ "update", "delete" ], "created_by": "username@domain.com", "created_on": 1700201877, "grpc_port": 31501, "host_name": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 31012, "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 11, "type": "milvus" } ] }
{ "milvus_services": [ { "actions": [ "update", "delete" ], "created_by": "username@domain.com", "created_on": 1700201877, "grpc_port": 31501, "host_name": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 31012, "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 11, "type": "milvus" } ] }
Create milvus service
Create milvus service
Create milvus service.
Create milvus service.
Create milvus service.
Create milvus service.
POST /milvus_services
(watsonxData *WatsonxDataV2) CreateMilvusService(createMilvusServiceOptions *CreateMilvusServiceOptions) (result *MilvusService, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateMilvusServiceWithContext(ctx context.Context, createMilvusServiceOptions *CreateMilvusServiceOptions) (result *MilvusService, response *core.DetailedResponse, err error)
ServiceCall<MilvusService> createMilvusService(CreateMilvusServiceOptions createMilvusServiceOptions)
create_milvus_service(
self,
origin: str,
type: str,
*,
description: Optional[str] = None,
service_display_name: Optional[str] = None,
tags: Optional[List[str]] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createMilvusService(params)
Request
Instantiate the CreateMilvusServiceOptions
struct and set the fields to provide parameter values for the CreateMilvusService
method.
Use the CreateMilvusServiceOptions.Builder
to create a CreateMilvusServiceOptions
object that contains the parameter values for the createMilvusService
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Create milvus service
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
native
service type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
milvus
Service description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
milvus service for running sql queries
Service display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleService
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateMilvusService options.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createMilvusService options.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ViewInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlService description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlService description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:value_source_lines_htmlService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:value_source_lines_htmlTags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:value_source_lines_htmlInstance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { origin: 'native', type: 'milvus', }; let res; try { res = await watsonxDataService.createMilvusService(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateMilvusServiceOptions createMilvusServiceOptions = new CreateMilvusServiceOptions.Builder() .origin("native") .type("milvus") .build(); Response<MilvusService> response = watsonxDataService.createMilvusService(createMilvusServiceOptions).execute(); MilvusService milvusService = response.getResult(); System.out.println(milvusService);
response = watsonx_data_service.create_milvus_service( origin='native', type='milvus', ) milvus_service = response.get_result() print(json.dumps(milvus_service, indent=2))
Response
milvus service details
milvus status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:ViewCreated user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Service description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
milvus service for running sql queries
milvus grpc_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
example.grpc.host
milvus port
milvus display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
sampleMilvus
milvus https_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
example.https.host
milvus port
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
native
Service display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleService
Service programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleService123
milvus status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:Viewservice type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
milvus
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "created_by": "username@domain.com", "created_on": 1700201877, "grpc_port": 31501, "host_name": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 31012, "milvus_service": null, "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 11, "type": "milvus" }
{ "actions": [ "update", "delete" ], "created_by": "username@domain.com", "created_on": 1700201877, "grpc_port": 31501, "host_name": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 31012, "milvus_service": null, "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 11, "type": "milvus" }
Get milvus service
Get milvus service
Get milvus service.
Get milvus service.
Get milvus service.
Get milvus service.
GET /milvus_services/{service_id}
(watsonxData *WatsonxDataV2) GetMilvusService(getMilvusServiceOptions *GetMilvusServiceOptions) (result *MilvusService, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetMilvusServiceWithContext(ctx context.Context, getMilvusServiceOptions *GetMilvusServiceOptions) (result *MilvusService, response *core.DetailedResponse, err error)
ServiceCall<MilvusService> getMilvusService(GetMilvusServiceOptions getMilvusServiceOptions)
get_milvus_service(
self,
service_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getMilvusService(params)
Request
Instantiate the GetMilvusServiceOptions
struct and set the fields to provide parameter values for the GetMilvusService
method.
Use the GetMilvusServiceOptions.Builder
to create a GetMilvusServiceOptions
object that contains the parameter values for the getMilvusService
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
service id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetMilvusService options.
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getMilvusService options.
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { serviceId: 'testString', }; let res; try { res = await watsonxDataService.getMilvusService(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetMilvusServiceOptions getMilvusServiceOptions = new GetMilvusServiceOptions.Builder() .serviceId("testString") .build(); Response<MilvusService> response = watsonxDataService.getMilvusService(getMilvusServiceOptions).execute(); MilvusService milvusService = response.getResult(); System.out.println(milvusService);
response = watsonx_data_service.get_milvus_service( service_id='testString', ) milvus_service = response.get_result() print(json.dumps(milvus_service, indent=2))
Response
milvus service details
milvus status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:ViewCreated user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Service description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
milvus service for running sql queries
milvus grpc_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
example.grpc.host
milvus port
milvus display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
sampleMilvus
milvus https_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
example.https.host
milvus port
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
native
Service display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleService
Service programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleService123
milvus status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:Viewservice type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
milvus
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "created_by": "username@domain.com", "created_on": 1700201877, "grpc_port": 31501, "host_name": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 31012, "milvus_service": null, "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 11, "type": "milvus" }
{ "actions": [ "update", "delete" ], "created_by": "username@domain.com", "created_on": 1700201877, "grpc_port": 31501, "host_name": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 31012, "milvus_service": null, "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 11, "type": "milvus" }
Delete milvus service
Delete milvus service
Delete milvus service.
Delete milvus service.
Delete milvus service.
Delete milvus service.
DELETE /milvus_services/{service_id}
(watsonxData *WatsonxDataV2) DeleteMilvusService(deleteMilvusServiceOptions *DeleteMilvusServiceOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteMilvusServiceWithContext(ctx context.Context, deleteMilvusServiceOptions *DeleteMilvusServiceOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteMilvusService(DeleteMilvusServiceOptions deleteMilvusServiceOptions)
delete_milvus_service(
self,
service_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteMilvusService(params)
Request
Instantiate the DeleteMilvusServiceOptions
struct and set the fields to provide parameter values for the DeleteMilvusService
method.
Use the DeleteMilvusServiceOptions.Builder
to create a DeleteMilvusServiceOptions
object that contains the parameter values for the deleteMilvusService
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
service id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteMilvusService options.
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteMilvusService options.
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
const params = { serviceId: 'testString', }; try { await watsonxDataService.deleteMilvusService(params); } catch (err) { console.warn(err); }
DeleteMilvusServiceOptions deleteMilvusServiceOptions = new DeleteMilvusServiceOptions.Builder() .serviceId("testString") .build(); Response<Void> response = watsonxDataService.deleteMilvusService(deleteMilvusServiceOptions).execute();
response = watsonx_data_service.delete_milvus_service( service_id='testString', )
Update milvus service
Update details of milvus service
Update details of milvus service.
Update details of milvus service.
Update details of milvus service.
Update details of milvus service.
PATCH /milvus_services/{service_id}
(watsonxData *WatsonxDataV2) UpdateMilvusService(updateMilvusServiceOptions *UpdateMilvusServiceOptions) (result *MilvusService, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateMilvusServiceWithContext(ctx context.Context, updateMilvusServiceOptions *UpdateMilvusServiceOptions) (result *MilvusService, response *core.DetailedResponse, err error)
ServiceCall<MilvusService> updateMilvusService(UpdateMilvusServiceOptions updateMilvusServiceOptions)
update_milvus_service(
self,
service_id: str,
body: List['JsonPatchOperation'],
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateMilvusService(params)
Request
Instantiate the UpdateMilvusServiceOptions
struct and set the fields to provide parameter values for the UpdateMilvusService
method.
Use the UpdateMilvusServiceOptions.Builder
to create a UpdateMilvusServiceOptions
object that contains the parameter values for the updateMilvusService
method.
Custom Headers
Instance ID
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
service id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+
Update milvus service
Modified description
Possible values: 0 ≤ length ≤ 1024, Value must match regular expression
.*
Example:
updated description for milvus service
Service display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleService
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:View
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateMilvusService options.
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update milvus service.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
Body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The updateMilvusService options.
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update milvus service.
The operation to be performed.
Allowable values: [
add
,remove
,replace
,move
,copy
,test
]The JSON Pointer that identifies the field that is the target of the operation.
The JSON Pointer that identifies the field that is the source of the operation.
The value to be used within the operation.
body
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update milvus service.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
service id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update milvus service.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
// Request models needed by this operation. // JsonPatchOperation const jsonPatchOperationModel = { op: 'add', path: 'testString', }; const params = { serviceId: 'testString', body: [jsonPatchOperationModel], }; let res; try { res = await watsonxDataService.updateMilvusService(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
JsonPatchOperation jsonPatchOperationModel = new JsonPatchOperation.Builder() .op("add") .path("testString") .build(); UpdateMilvusServiceOptions updateMilvusServiceOptions = new UpdateMilvusServiceOptions.Builder() .serviceId("testString") .body(java.util.Arrays.asList(jsonPatchOperationModel)) .build(); Response<MilvusService> response = watsonxDataService.updateMilvusService(updateMilvusServiceOptions).execute(); MilvusService milvusService = response.getResult(); System.out.println(milvusService);
json_patch_operation_model = { 'op': 'add', 'path': 'testString', } response = watsonx_data_service.update_milvus_service( service_id='testString', body=[json_patch_operation_model], ) milvus_service = response.get_result() print(json.dumps(milvus_service, indent=2))
Response
milvus service details
milvus status code
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Examples:ViewCreated user name
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Created time in epoch format
Service description
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
.*
Example:
milvus service for running sql queries
milvus grpc_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
example.grpc.host
milvus port
milvus display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
sampleMilvus
milvus https_host
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
example.https.host
milvus port
Origin - place holder
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
native
Service display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleService
Service programmatic name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
sampleService123
milvus status
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
running
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
.*
Examples:Viewservice type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+
Example:
milvus
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
milvus service details.
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewCreated user name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ViewCreated time in epoch format.
Service description.
Possible values: 0 ≤ length ≤ 1000, Value must match regular expression
/.*/
Examples:Viewmilvus grpc_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
milvus display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus https_host.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:Viewmilvus port.
Origin - place holder.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ViewService programmatic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status.
Possible values: [
running
,pending
,stopped
]Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Viewmilvus status code.
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:Viewservice type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:View
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "update", "delete" ], "created_by": "username@domain.com", "created_on": 1700201877, "grpc_port": 31501, "host_name": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 31012, "milvus_service": null, "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 11, "type": "milvus" }
{ "actions": [ "update", "delete" ], "created_by": "username@domain.com", "created_on": 1700201877, "grpc_port": 31501, "host_name": "<formation_id>.<kubernetes_cluster>.databases.appdomain.cloud", "https_port": 31012, "milvus_service": null, "service_display_name": "test-milvus", "service_id": "milvus76", "status": "running", "status_code": 11, "type": "milvus" }