/** * Big Data Service API * REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications. * OpenAPI spec version: 20190531 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * Description of the cluster. */ export interface BdsInstance { /** * The OCID of the Big Data Service resource. */ "id": string; /** * The OCID of the compartment. */ "compartmentId": string; /** * The name of the cluster. */ "displayName": string; /** * The state of the cluster. */ "lifecycleState": BdsInstance.LifecycleState; /** * Version of the Hadoop distribution. */ "clusterVersion"?: BdsInstance.ClusterVersion; /** * The secretId for the clusterAdminPassword. */ "secretId"?: string; /** * Boolean flag specifying whether or not to persist the provided secret OCID and reuse it for future operations. */ "isSecretReused"?: boolean; /** * Boolean flag specifying whether or not the cluster is highly available (HA) */ "isHighAvailability": boolean; /** * Boolean flag specifying whether or not the cluster should be set up as secure. */ "isSecure": boolean; /** * Boolean flag specifying whether or not Cloud SQL should be configured. */ "isCloudSqlConfigured": boolean; /** * Boolean flag specifying whether or not Kafka should be configured. */ "isKafkaConfigured": boolean; "networkConfig"?: model.NetworkConfig; "clusterDetails"?: model.ClusterDetails; /** * The list of nodes in the cluster. */ "nodes": Array; /** * The list of BDS capacity reservation configurations associated with the cluster. */ "bdsCapacityReservationConfigurations"?: Array; "cloudSqlDetails"?: model.CloudSqlDetails; /** * The user who created the cluster. */ "createdBy"?: string; /** * The time the cluster was created, shown as an RFC 3339 formatted datetime string. */ "timeCreated"?: Date; /** * The time the cluster was updated, shown as an RFC 3339 formatted datetime string. */ "timeUpdated"?: Date; /** * Number of nodes that forming the cluster Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "numberOfNodes": number; /** * Number of nodes that require a maintenance reboot Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "numberOfNodesRequiringMaintenanceReboot"?: number; /** * pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. */ "bootstrapScriptUrl"?: string; /** * Simple key-value pair that is applied without any predefined name, type, or scope. * Exists for cross-compatibility only. For example, {@code {\"bar-key\": \"value\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * For example, {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; /** * The OCID of the Key Management master encryption key. */ "kmsKeyId"?: string; /** * Profile of the Big Data Service cluster. */ "clusterProfile"?: BdsInstance.ClusterProfile; "bdsClusterVersionSummary"?: model.BdsClusterVersionSummary; /** * The earliest time of certificate expiration date across the certificates of all current nodes under this cluster. */ "timeEarliestCertificateExpiration"?: Date; } export declare namespace BdsInstance { enum LifecycleState { Creating = "CREATING", Active = "ACTIVE", Updating = "UPDATING", Suspending = "SUSPENDING", Suspended = "SUSPENDED", Resuming = "RESUMING", Deleting = "DELETING", Deleted = "DELETED", Failed = "FAILED", Inactive = "INACTIVE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum ClusterVersion { Cdh5 = "CDH5", Cdh6 = "CDH6", Odh1 = "ODH1", Odh09 = "ODH0_9", Odh20 = "ODH2_0", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum ClusterProfile { HadoopExtended = "HADOOP_EXTENDED", Hadoop = "HADOOP", Hive = "HIVE", Spark = "SPARK", Hbase = "HBASE", Trino = "TRINO", Kafka = "KAFKA", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: BdsInstance): object; function getDeserializedJsonObj(obj: BdsInstance): object; }