oci-managedkafka 2.116.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +310 -0
- package/lib/client.js +1652 -0
- package/lib/client.js.map +1 -0
- package/lib/kafkacluster-waiter.d.ts +44 -0
- package/lib/kafkacluster-waiter.js +88 -0
- package/lib/kafkacluster-waiter.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/bootstrap-url.d.ts +29 -0
- package/lib/model/bootstrap-url.js +29 -0
- package/lib/model/bootstrap-url.js.map +1 -0
- package/lib/model/broker-shape.d.ts +33 -0
- package/lib/model/broker-shape.js +29 -0
- package/lib/model/broker-shape.js.map +1 -0
- package/lib/model/change-kafka-cluster-compartment-details.d.ts +26 -0
- package/lib/model/change-kafka-cluster-compartment-details.js +29 -0
- package/lib/model/change-kafka-cluster-compartment-details.js.map +1 -0
- package/lib/model/change-kafka-cluster-config-compartment-details.d.ts +26 -0
- package/lib/model/change-kafka-cluster-config-compartment-details.js +29 -0
- package/lib/model/change-kafka-cluster-config-compartment-details.js.map +1 -0
- package/lib/model/create-kafka-cluster-config-details.d.ts +54 -0
- package/lib/model/create-kafka-cluster-config-details.js +57 -0
- package/lib/model/create-kafka-cluster-config-details.js.map +1 -0
- package/lib/model/create-kafka-cluster-details.d.ts +85 -0
- package/lib/model/create-kafka-cluster-details.js +65 -0
- package/lib/model/create-kafka-cluster-details.js.map +1 -0
- package/lib/model/enable-superuser-details.d.ts +30 -0
- package/lib/model/enable-superuser-details.js +29 -0
- package/lib/model/enable-superuser-details.js.map +1 -0
- package/lib/model/index.d.ts +76 -0
- package/lib/model/index.js +99 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/kafka-cluster-collection.d.ts +26 -0
- package/lib/model/kafka-cluster-collection.js +61 -0
- package/lib/model/kafka-cluster-collection.js.map +1 -0
- package/lib/model/kafka-cluster-config-collection.d.ts +26 -0
- package/lib/model/kafka-cluster-config-collection.js +61 -0
- package/lib/model/kafka-cluster-config-collection.js.map +1 -0
- package/lib/model/kafka-cluster-config-summary.d.ts +90 -0
- package/lib/model/kafka-cluster-config-summary.js +29 -0
- package/lib/model/kafka-cluster-config-summary.js.map +1 -0
- package/lib/model/kafka-cluster-config-version-collection.d.ts +26 -0
- package/lib/model/kafka-cluster-config-version-collection.js +61 -0
- package/lib/model/kafka-cluster-config-version-collection.js.map +1 -0
- package/lib/model/kafka-cluster-config-version-summary.d.ts +35 -0
- package/lib/model/kafka-cluster-config-version-summary.js +29 -0
- package/lib/model/kafka-cluster-config-version-summary.js.map +1 -0
- package/lib/model/kafka-cluster-config-version.d.ts +42 -0
- package/lib/model/kafka-cluster-config-version.js +29 -0
- package/lib/model/kafka-cluster-config-version.js.map +1 -0
- package/lib/model/kafka-cluster-config.d.ts +108 -0
- package/lib/model/kafka-cluster-config.js +69 -0
- package/lib/model/kafka-cluster-config.js.map +1 -0
- package/lib/model/kafka-cluster-summary.d.ts +119 -0
- package/lib/model/kafka-cluster-summary.js +65 -0
- package/lib/model/kafka-cluster-summary.js.map +1 -0
- package/lib/model/kafka-cluster.d.ts +167 -0
- package/lib/model/kafka-cluster.js +109 -0
- package/lib/model/kafka-cluster.js.map +1 -0
- package/lib/model/operation-status.d.ts +34 -0
- package/lib/model/operation-status.js +45 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +32 -0
- package/lib/model/operation-type.js +43 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/sort-order.d.ts +30 -0
- package/lib/model/sort-order.js +41 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/subnet-set.d.ts +25 -0
- package/lib/model/subnet-set.js +29 -0
- package/lib/model/subnet-set.js.map +1 -0
- package/lib/model/update-kafka-cluster-config-details.d.ts +49 -0
- package/lib/model/update-kafka-cluster-config-details.js +57 -0
- package/lib/model/update-kafka-cluster-config-details.js.map +1 -0
- package/lib/model/update-kafka-cluster-details.d.ts +69 -0
- package/lib/model/update-kafka-cluster-details.js +65 -0
- package/lib/model/update-kafka-cluster-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +37 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +31 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
- package/lib/model/work-request-resource-metadata-key.js +38 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +48 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +73 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +76 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +38 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-kafka-cluster-compartment-request.d.ts +43 -0
- package/lib/request/change-kafka-cluster-compartment-request.js +15 -0
- package/lib/request/change-kafka-cluster-compartment-request.js.map +1 -0
- package/lib/request/change-kafka-cluster-config-compartment-request.d.ts +43 -0
- package/lib/request/change-kafka-cluster-config-compartment-request.js +15 -0
- package/lib/request/change-kafka-cluster-config-compartment-request.js.map +1 -0
- package/lib/request/create-kafka-cluster-config-request.d.ts +40 -0
- package/lib/request/create-kafka-cluster-config-request.js +15 -0
- package/lib/request/create-kafka-cluster-config-request.js.map +1 -0
- package/lib/request/create-kafka-cluster-request.d.ts +40 -0
- package/lib/request/create-kafka-cluster-request.js +15 -0
- package/lib/request/create-kafka-cluster-request.js.map +1 -0
- package/lib/request/delete-kafka-cluster-config-request.d.ts +38 -0
- package/lib/request/delete-kafka-cluster-config-request.js +15 -0
- package/lib/request/delete-kafka-cluster-config-request.js.map +1 -0
- package/lib/request/delete-kafka-cluster-config-version-request.d.ts +42 -0
- package/lib/request/delete-kafka-cluster-config-version-request.js +15 -0
- package/lib/request/delete-kafka-cluster-config-version-request.js.map +1 -0
- package/lib/request/delete-kafka-cluster-request.d.ts +38 -0
- package/lib/request/delete-kafka-cluster-request.js +15 -0
- package/lib/request/delete-kafka-cluster-request.js.map +1 -0
- package/lib/request/disable-superuser-request.d.ts +47 -0
- package/lib/request/disable-superuser-request.js +15 -0
- package/lib/request/disable-superuser-request.js.map +1 -0
- package/lib/request/enable-superuser-request.d.ts +52 -0
- package/lib/request/enable-superuser-request.js +15 -0
- package/lib/request/enable-superuser-request.js.map +1 -0
- package/lib/request/get-kafka-cluster-config-request.d.ts +30 -0
- package/lib/request/get-kafka-cluster-config-request.js +15 -0
- package/lib/request/get-kafka-cluster-config-request.js.map +1 -0
- package/lib/request/get-kafka-cluster-config-version-request.d.ts +34 -0
- package/lib/request/get-kafka-cluster-config-version-request.js +15 -0
- package/lib/request/get-kafka-cluster-config-version-request.js.map +1 -0
- package/lib/request/get-kafka-cluster-request.d.ts +30 -0
- package/lib/request/get-kafka-cluster-request.js +15 -0
- package/lib/request/get-kafka-cluster-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +30 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +56 -0
- package/lib/request/index.js +47 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-kafka-cluster-config-versions-request.d.ts +60 -0
- package/lib/request/list-kafka-cluster-config-versions-request.js +23 -0
- package/lib/request/list-kafka-cluster-config-versions-request.js.map +1 -0
- package/lib/request/list-kafka-cluster-configs-request.d.ts +75 -0
- package/lib/request/list-kafka-cluster-configs-request.js +24 -0
- package/lib/request/list-kafka-cluster-configs-request.js.map +1 -0
- package/lib/request/list-kafka-clusters-request.d.ts +75 -0
- package/lib/request/list-kafka-clusters-request.js +24 -0
- package/lib/request/list-kafka-clusters-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +59 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +59 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +71 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-kafka-cluster-config-request.d.ts +43 -0
- package/lib/request/update-kafka-cluster-config-request.js +15 -0
- package/lib/request/update-kafka-cluster-config-request.js.map +1 -0
- package/lib/request/update-kafka-cluster-request.d.ts +43 -0
- package/lib/request/update-kafka-cluster-request.js +15 -0
- package/lib/request/update-kafka-cluster-request.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-kafka-cluster-compartment-response.d.ts +26 -0
- package/lib/response/change-kafka-cluster-compartment-response.js +15 -0
- package/lib/response/change-kafka-cluster-compartment-response.js.map +1 -0
- package/lib/response/change-kafka-cluster-config-compartment-response.d.ts +20 -0
- package/lib/response/change-kafka-cluster-config-compartment-response.js +15 -0
- package/lib/response/change-kafka-cluster-config-compartment-response.js.map +1 -0
- package/lib/response/create-kafka-cluster-config-response.d.ts +38 -0
- package/lib/response/create-kafka-cluster-config-response.js +15 -0
- package/lib/response/create-kafka-cluster-config-response.js.map +1 -0
- package/lib/response/create-kafka-cluster-response.d.ts +44 -0
- package/lib/response/create-kafka-cluster-response.js +15 -0
- package/lib/response/create-kafka-cluster-response.js.map +1 -0
- package/lib/response/delete-kafka-cluster-config-response.d.ts +20 -0
- package/lib/response/delete-kafka-cluster-config-response.js +15 -0
- package/lib/response/delete-kafka-cluster-config-response.js.map +1 -0
- package/lib/response/delete-kafka-cluster-config-version-response.d.ts +20 -0
- package/lib/response/delete-kafka-cluster-config-version-response.js +15 -0
- package/lib/response/delete-kafka-cluster-config-version-response.js.map +1 -0
- package/lib/response/delete-kafka-cluster-response.d.ts +26 -0
- package/lib/response/delete-kafka-cluster-response.js +15 -0
- package/lib/response/delete-kafka-cluster-response.js.map +1 -0
- package/lib/response/disable-superuser-response.d.ts +26 -0
- package/lib/response/disable-superuser-response.js +15 -0
- package/lib/response/disable-superuser-response.js.map +1 -0
- package/lib/response/enable-superuser-response.d.ts +26 -0
- package/lib/response/enable-superuser-response.js +15 -0
- package/lib/response/enable-superuser-response.js.map +1 -0
- package/lib/response/get-kafka-cluster-config-response.d.ts +30 -0
- package/lib/response/get-kafka-cluster-config-response.js +15 -0
- package/lib/response/get-kafka-cluster-config-response.js.map +1 -0
- package/lib/response/get-kafka-cluster-config-version-response.d.ts +30 -0
- package/lib/response/get-kafka-cluster-config-version-response.js +15 -0
- package/lib/response/get-kafka-cluster-config-version-response.js.map +1 -0
- package/lib/response/get-kafka-cluster-response.d.ts +30 -0
- package/lib/response/get-kafka-cluster-response.js +15 -0
- package/lib/response/get-kafka-cluster-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +56 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-kafka-cluster-config-versions-response.d.ts +31 -0
- package/lib/response/list-kafka-cluster-config-versions-response.js +15 -0
- package/lib/response/list-kafka-cluster-config-versions-response.js.map +1 -0
- package/lib/response/list-kafka-cluster-configs-response.d.ts +31 -0
- package/lib/response/list-kafka-cluster-configs-response.js +15 -0
- package/lib/response/list-kafka-cluster-configs-response.js.map +1 -0
- package/lib/response/list-kafka-clusters-response.d.ts +31 -0
- package/lib/response/list-kafka-clusters-response.js +15 -0
- package/lib/response/list-kafka-clusters-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +31 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +31 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +31 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-kafka-cluster-config-response.d.ts +30 -0
- package/lib/response/update-kafka-cluster-config-response.js +15 -0
- package/lib/response/update-kafka-cluster-config-response.js.map +1 -0
- package/lib/response/update-kafka-cluster-response.d.ts +36 -0
- package/lib/response/update-kafka-cluster-response.js +15 -0
- package/lib/response/update-kafka-cluster-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
3
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
4
|
+
* OpenAPI spec version: 20240901
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Summary information about a KafkaCluster.
|
|
16
|
+
*/
|
|
17
|
+
export interface KafkaClusterSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
24
|
+
*/
|
|
25
|
+
"displayName": string;
|
|
26
|
+
/**
|
|
27
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
28
|
+
*/
|
|
29
|
+
"compartmentId": string;
|
|
30
|
+
/**
|
|
31
|
+
* The date and time the KafkaCluster was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
32
|
+
* <p>
|
|
33
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"timeCreated": Date;
|
|
37
|
+
/**
|
|
38
|
+
* The date and time the KafkaCluster was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
39
|
+
* <p>
|
|
40
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"timeUpdated"?: Date;
|
|
44
|
+
/**
|
|
45
|
+
* The current state of the KafkaCluster.
|
|
46
|
+
*/
|
|
47
|
+
"lifecycleState": string;
|
|
48
|
+
/**
|
|
49
|
+
* A message that describes the current state of the KafkaCluster in more detail. For example,
|
|
50
|
+
* can be used to provide actionable information for a resource in the Failed state.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"lifecycleDetails"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Subnets where broker/coordinator VNICs will be created.
|
|
56
|
+
*/
|
|
57
|
+
"accessSubnets": Array<model.SubnetSet>;
|
|
58
|
+
/**
|
|
59
|
+
* Version of Kafka to use to spin up the cluster
|
|
60
|
+
*/
|
|
61
|
+
"kafkaVersion": string;
|
|
62
|
+
/**
|
|
63
|
+
* Type of the cluster to spin up.
|
|
64
|
+
* DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on single node
|
|
65
|
+
* PRODUCTION - Minimum allowed broker count is 3
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"clusterType": string;
|
|
69
|
+
"brokerShape": model.BrokerShape;
|
|
70
|
+
/**
|
|
71
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Kafka Cluster configuration object
|
|
72
|
+
*/
|
|
73
|
+
"clusterConfigId": string;
|
|
74
|
+
/**
|
|
75
|
+
* The version of configuration object Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
76
|
+
*/
|
|
77
|
+
"clusterConfigVersion": number;
|
|
78
|
+
/**
|
|
79
|
+
* Kafka coordination type. Set of available types depends on Kafka version
|
|
80
|
+
*/
|
|
81
|
+
"coordinationType"?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
84
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
85
|
+
* <p>
|
|
86
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
"freeformTags": {
|
|
90
|
+
[key: string]: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
94
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
95
|
+
* <p>
|
|
96
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
"definedTags": {
|
|
100
|
+
[key: string]: {
|
|
101
|
+
[key: string]: any;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
106
|
+
* <p>
|
|
107
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
"systemTags"?: {
|
|
111
|
+
[key: string]: {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
export declare namespace KafkaClusterSummary {
|
|
117
|
+
function getJsonObj(obj: KafkaClusterSummary): object;
|
|
118
|
+
function getDeserializedJsonObj(obj: KafkaClusterSummary): object;
|
|
119
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
4
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
5
|
+
* OpenAPI spec version: 20240901
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.KafkaClusterSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var KafkaClusterSummary;
|
|
37
|
+
(function (KafkaClusterSummary) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"accessSubnets": obj.accessSubnets
|
|
41
|
+
? obj.accessSubnets.map(item => {
|
|
42
|
+
return model.SubnetSet.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"brokerShape": obj.brokerShape ? model.BrokerShape.getJsonObj(obj.brokerShape) : undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
KafkaClusterSummary.getJsonObj = getJsonObj;
|
|
50
|
+
function getDeserializedJsonObj(obj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
52
|
+
"accessSubnets": obj.accessSubnets
|
|
53
|
+
? obj.accessSubnets.map(item => {
|
|
54
|
+
return model.SubnetSet.getDeserializedJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined,
|
|
57
|
+
"brokerShape": obj.brokerShape
|
|
58
|
+
? model.BrokerShape.getDeserializedJsonObj(obj.brokerShape)
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
61
|
+
return jsonObj;
|
|
62
|
+
}
|
|
63
|
+
KafkaClusterSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
64
|
+
})(KafkaClusterSummary = exports.KafkaClusterSummary || (exports.KafkaClusterSummary = {}));
|
|
65
|
+
//# sourceMappingURL=kafka-cluster-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kafka-cluster-summary.js","sourceRoot":"","sources":["../../../../../lib/managedkafka/lib/model/kafka-cluster-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgGlC,IAAiB,mBAAmB,CAmCnC;AAnCD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,8BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,0CAAsB,yBAiBrC,CAAA;AACH,CAAC,EAnCgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAmCnC"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
3
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
4
|
+
* OpenAPI spec version: 20240901
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A KafkaCluster is a description of a KafkaCluster.
|
|
16
|
+
* <p>
|
|
17
|
+
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to
|
|
18
|
+
* an administrator. If you're an administrator who needs to write policies to give users access, see
|
|
19
|
+
* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface KafkaCluster {
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
|
25
|
+
*/
|
|
26
|
+
"id": string;
|
|
27
|
+
/**
|
|
28
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
29
|
+
*/
|
|
30
|
+
"displayName": string;
|
|
31
|
+
/**
|
|
32
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
33
|
+
*/
|
|
34
|
+
"compartmentId": string;
|
|
35
|
+
/**
|
|
36
|
+
* The date and time the KafkaCluster was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
37
|
+
* <p>
|
|
38
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"timeCreated": Date;
|
|
42
|
+
/**
|
|
43
|
+
* The date and time the KafkaCluster was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
44
|
+
* <p>
|
|
45
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"timeUpdated"?: Date;
|
|
49
|
+
/**
|
|
50
|
+
* The current state of the KafkaCluster.
|
|
51
|
+
*/
|
|
52
|
+
"lifecycleState": KafkaCluster.LifecycleState;
|
|
53
|
+
/**
|
|
54
|
+
* A message that describes the current state of the KafkaCluster in more detail. For example,
|
|
55
|
+
* can be used to provide actionable information for a resource in the Failed state.
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"lifecycleDetails"?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Subnets where broker/coordinator VNICs will be created.
|
|
61
|
+
*/
|
|
62
|
+
"accessSubnets": Array<model.SubnetSet>;
|
|
63
|
+
/**
|
|
64
|
+
* CA certificate bundle for mTLS broker authentication.
|
|
65
|
+
*/
|
|
66
|
+
"clientCertificateBundle"?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Version of Kafka to use to spin up the cluster
|
|
69
|
+
*/
|
|
70
|
+
"kafkaVersion": string;
|
|
71
|
+
/**
|
|
72
|
+
* Type of the cluster to spin up.
|
|
73
|
+
* DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node
|
|
74
|
+
* PRODUCTION - Minimum allowed broker count is 3
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
"clusterType": KafkaCluster.ClusterType;
|
|
78
|
+
"brokerShape": model.BrokerShape;
|
|
79
|
+
/**
|
|
80
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Kafka Cluster configuration object
|
|
81
|
+
*/
|
|
82
|
+
"clusterConfigId": string;
|
|
83
|
+
/**
|
|
84
|
+
* The version of configuration object Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
85
|
+
*/
|
|
86
|
+
"clusterConfigVersion": number;
|
|
87
|
+
/**
|
|
88
|
+
* Bootstrap URL that can be used to connect to Kafka
|
|
89
|
+
*/
|
|
90
|
+
"kafkaBootstrapUrls"?: Array<model.BootstrapUrl>;
|
|
91
|
+
/**
|
|
92
|
+
* Kafka coordination type. Set of available types depends on Kafka version
|
|
93
|
+
*/
|
|
94
|
+
"coordinationType"?: KafkaCluster.CoordinationType;
|
|
95
|
+
/**
|
|
96
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that contains superuser password.
|
|
97
|
+
*/
|
|
98
|
+
"secretId"?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
101
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
102
|
+
* <p>
|
|
103
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
104
|
+
*
|
|
105
|
+
*/
|
|
106
|
+
"freeformTags": {
|
|
107
|
+
[key: string]: string;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
111
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
112
|
+
* <p>
|
|
113
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
"definedTags": {
|
|
117
|
+
[key: string]: {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
123
|
+
* <p>
|
|
124
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
125
|
+
*
|
|
126
|
+
*/
|
|
127
|
+
"systemTags"?: {
|
|
128
|
+
[key: string]: {
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
export declare namespace KafkaCluster {
|
|
134
|
+
enum LifecycleState {
|
|
135
|
+
Creating = "CREATING",
|
|
136
|
+
Updating = "UPDATING",
|
|
137
|
+
Active = "ACTIVE",
|
|
138
|
+
Deleting = "DELETING",
|
|
139
|
+
Deleted = "DELETED",
|
|
140
|
+
Failed = "FAILED",
|
|
141
|
+
/**
|
|
142
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
143
|
+
* version of the SDK.
|
|
144
|
+
*/
|
|
145
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
146
|
+
}
|
|
147
|
+
enum ClusterType {
|
|
148
|
+
Development = "DEVELOPMENT",
|
|
149
|
+
Production = "PRODUCTION",
|
|
150
|
+
/**
|
|
151
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
152
|
+
* version of the SDK.
|
|
153
|
+
*/
|
|
154
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
155
|
+
}
|
|
156
|
+
enum CoordinationType {
|
|
157
|
+
Zookeeper = "ZOOKEEPER",
|
|
158
|
+
Kraft = "KRAFT",
|
|
159
|
+
/**
|
|
160
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
161
|
+
* version of the SDK.
|
|
162
|
+
*/
|
|
163
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
164
|
+
}
|
|
165
|
+
function getJsonObj(obj: KafkaCluster): object;
|
|
166
|
+
function getDeserializedJsonObj(obj: KafkaCluster): object;
|
|
167
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
4
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
5
|
+
* OpenAPI spec version: 20240901
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.KafkaCluster = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var KafkaCluster;
|
|
37
|
+
(function (KafkaCluster) {
|
|
38
|
+
let LifecycleState;
|
|
39
|
+
(function (LifecycleState) {
|
|
40
|
+
LifecycleState["Creating"] = "CREATING";
|
|
41
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
42
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
43
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
44
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
45
|
+
LifecycleState["Failed"] = "FAILED";
|
|
46
|
+
/**
|
|
47
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
48
|
+
* version of the SDK.
|
|
49
|
+
*/
|
|
50
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
51
|
+
})(LifecycleState = KafkaCluster.LifecycleState || (KafkaCluster.LifecycleState = {}));
|
|
52
|
+
let ClusterType;
|
|
53
|
+
(function (ClusterType) {
|
|
54
|
+
ClusterType["Development"] = "DEVELOPMENT";
|
|
55
|
+
ClusterType["Production"] = "PRODUCTION";
|
|
56
|
+
/**
|
|
57
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
58
|
+
* version of the SDK.
|
|
59
|
+
*/
|
|
60
|
+
ClusterType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
61
|
+
})(ClusterType = KafkaCluster.ClusterType || (KafkaCluster.ClusterType = {}));
|
|
62
|
+
let CoordinationType;
|
|
63
|
+
(function (CoordinationType) {
|
|
64
|
+
CoordinationType["Zookeeper"] = "ZOOKEEPER";
|
|
65
|
+
CoordinationType["Kraft"] = "KRAFT";
|
|
66
|
+
/**
|
|
67
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
68
|
+
* version of the SDK.
|
|
69
|
+
*/
|
|
70
|
+
CoordinationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
71
|
+
})(CoordinationType = KafkaCluster.CoordinationType || (KafkaCluster.CoordinationType = {}));
|
|
72
|
+
function getJsonObj(obj) {
|
|
73
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
74
|
+
"accessSubnets": obj.accessSubnets
|
|
75
|
+
? obj.accessSubnets.map(item => {
|
|
76
|
+
return model.SubnetSet.getJsonObj(item);
|
|
77
|
+
})
|
|
78
|
+
: undefined,
|
|
79
|
+
"brokerShape": obj.brokerShape ? model.BrokerShape.getJsonObj(obj.brokerShape) : undefined,
|
|
80
|
+
"kafkaBootstrapUrls": obj.kafkaBootstrapUrls
|
|
81
|
+
? obj.kafkaBootstrapUrls.map(item => {
|
|
82
|
+
return model.BootstrapUrl.getJsonObj(item);
|
|
83
|
+
})
|
|
84
|
+
: undefined
|
|
85
|
+
});
|
|
86
|
+
return jsonObj;
|
|
87
|
+
}
|
|
88
|
+
KafkaCluster.getJsonObj = getJsonObj;
|
|
89
|
+
function getDeserializedJsonObj(obj) {
|
|
90
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
91
|
+
"accessSubnets": obj.accessSubnets
|
|
92
|
+
? obj.accessSubnets.map(item => {
|
|
93
|
+
return model.SubnetSet.getDeserializedJsonObj(item);
|
|
94
|
+
})
|
|
95
|
+
: undefined,
|
|
96
|
+
"brokerShape": obj.brokerShape
|
|
97
|
+
? model.BrokerShape.getDeserializedJsonObj(obj.brokerShape)
|
|
98
|
+
: undefined,
|
|
99
|
+
"kafkaBootstrapUrls": obj.kafkaBootstrapUrls
|
|
100
|
+
? obj.kafkaBootstrapUrls.map(item => {
|
|
101
|
+
return model.BootstrapUrl.getDeserializedJsonObj(item);
|
|
102
|
+
})
|
|
103
|
+
: undefined
|
|
104
|
+
});
|
|
105
|
+
return jsonObj;
|
|
106
|
+
}
|
|
107
|
+
KafkaCluster.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
108
|
+
})(KafkaCluster = exports.KafkaCluster || (exports.KafkaCluster = {}));
|
|
109
|
+
//# sourceMappingURL=kafka-cluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kafka-cluster.js","sourceRoot":"","sources":["../../../../../lib/managedkafka/lib/model/kafka-cluster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiHlC,IAAiB,YAAY,CAiF5B;AAjFD,WAAiB,YAAY;IAC3B,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,2BAAc,KAAd,2BAAc,QAYzB;IAED,IAAY,WAQX;IARD,WAAY,WAAW;QACrB,0CAA2B,CAAA;QAC3B,wCAAyB,CAAA;QACzB;;;WAGG;QACH,6CAA8B,CAAA;IAChC,CAAC,EARW,WAAW,GAAX,wBAAW,KAAX,wBAAW,QAQtB;IAED,IAAY,gBAQX;IARD,WAAY,gBAAgB;QAC1B,2CAAuB,CAAA;QACvB,mCAAe,CAAA;QACf;;;WAGG;QACH,kDAA8B,CAAA;IAChC,CAAC,EARW,gBAAgB,GAAhB,6BAAgB,KAAhB,6BAAgB,QAQ3B;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,aAAa,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS;YAE1F,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,uBAAU,aAqBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC3D,CAAC,CAAC,SAAS;YAEb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,mCAAsB,yBAuBrC,CAAA;AACH,CAAC,EAjFgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAiF5B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
3
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
4
|
+
* OpenAPI spec version: 20240901
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The status of the work request.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationStatus {
|
|
17
|
+
Accepted = "ACCEPTED",
|
|
18
|
+
InProgress = "IN_PROGRESS",
|
|
19
|
+
Waiting = "WAITING",
|
|
20
|
+
NeedsAttention = "NEEDS_ATTENTION",
|
|
21
|
+
Failed = "FAILED",
|
|
22
|
+
Succeeded = "SUCCEEDED",
|
|
23
|
+
Canceling = "CANCELING",
|
|
24
|
+
Canceled = "CANCELED",
|
|
25
|
+
/**
|
|
26
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
|
+
* version of the SDK.
|
|
28
|
+
*/
|
|
29
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
30
|
+
}
|
|
31
|
+
export declare namespace OperationStatus {
|
|
32
|
+
function getJsonObj(obj: OperationStatus): OperationStatus;
|
|
33
|
+
function getDeserializedJsonObj(obj: OperationStatus): OperationStatus;
|
|
34
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
4
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
5
|
+
* OpenAPI spec version: 20240901
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OperationStatus = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The status of the work request.
|
|
18
|
+
**/
|
|
19
|
+
var OperationStatus;
|
|
20
|
+
(function (OperationStatus) {
|
|
21
|
+
OperationStatus["Accepted"] = "ACCEPTED";
|
|
22
|
+
OperationStatus["InProgress"] = "IN_PROGRESS";
|
|
23
|
+
OperationStatus["Waiting"] = "WAITING";
|
|
24
|
+
OperationStatus["NeedsAttention"] = "NEEDS_ATTENTION";
|
|
25
|
+
OperationStatus["Failed"] = "FAILED";
|
|
26
|
+
OperationStatus["Succeeded"] = "SUCCEEDED";
|
|
27
|
+
OperationStatus["Canceling"] = "CANCELING";
|
|
28
|
+
OperationStatus["Canceled"] = "CANCELED";
|
|
29
|
+
/**
|
|
30
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
31
|
+
* version of the SDK.
|
|
32
|
+
*/
|
|
33
|
+
OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
34
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
35
|
+
(function (OperationStatus) {
|
|
36
|
+
function getJsonObj(obj) {
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
OperationStatus.getJsonObj = getJsonObj;
|
|
40
|
+
function getDeserializedJsonObj(obj) {
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
44
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
45
|
+
//# sourceMappingURL=operation-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/managedkafka/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAeX;AAfD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,sCAAmB,CAAA;IACnB,qDAAkC,CAAA;IAClC,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAfW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAe1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
3
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
4
|
+
* OpenAPI spec version: 20240901
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The asynchronous operation tracked by the work request.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationType {
|
|
17
|
+
CreateKafkaCluster = "CREATE_KAFKA_CLUSTER",
|
|
18
|
+
UpdateKafkaCluster = "UPDATE_KAFKA_CLUSTER",
|
|
19
|
+
DeleteKafkaCluster = "DELETE_KAFKA_CLUSTER",
|
|
20
|
+
MoveKafkaCluster = "MOVE_KAFKA_CLUSTER",
|
|
21
|
+
EnableSuperuser = "ENABLE_SUPERUSER",
|
|
22
|
+
DisableSuperuser = "DISABLE_SUPERUSER",
|
|
23
|
+
/**
|
|
24
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
|
+
* version of the SDK.
|
|
26
|
+
*/
|
|
27
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
28
|
+
}
|
|
29
|
+
export declare namespace OperationType {
|
|
30
|
+
function getJsonObj(obj: OperationType): OperationType;
|
|
31
|
+
function getDeserializedJsonObj(obj: OperationType): OperationType;
|
|
32
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
4
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
5
|
+
* OpenAPI spec version: 20240901
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OperationType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The asynchronous operation tracked by the work request.
|
|
18
|
+
**/
|
|
19
|
+
var OperationType;
|
|
20
|
+
(function (OperationType) {
|
|
21
|
+
OperationType["CreateKafkaCluster"] = "CREATE_KAFKA_CLUSTER";
|
|
22
|
+
OperationType["UpdateKafkaCluster"] = "UPDATE_KAFKA_CLUSTER";
|
|
23
|
+
OperationType["DeleteKafkaCluster"] = "DELETE_KAFKA_CLUSTER";
|
|
24
|
+
OperationType["MoveKafkaCluster"] = "MOVE_KAFKA_CLUSTER";
|
|
25
|
+
OperationType["EnableSuperuser"] = "ENABLE_SUPERUSER";
|
|
26
|
+
OperationType["DisableSuperuser"] = "DISABLE_SUPERUSER";
|
|
27
|
+
/**
|
|
28
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
29
|
+
* version of the SDK.
|
|
30
|
+
*/
|
|
31
|
+
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
32
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
33
|
+
(function (OperationType) {
|
|
34
|
+
function getJsonObj(obj) {
|
|
35
|
+
return obj;
|
|
36
|
+
}
|
|
37
|
+
OperationType.getJsonObj = getJsonObj;
|
|
38
|
+
function getDeserializedJsonObj(obj) {
|
|
39
|
+
return obj;
|
|
40
|
+
}
|
|
41
|
+
OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
42
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
43
|
+
//# sourceMappingURL=operation-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/managedkafka/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAaX;AAbD,WAAY,aAAa;IACvB,4DAA2C,CAAA;IAC3C,4DAA2C,CAAA;IAC3C,4DAA2C,CAAA;IAC3C,wDAAuC,CAAA;IACvC,qDAAoC,CAAA;IACpC,uDAAsC,CAAA;IAEtC;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAbW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAaxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Streaming with Apache Kafka (OSAK) API
|
|
3
|
+
* Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters.
|
|
4
|
+
* OpenAPI spec version: 20240901
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName}
|
|
15
|
+
* sort order is case sensitive.
|
|
16
|
+
*
|
|
17
|
+
**/
|
|
18
|
+
export declare enum SortOrder {
|
|
19
|
+
Asc = "ASC",
|
|
20
|
+
Desc = "DESC",
|
|
21
|
+
/**
|
|
22
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
23
|
+
* version of the SDK.
|
|
24
|
+
*/
|
|
25
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
26
|
+
}
|
|
27
|
+
export declare namespace SortOrder {
|
|
28
|
+
function getJsonObj(obj: SortOrder): SortOrder;
|
|
29
|
+
function getDeserializedJsonObj(obj: SortOrder): SortOrder;
|
|
30
|
+
}
|